20250107@113733.6455 lbt0iv87ji30712a5p5mm365g7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@113733.6469 lbt0iv87ji30712a5p5mm365g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@113733.6489 lbt0iv87ji30712a5p5mm365g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@113733.6504 lbt0iv87ji30712a5p5mm365g7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d105303677d11fd9d','aut677d107052677d11fccd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@113733.6508 lbt0iv87ji30712a5p5mm365g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@113733.6525 lbt0iv87ji30712a5p5mm365g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@113733.6562 lbt0iv87ji30712a5p5mm365g7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677d105303677d11fd9d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677d107052677d11fccd' ,0,0 ,2,23.00,100000,?,?,?)
20250107@113733.6813 lbt0iv87ji30712a5p5mm365g7 Query : use flama_phc
20250107@113733.6817 lbt0iv87ji30712a5p5mm365g7 Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20250107@113733.6839 lbt0iv87ji30712a5p5mm365g7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4840.00.1'
20250107@113733.6971 lbt0iv87ji30712a5p5mm365g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@113733.6987 lbt0iv87ji30712a5p5mm365g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@113733.7013 lbt0iv87ji30712a5p5mm365g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@113733.7029 lbt0iv87ji30712a5p5mm365g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@113733.7037 lbt0iv87ji30712a5p5mm365g7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@113733.7047 lbt0iv87ji30712a5p5mm365g7 Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2400064200a'
20250107@113733.7061 lbt0iv87ji30712a5p5mm365g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@113733.7089 lbt0iv87ji30712a5p5mm365g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@113733.7103 lbt0iv87ji30712a5p5mm365g7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d155496677d11fdac','aut677d107052677d11fccd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@113733.7107 lbt0iv87ji30712a5p5mm365g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@113733.7123 lbt0iv87ji30712a5p5mm365g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@113733.7151 lbt0iv87ji30712a5p5mm365g7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut677d155496677d11fdac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677d107052677d11fccd' ,0,0 ,2,23.00,120000,?,?,?,?)
20250107@113733.7428 lbt0iv87ji30712a5p5mm365g7 Query : use flama_phc
20250107@113733.7508 lbt0iv87ji30712a5p5mm365g7 Query : select st.usalote valor from st where st.ref = '324.2232.00.1'
20250107@113733.7529 lbt0iv87ji30712a5p5mm365g7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2232.00.1'
20250107@113733.7669 lbt0iv87ji30712a5p5mm365g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@113733.7690 lbt0iv87ji30712a5p5mm365g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@113733.7717 lbt0iv87ji30712a5p5mm365g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@113733.7749 lbt0iv87ji30712a5p5mm365g7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@113733.7758 lbt0iv87ji30712a5p5mm365g7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@113733.7776 lbt0iv87ji30712a5p5mm365g7 Query : select sestamp valor from se where ref ='324.2232.00.1' and lote = 'r2400241100a'
20250107@113733.7790 lbt0iv87ji30712a5p5mm365g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@113733.7805 lbt0iv87ji30712a5p5mm365g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@113733.7972 lbt0iv87ji30712a5p5mm365g7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d176221677d11fdbe','aut677d107052677d11fccd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@113733.7997 lbt0iv87ji30712a5p5mm365g7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@113733.8015 lbt0iv87ji30712a5p5mm365g7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@113733.8049 lbt0iv87ji30712a5p5mm365g7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut677d176221677d11fdbe',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut677d107052677d11fccd' ,0,0 ,2,23.00,130000,?,?,?,?)
20250107@113733.8305 lbt0iv87ji30712a5p5mm365g7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d107052677d11fccd','2500085','wait',39,'adm09112754980.682000002')
20250107@113733.8461 lbt0iv87ji30712a5p5mm365g7 Query : use flama_phc
20250107@113733.8465 lbt0iv87ji30712a5p5mm365g7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@113733.8507 lbt0iv87ji30712a5p5mm365g7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4331';
20250107@113733.8548 lbt0iv87ji30712a5p5mm365g7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4331';
20250107@113733.8602 lbt0iv87ji30712a5p5mm365g7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4331';
20250107@113733.8648 lbt0iv87ji30712a5p5mm365g7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4331';
20250107@121909.3394 1ubb1kca8afbsua86ob00dre21 Query : use flama_phc
20250107@121909.3399 1ubb1kca8afbsua86ob00dre21 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250107@121909.3483 1ubb1kca8afbsua86ob00dre21 Query : use flama_phc
20250107@121909.3493 1ubb1kca8afbsua86ob00dre21 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@123608.9286 aqd8ol62hdquhjce47mma892kk Query : use flama_phc
20250107@123608.9295 aqd8ol62hdquhjce47mma892kk Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250107@123608.9437 aqd8ol62hdquhjce47mma892kk Query : use flama_phc
20250107@123608.9459 aqd8ol62hdquhjce47mma892kk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@131910.6030 sqqu6vbfesep7jn9uldftn3lgj Query : use flama_phc
20250107@131910.6250 sqqu6vbfesep7jn9uldftn3lgj Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250107@131910.8700 sqqu6vbfesep7jn9uldftn3lgj Query : use flama_phc
20250107@131910.8740 sqqu6vbfesep7jn9uldftn3lgj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@133609.6977 tfrinqtoke507bavvp3gq37s5b Query : use flama_phc
20250107@133609.6981 tfrinqtoke507bavvp3gq37s5b Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250107@133609.7112 tfrinqtoke507bavvp3gq37s5b Query : use flama_phc
20250107@133609.7115 tfrinqtoke507bavvp3gq37s5b Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@141909.2145 g7drmp20a89ovvigslon8k7e9v Query : use flama_phc
20250107@141909.2149 g7drmp20a89ovvigslon8k7e9v Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250107@141909.2239 g7drmp20a89ovvigslon8k7e9v Query : use flama_phc
20250107@141909.2242 g7drmp20a89ovvigslon8k7e9v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142625.8118 l10tdlq3a6molridbru4plme5e Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142625.9082 l10tdlq3a6molridbru4plme5e Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142625.9459 l10tdlq3a6molridbru4plme5e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4332';
20250107@142625.9547 l10tdlq3a6molridbru4plme5e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4332';
20250107@142625.9659 l10tdlq3a6molridbru4plme5e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4332';
20250107@142625.9710 l10tdlq3a6molridbru4plme5e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4332';
20250107@142625.9806 l10tdlq3a6molridbru4plme5e Query : use flama_phc
20250107@142625.9811 l10tdlq3a6molridbru4plme5e Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142626.5100 l10tdlq3a6molridbru4plme5e Query : use flama_phc
20250107@142626.5600 l10tdlq3a6molridbru4plme5e Query : select no, estab,szadrsdesc from szadrs where u_coddest=2427
20250107@142626.1880 l10tdlq3a6molridbru4plme5e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4930.00.1'
20250107@142626.4050 l10tdlq3a6molridbru4plme5e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500063 and bi.ref ='324.4930.00.1' and bi.lordem =1
20250107@142626.8070 l10tdlq3a6molridbru4plme5e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4930.00.1'
20250107@142626.8380 l10tdlq3a6molridbru4plme5e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500063 and bi.ref ='324.4930.00.1' and bi.lordem =1
20250107@142626.8630 l10tdlq3a6molridbru4plme5e 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'
20250107@142626.1017 l10tdlq3a6molridbru4plme5e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500063 and bi.ref ='324.958.00.01' and bi.lordem =2
20250107@142626.1394 l10tdlq3a6molridbru4plme5e 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'
20250107@142626.1421 l10tdlq3a6molridbru4plme5e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500063 and bi.ref ='324.958.00.01' and bi.lordem =2
20250107@142626.1450 l10tdlq3a6molridbru4plme5e 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'
20250107@142626.1478 l10tdlq3a6molridbru4plme5e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500063 and bi.ref ='324.958.00.01' and bi.lordem =2
20250107@142626.1503 l10tdlq3a6molridbru4plme5e 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'
20250107@142626.1530 l10tdlq3a6molridbru4plme5e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500063 and bi.ref ='324.958.00.01' and bi.lordem =2
20250107@142626.1553 l10tdlq3a6molridbru4plme5e Query : use flama_phc
20250107@142626.1557 l10tdlq3a6molridbru4plme5e Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142626.1803 l10tdlq3a6molridbru4plme5e Query : use flama_phc
20250107@142626.1808 l10tdlq3a6molridbru4plme5e Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142626.1993 l10tdlq3a6molridbru4plme5e Query : use flama_phc
20250107@142626.1999 l10tdlq3a6molridbru4plme5e Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142626.2108 l10tdlq3a6molridbru4plme5e Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142626.2268 l10tdlq3a6molridbru4plme5e Query : use flama_phc
20250107@142626.2271 l10tdlq3a6molridbru4plme5e Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20250107@142626.2460 l10tdlq3a6molridbru4plme5e Query : use flama_phc
20250107@142626.2464 l10tdlq3a6molridbru4plme5e Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142626.2602 l10tdlq3a6molridbru4plme5e Query : use flama_phc
20250107@142626.2606 l10tdlq3a6molridbru4plme5e Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142626.2689 l10tdlq3a6molridbru4plme5e Query : use flama_phc
20250107@142626.2692 l10tdlq3a6molridbru4plme5e Query : select szadrsstamp valor from szadrs where szadrsdesc='electrodomesticos divelsa,s.a'
20250107@142626.2760 l10tdlq3a6molridbru4plme5e Query : use flama_phc
20250107@142626.2782 l10tdlq3a6molridbru4plme5e Query : select 1 valor from td where ndoc = 39
20250107@142626.2856 l10tdlq3a6molridbru4plme5e Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142626.2946 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142626.3454 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142626.3557 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142626.3580 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142626.3620 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142626.3641 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142626.3659 l10tdlq3a6molridbru4plme5e Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142626.3957 l10tdlq3a6molridbru4plme5e Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142626.4064 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142626.4084 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142626.4130 l10tdlq3a6molridbru4plme5e Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d358128677d399259' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142626.4446 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142626.4473 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142626.4526 l10tdlq3a6molridbru4plme5e Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142626.4619 l10tdlq3a6molridbru4plme5e Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142626.4944 l10tdlq3a6molridbru4plme5e Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142626.5129 l10tdlq3a6molridbru4plme5e Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142626.5305 l10tdlq3a6molridbru4plme5e Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142626.5438 l10tdlq3a6molridbru4plme5e Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142626.5557 l10tdlq3a6molridbru4plme5e Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d358128677d399259',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142626.6207 l10tdlq3a6molridbru4plme5e Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142626.6337 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142626.6360 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142626.6389 l10tdlq3a6molridbru4plme5e Query : select 'normal' from dummy
20250107@142626.6466 l10tdlq3a6molridbru4plme5e Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d358128677d399259',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2774,200500,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142626.7120 l10tdlq3a6molridbru4plme5e Query : use flama_phc
20250107@142626.7150 l10tdlq3a6molridbru4plme5e Query : select st.usalote valor from st where st.ref = '324.4930.00.1'
20250107@142626.7209 l10tdlq3a6molridbru4plme5e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4930.00.1'
20250107@142626.7407 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142626.7436 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142626.7467 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142626.7485 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142626.7698 l10tdlq3a6molridbru4plme5e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142626.7752 l10tdlq3a6molridbru4plme5e Query : select sestamp valor from se where ref ='324.4930.00.1' and lote = 'r2400066200a'
20250107@142626.7771 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142626.7794 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142626.7809 l10tdlq3a6molridbru4plme5e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d368017677d3992bd','aut677d358128677d399259' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142626.7913 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142626.7933 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142626.7970 l10tdlq3a6molridbru4plme5e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d368017677d3992bd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',96.000 ,'aut677d358128677d399259' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142626.8616 l10tdlq3a6molridbru4plme5e Query : use flama_phc
20250107@142626.8622 l10tdlq3a6molridbru4plme5e Query : select st.usalote valor from st where st.ref = '324.4930.00.1'
20250107@142626.8945 l10tdlq3a6molridbru4plme5e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4930.00.1'
20250107@142626.8969 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142626.8989 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142626.9030 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142626.9065 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142626.9075 l10tdlq3a6molridbru4plme5e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142626.9088 l10tdlq3a6molridbru4plme5e Query : select sestamp valor from se where ref ='324.4930.00.1' and lote = 'r2400066200a'
20250107@142626.9112 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142626.9130 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142626.9287 l10tdlq3a6molridbru4plme5e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d383569677d3992de','aut677d358128677d399259' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142626.9298 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142626.9478 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142626.9519 l10tdlq3a6molridbru4plme5e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d383569677d3992de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',144.000 ,'aut677d358128677d399259' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250107@142626.9799 l10tdlq3a6molridbru4plme5e Query : use flama_phc
20250107@142626.9803 l10tdlq3a6molridbru4plme5e Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20250107@142627.5300 l10tdlq3a6molridbru4plme5e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.958.00.01'
20250107@142627.2500 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.2690 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142627.3040 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.3230 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142627.3330 l10tdlq3a6molridbru4plme5e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142627.3470 l10tdlq3a6molridbru4plme5e Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400704200a'
20250107@142627.3620 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.3800 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142627.3920 l10tdlq3a6molridbru4plme5e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d399767677d399308','aut677d358128677d399259' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142627.3970 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.4140 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142627.4440 l10tdlq3a6molridbru4plme5e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d399767677d399308',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut677d358128677d399259' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20250107@142627.7370 l10tdlq3a6molridbru4plme5e Query : use flama_phc
20250107@142627.7410 l10tdlq3a6molridbru4plme5e Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20250107@142627.7610 l10tdlq3a6molridbru4plme5e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.958.00.01'
20250107@142627.7760 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.7940 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142627.8240 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.8440 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142627.8540 l10tdlq3a6molridbru4plme5e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142627.8960 l10tdlq3a6molridbru4plme5e Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400704200a'
20250107@142627.9100 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.1047 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142627.1064 l10tdlq3a6molridbru4plme5e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d309890677d399316','aut677d358128677d399259' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142627.1070 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.1120 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142627.1156 l10tdlq3a6molridbru4plme5e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d309890677d399316',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut677d358128677d399259' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250107@142627.1440 l10tdlq3a6molridbru4plme5e Query : use flama_phc
20250107@142627.1443 l10tdlq3a6molridbru4plme5e Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20250107@142627.1464 l10tdlq3a6molridbru4plme5e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.958.00.01'
20250107@142627.1510 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.1531 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142627.1558 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.1574 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142627.1583 l10tdlq3a6molridbru4plme5e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142627.1597 l10tdlq3a6molridbru4plme5e Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400704200a'
20250107@142627.1610 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.1627 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142627.1638 l10tdlq3a6molridbru4plme5e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d352636677d399327','aut677d358128677d399259' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142627.1643 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.1659 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142627.1691 l10tdlq3a6molridbru4plme5e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d352636677d399327',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut677d358128677d399259' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20250107@142627.1983 l10tdlq3a6molridbru4plme5e Query : use flama_phc
20250107@142627.1986 l10tdlq3a6molridbru4plme5e Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20250107@142627.2007 l10tdlq3a6molridbru4plme5e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.958.00.01'
20250107@142627.2024 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.2041 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142627.2068 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.2084 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142627.2093 l10tdlq3a6molridbru4plme5e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142627.2105 l10tdlq3a6molridbru4plme5e Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400704200a'
20250107@142627.2119 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.2135 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142627.2147 l10tdlq3a6molridbru4plme5e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d355588677d399333','aut677d358128677d399259' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142627.2152 l10tdlq3a6molridbru4plme5e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.2169 l10tdlq3a6molridbru4plme5e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142627.2199 l10tdlq3a6molridbru4plme5e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d355588677d399333',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut677d358128677d399259' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20250107@142627.2480 l10tdlq3a6molridbru4plme5e Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d358128677d399259','2500063','wait',39,'adm09112754980.682000002')
20250107@142627.2583 l10tdlq3a6molridbru4plme5e Query : use flama_phc
20250107@142627.2586 l10tdlq3a6molridbru4plme5e Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142627.2625 l10tdlq3a6molridbru4plme5e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4332';
20250107@142627.2668 l10tdlq3a6molridbru4plme5e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4332';
20250107@142627.2720 l10tdlq3a6molridbru4plme5e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4332';
20250107@142627.2758 l10tdlq3a6molridbru4plme5e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4332';
20250107@142627.3314 6dd9gejh3qq9cca8hl7q0i6ohq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142627.3327 6dd9gejh3qq9cca8hl7q0i6ohq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142627.3402 6dd9gejh3qq9cca8hl7q0i6ohq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4333';
20250107@142627.3475 6dd9gejh3qq9cca8hl7q0i6ohq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4333';
20250107@142627.3545 6dd9gejh3qq9cca8hl7q0i6ohq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4333';
20250107@142627.3586 6dd9gejh3qq9cca8hl7q0i6ohq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4333';
20250107@142627.3652 6dd9gejh3qq9cca8hl7q0i6ohq Query : use flama_phc
20250107@142627.3656 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142627.3722 6dd9gejh3qq9cca8hl7q0i6ohq Query : use flama_phc
20250107@142627.3726 6dd9gejh3qq9cca8hl7q0i6ohq Query : select no, estab,szadrsdesc from szadrs where u_coddest=832
20250107@142627.3819 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1862.00.1'
20250107@142627.3990 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500086 and bi.ref ='324.1862.00.1' and bi.lordem =1
20250107@142627.4334 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1862.00.1'
20250107@142627.4359 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500086 and bi.ref ='324.1862.00.1' and bi.lordem =1
20250107@142627.4382 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1862.00.1'
20250107@142627.4406 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500086 and bi.ref ='324.1862.00.1' and bi.lordem =2
20250107@142627.4843 6dd9gejh3qq9cca8hl7q0i6ohq Query : use flama_phc
20250107@142627.4847 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142627.4883 6dd9gejh3qq9cca8hl7q0i6ohq Query : use flama_phc
20250107@142627.4887 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142627.4917 6dd9gejh3qq9cca8hl7q0i6ohq Query : use flama_phc
20250107@142627.4920 6dd9gejh3qq9cca8hl7q0i6ohq Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142627.4951 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142627.4989 6dd9gejh3qq9cca8hl7q0i6ohq Query : use flama_phc
20250107@142627.4993 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 ~inactivo valor from cl where no = '101726' and estab = 0 order by inactivo desc
20250107@142627.5129 6dd9gejh3qq9cca8hl7q0i6ohq Query : use flama_phc
20250107@142627.5133 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142627.5167 6dd9gejh3qq9cca8hl7q0i6ohq Query : use flama_phc
20250107@142627.5170 6dd9gejh3qq9cca8hl7q0i6ohq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142627.5218 6dd9gejh3qq9cca8hl7q0i6ohq Query : use flama_phc
20250107@142627.5223 6dd9gejh3qq9cca8hl7q0i6ohq Query : select szadrsstamp valor from szadrs where szadrsdesc='rick & mark - a mobiladora de padronelo,lda'
20250107@142627.5276 6dd9gejh3qq9cca8hl7q0i6ohq Query : use flama_phc
20250107@142627.5279 6dd9gejh3qq9cca8hl7q0i6ohq Query : select 1 valor from td where ndoc = 39
20250107@142627.5293 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142627.5309 6dd9gejh3qq9cca8hl7q0i6ohq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.5328 6dd9gejh3qq9cca8hl7q0i6ohq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142627.5349 6dd9gejh3qq9cca8hl7q0i6ohq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.5365 6dd9gejh3qq9cca8hl7q0i6ohq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142627.5396 6dd9gejh3qq9cca8hl7q0i6ohq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.5414 6dd9gejh3qq9cca8hl7q0i6ohq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142627.5430 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142627.5696 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142627.5716 6dd9gejh3qq9cca8hl7q0i6ohq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.5734 6dd9gejh3qq9cca8hl7q0i6ohq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142627.5769 6dd9gejh3qq9cca8hl7q0i6ohq Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d365084677d399384' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142627.5954 6dd9gejh3qq9cca8hl7q0i6ohq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.6052 6dd9gejh3qq9cca8hl7q0i6ohq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142627.6178 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142627.6191 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142627.6203 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142627.6403 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142627.6417 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142627.6434 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142627.6448 6dd9gejh3qq9cca8hl7q0i6ohq Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d365084677d399384',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142627.6788 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142627.6826 6dd9gejh3qq9cca8hl7q0i6ohq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.6871 6dd9gejh3qq9cca8hl7q0i6ohq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142627.6896 6dd9gejh3qq9cca8hl7q0i6ohq Query : select 'normal' from dummy
20250107@142627.6916 6dd9gejh3qq9cca8hl7q0i6ohq Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d365084677d399384',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2775,101726,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142627.7266 6dd9gejh3qq9cca8hl7q0i6ohq Query : use flama_phc
20250107@142627.7271 6dd9gejh3qq9cca8hl7q0i6ohq Query : select st.usalote valor from st where st.ref = '324.1862.00.1'
20250107@142627.7300 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1862.00.1'
20250107@142627.7492 6dd9gejh3qq9cca8hl7q0i6ohq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.7510 6dd9gejh3qq9cca8hl7q0i6ohq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142627.7539 6dd9gejh3qq9cca8hl7q0i6ohq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.7733 6dd9gejh3qq9cca8hl7q0i6ohq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142627.7743 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142627.7757 6dd9gejh3qq9cca8hl7q0i6ohq Query : select sestamp valor from se where ref ='324.1862.00.1' and lote = 'r2400440200a'
20250107@142627.7813 6dd9gejh3qq9cca8hl7q0i6ohq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.7834 6dd9gejh3qq9cca8hl7q0i6ohq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142627.7869 6dd9gejh3qq9cca8hl7q0i6ohq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d350159677d3993be','aut677d365084677d399384' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142627.7875 6dd9gejh3qq9cca8hl7q0i6ohq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.7893 6dd9gejh3qq9cca8hl7q0i6ohq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142627.7938 6dd9gejh3qq9cca8hl7q0i6ohq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d350159677d3993be',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677d365084677d399384' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142627.8196 6dd9gejh3qq9cca8hl7q0i6ohq Query : use flama_phc
20250107@142627.8200 6dd9gejh3qq9cca8hl7q0i6ohq Query : select st.usalote valor from st where st.ref = '324.1862.00.1'
20250107@142627.8222 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1862.00.1'
20250107@142627.8238 6dd9gejh3qq9cca8hl7q0i6ohq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.8256 6dd9gejh3qq9cca8hl7q0i6ohq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142627.8288 6dd9gejh3qq9cca8hl7q0i6ohq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.8304 6dd9gejh3qq9cca8hl7q0i6ohq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142627.8314 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142627.8328 6dd9gejh3qq9cca8hl7q0i6ohq Query : select sestamp valor from se where ref ='324.1862.00.1' and lote = 'r2400440200a'
20250107@142627.8342 6dd9gejh3qq9cca8hl7q0i6ohq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.8358 6dd9gejh3qq9cca8hl7q0i6ohq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142627.8370 6dd9gejh3qq9cca8hl7q0i6ohq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d389400677d3993cb','aut677d365084677d399384' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142627.8375 6dd9gejh3qq9cca8hl7q0i6ohq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.8391 6dd9gejh3qq9cca8hl7q0i6ohq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142627.8422 6dd9gejh3qq9cca8hl7q0i6ohq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d389400677d3993cb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut677d365084677d399384' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250107@142627.8685 6dd9gejh3qq9cca8hl7q0i6ohq Query : use flama_phc
20250107@142627.8688 6dd9gejh3qq9cca8hl7q0i6ohq Query : select st.usalote valor from st where st.ref = '324.1862.00.1'
20250107@142627.8717 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1862.00.1'
20250107@142627.8732 6dd9gejh3qq9cca8hl7q0i6ohq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.8749 6dd9gejh3qq9cca8hl7q0i6ohq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142627.8779 6dd9gejh3qq9cca8hl7q0i6ohq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.8794 6dd9gejh3qq9cca8hl7q0i6ohq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142627.8803 6dd9gejh3qq9cca8hl7q0i6ohq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142627.8816 6dd9gejh3qq9cca8hl7q0i6ohq Query : select sestamp valor from se where ref ='324.1862.00.1' and lote = 'r2400440200a'
20250107@142627.8829 6dd9gejh3qq9cca8hl7q0i6ohq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.8843 6dd9gejh3qq9cca8hl7q0i6ohq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142627.8855 6dd9gejh3qq9cca8hl7q0i6ohq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d357481677d3993d7','aut677d365084677d399384' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142627.8860 6dd9gejh3qq9cca8hl7q0i6ohq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142627.8875 6dd9gejh3qq9cca8hl7q0i6ohq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142627.8903 6dd9gejh3qq9cca8hl7q0i6ohq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d357481677d3993d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677d365084677d399384' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20250107@142627.9156 6dd9gejh3qq9cca8hl7q0i6ohq Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d365084677d399384','2500086','wait',39,'adm09112754980.682000002')
20250107@142627.9239 6dd9gejh3qq9cca8hl7q0i6ohq Query : use flama_phc
20250107@142627.9244 6dd9gejh3qq9cca8hl7q0i6ohq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142627.9277 6dd9gejh3qq9cca8hl7q0i6ohq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4333';
20250107@142627.9333 6dd9gejh3qq9cca8hl7q0i6ohq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4333';
20250107@142627.9393 6dd9gejh3qq9cca8hl7q0i6ohq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4333';
20250107@142627.9436 6dd9gejh3qq9cca8hl7q0i6ohq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4333';
20250107@142628.3100 2allnldmpao5j48ohbj94onq4k Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142628.5600 2allnldmpao5j48ohbj94onq4k Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142628.2130 2allnldmpao5j48ohbj94onq4k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4334';
20250107@142628.4950 2allnldmpao5j48ohbj94onq4k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4334';
20250107@142628.6530 2allnldmpao5j48ohbj94onq4k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4334';
20250107@142628.7210 2allnldmpao5j48ohbj94onq4k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4334';
20250107@142628.8900 2allnldmpao5j48ohbj94onq4k Query : use flama_phc
20250107@142628.8950 2allnldmpao5j48ohbj94onq4k Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142628.1075 2allnldmpao5j48ohbj94onq4k Query : use flama_phc
20250107@142628.1082 2allnldmpao5j48ohbj94onq4k Query : select no, estab,szadrsdesc from szadrs where u_coddest=1179
20250107@142628.1191 2allnldmpao5j48ohbj94onq4k 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'
20250107@142628.1409 2allnldmpao5j48ohbj94onq4k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500089 and bi.ref ='324.1816.00.1' and bi.lordem =1
20250107@142628.3085 2allnldmpao5j48ohbj94onq4k Query : use flama_phc
20250107@142628.3095 2allnldmpao5j48ohbj94onq4k Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142628.3137 2allnldmpao5j48ohbj94onq4k Query : use flama_phc
20250107@142628.3143 2allnldmpao5j48ohbj94onq4k Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142628.3187 2allnldmpao5j48ohbj94onq4k Query : use flama_phc
20250107@142628.3191 2allnldmpao5j48ohbj94onq4k Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142628.3226 2allnldmpao5j48ohbj94onq4k Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142628.3263 2allnldmpao5j48ohbj94onq4k Query : use flama_phc
20250107@142628.3268 2allnldmpao5j48ohbj94onq4k Query : select top 1 ~inactivo valor from cl where no = '102332' and estab = 0 order by inactivo desc
20250107@142628.3399 2allnldmpao5j48ohbj94onq4k Query : use flama_phc
20250107@142628.3403 2allnldmpao5j48ohbj94onq4k Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142628.3434 2allnldmpao5j48ohbj94onq4k Query : use flama_phc
20250107@142628.3438 2allnldmpao5j48ohbj94onq4k Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142628.3484 2allnldmpao5j48ohbj94onq4k Query : use flama_phc
20250107@142628.3487 2allnldmpao5j48ohbj94onq4k Query : select szadrsstamp valor from szadrs where szadrsdesc='o varandÃo,lda (grijÓ)'
20250107@142628.3537 2allnldmpao5j48ohbj94onq4k Query : use flama_phc
20250107@142628.3540 2allnldmpao5j48ohbj94onq4k Query : select 1 valor from td where ndoc = 39
20250107@142628.3552 2allnldmpao5j48ohbj94onq4k Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142628.3567 2allnldmpao5j48ohbj94onq4k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142628.3585 2allnldmpao5j48ohbj94onq4k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142628.3607 2allnldmpao5j48ohbj94onq4k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142628.3623 2allnldmpao5j48ohbj94onq4k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142628.3654 2allnldmpao5j48ohbj94onq4k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142628.3671 2allnldmpao5j48ohbj94onq4k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142628.3684 2allnldmpao5j48ohbj94onq4k Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142628.3807 2allnldmpao5j48ohbj94onq4k Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142628.3824 2allnldmpao5j48ohbj94onq4k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142628.3847 2allnldmpao5j48ohbj94onq4k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142628.3865 2allnldmpao5j48ohbj94onq4k Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d375119677d399459' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142628.4039 2allnldmpao5j48ohbj94onq4k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142628.4059 2allnldmpao5j48ohbj94onq4k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142628.4093 2allnldmpao5j48ohbj94onq4k Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142628.4106 2allnldmpao5j48ohbj94onq4k Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142628.4120 2allnldmpao5j48ohbj94onq4k Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142628.4133 2allnldmpao5j48ohbj94onq4k Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142628.4144 2allnldmpao5j48ohbj94onq4k Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142628.4156 2allnldmpao5j48ohbj94onq4k Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142628.4169 2allnldmpao5j48ohbj94onq4k Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d375119677d399459',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142628.4423 2allnldmpao5j48ohbj94onq4k Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142628.4457 2allnldmpao5j48ohbj94onq4k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142628.4477 2allnldmpao5j48ohbj94onq4k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142628.4501 2allnldmpao5j48ohbj94onq4k Query : select 'normal' from dummy
20250107@142628.4520 2allnldmpao5j48ohbj94onq4k Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d375119677d399459',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2776,102332,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142628.4871 2allnldmpao5j48ohbj94onq4k Query : use flama_phc
20250107@142628.4875 2allnldmpao5j48ohbj94onq4k Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20250107@142628.4905 2allnldmpao5j48ohbj94onq4k Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1816.00.1'
20250107@142628.5095 2allnldmpao5j48ohbj94onq4k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142628.5127 2allnldmpao5j48ohbj94onq4k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142628.5156 2allnldmpao5j48ohbj94onq4k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142628.5173 2allnldmpao5j48ohbj94onq4k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142628.5183 2allnldmpao5j48ohbj94onq4k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142628.5196 2allnldmpao5j48ohbj94onq4k Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400284200a'
20250107@142628.5220 2allnldmpao5j48ohbj94onq4k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142628.5237 2allnldmpao5j48ohbj94onq4k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142628.5250 2allnldmpao5j48ohbj94onq4k Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d304873677d39947f','aut677d375119677d399459' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142628.5255 2allnldmpao5j48ohbj94onq4k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142628.5272 2allnldmpao5j48ohbj94onq4k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142628.5308 2allnldmpao5j48ohbj94onq4k Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d304873677d39947f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677d375119677d399459' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142628.5605 2allnldmpao5j48ohbj94onq4k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142628.5626 2allnldmpao5j48ohbj94onq4k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142628.5666 2allnldmpao5j48ohbj94onq4k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142628.5684 2allnldmpao5j48ohbj94onq4k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142628.5695 2allnldmpao5j48ohbj94onq4k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142628.5710 2allnldmpao5j48ohbj94onq4k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142628.5731 2allnldmpao5j48ohbj94onq4k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142628.5747 2allnldmpao5j48ohbj94onq4k Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d374097677d39948b','aut677d375119677d399459' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142628.5753 2allnldmpao5j48ohbj94onq4k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142628.5774 2allnldmpao5j48ohbj94onq4k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142628.5812 2allnldmpao5j48ohbj94onq4k Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677d374097677d39948b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677d375119677d399459' ,0,0 ,2,23.00,20000,?,?,?)
20250107@142628.6099 2allnldmpao5j48ohbj94onq4k Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d375119677d399459','2500089','wait',39,'adm09112754980.682000002')
20250107@142628.6176 2allnldmpao5j48ohbj94onq4k Query : use flama_phc
20250107@142628.6180 2allnldmpao5j48ohbj94onq4k Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142628.6209 2allnldmpao5j48ohbj94onq4k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4334';
20250107@142628.6255 2allnldmpao5j48ohbj94onq4k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4334';
20250107@142628.6309 2allnldmpao5j48ohbj94onq4k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4334';
20250107@142628.6348 2allnldmpao5j48ohbj94onq4k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4334';
20250107@142628.6944 028d9ovftbns9c4c20ipbj50e7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142628.6956 028d9ovftbns9c4c20ipbj50e7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142628.7036 028d9ovftbns9c4c20ipbj50e7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4335';
20250107@142628.7110 028d9ovftbns9c4c20ipbj50e7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4335';
20250107@142628.7181 028d9ovftbns9c4c20ipbj50e7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4335';
20250107@142628.7224 028d9ovftbns9c4c20ipbj50e7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4335';
20250107@142628.7300 028d9ovftbns9c4c20ipbj50e7 Query : use flama_phc
20250107@142628.7304 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142628.7585 028d9ovftbns9c4c20ipbj50e7 Query : use flama_phc
20250107@142628.7589 028d9ovftbns9c4c20ipbj50e7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2448
20250107@142628.7691 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20250107@142628.7855 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500092 and bi.ref ='324.1670.00.1' and bi.lordem =1
20250107@142628.8250 028d9ovftbns9c4c20ipbj50e7 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'
20250107@142628.8442 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500092 and bi.ref ='304.4320.00.1' and bi.lordem =2
20250107@142628.8800 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20250107@142628.8950 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500092 and bi.ref ='324.4990.00.1' and bi.lordem =3
20250107@142628.9318 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1884.00.1'
20250107@142628.9452 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500092 and bi.ref ='324.1884.00.1' and bi.lordem =4
20250107@142628.9820 028d9ovftbns9c4c20ipbj50e7 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'
20250107@142629.6000 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500092 and bi.ref ='324.1716.00.1' and bi.lordem =5
20250107@142629.3920 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2300.00.1'
20250107@142629.5750 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500092 and bi.ref ='324.2300.00.1' and bi.lordem =6
20250107@142629.9510 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2326.00.1'
20250107@142629.1110 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500092 and bi.ref ='324.2326.00.1' and bi.lordem =7
20250107@142629.1751 028d9ovftbns9c4c20ipbj50e7 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'
20250107@142629.1931 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500092 and bi.ref ='324.1684.00.1' and bi.lordem =8
20250107@142629.2297 028d9ovftbns9c4c20ipbj50e7 Query : use flama_phc
20250107@142629.2301 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142629.2348 028d9ovftbns9c4c20ipbj50e7 Query : use flama_phc
20250107@142629.2352 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142629.2543 028d9ovftbns9c4c20ipbj50e7 Query : use flama_phc
20250107@142629.2577 028d9ovftbns9c4c20ipbj50e7 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142629.2610 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142629.2648 028d9ovftbns9c4c20ipbj50e7 Query : use flama_phc
20250107@142629.2652 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 ~inactivo valor from cl where no = '101889' and estab = 0 order by inactivo desc
20250107@142629.2814 028d9ovftbns9c4c20ipbj50e7 Query : use flama_phc
20250107@142629.2819 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142629.2881 028d9ovftbns9c4c20ipbj50e7 Query : use flama_phc
20250107@142629.2886 028d9ovftbns9c4c20ipbj50e7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142629.2937 028d9ovftbns9c4c20ipbj50e7 Query : use flama_phc
20250107@142629.2942 028d9ovftbns9c4c20ipbj50e7 Query : select szadrsstamp valor from szadrs where szadrsdesc='cooplecnorte,crl'
20250107@142629.3004 028d9ovftbns9c4c20ipbj50e7 Query : use flama_phc
20250107@142629.3008 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from td where ndoc = 39
20250107@142629.3025 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142629.3044 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.3062 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142629.3083 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.3100 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142629.3128 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.3143 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142629.3155 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142629.3278 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142629.3294 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.3441 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142629.3466 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d388859677d39954d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142629.3693 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.3723 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142629.3785 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142629.3801 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142629.3824 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142629.3838 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142629.3853 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142629.3868 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142629.3883 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d388859677d39954d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142629.4227 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142629.4260 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.4290 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142629.4327 028d9ovftbns9c4c20ipbj50e7 Query : select 'normal' from dummy
20250107@142629.4345 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d388859677d39954d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2777,101889,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142629.4696 028d9ovftbns9c4c20ipbj50e7 Query : use flama_phc
20250107@142629.4700 028d9ovftbns9c4c20ipbj50e7 Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20250107@142629.4765 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1670.00.1'
20250107@142629.4919 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.4944 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142629.4976 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.4994 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142629.5004 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142629.5017 028d9ovftbns9c4c20ipbj50e7 Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2301213200a'
20250107@142629.5043 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.5073 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142629.5087 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d314297677d39957b','aut677d388859677d39954d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142629.5092 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.5109 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142629.5149 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d314297677d39957b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut677d388859677d39954d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142629.5477 028d9ovftbns9c4c20ipbj50e7 Query : use flama_phc
20250107@142629.5481 028d9ovftbns9c4c20ipbj50e7 Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20250107@142629.5510 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20250107@142629.5705 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.5728 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142629.5760 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.5784 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142629.5796 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142629.5811 028d9ovftbns9c4c20ipbj50e7 Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '241183'
20250107@142629.5850 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.5870 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142629.5888 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d326097677d39958e','aut677d388859677d39954d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142629.5894 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.5912 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142629.5954 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d326097677d39958e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677d388859677d39954d' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250107@142629.6312 028d9ovftbns9c4c20ipbj50e7 Query : use flama_phc
20250107@142629.6316 028d9ovftbns9c4c20ipbj50e7 Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20250107@142629.6345 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4990.00.1'
20250107@142629.6534 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.6553 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142629.6588 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.6606 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142629.6617 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142629.6632 028d9ovftbns9c4c20ipbj50e7 Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20250107@142629.6663 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.6684 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142629.6698 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d377713677d3995a2','aut677d388859677d39954d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142629.6704 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.6723 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142629.6759 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d377713677d3995a2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut677d388859677d39954d' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20250107@142629.7029 028d9ovftbns9c4c20ipbj50e7 Query : use flama_phc
20250107@142629.7033 028d9ovftbns9c4c20ipbj50e7 Query : select st.usalote valor from st where st.ref = '324.1884.00.1'
20250107@142629.7056 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1884.00.1'
20250107@142629.7222 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.7245 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142629.7282 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.7301 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142629.7312 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142629.7327 028d9ovftbns9c4c20ipbj50e7 Query : select sestamp valor from se where ref ='324.1884.00.1' and lote = 'r2400213100a'
20250107@142629.7352 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.7373 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142629.7388 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d378948677d3995b3','aut677d388859677d39954d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142629.7393 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.7412 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142629.7453 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d378948677d3995b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut677d388859677d39954d' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250107@142629.7789 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.7813 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142629.7859 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.7879 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142629.7889 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142629.7904 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.7922 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142629.7935 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d308010677d3995c0','aut677d388859677d39954d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142629.7940 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.7959 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142629.7994 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677d308010677d3995c0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677d388859677d39954d' ,0,0 ,2,23.00,50000,?,?,?)
20250107@142629.8277 028d9ovftbns9c4c20ipbj50e7 Query : use flama_phc
20250107@142629.8281 028d9ovftbns9c4c20ipbj50e7 Query : select st.usalote valor from st where st.ref = '324.1716.00.1'
20250107@142629.8306 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1716.00.1'
20250107@142629.8451 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.8469 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142629.8500 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.8521 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142629.8531 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142629.8544 028d9ovftbns9c4c20ipbj50e7 Query : select sestamp valor from se where ref ='324.1716.00.1' and lote = 'r2100312300a'
20250107@142629.8573 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.8591 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142629.8630 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d349312677d3995d1','aut677d388859677d39954d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142629.8636 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.8747 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142629.8841 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d349312677d3995d1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut677d388859677d39954d' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20250107@142629.9123 028d9ovftbns9c4c20ipbj50e7 Query : use flama_phc
20250107@142629.9127 028d9ovftbns9c4c20ipbj50e7 Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20250107@142629.9282 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2300.00.1'
20250107@142629.9447 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.9469 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142629.9496 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.9511 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142629.9522 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142629.9605 028d9ovftbns9c4c20ipbj50e7 Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20250107@142629.9623 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.9641 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142629.9681 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d351640677d3995ea','aut677d388859677d39954d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142629.9686 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142629.9704 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142629.9754 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d351640677d3995ea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut677d388859677d39954d' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20250107@142630.3400 028d9ovftbns9c4c20ipbj50e7 Query : use flama_phc
20250107@142630.4100 028d9ovftbns9c4c20ipbj50e7 Query : select st.usalote valor from st where st.ref = '324.2326.00.1'
20250107@142630.6600 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2326.00.1'
20250107@142630.2360 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142630.2790 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142630.3110 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142630.3360 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142630.3460 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142630.3630 028d9ovftbns9c4c20ipbj50e7 Query : select sestamp valor from se where ref ='324.2326.00.1' and lote = 'r2400475600a'
20250107@142630.3820 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142630.3990 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142630.4280 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d307603677d399609','aut677d388859677d39954d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142630.4330 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142630.4510 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142630.4860 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d307603677d399609',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut677d388859677d39954d' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20250107@142630.8420 028d9ovftbns9c4c20ipbj50e7 Query : use flama_phc
20250107@142630.8460 028d9ovftbns9c4c20ipbj50e7 Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20250107@142630.8690 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1684.00.1'
20250107@142630.1023 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142630.1040 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142630.1077 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142630.1109 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142630.1120 028d9ovftbns9c4c20ipbj50e7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142630.1134 028d9ovftbns9c4c20ipbj50e7 Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2400208100a'
20250107@142630.1152 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142630.1169 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142630.1184 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d340371677d39961c','aut677d388859677d39954d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142630.1189 028d9ovftbns9c4c20ipbj50e7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142630.1206 028d9ovftbns9c4c20ipbj50e7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142630.1248 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d340371677d39961c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677d388859677d39954d' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20250107@142630.1589 028d9ovftbns9c4c20ipbj50e7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d388859677d39954d','2500092','wait',39,'adm09112754980.682000002')
20250107@142630.1681 028d9ovftbns9c4c20ipbj50e7 Query : use flama_phc
20250107@142630.1686 028d9ovftbns9c4c20ipbj50e7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142630.1759 028d9ovftbns9c4c20ipbj50e7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4335';
20250107@142630.1814 028d9ovftbns9c4c20ipbj50e7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4335';
20250107@142630.1922 028d9ovftbns9c4c20ipbj50e7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4335';
20250107@142630.1981 028d9ovftbns9c4c20ipbj50e7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4335';
20250107@142630.2760 s372s8bdpuojg8agajebqi3567 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142630.2773 s372s8bdpuojg8agajebqi3567 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142630.2902 s372s8bdpuojg8agajebqi3567 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4336';
20250107@142630.3016 s372s8bdpuojg8agajebqi3567 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4336';
20250107@142630.3301 s372s8bdpuojg8agajebqi3567 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4336';
20250107@142630.3352 s372s8bdpuojg8agajebqi3567 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4336';
20250107@142630.3424 s372s8bdpuojg8agajebqi3567 Query : use flama_phc
20250107@142630.3428 s372s8bdpuojg8agajebqi3567 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142630.3492 s372s8bdpuojg8agajebqi3567 Query : use flama_phc
20250107@142630.3496 s372s8bdpuojg8agajebqi3567 Query : select no, estab,szadrsdesc from szadrs where u_coddest=201
20250107@142630.4623 s372s8bdpuojg8agajebqi3567 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9106.00.1'
20250107@142630.5244 s372s8bdpuojg8agajebqi3567 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500093 and bi.ref ='328.9106.00.1' and bi.lordem =1
20250107@142630.5687 s372s8bdpuojg8agajebqi3567 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.7002.00.1'
20250107@142630.5848 s372s8bdpuojg8agajebqi3567 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500093 and bi.ref ='325.7002.00.1' and bi.lordem =2
20250107@142630.6241 s372s8bdpuojg8agajebqi3567 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'
20250107@142630.6416 s372s8bdpuojg8agajebqi3567 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500093 and bi.ref ='324.1705.00.1' and bi.lordem =3
20250107@142630.6787 s372s8bdpuojg8agajebqi3567 Query : use flama_phc
20250107@142630.6791 s372s8bdpuojg8agajebqi3567 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142630.6830 s372s8bdpuojg8agajebqi3567 Query : use flama_phc
20250107@142630.6833 s372s8bdpuojg8agajebqi3567 Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142630.6867 s372s8bdpuojg8agajebqi3567 Query : use flama_phc
20250107@142630.6870 s372s8bdpuojg8agajebqi3567 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142630.6906 s372s8bdpuojg8agajebqi3567 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142630.6973 s372s8bdpuojg8agajebqi3567 Query : use flama_phc
20250107@142630.6979 s372s8bdpuojg8agajebqi3567 Query : select top 1 ~inactivo valor from cl where no = '100080' and estab = 0 order by inactivo desc
20250107@142630.7194 s372s8bdpuojg8agajebqi3567 Query : use flama_phc
20250107@142630.7199 s372s8bdpuojg8agajebqi3567 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142630.7263 s372s8bdpuojg8agajebqi3567 Query : use flama_phc
20250107@142630.7270 s372s8bdpuojg8agajebqi3567 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142630.7353 s372s8bdpuojg8agajebqi3567 Query : use flama_phc
20250107@142630.7357 s372s8bdpuojg8agajebqi3567 Query : select szadrsstamp valor from szadrs where szadrsdesc='sorefoz - electrod. e equipamentos, s.a.'
20250107@142630.7449 s372s8bdpuojg8agajebqi3567 Query : use flama_phc
20250107@142630.7453 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from td where ndoc = 39
20250107@142630.7471 s372s8bdpuojg8agajebqi3567 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142630.7489 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142630.7509 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142630.7559 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142630.7584 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142630.7626 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142630.7645 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142630.7665 s372s8bdpuojg8agajebqi3567 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142630.7871 s372s8bdpuojg8agajebqi3567 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142630.7888 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142630.7937 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142630.7955 s372s8bdpuojg8agajebqi3567 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d332788677d3996bb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142630.8224 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142630.8254 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142630.8304 s372s8bdpuojg8agajebqi3567 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142630.8322 s372s8bdpuojg8agajebqi3567 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142630.8337 s372s8bdpuojg8agajebqi3567 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142630.8353 s372s8bdpuojg8agajebqi3567 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142630.8369 s372s8bdpuojg8agajebqi3567 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142630.8386 s372s8bdpuojg8agajebqi3567 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142630.8401 s372s8bdpuojg8agajebqi3567 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d332788677d3996bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142630.8926 s372s8bdpuojg8agajebqi3567 Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142630.9050 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142630.9075 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142630.9105 s372s8bdpuojg8agajebqi3567 Query : select 'normal' from dummy
20250107@142630.9125 s372s8bdpuojg8agajebqi3567 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d332788677d3996bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2778,100080,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142630.9448 s372s8bdpuojg8agajebqi3567 Query : use flama_phc
20250107@142630.9452 s372s8bdpuojg8agajebqi3567 Query : select st.usalote valor from st where st.ref = '328.9106.00.1'
20250107@142630.9478 s372s8bdpuojg8agajebqi3567 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9106.00.1'
20250107@142630.9662 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142630.9683 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142630.9718 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142630.9736 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142630.9747 s372s8bdpuojg8agajebqi3567 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142630.9764 s372s8bdpuojg8agajebqi3567 Query : select sestamp valor from se where ref ='328.9106.00.1' and lote = 'r2100770200a'
20250107@142630.9789 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142630.9807 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142630.9825 s372s8bdpuojg8agajebqi3567 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d363731677d3996ee','aut677d332788677d3996bb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142630.9836 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142630.9853 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142630.9885 s372s8bdpuojg8agajebqi3567 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d363731677d3996ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut677d332788677d3996bb' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142631.1940 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142631.2160 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142631.2510 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142631.2720 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142631.2830 s372s8bdpuojg8agajebqi3567 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142631.2990 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142631.3180 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142631.3330 s372s8bdpuojg8agajebqi3567 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d346071677d399707','aut677d332788677d3996bb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142631.3370 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142631.3610 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142631.4120 s372s8bdpuojg8agajebqi3567 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677d346071677d399707',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677d332788677d3996bb' ,0,0 ,2,23.00,20000,?,?,?)
20250107@142631.6770 s372s8bdpuojg8agajebqi3567 Query : use flama_phc
20250107@142631.6800 s372s8bdpuojg8agajebqi3567 Query : select st.usalote valor from st where st.ref = '325.7002.00.1'
20250107@142631.7030 s372s8bdpuojg8agajebqi3567 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '325.7002.00.1'
20250107@142631.8500 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142631.8670 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142631.8960 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142631.9120 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142631.9210 s372s8bdpuojg8agajebqi3567 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142631.9360 s372s8bdpuojg8agajebqi3567 Query : select sestamp valor from se where ref ='325.7002.00.1' and lote = '2511'
20250107@142631.9570 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142631.9830 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142631.9970 s372s8bdpuojg8agajebqi3567 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d370399677d399717','aut677d332788677d3996bb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142631.1002 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142631.1057 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142631.1092 s372s8bdpuojg8agajebqi3567 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d370399677d399717',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut677d332788677d3996bb' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250107@142631.1362 s372s8bdpuojg8agajebqi3567 Query : use flama_phc
20250107@142631.1366 s372s8bdpuojg8agajebqi3567 Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20250107@142631.1390 s372s8bdpuojg8agajebqi3567 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1705.00.1'
20250107@142631.1537 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142631.1555 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142631.1593 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142631.1642 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142631.1653 s372s8bdpuojg8agajebqi3567 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142631.1669 s372s8bdpuojg8agajebqi3567 Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2400926200a'
20250107@142631.1687 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142631.1708 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142631.1724 s372s8bdpuojg8agajebqi3567 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d311503677d399729','aut677d332788677d3996bb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142631.1737 s372s8bdpuojg8agajebqi3567 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142631.1758 s372s8bdpuojg8agajebqi3567 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142631.1800 s372s8bdpuojg8agajebqi3567 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d311503677d399729',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677d332788677d3996bb' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20250107@142631.2140 s372s8bdpuojg8agajebqi3567 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d332788677d3996bb','2500093','wait',39,'adm09112754980.682000002')
20250107@142631.2235 s372s8bdpuojg8agajebqi3567 Query : use flama_phc
20250107@142631.2239 s372s8bdpuojg8agajebqi3567 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142631.2274 s372s8bdpuojg8agajebqi3567 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4336';
20250107@142631.2320 s372s8bdpuojg8agajebqi3567 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4336';
20250107@142631.2376 s372s8bdpuojg8agajebqi3567 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4336';
20250107@142631.2570 s372s8bdpuojg8agajebqi3567 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4336';
20250107@142631.3159 u09cd28htq6l6kuar2imjmdmle Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142631.3174 u09cd28htq6l6kuar2imjmdmle Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142631.3269 u09cd28htq6l6kuar2imjmdmle Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4337';
20250107@142631.3362 u09cd28htq6l6kuar2imjmdmle Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4337';
20250107@142631.3449 u09cd28htq6l6kuar2imjmdmle Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4337';
20250107@142631.3504 u09cd28htq6l6kuar2imjmdmle Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4337';
20250107@142631.3590 u09cd28htq6l6kuar2imjmdmle Query : use flama_phc
20250107@142631.3594 u09cd28htq6l6kuar2imjmdmle Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142631.3676 u09cd28htq6l6kuar2imjmdmle Query : use flama_phc
20250107@142631.3681 u09cd28htq6l6kuar2imjmdmle Query : select no, estab,szadrsdesc from szadrs where u_coddest=2064
20250107@142631.3791 u09cd28htq6l6kuar2imjmdmle 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'
20250107@142631.3848 u09cd28htq6l6kuar2imjmdmle Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500094 and bi.ref ='304.421.00.04' and bi.lordem =1
20250107@142631.4545 u09cd28htq6l6kuar2imjmdmle 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'
20250107@142631.4587 u09cd28htq6l6kuar2imjmdmle Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500094 and bi.ref ='304.421.00.04' and bi.lordem =1
20250107@142631.4621 u09cd28htq6l6kuar2imjmdmle Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.701.00.02'
20250107@142631.5318 u09cd28htq6l6kuar2imjmdmle Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500094 and bi.ref ='304.701.00.02' and bi.lordem =2
20250107@142631.5839 u09cd28htq6l6kuar2imjmdmle Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.734.00.02'
20250107@142631.6191 u09cd28htq6l6kuar2imjmdmle Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500094 and bi.ref ='324.734.00.02' and bi.lordem =3
20250107@142631.6935 u09cd28htq6l6kuar2imjmdmle Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2223.00.1'
20250107@142631.7422 u09cd28htq6l6kuar2imjmdmle Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500094 and bi.ref ='324.2223.00.1' and bi.lordem =4
20250107@142631.7863 u09cd28htq6l6kuar2imjmdmle Query : use flama_phc
20250107@142631.7868 u09cd28htq6l6kuar2imjmdmle Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142631.7913 u09cd28htq6l6kuar2imjmdmle Query : use flama_phc
20250107@142631.7928 u09cd28htq6l6kuar2imjmdmle Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142631.8003 u09cd28htq6l6kuar2imjmdmle Query : use flama_phc
20250107@142631.8007 u09cd28htq6l6kuar2imjmdmle Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142631.8046 u09cd28htq6l6kuar2imjmdmle Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142631.8104 u09cd28htq6l6kuar2imjmdmle Query : use flama_phc
20250107@142631.8108 u09cd28htq6l6kuar2imjmdmle Query : select top 1 ~inactivo valor from cl where no = '101645' and estab = 0 order by inactivo desc
20250107@142631.8240 u09cd28htq6l6kuar2imjmdmle Query : use flama_phc
20250107@142631.8243 u09cd28htq6l6kuar2imjmdmle Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142631.8285 u09cd28htq6l6kuar2imjmdmle Query : use flama_phc
20250107@142631.8288 u09cd28htq6l6kuar2imjmdmle Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142631.8351 u09cd28htq6l6kuar2imjmdmle Query : use flama_phc
20250107@142631.8359 u09cd28htq6l6kuar2imjmdmle Query : select szadrsstamp valor from szadrs where szadrsdesc='macorlux - electrodomÉsticos, s.a.'
20250107@142631.8424 u09cd28htq6l6kuar2imjmdmle Query : use flama_phc
20250107@142631.8428 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from td where ndoc = 39
20250107@142631.8446 u09cd28htq6l6kuar2imjmdmle Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142631.8466 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142631.8485 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142631.8508 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142631.8530 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142631.8568 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142631.8585 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142631.8599 u09cd28htq6l6kuar2imjmdmle Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142631.8717 u09cd28htq6l6kuar2imjmdmle Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142631.8732 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142631.8750 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142631.8767 u09cd28htq6l6kuar2imjmdmle Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d385922677d3997d1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142631.8949 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142631.8974 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142631.9012 u09cd28htq6l6kuar2imjmdmle Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142631.9027 u09cd28htq6l6kuar2imjmdmle Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142631.9041 u09cd28htq6l6kuar2imjmdmle Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142631.9054 u09cd28htq6l6kuar2imjmdmle Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142631.9068 u09cd28htq6l6kuar2imjmdmle Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142631.9084 u09cd28htq6l6kuar2imjmdmle Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142631.9098 u09cd28htq6l6kuar2imjmdmle Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d385922677d3997d1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142631.9378 u09cd28htq6l6kuar2imjmdmle Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142631.9435 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142631.9453 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142631.9478 u09cd28htq6l6kuar2imjmdmle Query : select 'normal' from dummy
20250107@142631.9494 u09cd28htq6l6kuar2imjmdmle Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d385922677d3997d1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2779,101645,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142631.9811 u09cd28htq6l6kuar2imjmdmle Query : use flama_phc
20250107@142631.9816 u09cd28htq6l6kuar2imjmdmle Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20250107@142631.9844 u09cd28htq6l6kuar2imjmdmle Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20250107@142631.9871 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142631.9889 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142631.9917 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142631.9934 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142631.9943 u09cd28htq6l6kuar2imjmdmle Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142631.9955 u09cd28htq6l6kuar2imjmdmle Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '242059'
20250107@142631.9969 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142631.9984 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142631.9995 u09cd28htq6l6kuar2imjmdmle Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d348020677d3997f3','aut677d385922677d3997d1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142632.0000 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.1600 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142632.4400 u09cd28htq6l6kuar2imjmdmle Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d348020677d3997f3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677d385922677d3997d1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142632.4170 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.4400 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142632.5150 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.5370 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142632.5480 u09cd28htq6l6kuar2imjmdmle Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142632.5640 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.5910 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142632.6040 u09cd28htq6l6kuar2imjmdmle Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d352222677d39980d','aut677d385922677d3997d1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142632.6090 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.6270 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142632.6580 u09cd28htq6l6kuar2imjmdmle Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677d352222677d39980d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677d385922677d3997d1' ,0,0 ,2,23.00,20000,?,?,?)
20250107@142632.9930 u09cd28htq6l6kuar2imjmdmle Query : use flama_phc
20250107@142632.9980 u09cd28htq6l6kuar2imjmdmle Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20250107@142632.1025 u09cd28htq6l6kuar2imjmdmle Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20250107@142632.1045 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.1068 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142632.1114 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.1143 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142632.1154 u09cd28htq6l6kuar2imjmdmle Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142632.1170 u09cd28htq6l6kuar2imjmdmle Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '242059'
20250107@142632.1185 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.1203 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142632.1219 u09cd28htq6l6kuar2imjmdmle Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d307258677d39981c','aut677d385922677d3997d1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142632.1225 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.1246 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142632.1286 u09cd28htq6l6kuar2imjmdmle Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d307258677d39981c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut677d385922677d3997d1' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250107@142632.1621 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.1648 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142632.1691 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.1716 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142632.1730 u09cd28htq6l6kuar2imjmdmle Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142632.1745 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.1763 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142632.1780 u09cd28htq6l6kuar2imjmdmle Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d369294677d39982a','aut677d385922677d3997d1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142632.1785 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.1804 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142632.1840 u09cd28htq6l6kuar2imjmdmle Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677d369294677d39982a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677d385922677d3997d1' ,0,0 ,2,23.00,50000,?,?,?)
20250107@142632.2241 u09cd28htq6l6kuar2imjmdmle Query : use flama_phc
20250107@142632.2245 u09cd28htq6l6kuar2imjmdmle Query : select st.usalote valor from st where st.ref = '304.701.00.02'
20250107@142632.2276 u09cd28htq6l6kuar2imjmdmle Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.701.00.02'
20250107@142632.2473 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.2492 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142632.2523 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.2540 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142632.2551 u09cd28htq6l6kuar2imjmdmle Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142632.2566 u09cd28htq6l6kuar2imjmdmle Query : select sestamp valor from se where ref ='304.701.00.02' and lote = '230415'
20250107@142632.2601 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.2624 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142632.2637 u09cd28htq6l6kuar2imjmdmle Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d335265677d39983f','aut677d385922677d3997d1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142632.2642 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.2659 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142632.2693 u09cd28htq6l6kuar2imjmdmle Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d335265677d39983f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677d385922677d3997d1' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20250107@142632.3062 u09cd28htq6l6kuar2imjmdmle Query : use flama_phc
20250107@142632.3068 u09cd28htq6l6kuar2imjmdmle Query : select st.usalote valor from st where st.ref = '324.734.00.02'
20250107@142632.3094 u09cd28htq6l6kuar2imjmdmle Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.734.00.02'
20250107@142632.3293 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.3321 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142632.3378 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.3400 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142632.3411 u09cd28htq6l6kuar2imjmdmle Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142632.3441 u09cd28htq6l6kuar2imjmdmle Query : select sestamp valor from se where ref ='324.734.00.02' and lote = 'r2400471100a'
20250107@142632.3464 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.3501 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142632.3520 u09cd28htq6l6kuar2imjmdmle Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d390097677d399854','aut677d385922677d3997d1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142632.3533 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.3555 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142632.3614 u09cd28htq6l6kuar2imjmdmle Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d390097677d399854',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut677d385922677d3997d1' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20250107@142632.3963 u09cd28htq6l6kuar2imjmdmle Query : use flama_phc
20250107@142632.3968 u09cd28htq6l6kuar2imjmdmle Query : select st.usalote valor from st where st.ref = '324.2223.00.1'
20250107@142632.3994 u09cd28htq6l6kuar2imjmdmle Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2223.00.1'
20250107@142632.4161 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.4182 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142632.4228 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.4248 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142632.4259 u09cd28htq6l6kuar2imjmdmle Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142632.4273 u09cd28htq6l6kuar2imjmdmle Query : select sestamp valor from se where ref ='324.2223.00.1' and lote = 'r2301280100a'
20250107@142632.4307 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.4342 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142632.4356 u09cd28htq6l6kuar2imjmdmle Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d395784677d399869','aut677d385922677d3997d1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142632.4368 u09cd28htq6l6kuar2imjmdmle Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.4388 u09cd28htq6l6kuar2imjmdmle Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142632.4434 u09cd28htq6l6kuar2imjmdmle Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d395784677d399869',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut677d385922677d3997d1' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20250107@142632.4738 u09cd28htq6l6kuar2imjmdmle Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d385922677d3997d1','2500094','wait',39,'adm09112754980.682000002')
20250107@142632.4839 u09cd28htq6l6kuar2imjmdmle Query : use flama_phc
20250107@142632.4843 u09cd28htq6l6kuar2imjmdmle Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142632.4880 u09cd28htq6l6kuar2imjmdmle Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4337';
20250107@142632.4934 u09cd28htq6l6kuar2imjmdmle Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4337';
20250107@142632.4999 u09cd28htq6l6kuar2imjmdmle Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4337';
20250107@142632.5049 u09cd28htq6l6kuar2imjmdmle Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4337';
20250107@142632.5667 hmka2pcadsvbqdgaddme2hlida Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142632.5680 hmka2pcadsvbqdgaddme2hlida Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142632.5760 hmka2pcadsvbqdgaddme2hlida Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4338';
20250107@142632.5837 hmka2pcadsvbqdgaddme2hlida Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4338';
20250107@142632.5908 hmka2pcadsvbqdgaddme2hlida Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4338';
20250107@142632.5950 hmka2pcadsvbqdgaddme2hlida Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4338';
20250107@142632.6022 hmka2pcadsvbqdgaddme2hlida Query : use flama_phc
20250107@142632.6026 hmka2pcadsvbqdgaddme2hlida Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142632.6096 hmka2pcadsvbqdgaddme2hlida Query : use flama_phc
20250107@142632.6099 hmka2pcadsvbqdgaddme2hlida Query : select no, estab,szadrsdesc from szadrs where u_coddest=1957
20250107@142632.6198 hmka2pcadsvbqdgaddme2hlida Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1290.1003'
20250107@142632.6361 hmka2pcadsvbqdgaddme2hlida Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500097 and bi.ref ='325.1290.1003' and bi.lordem =1
20250107@142632.6870 hmka2pcadsvbqdgaddme2hlida Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1290.1003'
20250107@142632.8096 hmka2pcadsvbqdgaddme2hlida Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500097 and bi.ref ='325.1290.1003' and bi.lordem =1
20250107@142632.8119 hmka2pcadsvbqdgaddme2hlida Query : use flama_phc
20250107@142632.8123 hmka2pcadsvbqdgaddme2hlida Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142632.8158 hmka2pcadsvbqdgaddme2hlida Query : use flama_phc
20250107@142632.8163 hmka2pcadsvbqdgaddme2hlida Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142632.8197 hmka2pcadsvbqdgaddme2hlida Query : use flama_phc
20250107@142632.8200 hmka2pcadsvbqdgaddme2hlida Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142632.8240 hmka2pcadsvbqdgaddme2hlida Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142632.8282 hmka2pcadsvbqdgaddme2hlida Query : use flama_phc
20250107@142632.8286 hmka2pcadsvbqdgaddme2hlida Query : select top 1 ~inactivo valor from cl where no = '199530' and estab = 0 order by inactivo desc
20250107@142632.8404 hmka2pcadsvbqdgaddme2hlida Query : use flama_phc
20250107@142632.8407 hmka2pcadsvbqdgaddme2hlida Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142632.8452 hmka2pcadsvbqdgaddme2hlida Query : use flama_phc
20250107@142632.8455 hmka2pcadsvbqdgaddme2hlida Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142632.8499 hmka2pcadsvbqdgaddme2hlida Query : use flama_phc
20250107@142632.8502 hmka2pcadsvbqdgaddme2hlida Query : select szadrsstamp valor from szadrs where szadrsdesc='pingo doce-distribuiÇÃo alimentar, s.a.- valongo1'
20250107@142632.8572 hmka2pcadsvbqdgaddme2hlida Query : use flama_phc
20250107@142632.8576 hmka2pcadsvbqdgaddme2hlida Query : select 1 valor from td where ndoc = 39
20250107@142632.8592 hmka2pcadsvbqdgaddme2hlida Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142632.8608 hmka2pcadsvbqdgaddme2hlida Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.8627 hmka2pcadsvbqdgaddme2hlida Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142632.8649 hmka2pcadsvbqdgaddme2hlida Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.8669 hmka2pcadsvbqdgaddme2hlida Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142632.8700 hmka2pcadsvbqdgaddme2hlida Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.8717 hmka2pcadsvbqdgaddme2hlida Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142632.8732 hmka2pcadsvbqdgaddme2hlida Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142632.8844 hmka2pcadsvbqdgaddme2hlida Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142632.8870 hmka2pcadsvbqdgaddme2hlida Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.8889 hmka2pcadsvbqdgaddme2hlida Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142632.8907 hmka2pcadsvbqdgaddme2hlida Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d374775677d3998d5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142632.9105 hmka2pcadsvbqdgaddme2hlida Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.9193 hmka2pcadsvbqdgaddme2hlida Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142632.9236 hmka2pcadsvbqdgaddme2hlida Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142632.9254 hmka2pcadsvbqdgaddme2hlida Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142632.9273 hmka2pcadsvbqdgaddme2hlida Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142632.9288 hmka2pcadsvbqdgaddme2hlida Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142632.9301 hmka2pcadsvbqdgaddme2hlida Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142632.9314 hmka2pcadsvbqdgaddme2hlida Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142632.9330 hmka2pcadsvbqdgaddme2hlida Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d374775677d3998d5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142632.9575 hmka2pcadsvbqdgaddme2hlida Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142632.9609 hmka2pcadsvbqdgaddme2hlida Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142632.9629 hmka2pcadsvbqdgaddme2hlida Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142632.9656 hmka2pcadsvbqdgaddme2hlida Query : select 'normal' from dummy
20250107@142632.9695 hmka2pcadsvbqdgaddme2hlida Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d374775677d3998d5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2780,199530,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142633.1500 hmka2pcadsvbqdgaddme2hlida Query : use flama_phc
20250107@142633.1900 hmka2pcadsvbqdgaddme2hlida Query : select st.usalote valor from st where st.ref = '325.1290.1003'
20250107@142633.4900 hmka2pcadsvbqdgaddme2hlida Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '325.1290.1003'
20250107@142633.2040 hmka2pcadsvbqdgaddme2hlida Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.2280 hmka2pcadsvbqdgaddme2hlida Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142633.2610 hmka2pcadsvbqdgaddme2hlida Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.2800 hmka2pcadsvbqdgaddme2hlida Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142633.2910 hmka2pcadsvbqdgaddme2hlida Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142633.3060 hmka2pcadsvbqdgaddme2hlida Query : select sestamp valor from se where ref ='325.1290.1003' and lote = 'r2400796200a'
20250107@142633.3240 hmka2pcadsvbqdgaddme2hlida Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.3420 hmka2pcadsvbqdgaddme2hlida Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142633.3560 hmka2pcadsvbqdgaddme2hlida Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d347995677d399907','aut677d374775677d3998d5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142633.3620 hmka2pcadsvbqdgaddme2hlida Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.3790 hmka2pcadsvbqdgaddme2hlida Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142633.4120 hmka2pcadsvbqdgaddme2hlida Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d347995677d399907',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',396.000 ,'aut677d374775677d3998d5' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142633.6620 hmka2pcadsvbqdgaddme2hlida Query : use flama_phc
20250107@142633.6660 hmka2pcadsvbqdgaddme2hlida Query : select st.usalote valor from st where st.ref = '325.1290.1003'
20250107@142633.6900 hmka2pcadsvbqdgaddme2hlida Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '325.1290.1003'
20250107@142633.7050 hmka2pcadsvbqdgaddme2hlida Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.7230 hmka2pcadsvbqdgaddme2hlida Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142633.7510 hmka2pcadsvbqdgaddme2hlida Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.7670 hmka2pcadsvbqdgaddme2hlida Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142633.7800 hmka2pcadsvbqdgaddme2hlida Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142633.7950 hmka2pcadsvbqdgaddme2hlida Query : select sestamp valor from se where ref ='325.1290.1003' and lote = 'r2400796200a'
20250107@142633.8280 hmka2pcadsvbqdgaddme2hlida Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.8450 hmka2pcadsvbqdgaddme2hlida Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142633.8580 hmka2pcadsvbqdgaddme2hlida Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d312474677d399914','aut677d374775677d3998d5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142633.8630 hmka2pcadsvbqdgaddme2hlida Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.8800 hmka2pcadsvbqdgaddme2hlida Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142633.9110 hmka2pcadsvbqdgaddme2hlida Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d312474677d399914',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1332.000 ,'aut677d374775677d3998d5' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250107@142633.1194 hmka2pcadsvbqdgaddme2hlida Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d374775677d3998d5','2500097','wait',39,'adm09112754980.682000002')
20250107@142633.1266 hmka2pcadsvbqdgaddme2hlida Query : use flama_phc
20250107@142633.1270 hmka2pcadsvbqdgaddme2hlida Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142633.1303 hmka2pcadsvbqdgaddme2hlida Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4338';
20250107@142633.1348 hmka2pcadsvbqdgaddme2hlida Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4338';
20250107@142633.1407 hmka2pcadsvbqdgaddme2hlida Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4338';
20250107@142633.1450 hmka2pcadsvbqdgaddme2hlida Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4338';
20250107@142633.2018 06jsr488blutu99ja6ru7j0j5v Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142633.2030 06jsr488blutu99ja6ru7j0j5v Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142633.2110 06jsr488blutu99ja6ru7j0j5v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4339';
20250107@142633.2201 06jsr488blutu99ja6ru7j0j5v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4339';
20250107@142633.2293 06jsr488blutu99ja6ru7j0j5v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4339';
20250107@142633.2346 06jsr488blutu99ja6ru7j0j5v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4339';
20250107@142633.2448 06jsr488blutu99ja6ru7j0j5v Query : use flama_phc
20250107@142633.2453 06jsr488blutu99ja6ru7j0j5v Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142633.2617 06jsr488blutu99ja6ru7j0j5v Query : use flama_phc
20250107@142633.2622 06jsr488blutu99ja6ru7j0j5v Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250107@142633.2721 06jsr488blutu99ja6ru7j0j5v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2362.00.1'
20250107@142633.2903 06jsr488blutu99ja6ru7j0j5v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500099 and bi.ref ='324.2362.00.1' and bi.lordem =1
20250107@142633.3377 06jsr488blutu99ja6ru7j0j5v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2362.00.1'
20250107@142633.3401 06jsr488blutu99ja6ru7j0j5v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500099 and bi.ref ='324.2362.00.1' and bi.lordem =1
20250107@142633.3422 06jsr488blutu99ja6ru7j0j5v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2362.00.1'
20250107@142633.3451 06jsr488blutu99ja6ru7j0j5v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2000 and bo.obrano = 2500099 and bi.ref ='324.2362.00.1' and bi.lordem =1
20250107@142633.3471 06jsr488blutu99ja6ru7j0j5v Query : use flama_phc
20250107@142633.3474 06jsr488blutu99ja6ru7j0j5v Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142633.3532 06jsr488blutu99ja6ru7j0j5v Query : use flama_phc
20250107@142633.3536 06jsr488blutu99ja6ru7j0j5v Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142633.3574 06jsr488blutu99ja6ru7j0j5v Query : use flama_phc
20250107@142633.3577 06jsr488blutu99ja6ru7j0j5v Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142633.3614 06jsr488blutu99ja6ru7j0j5v Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142633.3660 06jsr488blutu99ja6ru7j0j5v Query : use flama_phc
20250107@142633.3664 06jsr488blutu99ja6ru7j0j5v Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250107@142633.3823 06jsr488blutu99ja6ru7j0j5v Query : use flama_phc
20250107@142633.3827 06jsr488blutu99ja6ru7j0j5v Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142633.3859 06jsr488blutu99ja6ru7j0j5v Query : use flama_phc
20250107@142633.3863 06jsr488blutu99ja6ru7j0j5v Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142633.3911 06jsr488blutu99ja6ru7j0j5v Query : use flama_phc
20250107@142633.3914 06jsr488blutu99ja6ru7j0j5v Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250107@142633.3975 06jsr488blutu99ja6ru7j0j5v Query : use flama_phc
20250107@142633.3977 06jsr488blutu99ja6ru7j0j5v Query : select 1 valor from td where ndoc = 39
20250107@142633.3990 06jsr488blutu99ja6ru7j0j5v Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142633.4020 06jsr488blutu99ja6ru7j0j5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.4037 06jsr488blutu99ja6ru7j0j5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142633.4058 06jsr488blutu99ja6ru7j0j5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.4075 06jsr488blutu99ja6ru7j0j5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142633.4110 06jsr488blutu99ja6ru7j0j5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.4126 06jsr488blutu99ja6ru7j0j5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142633.4144 06jsr488blutu99ja6ru7j0j5v Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142633.4272 06jsr488blutu99ja6ru7j0j5v Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142633.4288 06jsr488blutu99ja6ru7j0j5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.4306 06jsr488blutu99ja6ru7j0j5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142633.4330 06jsr488blutu99ja6ru7j0j5v Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d308663677d399965' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142633.4518 06jsr488blutu99ja6ru7j0j5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.4543 06jsr488blutu99ja6ru7j0j5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142633.4583 06jsr488blutu99ja6ru7j0j5v Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142633.4595 06jsr488blutu99ja6ru7j0j5v Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142633.4607 06jsr488blutu99ja6ru7j0j5v Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142633.4625 06jsr488blutu99ja6ru7j0j5v Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142633.4640 06jsr488blutu99ja6ru7j0j5v Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142633.4655 06jsr488blutu99ja6ru7j0j5v Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142633.4683 06jsr488blutu99ja6ru7j0j5v Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d308663677d399965',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142633.4986 06jsr488blutu99ja6ru7j0j5v Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142633.5044 06jsr488blutu99ja6ru7j0j5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.5064 06jsr488blutu99ja6ru7j0j5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142633.5113 06jsr488blutu99ja6ru7j0j5v Query : select 'normal' from dummy
20250107@142633.5134 06jsr488blutu99ja6ru7j0j5v Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d308663677d399965',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2781,100810,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142633.5648 06jsr488blutu99ja6ru7j0j5v Query : use flama_phc
20250107@142633.5652 06jsr488blutu99ja6ru7j0j5v Query : select st.usalote valor from st where st.ref = '324.2362.00.1'
20250107@142633.5684 06jsr488blutu99ja6ru7j0j5v Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2362.00.1'
20250107@142633.5888 06jsr488blutu99ja6ru7j0j5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.5909 06jsr488blutu99ja6ru7j0j5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142633.5944 06jsr488blutu99ja6ru7j0j5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.5963 06jsr488blutu99ja6ru7j0j5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142633.5988 06jsr488blutu99ja6ru7j0j5v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142633.6002 06jsr488blutu99ja6ru7j0j5v Query : select sestamp valor from se where ref ='324.2362.00.1' and lote = 'r2400498400a'
20250107@142633.6031 06jsr488blutu99ja6ru7j0j5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.6050 06jsr488blutu99ja6ru7j0j5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142633.6066 06jsr488blutu99ja6ru7j0j5v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d343845677d399993','aut677d308663677d399965' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142633.6071 06jsr488blutu99ja6ru7j0j5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.6094 06jsr488blutu99ja6ru7j0j5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142633.6158 06jsr488blutu99ja6ru7j0j5v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d343845677d399993',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677d308663677d399965' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142633.6464 06jsr488blutu99ja6ru7j0j5v Query : use flama_phc
20250107@142633.6471 06jsr488blutu99ja6ru7j0j5v Query : select st.usalote valor from st where st.ref = '324.2362.00.1'
20250107@142633.6494 06jsr488blutu99ja6ru7j0j5v Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2362.00.1'
20250107@142633.6510 06jsr488blutu99ja6ru7j0j5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.6533 06jsr488blutu99ja6ru7j0j5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142633.6581 06jsr488blutu99ja6ru7j0j5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.6601 06jsr488blutu99ja6ru7j0j5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142633.6612 06jsr488blutu99ja6ru7j0j5v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142633.6632 06jsr488blutu99ja6ru7j0j5v Query : select sestamp valor from se where ref ='324.2362.00.1' and lote = 'r2400498400a'
20250107@142633.6647 06jsr488blutu99ja6ru7j0j5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.6668 06jsr488blutu99ja6ru7j0j5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142633.6685 06jsr488blutu99ja6ru7j0j5v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d360896677d3999a2','aut677d308663677d399965' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142633.6689 06jsr488blutu99ja6ru7j0j5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.6707 06jsr488blutu99ja6ru7j0j5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142633.6744 06jsr488blutu99ja6ru7j0j5v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d360896677d3999a2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',22.000 ,'aut677d308663677d399965' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250107@142633.7029 06jsr488blutu99ja6ru7j0j5v Query : use flama_phc
20250107@142633.7033 06jsr488blutu99ja6ru7j0j5v Query : select st.usalote valor from st where st.ref = '324.2362.00.1'
20250107@142633.7058 06jsr488blutu99ja6ru7j0j5v Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2362.00.1'
20250107@142633.7075 06jsr488blutu99ja6ru7j0j5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.7095 06jsr488blutu99ja6ru7j0j5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142633.7127 06jsr488blutu99ja6ru7j0j5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.7147 06jsr488blutu99ja6ru7j0j5v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142633.7158 06jsr488blutu99ja6ru7j0j5v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142633.7176 06jsr488blutu99ja6ru7j0j5v Query : select sestamp valor from se where ref ='324.2362.00.1' and lote = 'r2400498400a'
20250107@142633.7194 06jsr488blutu99ja6ru7j0j5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.7216 06jsr488blutu99ja6ru7j0j5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142633.7233 06jsr488blutu99ja6ru7j0j5v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d363677677d3999af','aut677d308663677d399965' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142633.7239 06jsr488blutu99ja6ru7j0j5v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142633.7262 06jsr488blutu99ja6ru7j0j5v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142633.7303 06jsr488blutu99ja6ru7j0j5v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d363677677d3999af',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',22.000 ,'aut677d308663677d399965' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20250107@142633.7582 06jsr488blutu99ja6ru7j0j5v Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d308663677d399965','2500099','wait',39,'adm09112754980.682000002')
20250107@142633.7658 06jsr488blutu99ja6ru7j0j5v Query : use flama_phc
20250107@142633.7662 06jsr488blutu99ja6ru7j0j5v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142633.7693 06jsr488blutu99ja6ru7j0j5v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4339';
20250107@142633.7752 06jsr488blutu99ja6ru7j0j5v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4339';
20250107@142633.7820 06jsr488blutu99ja6ru7j0j5v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4339';
20250107@142633.7866 06jsr488blutu99ja6ru7j0j5v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4339';
20250107@142633.8505 cb2btf4jlehibfan82hh8b27er Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142633.8521 cb2btf4jlehibfan82hh8b27er Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142633.8592 cb2btf4jlehibfan82hh8b27er Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4340';
20250107@142633.8659 cb2btf4jlehibfan82hh8b27er Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4340';
20250107@142633.9455 cb2btf4jlehibfan82hh8b27er Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4340';
20250107@142633.9505 cb2btf4jlehibfan82hh8b27er Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4340';
20250107@142634.1860 cb2btf4jlehibfan82hh8b27er Query : use flama_phc
20250107@142634.1920 cb2btf4jlehibfan82hh8b27er Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142634.2640 cb2btf4jlehibfan82hh8b27er Query : use flama_phc
20250107@142634.2680 cb2btf4jlehibfan82hh8b27er Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250107@142634.3180 cb2btf4jlehibfan82hh8b27er Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2362.00.1'
20250107@142634.3390 cb2btf4jlehibfan82hh8b27er Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500100 and bi.ref ='324.2362.00.1' and bi.lordem =1
20250107@142634.6990 cb2btf4jlehibfan82hh8b27er Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2362.00.1'
20250107@142634.7200 cb2btf4jlehibfan82hh8b27er Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500100 and bi.ref ='324.2362.00.1' and bi.lordem =1
20250107@142634.7370 cb2btf4jlehibfan82hh8b27er Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2362.00.1'
20250107@142634.7640 cb2btf4jlehibfan82hh8b27er Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500100 and bi.ref ='324.2362.00.1' and bi.lordem =1
20250107@142634.7810 cb2btf4jlehibfan82hh8b27er Query : use flama_phc
20250107@142634.7850 cb2btf4jlehibfan82hh8b27er Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142634.8210 cb2btf4jlehibfan82hh8b27er Query : use flama_phc
20250107@142634.8250 cb2btf4jlehibfan82hh8b27er Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142634.8550 cb2btf4jlehibfan82hh8b27er Query : use flama_phc
20250107@142634.8580 cb2btf4jlehibfan82hh8b27er Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142634.8910 cb2btf4jlehibfan82hh8b27er Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142634.9270 cb2btf4jlehibfan82hh8b27er Query : use flama_phc
20250107@142634.9300 cb2btf4jlehibfan82hh8b27er Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250107@142634.9590 cb2btf4jlehibfan82hh8b27er Query : use flama_phc
20250107@142634.9620 cb2btf4jlehibfan82hh8b27er Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142634.1000 cb2btf4jlehibfan82hh8b27er Query : use flama_phc
20250107@142634.1004 cb2btf4jlehibfan82hh8b27er Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142634.1046 cb2btf4jlehibfan82hh8b27er Query : use flama_phc
20250107@142634.1050 cb2btf4jlehibfan82hh8b27er Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250107@142634.1106 cb2btf4jlehibfan82hh8b27er Query : use flama_phc
20250107@142634.1109 cb2btf4jlehibfan82hh8b27er Query : select 1 valor from td where ndoc = 39
20250107@142634.1124 cb2btf4jlehibfan82hh8b27er Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142634.1140 cb2btf4jlehibfan82hh8b27er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.1156 cb2btf4jlehibfan82hh8b27er Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142634.1178 cb2btf4jlehibfan82hh8b27er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.1194 cb2btf4jlehibfan82hh8b27er Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142634.1224 cb2btf4jlehibfan82hh8b27er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.1239 cb2btf4jlehibfan82hh8b27er Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142634.1252 cb2btf4jlehibfan82hh8b27er Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142634.1361 cb2btf4jlehibfan82hh8b27er Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142634.1393 cb2btf4jlehibfan82hh8b27er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.1411 cb2btf4jlehibfan82hh8b27er Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142634.1431 cb2btf4jlehibfan82hh8b27er Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d365329677d399a1e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142634.1607 cb2btf4jlehibfan82hh8b27er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.1627 cb2btf4jlehibfan82hh8b27er Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142634.1660 cb2btf4jlehibfan82hh8b27er Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142634.1672 cb2btf4jlehibfan82hh8b27er Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142634.1691 cb2btf4jlehibfan82hh8b27er Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142634.1704 cb2btf4jlehibfan82hh8b27er Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142634.1717 cb2btf4jlehibfan82hh8b27er Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142634.1729 cb2btf4jlehibfan82hh8b27er Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142634.1742 cb2btf4jlehibfan82hh8b27er Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d365329677d399a1e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142634.2040 cb2btf4jlehibfan82hh8b27er Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142634.2073 cb2btf4jlehibfan82hh8b27er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.2091 cb2btf4jlehibfan82hh8b27er Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142634.2114 cb2btf4jlehibfan82hh8b27er Query : select 'normal' from dummy
20250107@142634.2131 cb2btf4jlehibfan82hh8b27er Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d365329677d399a1e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2782,100810,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142634.2473 cb2btf4jlehibfan82hh8b27er Query : use flama_phc
20250107@142634.2476 cb2btf4jlehibfan82hh8b27er Query : select st.usalote valor from st where st.ref = '324.2362.00.1'
20250107@142634.2498 cb2btf4jlehibfan82hh8b27er Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2362.00.1'
20250107@142634.2512 cb2btf4jlehibfan82hh8b27er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.2529 cb2btf4jlehibfan82hh8b27er Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142634.2556 cb2btf4jlehibfan82hh8b27er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.2573 cb2btf4jlehibfan82hh8b27er Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142634.2582 cb2btf4jlehibfan82hh8b27er Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142634.2596 cb2btf4jlehibfan82hh8b27er Query : select sestamp valor from se where ref ='324.2362.00.1' and lote = 'r2400498400a'
20250107@142634.2609 cb2btf4jlehibfan82hh8b27er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.2626 cb2btf4jlehibfan82hh8b27er Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142634.2638 cb2btf4jlehibfan82hh8b27er Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d384249677d399a3f','aut677d365329677d399a1e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142634.2643 cb2btf4jlehibfan82hh8b27er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.2658 cb2btf4jlehibfan82hh8b27er Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142634.2693 cb2btf4jlehibfan82hh8b27er Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d384249677d399a3f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677d365329677d399a1e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142634.2956 cb2btf4jlehibfan82hh8b27er Query : use flama_phc
20250107@142634.2960 cb2btf4jlehibfan82hh8b27er Query : select st.usalote valor from st where st.ref = '324.2362.00.1'
20250107@142634.2983 cb2btf4jlehibfan82hh8b27er Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2362.00.1'
20250107@142634.3001 cb2btf4jlehibfan82hh8b27er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.3021 cb2btf4jlehibfan82hh8b27er Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142634.3059 cb2btf4jlehibfan82hh8b27er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.3080 cb2btf4jlehibfan82hh8b27er Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142634.3091 cb2btf4jlehibfan82hh8b27er Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142634.3113 cb2btf4jlehibfan82hh8b27er Query : select sestamp valor from se where ref ='324.2362.00.1' and lote = 'r2400498400a'
20250107@142634.3129 cb2btf4jlehibfan82hh8b27er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.3147 cb2btf4jlehibfan82hh8b27er Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142634.3162 cb2btf4jlehibfan82hh8b27er Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d329939677d399a4c','aut677d365329677d399a1e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142634.3167 cb2btf4jlehibfan82hh8b27er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.3186 cb2btf4jlehibfan82hh8b27er Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142634.3219 cb2btf4jlehibfan82hh8b27er Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d329939677d399a4c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',22.000 ,'aut677d365329677d399a1e' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250107@142634.3482 cb2btf4jlehibfan82hh8b27er Query : use flama_phc
20250107@142634.3486 cb2btf4jlehibfan82hh8b27er Query : select st.usalote valor from st where st.ref = '324.2362.00.1'
20250107@142634.3507 cb2btf4jlehibfan82hh8b27er Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2362.00.1'
20250107@142634.3524 cb2btf4jlehibfan82hh8b27er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.3542 cb2btf4jlehibfan82hh8b27er Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142634.3571 cb2btf4jlehibfan82hh8b27er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.3588 cb2btf4jlehibfan82hh8b27er Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142634.3605 cb2btf4jlehibfan82hh8b27er Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142634.3619 cb2btf4jlehibfan82hh8b27er Query : select sestamp valor from se where ref ='324.2362.00.1' and lote = 'r2400498400a'
20250107@142634.3635 cb2btf4jlehibfan82hh8b27er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.3653 cb2btf4jlehibfan82hh8b27er Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142634.3667 cb2btf4jlehibfan82hh8b27er Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d356587677d399a58','aut677d365329677d399a1e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142634.3672 cb2btf4jlehibfan82hh8b27er Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.3689 cb2btf4jlehibfan82hh8b27er Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142634.3730 cb2btf4jlehibfan82hh8b27er Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d356587677d399a58',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',22.000 ,'aut677d365329677d399a1e' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20250107@142634.4017 cb2btf4jlehibfan82hh8b27er Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d365329677d399a1e','2500100','wait',39,'adm09112754980.682000002')
20250107@142634.4119 cb2btf4jlehibfan82hh8b27er Query : use flama_phc
20250107@142634.4123 cb2btf4jlehibfan82hh8b27er Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142634.4165 cb2btf4jlehibfan82hh8b27er Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4340';
20250107@142634.4232 cb2btf4jlehibfan82hh8b27er Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4340';
20250107@142634.4300 cb2btf4jlehibfan82hh8b27er Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4340';
20250107@142634.4361 cb2btf4jlehibfan82hh8b27er Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4340';
20250107@142634.4958 hs5l705pmq6jb94matilorvi9t Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142634.4969 hs5l705pmq6jb94matilorvi9t Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142634.5039 hs5l705pmq6jb94matilorvi9t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4341';
20250107@142634.5118 hs5l705pmq6jb94matilorvi9t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4341';
20250107@142634.5190 hs5l705pmq6jb94matilorvi9t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4341';
20250107@142634.5234 hs5l705pmq6jb94matilorvi9t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4341';
20250107@142634.5307 hs5l705pmq6jb94matilorvi9t Query : use flama_phc
20250107@142634.5311 hs5l705pmq6jb94matilorvi9t Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142634.5380 hs5l705pmq6jb94matilorvi9t Query : use flama_phc
20250107@142634.5383 hs5l705pmq6jb94matilorvi9t Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250107@142634.5431 hs5l705pmq6jb94matilorvi9t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2362.00.1'
20250107@142634.5452 hs5l705pmq6jb94matilorvi9t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500101 and bi.ref ='324.2362.00.1' and bi.lordem =1
20250107@142634.5781 hs5l705pmq6jb94matilorvi9t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2362.00.1'
20250107@142634.5803 hs5l705pmq6jb94matilorvi9t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500101 and bi.ref ='324.2362.00.1' and bi.lordem =1
20250107@142634.5838 hs5l705pmq6jb94matilorvi9t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2362.00.1'
20250107@142634.5858 hs5l705pmq6jb94matilorvi9t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500101 and bi.ref ='324.2362.00.1' and bi.lordem =1
20250107@142634.6162 hs5l705pmq6jb94matilorvi9t Query : use flama_phc
20250107@142634.6168 hs5l705pmq6jb94matilorvi9t Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142634.6797 hs5l705pmq6jb94matilorvi9t Query : use flama_phc
20250107@142634.7081 hs5l705pmq6jb94matilorvi9t Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142634.7265 hs5l705pmq6jb94matilorvi9t Query : use flama_phc
20250107@142634.7269 hs5l705pmq6jb94matilorvi9t Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142634.7302 hs5l705pmq6jb94matilorvi9t Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142634.7345 hs5l705pmq6jb94matilorvi9t Query : use flama_phc
20250107@142634.7348 hs5l705pmq6jb94matilorvi9t Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250107@142634.7383 hs5l705pmq6jb94matilorvi9t Query : use flama_phc
20250107@142634.7386 hs5l705pmq6jb94matilorvi9t Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142634.7425 hs5l705pmq6jb94matilorvi9t Query : use flama_phc
20250107@142634.7429 hs5l705pmq6jb94matilorvi9t Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142634.7485 hs5l705pmq6jb94matilorvi9t Query : use flama_phc
20250107@142634.7488 hs5l705pmq6jb94matilorvi9t Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250107@142634.7539 hs5l705pmq6jb94matilorvi9t Query : use flama_phc
20250107@142634.7551 hs5l705pmq6jb94matilorvi9t Query : select 1 valor from td where ndoc = 39
20250107@142634.7579 hs5l705pmq6jb94matilorvi9t Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142634.7593 hs5l705pmq6jb94matilorvi9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.7610 hs5l705pmq6jb94matilorvi9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142634.7629 hs5l705pmq6jb94matilorvi9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.7645 hs5l705pmq6jb94matilorvi9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142634.7679 hs5l705pmq6jb94matilorvi9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.7702 hs5l705pmq6jb94matilorvi9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142634.7716 hs5l705pmq6jb94matilorvi9t Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142634.7847 hs5l705pmq6jb94matilorvi9t Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142634.7860 hs5l705pmq6jb94matilorvi9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.7904 hs5l705pmq6jb94matilorvi9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142634.7921 hs5l705pmq6jb94matilorvi9t Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d302178677d399abc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142634.8102 hs5l705pmq6jb94matilorvi9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.8122 hs5l705pmq6jb94matilorvi9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142634.8158 hs5l705pmq6jb94matilorvi9t Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142634.8173 hs5l705pmq6jb94matilorvi9t Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142634.8186 hs5l705pmq6jb94matilorvi9t Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142634.8198 hs5l705pmq6jb94matilorvi9t Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142634.8210 hs5l705pmq6jb94matilorvi9t Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142634.8224 hs5l705pmq6jb94matilorvi9t Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142634.8235 hs5l705pmq6jb94matilorvi9t Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d302178677d399abc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142634.8537 hs5l705pmq6jb94matilorvi9t Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142634.8571 hs5l705pmq6jb94matilorvi9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.8589 hs5l705pmq6jb94matilorvi9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142634.8610 hs5l705pmq6jb94matilorvi9t Query : select 'normal' from dummy
20250107@142634.8625 hs5l705pmq6jb94matilorvi9t Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d302178677d399abc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2783,100810,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142634.8941 hs5l705pmq6jb94matilorvi9t Query : use flama_phc
20250107@142634.8944 hs5l705pmq6jb94matilorvi9t Query : select st.usalote valor from st where st.ref = '324.2362.00.1'
20250107@142634.8967 hs5l705pmq6jb94matilorvi9t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2362.00.1'
20250107@142634.8981 hs5l705pmq6jb94matilorvi9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.8998 hs5l705pmq6jb94matilorvi9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142634.9024 hs5l705pmq6jb94matilorvi9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.9046 hs5l705pmq6jb94matilorvi9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142634.9056 hs5l705pmq6jb94matilorvi9t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142634.9069 hs5l705pmq6jb94matilorvi9t Query : select sestamp valor from se where ref ='324.2362.00.1' and lote = 'r2400498400a'
20250107@142634.9086 hs5l705pmq6jb94matilorvi9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.9103 hs5l705pmq6jb94matilorvi9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142634.9117 hs5l705pmq6jb94matilorvi9t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d347062677d399add','aut677d302178677d399abc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142634.9122 hs5l705pmq6jb94matilorvi9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.9204 hs5l705pmq6jb94matilorvi9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142634.9238 hs5l705pmq6jb94matilorvi9t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d347062677d399add',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677d302178677d399abc' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142634.9531 hs5l705pmq6jb94matilorvi9t Query : use flama_phc
20250107@142634.9535 hs5l705pmq6jb94matilorvi9t Query : select st.usalote valor from st where st.ref = '324.2362.00.1'
20250107@142634.9553 hs5l705pmq6jb94matilorvi9t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2362.00.1'
20250107@142634.9571 hs5l705pmq6jb94matilorvi9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.9586 hs5l705pmq6jb94matilorvi9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142634.9613 hs5l705pmq6jb94matilorvi9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.9629 hs5l705pmq6jb94matilorvi9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142634.9638 hs5l705pmq6jb94matilorvi9t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142634.9650 hs5l705pmq6jb94matilorvi9t Query : select sestamp valor from se where ref ='324.2362.00.1' and lote = 'r2400498400a'
20250107@142634.9663 hs5l705pmq6jb94matilorvi9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.9679 hs5l705pmq6jb94matilorvi9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142634.9691 hs5l705pmq6jb94matilorvi9t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d327092677d399aeb','aut677d302178677d399abc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142634.9696 hs5l705pmq6jb94matilorvi9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142634.9711 hs5l705pmq6jb94matilorvi9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142634.9742 hs5l705pmq6jb94matilorvi9t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d327092677d399aeb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',22.000 ,'aut677d302178677d399abc' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250107@142635.8200 hs5l705pmq6jb94matilorvi9t Query : use flama_phc
20250107@142635.8600 hs5l705pmq6jb94matilorvi9t Query : select st.usalote valor from st where st.ref = '324.2362.00.1'
20250107@142635.1110 hs5l705pmq6jb94matilorvi9t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2362.00.1'
20250107@142635.1270 hs5l705pmq6jb94matilorvi9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142635.1450 hs5l705pmq6jb94matilorvi9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142635.1730 hs5l705pmq6jb94matilorvi9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142635.1890 hs5l705pmq6jb94matilorvi9t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142635.1970 hs5l705pmq6jb94matilorvi9t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142635.2090 hs5l705pmq6jb94matilorvi9t Query : select sestamp valor from se where ref ='324.2362.00.1' and lote = 'r2400498400a'
20250107@142635.2260 hs5l705pmq6jb94matilorvi9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142635.2430 hs5l705pmq6jb94matilorvi9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142635.2560 hs5l705pmq6jb94matilorvi9t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d399358677d399b05','aut677d302178677d399abc' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142635.2610 hs5l705pmq6jb94matilorvi9t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142635.2780 hs5l705pmq6jb94matilorvi9t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142635.3120 hs5l705pmq6jb94matilorvi9t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d399358677d399b05',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',22.000 ,'aut677d302178677d399abc' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20250107@142635.5840 hs5l705pmq6jb94matilorvi9t Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d302178677d399abc','2500101','wait',39,'adm09112754980.682000002')
20250107@142635.6660 hs5l705pmq6jb94matilorvi9t Query : use flama_phc
20250107@142635.6700 hs5l705pmq6jb94matilorvi9t Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142635.7030 hs5l705pmq6jb94matilorvi9t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4341';
20250107@142635.7470 hs5l705pmq6jb94matilorvi9t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4341';
20250107@142635.1203 hs5l705pmq6jb94matilorvi9t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4341';
20250107@142635.3085 hs5l705pmq6jb94matilorvi9t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4341';
20250107@142635.3730 1duf10p418retfimgseu603qds Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142635.3745 1duf10p418retfimgseu603qds Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142635.3827 1duf10p418retfimgseu603qds Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4342';
20250107@142635.3898 1duf10p418retfimgseu603qds Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4342';
20250107@142635.3967 1duf10p418retfimgseu603qds Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4342';
20250107@142635.4015 1duf10p418retfimgseu603qds Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4342';
20250107@142635.4085 1duf10p418retfimgseu603qds Query : use flama_phc
20250107@142635.4090 1duf10p418retfimgseu603qds Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142635.4164 1duf10p418retfimgseu603qds Query : use flama_phc
20250107@142635.4168 1duf10p418retfimgseu603qds Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250107@142635.4224 1duf10p418retfimgseu603qds Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.2315.00.1'
20250107@142635.4394 1duf10p418retfimgseu603qds Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500102 and bi.ref ='304.2315.00.1' and bi.lordem =1
20250107@142635.4785 1duf10p418retfimgseu603qds Query : use flama_phc
20250107@142635.4789 1duf10p418retfimgseu603qds Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142635.4827 1duf10p418retfimgseu603qds Query : use flama_phc
20250107@142635.4831 1duf10p418retfimgseu603qds Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142635.4866 1duf10p418retfimgseu603qds Query : use flama_phc
20250107@142635.4869 1duf10p418retfimgseu603qds Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142635.4899 1duf10p418retfimgseu603qds Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142635.4939 1duf10p418retfimgseu603qds Query : use flama_phc
20250107@142635.4942 1duf10p418retfimgseu603qds Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250107@142635.4972 1duf10p418retfimgseu603qds Query : use flama_phc
20250107@142635.4976 1duf10p418retfimgseu603qds Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142635.5007 1duf10p418retfimgseu603qds Query : use flama_phc
20250107@142635.5010 1duf10p418retfimgseu603qds Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142635.5054 1duf10p418retfimgseu603qds Query : use flama_phc
20250107@142635.5058 1duf10p418retfimgseu603qds Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250107@142635.5109 1duf10p418retfimgseu603qds Query : use flama_phc
20250107@142635.5112 1duf10p418retfimgseu603qds Query : select 1 valor from td where ndoc = 39
20250107@142635.5125 1duf10p418retfimgseu603qds Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142635.5140 1duf10p418retfimgseu603qds Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142635.5156 1duf10p418retfimgseu603qds Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142635.5187 1duf10p418retfimgseu603qds Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142635.5207 1duf10p418retfimgseu603qds Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142635.5241 1duf10p418retfimgseu603qds Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142635.5259 1duf10p418retfimgseu603qds Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142635.5274 1duf10p418retfimgseu603qds Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142635.5402 1duf10p418retfimgseu603qds Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142635.5416 1duf10p418retfimgseu603qds Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142635.5433 1duf10p418retfimgseu603qds Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142635.5449 1duf10p418retfimgseu603qds Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d301500677d399b80' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142635.5627 1duf10p418retfimgseu603qds Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142635.5650 1duf10p418retfimgseu603qds Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142635.5691 1duf10p418retfimgseu603qds Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142635.5707 1duf10p418retfimgseu603qds Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142635.5723 1duf10p418retfimgseu603qds Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142635.5738 1duf10p418retfimgseu603qds Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142635.5753 1duf10p418retfimgseu603qds Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142635.5768 1duf10p418retfimgseu603qds Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142635.5784 1duf10p418retfimgseu603qds Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d301500677d399b80',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142635.6073 1duf10p418retfimgseu603qds Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142635.6109 1duf10p418retfimgseu603qds Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142635.6129 1duf10p418retfimgseu603qds Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142635.6167 1duf10p418retfimgseu603qds Query : select 'normal' from dummy
20250107@142635.6185 1duf10p418retfimgseu603qds Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d301500677d399b80',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2784,100810,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142635.6505 1duf10p418retfimgseu603qds Query : use flama_phc
20250107@142635.6509 1duf10p418retfimgseu603qds Query : select st.usalote valor from st where st.ref = '304.2315.00.1'
20250107@142635.6540 1duf10p418retfimgseu603qds Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.2315.00.1'
20250107@142635.6717 1duf10p418retfimgseu603qds Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142635.6738 1duf10p418retfimgseu603qds Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142635.6763 1duf10p418retfimgseu603qds Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142635.6849 1duf10p418retfimgseu603qds Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142635.6858 1duf10p418retfimgseu603qds Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142635.6875 1duf10p418retfimgseu603qds Query : select sestamp valor from se where ref ='304.2315.00.1' and lote = 's2300276100a'
20250107@142635.6894 1duf10p418retfimgseu603qds Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142635.6910 1duf10p418retfimgseu603qds Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142635.6925 1duf10p418retfimgseu603qds Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d378118677d399ba8','aut677d301500677d399b80' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142635.6929 1duf10p418retfimgseu603qds Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142635.6944 1duf10p418retfimgseu603qds Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142635.6975 1duf10p418retfimgseu603qds Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d378118677d399ba8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut677d301500677d399b80' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142635.7434 1duf10p418retfimgseu603qds Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142635.7453 1duf10p418retfimgseu603qds Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142635.7480 1duf10p418retfimgseu603qds Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142635.7496 1duf10p418retfimgseu603qds Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142635.7505 1duf10p418retfimgseu603qds Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142635.7518 1duf10p418retfimgseu603qds Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142635.7533 1duf10p418retfimgseu603qds Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142635.7545 1duf10p418retfimgseu603qds Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d326852677d399bb7','aut677d301500677d399b80' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142635.7549 1duf10p418retfimgseu603qds Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142635.7566 1duf10p418retfimgseu603qds Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142635.7600 1duf10p418retfimgseu603qds Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677d326852677d399bb7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677d301500677d399b80' ,0,0 ,2,23.00,20000,?,?,?)
20250107@142635.7863 1duf10p418retfimgseu603qds Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d301500677d399b80','2500102','wait',39,'adm09112754980.682000002')
20250107@142635.7933 1duf10p418retfimgseu603qds Query : use flama_phc
20250107@142635.7936 1duf10p418retfimgseu603qds Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142635.7966 1duf10p418retfimgseu603qds Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4342';
20250107@142635.8008 1duf10p418retfimgseu603qds Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4342';
20250107@142635.8065 1duf10p418retfimgseu603qds Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4342';
20250107@142635.8110 1duf10p418retfimgseu603qds Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4342';
20250107@142635.8652 m5tnp9lplpokfelqeri5ikpn0v Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142635.8664 m5tnp9lplpokfelqeri5ikpn0v Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142635.8736 m5tnp9lplpokfelqeri5ikpn0v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4343';
20250107@142635.8804 m5tnp9lplpokfelqeri5ikpn0v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4343';
20250107@142635.8880 m5tnp9lplpokfelqeri5ikpn0v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4343';
20250107@142635.8928 m5tnp9lplpokfelqeri5ikpn0v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4343';
20250107@142635.9017 m5tnp9lplpokfelqeri5ikpn0v Query : use flama_phc
20250107@142635.9020 m5tnp9lplpokfelqeri5ikpn0v Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142635.9112 m5tnp9lplpokfelqeri5ikpn0v Query : use flama_phc
20250107@142635.9116 m5tnp9lplpokfelqeri5ikpn0v Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250107@142635.9196 m5tnp9lplpokfelqeri5ikpn0v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.2315.00.1'
20250107@142635.9218 m5tnp9lplpokfelqeri5ikpn0v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500103 and bi.ref ='304.2315.00.1' and bi.lordem =1
20250107@142635.9627 m5tnp9lplpokfelqeri5ikpn0v Query : use flama_phc
20250107@142635.9652 m5tnp9lplpokfelqeri5ikpn0v Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142635.9686 m5tnp9lplpokfelqeri5ikpn0v Query : use flama_phc
20250107@142635.9690 m5tnp9lplpokfelqeri5ikpn0v Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142635.9721 m5tnp9lplpokfelqeri5ikpn0v Query : use flama_phc
20250107@142635.9724 m5tnp9lplpokfelqeri5ikpn0v Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142635.9755 m5tnp9lplpokfelqeri5ikpn0v Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142635.9801 m5tnp9lplpokfelqeri5ikpn0v Query : use flama_phc
20250107@142635.9804 m5tnp9lplpokfelqeri5ikpn0v Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250107@142635.9842 m5tnp9lplpokfelqeri5ikpn0v Query : use flama_phc
20250107@142635.9846 m5tnp9lplpokfelqeri5ikpn0v Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142635.9900 m5tnp9lplpokfelqeri5ikpn0v Query : use flama_phc
20250107@142635.9903 m5tnp9lplpokfelqeri5ikpn0v Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142635.9949 m5tnp9lplpokfelqeri5ikpn0v Query : use flama_phc
20250107@142635.9953 m5tnp9lplpokfelqeri5ikpn0v Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250107@142636.3000 m5tnp9lplpokfelqeri5ikpn0v Query : use flama_phc
20250107@142636.6000 m5tnp9lplpokfelqeri5ikpn0v Query : select 1 valor from td where ndoc = 39
20250107@142636.1800 m5tnp9lplpokfelqeri5ikpn0v Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142636.3400 m5tnp9lplpokfelqeri5ikpn0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.4900 m5tnp9lplpokfelqeri5ikpn0v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142636.7000 m5tnp9lplpokfelqeri5ikpn0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.1050 m5tnp9lplpokfelqeri5ikpn0v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142636.1350 m5tnp9lplpokfelqeri5ikpn0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.1500 m5tnp9lplpokfelqeri5ikpn0v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142636.1620 m5tnp9lplpokfelqeri5ikpn0v Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142636.3220 m5tnp9lplpokfelqeri5ikpn0v Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142636.3360 m5tnp9lplpokfelqeri5ikpn0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.3520 m5tnp9lplpokfelqeri5ikpn0v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142636.3690 m5tnp9lplpokfelqeri5ikpn0v Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d303576677d399c03' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142636.5330 m5tnp9lplpokfelqeri5ikpn0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.5530 m5tnp9lplpokfelqeri5ikpn0v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142636.5870 m5tnp9lplpokfelqeri5ikpn0v Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142636.6330 m5tnp9lplpokfelqeri5ikpn0v Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142636.6460 m5tnp9lplpokfelqeri5ikpn0v Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142636.6600 m5tnp9lplpokfelqeri5ikpn0v Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142636.6720 m5tnp9lplpokfelqeri5ikpn0v Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142636.6840 m5tnp9lplpokfelqeri5ikpn0v Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142636.6960 m5tnp9lplpokfelqeri5ikpn0v Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d303576677d399c03',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142636.9710 m5tnp9lplpokfelqeri5ikpn0v Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142636.1009 m5tnp9lplpokfelqeri5ikpn0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.1029 m5tnp9lplpokfelqeri5ikpn0v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142636.1077 m5tnp9lplpokfelqeri5ikpn0v Query : select 'normal' from dummy
20250107@142636.1096 m5tnp9lplpokfelqeri5ikpn0v Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d303576677d399c03',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2785,100810,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142636.1392 m5tnp9lplpokfelqeri5ikpn0v Query : use flama_phc
20250107@142636.1395 m5tnp9lplpokfelqeri5ikpn0v Query : select st.usalote valor from st where st.ref = '304.2315.00.1'
20250107@142636.1422 m5tnp9lplpokfelqeri5ikpn0v Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.2315.00.1'
20250107@142636.1439 m5tnp9lplpokfelqeri5ikpn0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.1480 m5tnp9lplpokfelqeri5ikpn0v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142636.1509 m5tnp9lplpokfelqeri5ikpn0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.1527 m5tnp9lplpokfelqeri5ikpn0v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142636.1536 m5tnp9lplpokfelqeri5ikpn0v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142636.1549 m5tnp9lplpokfelqeri5ikpn0v Query : select sestamp valor from se where ref ='304.2315.00.1' and lote = 's2300276100a'
20250107@142636.1562 m5tnp9lplpokfelqeri5ikpn0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.1583 m5tnp9lplpokfelqeri5ikpn0v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142636.1598 m5tnp9lplpokfelqeri5ikpn0v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d338438677d399c26','aut677d303576677d399c03' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142636.1603 m5tnp9lplpokfelqeri5ikpn0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.1620 m5tnp9lplpokfelqeri5ikpn0v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142636.1653 m5tnp9lplpokfelqeri5ikpn0v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d338438677d399c26',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut677d303576677d399c03' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142636.1905 m5tnp9lplpokfelqeri5ikpn0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.1924 m5tnp9lplpokfelqeri5ikpn0v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142636.1952 m5tnp9lplpokfelqeri5ikpn0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.1968 m5tnp9lplpokfelqeri5ikpn0v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142636.1979 m5tnp9lplpokfelqeri5ikpn0v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142636.1993 m5tnp9lplpokfelqeri5ikpn0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.2008 m5tnp9lplpokfelqeri5ikpn0v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142636.2021 m5tnp9lplpokfelqeri5ikpn0v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d347962677d399c30','aut677d303576677d399c03' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142636.2027 m5tnp9lplpokfelqeri5ikpn0v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.2043 m5tnp9lplpokfelqeri5ikpn0v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142636.2072 m5tnp9lplpokfelqeri5ikpn0v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677d347962677d399c30',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677d303576677d399c03' ,0,0 ,2,23.00,20000,?,?,?)
20250107@142636.2343 m5tnp9lplpokfelqeri5ikpn0v Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d303576677d399c03','2500103','wait',39,'adm09112754980.682000002')
20250107@142636.2493 m5tnp9lplpokfelqeri5ikpn0v Query : use flama_phc
20250107@142636.2497 m5tnp9lplpokfelqeri5ikpn0v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142636.2564 m5tnp9lplpokfelqeri5ikpn0v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4343';
20250107@142636.2633 m5tnp9lplpokfelqeri5ikpn0v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4343';
20250107@142636.2768 m5tnp9lplpokfelqeri5ikpn0v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4343';
20250107@142636.3059 m5tnp9lplpokfelqeri5ikpn0v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4343';
20250107@142636.3806 j0aneokte7eek38ntit743knjs Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142636.3819 j0aneokte7eek38ntit743knjs Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142636.3913 j0aneokte7eek38ntit743knjs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4344';
20250107@142636.4010 j0aneokte7eek38ntit743knjs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4344';
20250107@142636.4098 j0aneokte7eek38ntit743knjs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4344';
20250107@142636.4150 j0aneokte7eek38ntit743knjs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4344';
20250107@142636.4231 j0aneokte7eek38ntit743knjs Query : use flama_phc
20250107@142636.4235 j0aneokte7eek38ntit743knjs Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142636.4313 j0aneokte7eek38ntit743knjs Query : use flama_phc
20250107@142636.4317 j0aneokte7eek38ntit743knjs Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250107@142636.4375 j0aneokte7eek38ntit743knjs Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20250107@142636.5881 j0aneokte7eek38ntit743knjs Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500104 and bi.ref ='324.1321.00.1' and bi.lordem =1
20250107@142636.6285 j0aneokte7eek38ntit743knjs Query : use flama_phc
20250107@142636.6289 j0aneokte7eek38ntit743knjs Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142636.6326 j0aneokte7eek38ntit743knjs Query : use flama_phc
20250107@142636.6330 j0aneokte7eek38ntit743knjs Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142636.6370 j0aneokte7eek38ntit743knjs Query : use flama_phc
20250107@142636.6374 j0aneokte7eek38ntit743knjs Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142636.6406 j0aneokte7eek38ntit743knjs Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142636.6447 j0aneokte7eek38ntit743knjs Query : use flama_phc
20250107@142636.6451 j0aneokte7eek38ntit743knjs Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250107@142636.6486 j0aneokte7eek38ntit743knjs Query : use flama_phc
20250107@142636.6489 j0aneokte7eek38ntit743knjs Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142636.6522 j0aneokte7eek38ntit743knjs Query : use flama_phc
20250107@142636.6524 j0aneokte7eek38ntit743knjs Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142636.6573 j0aneokte7eek38ntit743knjs Query : use flama_phc
20250107@142636.6576 j0aneokte7eek38ntit743knjs Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250107@142636.6631 j0aneokte7eek38ntit743knjs Query : use flama_phc
20250107@142636.6633 j0aneokte7eek38ntit743knjs Query : select 1 valor from td where ndoc = 39
20250107@142636.6647 j0aneokte7eek38ntit743knjs Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142636.6663 j0aneokte7eek38ntit743knjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.6681 j0aneokte7eek38ntit743knjs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142636.6702 j0aneokte7eek38ntit743knjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.6718 j0aneokte7eek38ntit743knjs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142636.6750 j0aneokte7eek38ntit743knjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.6767 j0aneokte7eek38ntit743knjs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142636.6782 j0aneokte7eek38ntit743knjs Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142636.6905 j0aneokte7eek38ntit743knjs Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142636.6922 j0aneokte7eek38ntit743knjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.6941 j0aneokte7eek38ntit743knjs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142636.6959 j0aneokte7eek38ntit743knjs Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d344433677d399ca5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142636.7149 j0aneokte7eek38ntit743knjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.7171 j0aneokte7eek38ntit743knjs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142636.7208 j0aneokte7eek38ntit743knjs Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142636.7222 j0aneokte7eek38ntit743knjs Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142636.7235 j0aneokte7eek38ntit743knjs Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142636.7249 j0aneokte7eek38ntit743knjs Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142636.7266 j0aneokte7eek38ntit743knjs Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142636.7279 j0aneokte7eek38ntit743knjs Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142636.7295 j0aneokte7eek38ntit743knjs Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d344433677d399ca5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142636.7537 j0aneokte7eek38ntit743knjs Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142636.7571 j0aneokte7eek38ntit743knjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.7588 j0aneokte7eek38ntit743knjs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142636.7612 j0aneokte7eek38ntit743knjs Query : select 'normal' from dummy
20250107@142636.7636 j0aneokte7eek38ntit743knjs Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d344433677d399ca5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2786,100810,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142636.8027 j0aneokte7eek38ntit743knjs Query : use flama_phc
20250107@142636.8031 j0aneokte7eek38ntit743knjs Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20250107@142636.8057 j0aneokte7eek38ntit743knjs Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1321.00.1'
20250107@142636.8215 j0aneokte7eek38ntit743knjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.8234 j0aneokte7eek38ntit743knjs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142636.8263 j0aneokte7eek38ntit743knjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.8279 j0aneokte7eek38ntit743knjs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142636.8289 j0aneokte7eek38ntit743knjs Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142636.8302 j0aneokte7eek38ntit743knjs Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400495200a'
20250107@142636.8317 j0aneokte7eek38ntit743knjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.8334 j0aneokte7eek38ntit743knjs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142636.8346 j0aneokte7eek38ntit743knjs Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d338289677d399ccb','aut677d344433677d399ca5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142636.8351 j0aneokte7eek38ntit743knjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142636.8367 j0aneokte7eek38ntit743knjs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142636.8398 j0aneokte7eek38ntit743knjs Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d338289677d399ccb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut677d344433677d399ca5' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142636.8666 j0aneokte7eek38ntit743knjs Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d344433677d399ca5','2500104','wait',39,'adm09112754980.682000002')
20250107@142636.8751 j0aneokte7eek38ntit743knjs Query : use flama_phc
20250107@142636.8754 j0aneokte7eek38ntit743knjs Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142636.8790 j0aneokte7eek38ntit743knjs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4344';
20250107@142636.8844 j0aneokte7eek38ntit743knjs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4344';
20250107@142636.8907 j0aneokte7eek38ntit743knjs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4344';
20250107@142636.8948 j0aneokte7eek38ntit743knjs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4344';
20250107@142636.9527 akjjc73d1nsib66a7npchcgmpk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142636.9548 akjjc73d1nsib66a7npchcgmpk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142636.9646 akjjc73d1nsib66a7npchcgmpk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4345';
20250107@142636.9747 akjjc73d1nsib66a7npchcgmpk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4345';
20250107@142636.9854 akjjc73d1nsib66a7npchcgmpk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4345';
20250107@142636.9902 akjjc73d1nsib66a7npchcgmpk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4345';
20250107@142636.9996 akjjc73d1nsib66a7npchcgmpk Query : use flama_phc
20250107@142637.0000 akjjc73d1nsib66a7npchcgmpk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142637.9400 akjjc73d1nsib66a7npchcgmpk Query : use flama_phc
20250107@142637.9800 akjjc73d1nsib66a7npchcgmpk Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250107@142637.1590 akjjc73d1nsib66a7npchcgmpk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20250107@142637.1890 akjjc73d1nsib66a7npchcgmpk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500105 and bi.ref ='324.1321.00.1' and bi.lordem =1
20250107@142637.6160 akjjc73d1nsib66a7npchcgmpk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20250107@142637.6410 akjjc73d1nsib66a7npchcgmpk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500105 and bi.ref ='324.1321.00.1' and bi.lordem =2
20250107@142637.1020 akjjc73d1nsib66a7npchcgmpk Query : use flama_phc
20250107@142637.1024 akjjc73d1nsib66a7npchcgmpk Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142637.1061 akjjc73d1nsib66a7npchcgmpk Query : use flama_phc
20250107@142637.1065 akjjc73d1nsib66a7npchcgmpk Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142637.1101 akjjc73d1nsib66a7npchcgmpk Query : use flama_phc
20250107@142637.1105 akjjc73d1nsib66a7npchcgmpk Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142637.1156 akjjc73d1nsib66a7npchcgmpk Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142637.1197 akjjc73d1nsib66a7npchcgmpk Query : use flama_phc
20250107@142637.1200 akjjc73d1nsib66a7npchcgmpk Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250107@142637.1237 akjjc73d1nsib66a7npchcgmpk Query : use flama_phc
20250107@142637.1240 akjjc73d1nsib66a7npchcgmpk Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142637.1281 akjjc73d1nsib66a7npchcgmpk Query : use flama_phc
20250107@142637.1284 akjjc73d1nsib66a7npchcgmpk Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142637.1334 akjjc73d1nsib66a7npchcgmpk Query : use flama_phc
20250107@142637.1337 akjjc73d1nsib66a7npchcgmpk Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250107@142637.1398 akjjc73d1nsib66a7npchcgmpk Query : use flama_phc
20250107@142637.1401 akjjc73d1nsib66a7npchcgmpk Query : select 1 valor from td where ndoc = 39
20250107@142637.1420 akjjc73d1nsib66a7npchcgmpk Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142637.1435 akjjc73d1nsib66a7npchcgmpk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.1452 akjjc73d1nsib66a7npchcgmpk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142637.1472 akjjc73d1nsib66a7npchcgmpk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.1487 akjjc73d1nsib66a7npchcgmpk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142637.1535 akjjc73d1nsib66a7npchcgmpk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.1550 akjjc73d1nsib66a7npchcgmpk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142637.1563 akjjc73d1nsib66a7npchcgmpk Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142637.1678 akjjc73d1nsib66a7npchcgmpk Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142637.1695 akjjc73d1nsib66a7npchcgmpk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.1713 akjjc73d1nsib66a7npchcgmpk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142637.1730 akjjc73d1nsib66a7npchcgmpk Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d322904677d399d26' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142637.1901 akjjc73d1nsib66a7npchcgmpk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.1921 akjjc73d1nsib66a7npchcgmpk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142637.1954 akjjc73d1nsib66a7npchcgmpk Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142637.1967 akjjc73d1nsib66a7npchcgmpk Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142637.1981 akjjc73d1nsib66a7npchcgmpk Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142637.1994 akjjc73d1nsib66a7npchcgmpk Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142637.2006 akjjc73d1nsib66a7npchcgmpk Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142637.2020 akjjc73d1nsib66a7npchcgmpk Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142637.2031 akjjc73d1nsib66a7npchcgmpk Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d322904677d399d26',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142637.2328 akjjc73d1nsib66a7npchcgmpk Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142637.2362 akjjc73d1nsib66a7npchcgmpk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.2381 akjjc73d1nsib66a7npchcgmpk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142637.2406 akjjc73d1nsib66a7npchcgmpk Query : select 'normal' from dummy
20250107@142637.2423 akjjc73d1nsib66a7npchcgmpk Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d322904677d399d26',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2787,100810,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142637.2735 akjjc73d1nsib66a7npchcgmpk Query : use flama_phc
20250107@142637.2738 akjjc73d1nsib66a7npchcgmpk Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20250107@142637.2760 akjjc73d1nsib66a7npchcgmpk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1321.00.1'
20250107@142637.2777 akjjc73d1nsib66a7npchcgmpk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.2795 akjjc73d1nsib66a7npchcgmpk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142637.2828 akjjc73d1nsib66a7npchcgmpk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.2849 akjjc73d1nsib66a7npchcgmpk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142637.2878 akjjc73d1nsib66a7npchcgmpk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142637.2893 akjjc73d1nsib66a7npchcgmpk Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400495200a'
20250107@142637.2905 akjjc73d1nsib66a7npchcgmpk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.2923 akjjc73d1nsib66a7npchcgmpk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142637.2935 akjjc73d1nsib66a7npchcgmpk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d324215677d399d46','aut677d322904677d399d26' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142637.2940 akjjc73d1nsib66a7npchcgmpk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.2955 akjjc73d1nsib66a7npchcgmpk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142637.2988 akjjc73d1nsib66a7npchcgmpk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d324215677d399d46',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',9.000 ,'aut677d322904677d399d26' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142637.3488 akjjc73d1nsib66a7npchcgmpk Query : use flama_phc
20250107@142637.3517 akjjc73d1nsib66a7npchcgmpk Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20250107@142637.3539 akjjc73d1nsib66a7npchcgmpk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1321.00.1'
20250107@142637.3555 akjjc73d1nsib66a7npchcgmpk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.3593 akjjc73d1nsib66a7npchcgmpk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142637.3622 akjjc73d1nsib66a7npchcgmpk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.3637 akjjc73d1nsib66a7npchcgmpk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142637.3646 akjjc73d1nsib66a7npchcgmpk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142637.3659 akjjc73d1nsib66a7npchcgmpk Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400496200a'
20250107@142637.3675 akjjc73d1nsib66a7npchcgmpk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.3690 akjjc73d1nsib66a7npchcgmpk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142637.3702 akjjc73d1nsib66a7npchcgmpk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d355710677d399d59','aut677d322904677d399d26' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142637.3707 akjjc73d1nsib66a7npchcgmpk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.3728 akjjc73d1nsib66a7npchcgmpk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142637.3758 akjjc73d1nsib66a7npchcgmpk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d355710677d399d59',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',9.000 ,'aut677d322904677d399d26' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250107@142637.4023 akjjc73d1nsib66a7npchcgmpk Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d322904677d399d26','2500105','wait',39,'adm09112754980.682000002')
20250107@142637.4112 akjjc73d1nsib66a7npchcgmpk Query : use flama_phc
20250107@142637.4116 akjjc73d1nsib66a7npchcgmpk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142637.4151 akjjc73d1nsib66a7npchcgmpk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4345';
20250107@142637.4194 akjjc73d1nsib66a7npchcgmpk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4345';
20250107@142637.4250 akjjc73d1nsib66a7npchcgmpk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4345';
20250107@142637.4290 akjjc73d1nsib66a7npchcgmpk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4345';
20250107@142637.4861 tsfq0k6vvitpa9di9509l0qfk0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142637.4874 tsfq0k6vvitpa9di9509l0qfk0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142637.4954 tsfq0k6vvitpa9di9509l0qfk0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4346';
20250107@142637.5027 tsfq0k6vvitpa9di9509l0qfk0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4346';
20250107@142637.5113 tsfq0k6vvitpa9di9509l0qfk0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4346';
20250107@142637.5175 tsfq0k6vvitpa9di9509l0qfk0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4346';
20250107@142637.5974 tsfq0k6vvitpa9di9509l0qfk0 Query : use flama_phc
20250107@142637.6057 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142637.6567 tsfq0k6vvitpa9di9509l0qfk0 Query : use flama_phc
20250107@142637.6571 tsfq0k6vvitpa9di9509l0qfk0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250107@142637.6621 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1332.00.1'
20250107@142637.6785 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500107 and bi.ref ='324.1332.00.1' and bi.lordem =1
20250107@142637.7144 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1332.00.1'
20250107@142637.7167 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500107 and bi.ref ='324.1332.00.1' and bi.lordem =1
20250107@142637.7196 tsfq0k6vvitpa9di9509l0qfk0 Query : use flama_phc
20250107@142637.7200 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142637.7236 tsfq0k6vvitpa9di9509l0qfk0 Query : use flama_phc
20250107@142637.7240 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142637.7274 tsfq0k6vvitpa9di9509l0qfk0 Query : use flama_phc
20250107@142637.7277 tsfq0k6vvitpa9di9509l0qfk0 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142637.7308 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142637.7353 tsfq0k6vvitpa9di9509l0qfk0 Query : use flama_phc
20250107@142637.7356 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250107@142637.7391 tsfq0k6vvitpa9di9509l0qfk0 Query : use flama_phc
20250107@142637.7396 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142637.7433 tsfq0k6vvitpa9di9509l0qfk0 Query : use flama_phc
20250107@142637.7436 tsfq0k6vvitpa9di9509l0qfk0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142637.7478 tsfq0k6vvitpa9di9509l0qfk0 Query : use flama_phc
20250107@142637.7481 tsfq0k6vvitpa9di9509l0qfk0 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250107@142637.7528 tsfq0k6vvitpa9di9509l0qfk0 Query : use flama_phc
20250107@142637.7531 tsfq0k6vvitpa9di9509l0qfk0 Query : select 1 valor from td where ndoc = 39
20250107@142637.7544 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142637.7558 tsfq0k6vvitpa9di9509l0qfk0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.7576 tsfq0k6vvitpa9di9509l0qfk0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142637.7597 tsfq0k6vvitpa9di9509l0qfk0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.7612 tsfq0k6vvitpa9di9509l0qfk0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142637.7651 tsfq0k6vvitpa9di9509l0qfk0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.7667 tsfq0k6vvitpa9di9509l0qfk0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142637.7681 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142637.7799 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142637.7821 tsfq0k6vvitpa9di9509l0qfk0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.7839 tsfq0k6vvitpa9di9509l0qfk0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142637.7857 tsfq0k6vvitpa9di9509l0qfk0 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d366565677d399dbb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142637.8049 tsfq0k6vvitpa9di9509l0qfk0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.8069 tsfq0k6vvitpa9di9509l0qfk0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142637.8104 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142637.8117 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142637.8129 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142637.8143 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142637.8155 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142637.8168 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142637.8180 tsfq0k6vvitpa9di9509l0qfk0 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d366565677d399dbb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142637.8432 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142637.8475 tsfq0k6vvitpa9di9509l0qfk0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.8491 tsfq0k6vvitpa9di9509l0qfk0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142637.8518 tsfq0k6vvitpa9di9509l0qfk0 Query : select 'normal' from dummy
20250107@142637.8543 tsfq0k6vvitpa9di9509l0qfk0 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d366565677d399dbb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2788,100810,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142637.8874 tsfq0k6vvitpa9di9509l0qfk0 Query : use flama_phc
20250107@142637.8878 tsfq0k6vvitpa9di9509l0qfk0 Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20250107@142637.8906 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1332.00.1'
20250107@142637.9066 tsfq0k6vvitpa9di9509l0qfk0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.9088 tsfq0k6vvitpa9di9509l0qfk0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142637.9123 tsfq0k6vvitpa9di9509l0qfk0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.9265 tsfq0k6vvitpa9di9509l0qfk0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142637.9275 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142637.9288 tsfq0k6vvitpa9di9509l0qfk0 Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20250107@142637.9303 tsfq0k6vvitpa9di9509l0qfk0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.9320 tsfq0k6vvitpa9di9509l0qfk0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142637.9332 tsfq0k6vvitpa9di9509l0qfk0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d366867677d399de3','aut677d366565677d399dbb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142637.9337 tsfq0k6vvitpa9di9509l0qfk0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.9352 tsfq0k6vvitpa9di9509l0qfk0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142637.9383 tsfq0k6vvitpa9di9509l0qfk0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d366867677d399de3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',11.000 ,'aut677d366565677d399dbb' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142637.9900 tsfq0k6vvitpa9di9509l0qfk0 Query : use flama_phc
20250107@142637.9919 tsfq0k6vvitpa9di9509l0qfk0 Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20250107@142637.9943 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1332.00.1'
20250107@142637.9959 tsfq0k6vvitpa9di9509l0qfk0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142637.9978 tsfq0k6vvitpa9di9509l0qfk0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142638.6000 tsfq0k6vvitpa9di9509l0qfk0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.2600 tsfq0k6vvitpa9di9509l0qfk0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142638.3500 tsfq0k6vvitpa9di9509l0qfk0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142638.4800 tsfq0k6vvitpa9di9509l0qfk0 Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20250107@142638.6100 tsfq0k6vvitpa9di9509l0qfk0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.7700 tsfq0k6vvitpa9di9509l0qfk0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142638.8900 tsfq0k6vvitpa9di9509l0qfk0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d352319677d399e01','aut677d366565677d399dbb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142638.9400 tsfq0k6vvitpa9di9509l0qfk0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.1090 tsfq0k6vvitpa9di9509l0qfk0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142638.1400 tsfq0k6vvitpa9di9509l0qfk0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d352319677d399e01',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut677d366565677d399dbb' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250107@142638.4190 tsfq0k6vvitpa9di9509l0qfk0 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d366565677d399dbb','2500107','wait',39,'adm09112754980.682000002')
20250107@142638.4900 tsfq0k6vvitpa9di9509l0qfk0 Query : use flama_phc
20250107@142638.4930 tsfq0k6vvitpa9di9509l0qfk0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142638.5230 tsfq0k6vvitpa9di9509l0qfk0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4346';
20250107@142638.5670 tsfq0k6vvitpa9di9509l0qfk0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4346';
20250107@142638.6360 tsfq0k6vvitpa9di9509l0qfk0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4346';
20250107@142638.6800 tsfq0k6vvitpa9di9509l0qfk0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4346';
20250107@142638.1220 odeske2q6bkmc83trq8ovmedpv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142638.1232 odeske2q6bkmc83trq8ovmedpv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142638.1303 odeske2q6bkmc83trq8ovmedpv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4347';
20250107@142638.1370 odeske2q6bkmc83trq8ovmedpv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4347';
20250107@142638.1433 odeske2q6bkmc83trq8ovmedpv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4347';
20250107@142638.1464 odeske2q6bkmc83trq8ovmedpv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4347';
20250107@142638.1523 odeske2q6bkmc83trq8ovmedpv Query : use flama_phc
20250107@142638.1527 odeske2q6bkmc83trq8ovmedpv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142638.1591 odeske2q6bkmc83trq8ovmedpv Query : use flama_phc
20250107@142638.1610 odeske2q6bkmc83trq8ovmedpv Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250107@142638.1661 odeske2q6bkmc83trq8ovmedpv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1332.00.1'
20250107@142638.1681 odeske2q6bkmc83trq8ovmedpv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500108 and bi.ref ='324.1332.00.1' and bi.lordem =1
20250107@142638.2037 odeske2q6bkmc83trq8ovmedpv Query : use flama_phc
20250107@142638.2042 odeske2q6bkmc83trq8ovmedpv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142638.2097 odeske2q6bkmc83trq8ovmedpv Query : use flama_phc
20250107@142638.2100 odeske2q6bkmc83trq8ovmedpv Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142638.2168 odeske2q6bkmc83trq8ovmedpv Query : use flama_phc
20250107@142638.2171 odeske2q6bkmc83trq8ovmedpv Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142638.2207 odeske2q6bkmc83trq8ovmedpv Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142638.2243 odeske2q6bkmc83trq8ovmedpv Query : use flama_phc
20250107@142638.2246 odeske2q6bkmc83trq8ovmedpv Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250107@142638.2279 odeske2q6bkmc83trq8ovmedpv Query : use flama_phc
20250107@142638.2282 odeske2q6bkmc83trq8ovmedpv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142638.2312 odeske2q6bkmc83trq8ovmedpv Query : use flama_phc
20250107@142638.2315 odeske2q6bkmc83trq8ovmedpv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142638.2355 odeske2q6bkmc83trq8ovmedpv Query : use flama_phc
20250107@142638.2358 odeske2q6bkmc83trq8ovmedpv Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250107@142638.2403 odeske2q6bkmc83trq8ovmedpv Query : use flama_phc
20250107@142638.2406 odeske2q6bkmc83trq8ovmedpv Query : select 1 valor from td where ndoc = 39
20250107@142638.2418 odeske2q6bkmc83trq8ovmedpv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142638.2433 odeske2q6bkmc83trq8ovmedpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.2449 odeske2q6bkmc83trq8ovmedpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142638.2470 odeske2q6bkmc83trq8ovmedpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.2484 odeske2q6bkmc83trq8ovmedpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142638.2513 odeske2q6bkmc83trq8ovmedpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.2530 odeske2q6bkmc83trq8ovmedpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142638.2544 odeske2q6bkmc83trq8ovmedpv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142638.2651 odeske2q6bkmc83trq8ovmedpv Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142638.2664 odeske2q6bkmc83trq8ovmedpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.2680 odeske2q6bkmc83trq8ovmedpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142638.2696 odeske2q6bkmc83trq8ovmedpv Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d309608677d399e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142638.2906 odeske2q6bkmc83trq8ovmedpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.2927 odeske2q6bkmc83trq8ovmedpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142638.2961 odeske2q6bkmc83trq8ovmedpv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142638.2974 odeske2q6bkmc83trq8ovmedpv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142638.2986 odeske2q6bkmc83trq8ovmedpv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142638.2998 odeske2q6bkmc83trq8ovmedpv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142638.3010 odeske2q6bkmc83trq8ovmedpv Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142638.3023 odeske2q6bkmc83trq8ovmedpv Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142638.3036 odeske2q6bkmc83trq8ovmedpv Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d309608677d399e3e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142638.3320 odeske2q6bkmc83trq8ovmedpv Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142638.3353 odeske2q6bkmc83trq8ovmedpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.3371 odeske2q6bkmc83trq8ovmedpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142638.3396 odeske2q6bkmc83trq8ovmedpv Query : select 'normal' from dummy
20250107@142638.3413 odeske2q6bkmc83trq8ovmedpv Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d309608677d399e3e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2789,100810,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142638.3768 odeske2q6bkmc83trq8ovmedpv Query : use flama_phc
20250107@142638.3773 odeske2q6bkmc83trq8ovmedpv Query : select st.usalote valor from st where st.ref = '324.1332.00.1'
20250107@142638.3798 odeske2q6bkmc83trq8ovmedpv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1332.00.1'
20250107@142638.3815 odeske2q6bkmc83trq8ovmedpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.4035 odeske2q6bkmc83trq8ovmedpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142638.4066 odeske2q6bkmc83trq8ovmedpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.4087 odeske2q6bkmc83trq8ovmedpv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142638.4098 odeske2q6bkmc83trq8ovmedpv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142638.4112 odeske2q6bkmc83trq8ovmedpv Query : select sestamp valor from se where ref ='324.1332.00.1' and lote = 'r2400759200a'
20250107@142638.4126 odeske2q6bkmc83trq8ovmedpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.4141 odeske2q6bkmc83trq8ovmedpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142638.4154 odeske2q6bkmc83trq8ovmedpv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d356450677d399e64','aut677d309608677d399e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142638.4158 odeske2q6bkmc83trq8ovmedpv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.4174 odeske2q6bkmc83trq8ovmedpv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142638.4209 odeske2q6bkmc83trq8ovmedpv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d356450677d399e64',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',13.000 ,'aut677d309608677d399e3e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142638.4494 odeske2q6bkmc83trq8ovmedpv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d309608677d399e3e','2500108','wait',39,'adm09112754980.682000002')
20250107@142638.4568 odeske2q6bkmc83trq8ovmedpv Query : use flama_phc
20250107@142638.4571 odeske2q6bkmc83trq8ovmedpv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142638.4618 odeske2q6bkmc83trq8ovmedpv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4347';
20250107@142638.4662 odeske2q6bkmc83trq8ovmedpv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4347';
20250107@142638.4715 odeske2q6bkmc83trq8ovmedpv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4347';
20250107@142638.4765 odeske2q6bkmc83trq8ovmedpv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4347';
20250107@142638.6084 d87fhrt4jt52o1igufe42l3k7u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142638.6095 d87fhrt4jt52o1igufe42l3k7u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142638.6165 d87fhrt4jt52o1igufe42l3k7u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4348';
20250107@142638.6233 d87fhrt4jt52o1igufe42l3k7u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4348';
20250107@142638.6295 d87fhrt4jt52o1igufe42l3k7u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4348';
20250107@142638.6330 d87fhrt4jt52o1igufe42l3k7u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4348';
20250107@142638.6389 d87fhrt4jt52o1igufe42l3k7u Query : use flama_phc
20250107@142638.6392 d87fhrt4jt52o1igufe42l3k7u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142638.6455 d87fhrt4jt52o1igufe42l3k7u Query : use flama_phc
20250107@142638.6458 d87fhrt4jt52o1igufe42l3k7u Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250107@142638.6508 d87fhrt4jt52o1igufe42l3k7u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1667.00.1'
20250107@142638.6703 d87fhrt4jt52o1igufe42l3k7u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500109 and bi.ref ='324.1667.00.1' and bi.lordem =1
20250107@142638.7072 d87fhrt4jt52o1igufe42l3k7u Query : use flama_phc
20250107@142638.7076 d87fhrt4jt52o1igufe42l3k7u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142638.7116 d87fhrt4jt52o1igufe42l3k7u Query : use flama_phc
20250107@142638.7119 d87fhrt4jt52o1igufe42l3k7u Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142638.7154 d87fhrt4jt52o1igufe42l3k7u Query : use flama_phc
20250107@142638.7157 d87fhrt4jt52o1igufe42l3k7u Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142638.7190 d87fhrt4jt52o1igufe42l3k7u Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142638.7230 d87fhrt4jt52o1igufe42l3k7u Query : use flama_phc
20250107@142638.7233 d87fhrt4jt52o1igufe42l3k7u Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20250107@142638.7265 d87fhrt4jt52o1igufe42l3k7u Query : use flama_phc
20250107@142638.7268 d87fhrt4jt52o1igufe42l3k7u Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142638.7309 d87fhrt4jt52o1igufe42l3k7u Query : use flama_phc
20250107@142638.7312 d87fhrt4jt52o1igufe42l3k7u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142638.7351 d87fhrt4jt52o1igufe42l3k7u Query : use flama_phc
20250107@142638.7354 d87fhrt4jt52o1igufe42l3k7u Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20250107@142638.7425 d87fhrt4jt52o1igufe42l3k7u Query : use flama_phc
20250107@142638.7428 d87fhrt4jt52o1igufe42l3k7u Query : select 1 valor from td where ndoc = 39
20250107@142638.7441 d87fhrt4jt52o1igufe42l3k7u Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142638.7455 d87fhrt4jt52o1igufe42l3k7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.7473 d87fhrt4jt52o1igufe42l3k7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142638.7498 d87fhrt4jt52o1igufe42l3k7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.7512 d87fhrt4jt52o1igufe42l3k7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142638.7544 d87fhrt4jt52o1igufe42l3k7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.7560 d87fhrt4jt52o1igufe42l3k7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142638.7574 d87fhrt4jt52o1igufe42l3k7u Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142638.7895 d87fhrt4jt52o1igufe42l3k7u Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142638.7910 d87fhrt4jt52o1igufe42l3k7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.7928 d87fhrt4jt52o1igufe42l3k7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142638.7944 d87fhrt4jt52o1igufe42l3k7u Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d347537677d399eb8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142638.8140 d87fhrt4jt52o1igufe42l3k7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.8161 d87fhrt4jt52o1igufe42l3k7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142638.8203 d87fhrt4jt52o1igufe42l3k7u Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142638.8217 d87fhrt4jt52o1igufe42l3k7u Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142638.8232 d87fhrt4jt52o1igufe42l3k7u Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142638.8247 d87fhrt4jt52o1igufe42l3k7u Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142638.8262 d87fhrt4jt52o1igufe42l3k7u Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142638.8276 d87fhrt4jt52o1igufe42l3k7u Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142638.8288 d87fhrt4jt52o1igufe42l3k7u Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d347537677d399eb8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142638.8563 d87fhrt4jt52o1igufe42l3k7u Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142638.8597 d87fhrt4jt52o1igufe42l3k7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.8617 d87fhrt4jt52o1igufe42l3k7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142638.8644 d87fhrt4jt52o1igufe42l3k7u Query : select 'normal' from dummy
20250107@142638.8660 d87fhrt4jt52o1igufe42l3k7u Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d347537677d399eb8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2790,100810,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142638.9005 d87fhrt4jt52o1igufe42l3k7u Query : use flama_phc
20250107@142638.9010 d87fhrt4jt52o1igufe42l3k7u Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20250107@142638.9037 d87fhrt4jt52o1igufe42l3k7u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1667.00.1'
20250107@142638.9333 d87fhrt4jt52o1igufe42l3k7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.9356 d87fhrt4jt52o1igufe42l3k7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142638.9385 d87fhrt4jt52o1igufe42l3k7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.9403 d87fhrt4jt52o1igufe42l3k7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142638.9413 d87fhrt4jt52o1igufe42l3k7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142638.9428 d87fhrt4jt52o1igufe42l3k7u Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2400923100a'
20250107@142638.9448 d87fhrt4jt52o1igufe42l3k7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.9465 d87fhrt4jt52o1igufe42l3k7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142638.9481 d87fhrt4jt52o1igufe42l3k7u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d313051677d399ee6','aut677d347537677d399eb8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142638.9486 d87fhrt4jt52o1igufe42l3k7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.9503 d87fhrt4jt52o1igufe42l3k7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142638.9539 d87fhrt4jt52o1igufe42l3k7u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d313051677d399ee6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677d347537677d399eb8' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142638.9880 d87fhrt4jt52o1igufe42l3k7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.9900 d87fhrt4jt52o1igufe42l3k7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142638.9932 d87fhrt4jt52o1igufe42l3k7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.9950 d87fhrt4jt52o1igufe42l3k7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142638.9963 d87fhrt4jt52o1igufe42l3k7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142638.9979 d87fhrt4jt52o1igufe42l3k7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142638.9998 d87fhrt4jt52o1igufe42l3k7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142639.1300 d87fhrt4jt52o1igufe42l3k7u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d369151677d399ef3','aut677d347537677d399eb8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142639.1900 d87fhrt4jt52o1igufe42l3k7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142639.3900 d87fhrt4jt52o1igufe42l3k7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142639.7400 d87fhrt4jt52o1igufe42l3k7u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677d369151677d399ef3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677d347537677d399eb8' ,0,0 ,2,23.00,20000,?,?,?)
20250107@142639.4160 d87fhrt4jt52o1igufe42l3k7u Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d347537677d399eb8','2500109','wait',39,'adm09112754980.682000002')
20250107@142639.5120 d87fhrt4jt52o1igufe42l3k7u Query : use flama_phc
20250107@142639.5150 d87fhrt4jt52o1igufe42l3k7u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142639.5520 d87fhrt4jt52o1igufe42l3k7u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4348';
20250107@142639.5940 d87fhrt4jt52o1igufe42l3k7u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4348';
20250107@142639.1216 d87fhrt4jt52o1igufe42l3k7u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4348';
20250107@142639.1268 d87fhrt4jt52o1igufe42l3k7u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4348';
20250107@142639.1979 nph71sekhabcqiv7fb8f2g01k6 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142639.1990 nph71sekhabcqiv7fb8f2g01k6 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142639.2062 nph71sekhabcqiv7fb8f2g01k6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4349';
20250107@142639.2136 nph71sekhabcqiv7fb8f2g01k6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4349';
20250107@142639.2204 nph71sekhabcqiv7fb8f2g01k6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4349';
20250107@142639.2245 nph71sekhabcqiv7fb8f2g01k6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4349';
20250107@142639.2331 nph71sekhabcqiv7fb8f2g01k6 Query : use flama_phc
20250107@142639.2334 nph71sekhabcqiv7fb8f2g01k6 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142639.2578 nph71sekhabcqiv7fb8f2g01k6 Query : use flama_phc
20250107@142639.2583 nph71sekhabcqiv7fb8f2g01k6 Query : select no, estab,szadrsdesc from szadrs where u_coddest=416
20250107@142639.2680 nph71sekhabcqiv7fb8f2g01k6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2326.00.1'
20250107@142639.2701 nph71sekhabcqiv7fb8f2g01k6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500111 and bi.ref ='324.2326.00.1' and bi.lordem =1
20250107@142639.3037 nph71sekhabcqiv7fb8f2g01k6 Query : use flama_phc
20250107@142639.3041 nph71sekhabcqiv7fb8f2g01k6 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142639.3076 nph71sekhabcqiv7fb8f2g01k6 Query : use flama_phc
20250107@142639.3079 nph71sekhabcqiv7fb8f2g01k6 Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142639.3109 nph71sekhabcqiv7fb8f2g01k6 Query : use flama_phc
20250107@142639.3112 nph71sekhabcqiv7fb8f2g01k6 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142639.3139 nph71sekhabcqiv7fb8f2g01k6 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142639.3175 nph71sekhabcqiv7fb8f2g01k6 Query : use flama_phc
20250107@142639.3178 nph71sekhabcqiv7fb8f2g01k6 Query : select top 1 ~inactivo valor from cl where no = '102079' and estab = 0 order by inactivo desc
20250107@142639.3294 nph71sekhabcqiv7fb8f2g01k6 Query : use flama_phc
20250107@142639.3297 nph71sekhabcqiv7fb8f2g01k6 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142639.3327 nph71sekhabcqiv7fb8f2g01k6 Query : use flama_phc
20250107@142639.3330 nph71sekhabcqiv7fb8f2g01k6 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142639.3369 nph71sekhabcqiv7fb8f2g01k6 Query : use flama_phc
20250107@142639.3373 nph71sekhabcqiv7fb8f2g01k6 Query : select szadrsstamp valor from szadrs where szadrsdesc='bragajav, lda.'
20250107@142639.3419 nph71sekhabcqiv7fb8f2g01k6 Query : use flama_phc
20250107@142639.3423 nph71sekhabcqiv7fb8f2g01k6 Query : select 1 valor from td where ndoc = 39
20250107@142639.3436 nph71sekhabcqiv7fb8f2g01k6 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142639.3449 nph71sekhabcqiv7fb8f2g01k6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142639.3465 nph71sekhabcqiv7fb8f2g01k6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142639.3484 nph71sekhabcqiv7fb8f2g01k6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142639.3498 nph71sekhabcqiv7fb8f2g01k6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142639.3528 nph71sekhabcqiv7fb8f2g01k6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142639.3544 nph71sekhabcqiv7fb8f2g01k6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142639.3557 nph71sekhabcqiv7fb8f2g01k6 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142639.3668 nph71sekhabcqiv7fb8f2g01k6 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142639.3681 nph71sekhabcqiv7fb8f2g01k6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142639.3697 nph71sekhabcqiv7fb8f2g01k6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142639.3713 nph71sekhabcqiv7fb8f2g01k6 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d380844677d399f56' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142639.3891 nph71sekhabcqiv7fb8f2g01k6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142639.3912 nph71sekhabcqiv7fb8f2g01k6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142639.3949 nph71sekhabcqiv7fb8f2g01k6 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142639.3962 nph71sekhabcqiv7fb8f2g01k6 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142639.3977 nph71sekhabcqiv7fb8f2g01k6 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142639.3990 nph71sekhabcqiv7fb8f2g01k6 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142639.4004 nph71sekhabcqiv7fb8f2g01k6 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142639.4017 nph71sekhabcqiv7fb8f2g01k6 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142639.4029 nph71sekhabcqiv7fb8f2g01k6 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d380844677d399f56',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142639.4555 nph71sekhabcqiv7fb8f2g01k6 Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142639.5579 nph71sekhabcqiv7fb8f2g01k6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142639.5595 nph71sekhabcqiv7fb8f2g01k6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142639.5617 nph71sekhabcqiv7fb8f2g01k6 Query : select 'normal' from dummy
20250107@142639.5634 nph71sekhabcqiv7fb8f2g01k6 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d380844677d399f56',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2791,102079,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142639.5912 nph71sekhabcqiv7fb8f2g01k6 Query : use flama_phc
20250107@142639.5915 nph71sekhabcqiv7fb8f2g01k6 Query : select st.usalote valor from st where st.ref = '324.2326.00.1'
20250107@142639.5939 nph71sekhabcqiv7fb8f2g01k6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2326.00.1'
20250107@142639.5953 nph71sekhabcqiv7fb8f2g01k6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142639.5970 nph71sekhabcqiv7fb8f2g01k6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142639.5997 nph71sekhabcqiv7fb8f2g01k6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142639.6019 nph71sekhabcqiv7fb8f2g01k6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142639.6029 nph71sekhabcqiv7fb8f2g01k6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142639.6041 nph71sekhabcqiv7fb8f2g01k6 Query : select sestamp valor from se where ref ='324.2326.00.1' and lote = 'r2400475600a'
20250107@142639.6054 nph71sekhabcqiv7fb8f2g01k6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142639.6070 nph71sekhabcqiv7fb8f2g01k6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142639.6082 nph71sekhabcqiv7fb8f2g01k6 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d331072677d399f93','aut677d380844677d399f56' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142639.6087 nph71sekhabcqiv7fb8f2g01k6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142639.6102 nph71sekhabcqiv7fb8f2g01k6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142639.6134 nph71sekhabcqiv7fb8f2g01k6 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d331072677d399f93',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut677d380844677d399f56' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142639.6411 nph71sekhabcqiv7fb8f2g01k6 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d380844677d399f56','2500111','wait',39,'adm09112754980.682000002')
20250107@142639.6490 nph71sekhabcqiv7fb8f2g01k6 Query : use flama_phc
20250107@142639.6494 nph71sekhabcqiv7fb8f2g01k6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142639.6525 nph71sekhabcqiv7fb8f2g01k6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4349';
20250107@142639.6590 nph71sekhabcqiv7fb8f2g01k6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4349';
20250107@142639.6644 nph71sekhabcqiv7fb8f2g01k6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4349';
20250107@142639.6686 nph71sekhabcqiv7fb8f2g01k6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4349';
20250107@142639.7381 g376t7tr861rr6g4k4e44k92ed Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142639.7400 g376t7tr861rr6g4k4e44k92ed Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142639.8373 g376t7tr861rr6g4k4e44k92ed Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4350';
20250107@142639.8584 g376t7tr861rr6g4k4e44k92ed Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4350';
20250107@142639.9002 g376t7tr861rr6g4k4e44k92ed Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4350';
20250107@142639.9100 g376t7tr861rr6g4k4e44k92ed Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4350';
20250107@142639.9369 g376t7tr861rr6g4k4e44k92ed Query : use flama_phc
20250107@142639.9374 g376t7tr861rr6g4k4e44k92ed Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142639.9505 g376t7tr861rr6g4k4e44k92ed Query : use flama_phc
20250107@142639.9514 g376t7tr861rr6g4k4e44k92ed Query : select no, estab,szadrsdesc from szadrs where u_coddest=2117
20250107@142639.9632 g376t7tr861rr6g4k4e44k92ed 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'
20250107@142639.9825 g376t7tr861rr6g4k4e44k92ed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500112 and bi.ref ='324.1824.00.1' and bi.lordem =1
20250107@142640.2050 g376t7tr861rr6g4k4e44k92ed 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'
20250107@142640.2610 g376t7tr861rr6g4k4e44k92ed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500112 and bi.ref ='324.1824.00.1' and bi.lordem =2
20250107@142640.6230 g376t7tr861rr6g4k4e44k92ed Query : use flama_phc
20250107@142640.6270 g376t7tr861rr6g4k4e44k92ed Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142640.6800 g376t7tr861rr6g4k4e44k92ed Query : use flama_phc
20250107@142640.6860 g376t7tr861rr6g4k4e44k92ed Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142640.7280 g376t7tr861rr6g4k4e44k92ed Query : use flama_phc
20250107@142640.7310 g376t7tr861rr6g4k4e44k92ed Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142640.7590 g376t7tr861rr6g4k4e44k92ed Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142640.7960 g376t7tr861rr6g4k4e44k92ed Query : use flama_phc
20250107@142640.7990 g376t7tr861rr6g4k4e44k92ed Query : select top 1 ~inactivo valor from cl where no = '102420' and estab = 0 order by inactivo desc
20250107@142640.9230 g376t7tr861rr6g4k4e44k92ed Query : use flama_phc
20250107@142640.9260 g376t7tr861rr6g4k4e44k92ed Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142640.9560 g376t7tr861rr6g4k4e44k92ed Query : use flama_phc
20250107@142640.9590 g376t7tr861rr6g4k4e44k92ed Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142640.1002 g376t7tr861rr6g4k4e44k92ed Query : use flama_phc
20250107@142640.1005 g376t7tr861rr6g4k4e44k92ed Query : select szadrsstamp valor from szadrs where szadrsdesc='ri - eletrodomesticos lda'
20250107@142640.1055 g376t7tr861rr6g4k4e44k92ed Query : use flama_phc
20250107@142640.1059 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from td where ndoc = 39
20250107@142640.1074 g376t7tr861rr6g4k4e44k92ed Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142640.1090 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.1107 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142640.1372 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.1391 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142640.1421 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.1437 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142640.1486 g376t7tr861rr6g4k4e44k92ed Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142640.1594 g376t7tr861rr6g4k4e44k92ed Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142640.1608 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.1626 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142640.1644 g376t7tr861rr6g4k4e44k92ed Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d301223677d39a024' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142640.1845 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.1868 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142640.1915 g376t7tr861rr6g4k4e44k92ed Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142640.1933 g376t7tr861rr6g4k4e44k92ed Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142640.1947 g376t7tr861rr6g4k4e44k92ed Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142640.1960 g376t7tr861rr6g4k4e44k92ed Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142640.1974 g376t7tr861rr6g4k4e44k92ed Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142640.1989 g376t7tr861rr6g4k4e44k92ed Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142640.2002 g376t7tr861rr6g4k4e44k92ed Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d301223677d39a024',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142640.2285 g376t7tr861rr6g4k4e44k92ed Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142640.2320 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.2340 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142640.2370 g376t7tr861rr6g4k4e44k92ed Query : select 'normal' from dummy
20250107@142640.2387 g376t7tr861rr6g4k4e44k92ed Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d301223677d39a024',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2792,102420,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142640.2698 g376t7tr861rr6g4k4e44k92ed Query : use flama_phc
20250107@142640.2702 g376t7tr861rr6g4k4e44k92ed Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20250107@142640.2730 g376t7tr861rr6g4k4e44k92ed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20250107@142640.2893 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.2914 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142640.2943 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.2958 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142640.2986 g376t7tr861rr6g4k4e44k92ed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142640.3005 g376t7tr861rr6g4k4e44k92ed Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20250107@142640.3022 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.3040 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142640.3054 g376t7tr861rr6g4k4e44k92ed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d325999677d39a049','aut677d301223677d39a024' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142640.3058 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.3078 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142640.3136 g376t7tr861rr6g4k4e44k92ed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d325999677d39a049',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut677d301223677d39a024' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142640.3413 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.3437 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142640.3464 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.3484 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142640.3493 g376t7tr861rr6g4k4e44k92ed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142640.3506 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.3525 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142640.3539 g376t7tr861rr6g4k4e44k92ed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d303852677d39a055','aut677d301223677d39a024' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142640.3543 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.3559 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142640.3618 g376t7tr861rr6g4k4e44k92ed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677d303852677d39a055',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677d301223677d39a024' ,0,0 ,2,23.00,20000,?,?,?)
20250107@142640.3929 g376t7tr861rr6g4k4e44k92ed Query : use flama_phc
20250107@142640.3933 g376t7tr861rr6g4k4e44k92ed Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20250107@142640.3954 g376t7tr861rr6g4k4e44k92ed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20250107@142640.3972 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.3990 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142640.4041 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.4059 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142640.4070 g376t7tr861rr6g4k4e44k92ed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142640.4086 g376t7tr861rr6g4k4e44k92ed Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20250107@142640.4101 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.4121 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142640.4136 g376t7tr861rr6g4k4e44k92ed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d376904677d39a064','aut677d301223677d39a024' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142640.4141 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.4161 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142640.4195 g376t7tr861rr6g4k4e44k92ed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d376904677d39a064',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677d301223677d39a024' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250107@142640.4475 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.4493 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142640.4523 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.4539 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142640.4549 g376t7tr861rr6g4k4e44k92ed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142640.4563 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.4579 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142640.4593 g376t7tr861rr6g4k4e44k92ed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d360893677d39a06f','aut677d301223677d39a024' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142640.4597 g376t7tr861rr6g4k4e44k92ed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142640.4614 g376t7tr861rr6g4k4e44k92ed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142640.4648 g376t7tr861rr6g4k4e44k92ed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677d360893677d39a06f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677d301223677d39a024' ,0,0 ,2,23.00,50000,?,?,?)
20250107@142640.5073 g376t7tr861rr6g4k4e44k92ed Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d301223677d39a024','2500112','wait',39,'adm09112754980.682000002')
20250107@142640.5459 g376t7tr861rr6g4k4e44k92ed Query : use flama_phc
20250107@142640.5463 g376t7tr861rr6g4k4e44k92ed Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142640.5496 g376t7tr861rr6g4k4e44k92ed Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4350';
20250107@142640.5566 g376t7tr861rr6g4k4e44k92ed Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4350';
20250107@142640.5825 g376t7tr861rr6g4k4e44k92ed Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4350';
20250107@142640.5992 g376t7tr861rr6g4k4e44k92ed Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4350';
20250107@142640.6641 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142640.6654 8tt6ed54a6bu4nmhlmnou6db45 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142640.6730 8tt6ed54a6bu4nmhlmnou6db45 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4351';
20250107@142640.6800 8tt6ed54a6bu4nmhlmnou6db45 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4351';
20250107@142640.7049 8tt6ed54a6bu4nmhlmnou6db45 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4351';
20250107@142640.7091 8tt6ed54a6bu4nmhlmnou6db45 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4351';
20250107@142640.7159 8tt6ed54a6bu4nmhlmnou6db45 Query : use flama_phc
20250107@142640.7165 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142640.7229 8tt6ed54a6bu4nmhlmnou6db45 Query : use flama_phc
20250107@142640.7234 8tt6ed54a6bu4nmhlmnou6db45 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2262
20250107@142640.7331 8tt6ed54a6bu4nmhlmnou6db45 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'
20250107@142640.7366 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500113 and bi.ref ='324.958.00.01' and bi.lordem =1
20250107@142640.7709 8tt6ed54a6bu4nmhlmnou6db45 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'
20250107@142640.7853 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500113 and bi.ref ='324.969.00.01' and bi.lordem =2
20250107@142640.8163 8tt6ed54a6bu4nmhlmnou6db45 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'
20250107@142640.8301 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500113 and bi.ref ='324.1646.00.1' and bi.lordem =3
20250107@142640.8621 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20250107@142640.8763 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500113 and bi.ref ='324.691.00.01' and bi.lordem =4
20250107@142640.9102 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5501.00.1'
20250107@142640.9286 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500113 and bi.ref ='324.5501.00.1' and bi.lordem =5
20250107@142641.8490 8tt6ed54a6bu4nmhlmnou6db45 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'
20250107@142641.1001 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500113 and bi.ref ='324.5500.00.1' and bi.lordem =6
20250107@142641.1322 8tt6ed54a6bu4nmhlmnou6db45 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'
20250107@142641.1454 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500113 and bi.ref ='324.948.00.01' and bi.lordem =7
20250107@142641.1756 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.939.00.01'
20250107@142641.1902 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500113 and bi.ref ='324.939.00.01' and bi.lordem =8
20250107@142641.2519 8tt6ed54a6bu4nmhlmnou6db45 Query : use flama_phc
20250107@142641.2562 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142641.2630 8tt6ed54a6bu4nmhlmnou6db45 Query : use flama_phc
20250107@142641.2634 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142641.2697 8tt6ed54a6bu4nmhlmnou6db45 Query : use flama_phc
20250107@142641.2739 8tt6ed54a6bu4nmhlmnou6db45 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142641.3032 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142641.3069 8tt6ed54a6bu4nmhlmnou6db45 Query : use flama_phc
20250107@142641.3094 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 ~inactivo valor from cl where no = '100361' and estab = 0 order by inactivo desc
20250107@142641.3574 8tt6ed54a6bu4nmhlmnou6db45 Query : use flama_phc
20250107@142641.3583 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142641.3627 8tt6ed54a6bu4nmhlmnou6db45 Query : use flama_phc
20250107@142641.3630 8tt6ed54a6bu4nmhlmnou6db45 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142641.3676 8tt6ed54a6bu4nmhlmnou6db45 Query : use flama_phc
20250107@142641.3679 8tt6ed54a6bu4nmhlmnou6db45 Query : select szadrsstamp valor from szadrs where szadrsdesc='antonio ramos barata nunes-novo'
20250107@142641.3728 8tt6ed54a6bu4nmhlmnou6db45 Query : use flama_phc
20250107@142641.3731 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from td where ndoc = 39
20250107@142641.3743 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142641.3757 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.3774 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142641.3794 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.3808 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142641.3837 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.3851 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142641.3864 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142641.3969 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142641.3983 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.3998 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142641.4014 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d365452677d39a15e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142641.4258 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.4513 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142641.4635 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142641.4648 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142641.4668 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142641.4681 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142641.4695 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142641.4707 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142641.4720 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d365452677d39a15e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142641.4999 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142641.5044 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.5062 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142641.5088 8tt6ed54a6bu4nmhlmnou6db45 Query : select 'normal' from dummy
20250107@142641.5104 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d365452677d39a15e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2793,100361,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142641.5458 8tt6ed54a6bu4nmhlmnou6db45 Query : use flama_phc
20250107@142641.5462 8tt6ed54a6bu4nmhlmnou6db45 Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20250107@142641.5487 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.958.00.01'
20250107@142641.5502 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.5522 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142641.5553 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.5571 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142641.5580 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142641.5593 8tt6ed54a6bu4nmhlmnou6db45 Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400704200a'
20250107@142641.5611 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.5628 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142641.5641 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d353656677d39a188','aut677d365452677d39a15e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142641.5646 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.5663 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142641.5695 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d353656677d39a188',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677d365452677d39a15e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142641.6020 8tt6ed54a6bu4nmhlmnou6db45 Query : use flama_phc
20250107@142641.6024 8tt6ed54a6bu4nmhlmnou6db45 Query : select st.usalote valor from st where st.ref = '324.969.00.01'
20250107@142641.6047 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.969.00.01'
20250107@142641.6202 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.6219 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142641.6246 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.6262 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142641.6272 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142641.6286 8tt6ed54a6bu4nmhlmnou6db45 Query : select sestamp valor from se where ref ='324.969.00.01' and lote = 'r2100601100a'
20250107@142641.6302 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.6319 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142641.6332 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d306415677d39a199','aut677d365452677d39a15e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142641.6336 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.6353 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142641.6384 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d306415677d39a199',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677d365452677d39a15e' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250107@142641.6644 8tt6ed54a6bu4nmhlmnou6db45 Query : use flama_phc
20250107@142641.6649 8tt6ed54a6bu4nmhlmnou6db45 Query : select st.usalote valor from st where st.ref = '324.1646.00.1'
20250107@142641.6674 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1646.00.1'
20250107@142641.6820 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.6838 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142641.6865 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.6882 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142641.6890 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142641.6902 8tt6ed54a6bu4nmhlmnou6db45 Query : select sestamp valor from se where ref ='324.1646.00.1' and lote = 'r2400725100a'
20250107@142641.6917 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.6932 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142641.6945 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d355595677d39a1a8','aut677d365452677d39a15e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142641.6950 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.6965 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142641.6993 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d355595677d39a1a8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut677d365452677d39a15e' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20250107@142641.7249 8tt6ed54a6bu4nmhlmnou6db45 Query : use flama_phc
20250107@142641.7252 8tt6ed54a6bu4nmhlmnou6db45 Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20250107@142641.7277 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20250107@142641.7436 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.7456 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142641.7485 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.7500 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142641.7516 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142641.7530 8tt6ed54a6bu4nmhlmnou6db45 Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400837300a'
20250107@142641.7545 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.7560 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142641.7573 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d374101677d39a1b8','aut677d365452677d39a15e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142641.7577 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.7593 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142641.7628 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d374101677d39a1b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677d365452677d39a15e' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250107@142641.8014 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.8221 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142641.8369 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.8387 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142641.8396 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142641.8409 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.8425 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142641.8439 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d316635677d39a1cd','aut677d365452677d39a15e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142641.8444 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.8461 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142641.8495 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677d316635677d39a1cd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677d365452677d39a15e' ,0,0 ,2,23.00,50000,?,?,?)
20250107@142641.8958 8tt6ed54a6bu4nmhlmnou6db45 Query : use flama_phc
20250107@142641.9093 8tt6ed54a6bu4nmhlmnou6db45 Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20250107@142641.9119 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5501.00.1'
20250107@142641.9330 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.9348 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142641.9376 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.9391 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142641.9400 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142641.9411 8tt6ed54a6bu4nmhlmnou6db45 Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20250107@142641.9427 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.9442 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142641.9454 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d396902677d39a1e6','aut677d365452677d39a15e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142641.9458 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142641.9473 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142641.9539 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d396902677d39a1e6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut677d365452677d39a15e' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20250107@142641.9977 8tt6ed54a6bu4nmhlmnou6db45 Query : use flama_phc
20250107@142641.9981 8tt6ed54a6bu4nmhlmnou6db45 Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20250107@142642.2000 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5500.00.1'
20250107@142642.1530 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.1730 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142642.2040 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.2180 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142642.2270 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142642.2380 8tt6ed54a6bu4nmhlmnou6db45 Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2400095600a'
20250107@142642.2510 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.2650 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142642.2770 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d347222677d39a206','aut677d365452677d39a15e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142642.2810 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.2950 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142642.3210 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d347222677d39a206',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut677d365452677d39a15e' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20250107@142642.5730 8tt6ed54a6bu4nmhlmnou6db45 Query : use flama_phc
20250107@142642.5760 8tt6ed54a6bu4nmhlmnou6db45 Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20250107@142642.5960 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.948.00.01'
20250107@142642.7310 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.7470 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142642.7720 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.7860 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142642.7940 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142642.8060 8tt6ed54a6bu4nmhlmnou6db45 Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2400703100a'
20250107@142642.8260 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.8440 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142642.8550 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d343441677d39a214','aut677d365452677d39a15e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142642.8590 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.8730 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142642.9000 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d343441677d39a214',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677d365452677d39a15e' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20250107@142642.1153 8tt6ed54a6bu4nmhlmnou6db45 Query : use flama_phc
20250107@142642.1159 8tt6ed54a6bu4nmhlmnou6db45 Query : select st.usalote valor from st where st.ref = '324.939.00.01'
20250107@142642.1180 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.939.00.01'
20250107@142642.1338 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.1353 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142642.1377 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.1391 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142642.1400 8tt6ed54a6bu4nmhlmnou6db45 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142642.1411 8tt6ed54a6bu4nmhlmnou6db45 Query : select sestamp valor from se where ref ='324.939.00.01' and lote = 'r2301371200a'
20250107@142642.1424 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.1438 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142642.1449 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d351203677d39a222','aut677d365452677d39a15e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142642.1453 8tt6ed54a6bu4nmhlmnou6db45 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.1467 8tt6ed54a6bu4nmhlmnou6db45 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142642.1493 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d351203677d39a222',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677d365452677d39a15e' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20250107@142642.2772 8tt6ed54a6bu4nmhlmnou6db45 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d365452677d39a15e','2500113','wait',39,'adm09112754980.682000002')
20250107@142642.2853 8tt6ed54a6bu4nmhlmnou6db45 Query : use flama_phc
20250107@142642.2856 8tt6ed54a6bu4nmhlmnou6db45 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142642.2897 8tt6ed54a6bu4nmhlmnou6db45 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4351';
20250107@142642.2937 8tt6ed54a6bu4nmhlmnou6db45 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4351';
20250107@142642.3017 8tt6ed54a6bu4nmhlmnou6db45 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4351';
20250107@142642.3079 8tt6ed54a6bu4nmhlmnou6db45 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4351';
20250107@142642.3667 6pqfqnqq8nvir2q3o1823m25pr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142642.3678 6pqfqnqq8nvir2q3o1823m25pr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142642.3753 6pqfqnqq8nvir2q3o1823m25pr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4352';
20250107@142642.3827 6pqfqnqq8nvir2q3o1823m25pr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4352';
20250107@142642.3898 6pqfqnqq8nvir2q3o1823m25pr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4352';
20250107@142642.3940 6pqfqnqq8nvir2q3o1823m25pr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4352';
20250107@142642.4355 6pqfqnqq8nvir2q3o1823m25pr Query : use flama_phc
20250107@142642.4360 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142642.4546 6pqfqnqq8nvir2q3o1823m25pr Query : use flama_phc
20250107@142642.4560 6pqfqnqq8nvir2q3o1823m25pr Query : select no, estab,szadrsdesc from szadrs where u_coddest=1760
20250107@142642.4736 6pqfqnqq8nvir2q3o1823m25pr 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'
20250107@142642.4790 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500114 and bi.ref ='324.1824.00.1' and bi.lordem =1
20250107@142642.5135 6pqfqnqq8nvir2q3o1823m25pr 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'
20250107@142642.5163 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500114 and bi.ref ='324.1824.00.1' and bi.lordem =1
20250107@142642.5189 6pqfqnqq8nvir2q3o1823m25pr 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'
20250107@142642.5231 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500114 and bi.ref ='324.1824.00.1' and bi.lordem =1
20250107@142642.5252 6pqfqnqq8nvir2q3o1823m25pr 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'
20250107@142642.5280 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500114 and bi.ref ='324.1824.00.1' and bi.lordem =2
20250107@142642.5629 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1643.00.1'
20250107@142642.5788 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500114 and bi.ref ='324.1643.00.1' and bi.lordem =3
20250107@142642.6124 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20250107@142642.6268 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500114 and bi.ref ='324.658.00.01' and bi.lordem =4
20250107@142642.6799 6pqfqnqq8nvir2q3o1823m25pr Query : use flama_phc
20250107@142642.6803 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142642.6852 6pqfqnqq8nvir2q3o1823m25pr Query : use flama_phc
20250107@142642.6855 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142642.6897 6pqfqnqq8nvir2q3o1823m25pr Query : use flama_phc
20250107@142642.6900 6pqfqnqq8nvir2q3o1823m25pr Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142642.6936 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142642.6985 6pqfqnqq8nvir2q3o1823m25pr Query : use flama_phc
20250107@142642.6988 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 ~inactivo valor from cl where no = '102395' and estab = 0 order by inactivo desc
20250107@142642.7764 6pqfqnqq8nvir2q3o1823m25pr Query : use flama_phc
20250107@142642.7767 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142642.7806 6pqfqnqq8nvir2q3o1823m25pr Query : use flama_phc
20250107@142642.7809 6pqfqnqq8nvir2q3o1823m25pr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142642.7859 6pqfqnqq8nvir2q3o1823m25pr Query : use flama_phc
20250107@142642.7863 6pqfqnqq8nvir2q3o1823m25pr Query : select szadrsstamp valor from szadrs where szadrsdesc='evoracor - sociedade distribuidora, lda'
20250107@142642.7916 6pqfqnqq8nvir2q3o1823m25pr Query : use flama_phc
20250107@142642.7919 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from td where ndoc = 39
20250107@142642.7933 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142642.7957 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.7974 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142642.7994 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.8010 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142642.8042 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.8059 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142642.8074 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142642.8197 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142642.8211 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.8228 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142642.8247 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d323856677d39a2c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142642.8430 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.8453 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142642.8489 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142642.8501 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142642.8517 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142642.8530 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142642.8543 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142642.8555 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142642.8568 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d323856677d39a2c5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142642.8808 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142642.8840 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.8856 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142642.8878 6pqfqnqq8nvir2q3o1823m25pr Query : select 'normal' from dummy
20250107@142642.8893 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d323856677d39a2c5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2794,102395,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142642.9182 6pqfqnqq8nvir2q3o1823m25pr Query : use flama_phc
20250107@142642.9186 6pqfqnqq8nvir2q3o1823m25pr Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20250107@142642.9212 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20250107@142642.9228 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.9246 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142642.9276 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.9293 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142642.9303 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142642.9318 6pqfqnqq8nvir2q3o1823m25pr Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20250107@142642.9334 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.9351 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142642.9366 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d372309677d39a2e3','aut677d323856677d39a2c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142642.9371 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.9387 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142642.9421 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d372309677d39a2e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',11.000 ,'aut677d323856677d39a2c5' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142642.9690 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.9709 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142642.9740 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.9757 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142642.9770 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142642.9786 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.9803 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142642.9817 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d384124677d39a2ee','aut677d323856677d39a2c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142642.9823 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142642.9842 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142642.9879 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677d384124677d39a2ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677d323856677d39a2c5' ,0,0 ,2,23.00,20000,?,?,?)
20250107@142643.2120 6pqfqnqq8nvir2q3o1823m25pr Query : use flama_phc
20250107@142643.2160 6pqfqnqq8nvir2q3o1823m25pr Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20250107@142643.2430 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20250107@142643.2600 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.2840 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142643.3150 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.3340 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142643.3450 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142643.3600 6pqfqnqq8nvir2q3o1823m25pr Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20250107@142643.3780 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.3980 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142643.4130 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d399751677d39a309','aut677d323856677d39a2c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142643.4180 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.4380 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142643.4750 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d399751677d39a309',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677d323856677d39a2c5' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250107@142643.7860 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.8110 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142643.8430 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.8620 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142643.8730 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142643.8880 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.9060 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142643.9200 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d323993677d39a315','aut677d323856677d39a2c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142643.9250 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.9420 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142643.9730 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677d323993677d39a315',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677d323856677d39a2c5' ,0,0 ,2,23.00,50000,?,?,?)
20250107@142643.1360 6pqfqnqq8nvir2q3o1823m25pr Query : use flama_phc
20250107@142643.1363 6pqfqnqq8nvir2q3o1823m25pr Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20250107@142643.1401 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20250107@142643.1418 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.1437 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142643.1467 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.1483 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142643.1493 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142643.1508 6pqfqnqq8nvir2q3o1823m25pr Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20250107@142643.1524 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.1542 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142643.1556 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d350913677d39a325','aut677d323856677d39a2c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142643.1561 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.1581 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142643.1614 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d350913677d39a325',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut677d323856677d39a2c5' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20250107@142643.2339 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.2359 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142643.2388 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.2405 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142643.2415 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142643.2429 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.2446 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142643.2459 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d340206677d39a33b','aut677d323856677d39a2c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142643.2464 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.2482 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142643.2514 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677d340206677d39a33b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677d323856677d39a2c5' ,0,0 ,2,23.00,80000,?,?,?)
20250107@142643.2835 6pqfqnqq8nvir2q3o1823m25pr Query : use flama_phc
20250107@142643.2838 6pqfqnqq8nvir2q3o1823m25pr Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20250107@142643.2860 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20250107@142643.2876 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.2893 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142643.2919 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.2934 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142643.2943 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142643.2974 6pqfqnqq8nvir2q3o1823m25pr Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20250107@142643.2989 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.3006 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142643.3019 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d344129677d39a348','aut677d323856677d39a2c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142643.3024 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.3039 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142643.3071 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d344129677d39a348',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut677d323856677d39a2c5' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20250107@142643.3361 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.3381 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142643.3416 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.3433 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142643.3443 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142643.3458 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.3475 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142643.3488 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d327864677d39a354','aut677d323856677d39a2c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142643.3493 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.3528 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142643.3563 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677d327864677d39a354',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677d323856677d39a2c5' ,0,0 ,2,23.00,110000,?,?,?)
20250107@142643.3827 6pqfqnqq8nvir2q3o1823m25pr Query : use flama_phc
20250107@142643.3831 6pqfqnqq8nvir2q3o1823m25pr Query : select st.usalote valor from st where st.ref = '324.1643.00.1'
20250107@142643.3856 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1643.00.1'
20250107@142643.4035 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.4055 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142643.4087 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.4106 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142643.4117 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142643.4133 6pqfqnqq8nvir2q3o1823m25pr Query : select sestamp valor from se where ref ='324.1643.00.1' and lote = 'r2101218200a'
20250107@142643.4150 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.4168 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142643.4184 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d357298677d39a365','aut677d323856677d39a2c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142643.4190 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.4209 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142643.4244 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d357298677d39a365',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut677d323856677d39a2c5' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20250107@142643.4582 6pqfqnqq8nvir2q3o1823m25pr Query : use flama_phc
20250107@142643.4587 6pqfqnqq8nvir2q3o1823m25pr Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20250107@142643.4612 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.658.00.01'
20250107@142643.4766 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.5918 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142643.5946 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.5962 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142643.5973 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142643.5985 6pqfqnqq8nvir2q3o1823m25pr Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2400222100a'
20250107@142643.5999 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.6019 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142643.6033 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d363070677d39a392','aut677d323856677d39a2c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142643.6037 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.6053 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142643.6086 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d363070677d39a392',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677d323856677d39a2c5' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20250107@142643.6354 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.6387 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142643.6414 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.6429 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142643.6438 6pqfqnqq8nvir2q3o1823m25pr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142643.6452 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.6466 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142643.6481 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d389636677d39a39d','aut677d323856677d39a2c5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142643.6485 6pqfqnqq8nvir2q3o1823m25pr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.6500 6pqfqnqq8nvir2q3o1823m25pr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142643.6527 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677d389636677d39a39d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677d323856677d39a2c5' ,0,0 ,2,23.00,150000,?,?,?)
20250107@142643.6800 6pqfqnqq8nvir2q3o1823m25pr Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d323856677d39a2c5','2500114','wait',39,'adm09112754980.682000002')
20250107@142643.6881 6pqfqnqq8nvir2q3o1823m25pr Query : use flama_phc
20250107@142643.6884 6pqfqnqq8nvir2q3o1823m25pr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142643.6918 6pqfqnqq8nvir2q3o1823m25pr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4352';
20250107@142643.6962 6pqfqnqq8nvir2q3o1823m25pr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4352';
20250107@142643.7020 6pqfqnqq8nvir2q3o1823m25pr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4352';
20250107@142643.7058 6pqfqnqq8nvir2q3o1823m25pr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4352';
20250107@142643.7641 uqarvcsg6gg17q87jbegp3hr05 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142643.7653 uqarvcsg6gg17q87jbegp3hr05 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142643.7721 uqarvcsg6gg17q87jbegp3hr05 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4353';
20250107@142643.7805 uqarvcsg6gg17q87jbegp3hr05 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4353';
20250107@142643.7877 uqarvcsg6gg17q87jbegp3hr05 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4353';
20250107@142643.8070 uqarvcsg6gg17q87jbegp3hr05 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4353';
20250107@142643.8281 uqarvcsg6gg17q87jbegp3hr05 Query : use flama_phc
20250107@142643.8325 uqarvcsg6gg17q87jbegp3hr05 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142643.8462 uqarvcsg6gg17q87jbegp3hr05 Query : use flama_phc
20250107@142643.8466 uqarvcsg6gg17q87jbegp3hr05 Query : select no, estab,szadrsdesc from szadrs where u_coddest=909
20250107@142643.8556 uqarvcsg6gg17q87jbegp3hr05 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20250107@142643.8706 uqarvcsg6gg17q87jbegp3hr05 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500115 and bi.ref ='328.9902.00.1' and bi.lordem =1
20250107@142643.9099 uqarvcsg6gg17q87jbegp3hr05 Query : use flama_phc
20250107@142643.9102 uqarvcsg6gg17q87jbegp3hr05 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142643.9134 uqarvcsg6gg17q87jbegp3hr05 Query : use flama_phc
20250107@142643.9137 uqarvcsg6gg17q87jbegp3hr05 Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142643.9167 uqarvcsg6gg17q87jbegp3hr05 Query : use flama_phc
20250107@142643.9170 uqarvcsg6gg17q87jbegp3hr05 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142643.9201 uqarvcsg6gg17q87jbegp3hr05 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142643.9241 uqarvcsg6gg17q87jbegp3hr05 Query : use flama_phc
20250107@142643.9244 uqarvcsg6gg17q87jbegp3hr05 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250107@142643.9363 uqarvcsg6gg17q87jbegp3hr05 Query : use flama_phc
20250107@142643.9367 uqarvcsg6gg17q87jbegp3hr05 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142643.9401 uqarvcsg6gg17q87jbegp3hr05 Query : use flama_phc
20250107@142643.9404 uqarvcsg6gg17q87jbegp3hr05 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142643.9447 uqarvcsg6gg17q87jbegp3hr05 Query : use flama_phc
20250107@142643.9450 uqarvcsg6gg17q87jbegp3hr05 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - ovar'
20250107@142643.9502 uqarvcsg6gg17q87jbegp3hr05 Query : use flama_phc
20250107@142643.9504 uqarvcsg6gg17q87jbegp3hr05 Query : select 1 valor from td where ndoc = 39
20250107@142643.9517 uqarvcsg6gg17q87jbegp3hr05 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142643.9531 uqarvcsg6gg17q87jbegp3hr05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.9547 uqarvcsg6gg17q87jbegp3hr05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142643.9568 uqarvcsg6gg17q87jbegp3hr05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.9583 uqarvcsg6gg17q87jbegp3hr05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142643.9612 uqarvcsg6gg17q87jbegp3hr05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142643.9628 uqarvcsg6gg17q87jbegp3hr05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142643.9640 uqarvcsg6gg17q87jbegp3hr05 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142644.1148 uqarvcsg6gg17q87jbegp3hr05 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142644.1641 uqarvcsg6gg17q87jbegp3hr05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142644.1811 uqarvcsg6gg17q87jbegp3hr05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142644.1828 uqarvcsg6gg17q87jbegp3hr05 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d315346677d39a3eb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142644.1999 uqarvcsg6gg17q87jbegp3hr05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142644.2017 uqarvcsg6gg17q87jbegp3hr05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142644.2051 uqarvcsg6gg17q87jbegp3hr05 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142644.2062 uqarvcsg6gg17q87jbegp3hr05 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250107@142644.2075 uqarvcsg6gg17q87jbegp3hr05 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250107@142644.2087 uqarvcsg6gg17q87jbegp3hr05 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250107@142644.2098 uqarvcsg6gg17q87jbegp3hr05 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250107@142644.2110 uqarvcsg6gg17q87jbegp3hr05 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250107@142644.2122 uqarvcsg6gg17q87jbegp3hr05 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677d315346677d39a3eb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250107@142644.2386 uqarvcsg6gg17q87jbegp3hr05 Query : select top 1 fno valor from wsftdata order by fno desc
20250107@142644.2419 uqarvcsg6gg17q87jbegp3hr05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142644.2435 uqarvcsg6gg17q87jbegp3hr05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142644.2459 uqarvcsg6gg17q87jbegp3hr05 Query : select 'normal' from dummy
20250107@142644.2475 uqarvcsg6gg17q87jbegp3hr05 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677d315346677d39a3eb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2795,101621,0,'2025-01-07',39,'euro',0,0,2025 ,?,?)
20250107@142644.2762 uqarvcsg6gg17q87jbegp3hr05 Query : use flama_phc
20250107@142644.2766 uqarvcsg6gg17q87jbegp3hr05 Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20250107@142644.2789 uqarvcsg6gg17q87jbegp3hr05 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9902.00.1'
20250107@142644.2928 uqarvcsg6gg17q87jbegp3hr05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142644.2944 uqarvcsg6gg17q87jbegp3hr05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142644.2968 uqarvcsg6gg17q87jbegp3hr05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142644.2983 uqarvcsg6gg17q87jbegp3hr05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142644.2992 uqarvcsg6gg17q87jbegp3hr05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142644.3004 uqarvcsg6gg17q87jbegp3hr05 Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20250107@142644.3019 uqarvcsg6gg17q87jbegp3hr05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142644.3034 uqarvcsg6gg17q87jbegp3hr05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142644.3045 uqarvcsg6gg17q87jbegp3hr05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d382137677d39a449','aut677d315346677d39a3eb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142644.3049 uqarvcsg6gg17q87jbegp3hr05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142644.3063 uqarvcsg6gg17q87jbegp3hr05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142644.3091 uqarvcsg6gg17q87jbegp3hr05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677d382137677d39a449',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677d315346677d39a3eb' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250107@142644.3348 uqarvcsg6gg17q87jbegp3hr05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142644.3377 uqarvcsg6gg17q87jbegp3hr05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142644.3409 uqarvcsg6gg17q87jbegp3hr05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142644.3425 uqarvcsg6gg17q87jbegp3hr05 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142644.3435 uqarvcsg6gg17q87jbegp3hr05 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250107@142644.3448 uqarvcsg6gg17q87jbegp3hr05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142644.3463 uqarvcsg6gg17q87jbegp3hr05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250107@142644.3475 uqarvcsg6gg17q87jbegp3hr05 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677d374040677d39a454','aut677d315346677d39a3eb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250107@142644.3480 uqarvcsg6gg17q87jbegp3hr05 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142644.3495 uqarvcsg6gg17q87jbegp3hr05 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250107@142644.3526 uqarvcsg6gg17q87jbegp3hr05 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677d374040677d39a454',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677d315346677d39a3eb' ,0,0 ,2,23.00,20000,?,?,?)
20250107@142644.3786 uqarvcsg6gg17q87jbegp3hr05 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677d315346677d39a3eb','2500115','wait',39,'adm09112754980.682000002')
20250107@142644.3868 uqarvcsg6gg17q87jbegp3hr05 Query : use flama_phc
20250107@142644.3871 uqarvcsg6gg17q87jbegp3hr05 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250107@142644.3909 uqarvcsg6gg17q87jbegp3hr05 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4353';
20250107@142644.3953 uqarvcsg6gg17q87jbegp3hr05 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4353';
20250107@142644.4012 uqarvcsg6gg17q87jbegp3hr05 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4353';
20250107@142644.4047 uqarvcsg6gg17q87jbegp3hr05 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4353';
20250107@142644.4605 vloh97n5jmnmr6e6l53253tptu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250107@142644.4618 vloh97n5jmnmr6e6l53253tptu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250107@142644.4686 vloh97n5jmnmr6e6l53253tptu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4354';
20250107@142644.4756 vloh97n5jmnmr6e6l53253tptu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4354';
20250107@142644.4824 vloh97n5jmnmr6e6l53253tptu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4354';
20250107@142644.4858 vloh97n5jmnmr6e6l53253tptu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4354';
20250107@142644.4913 vloh97n5jmnmr6e6l53253tptu Query : use flama_phc
20250107@142644.4916 vloh97n5jmnmr6e6l53253tptu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250107@142644.4985 vloh97n5jmnmr6e6l53253tptu Query : use flama_phc
20250107@142644.4988 vloh97n5jmnmr6e6l53253tptu Query : select no, estab,szadrsdesc from szadrs where u_coddest=2270
20250107@142644.5080 vloh97n5jmnmr6e6l53253tptu 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'
20250107@142644.5232 vloh97n5jmnmr6e6l53253tptu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500116 and bi.ref ='324.1824.00.1' and bi.lordem =1
20250107@142644.5569 vloh97n5jmnmr6e6l53253tptu 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'
20250107@142644.5591 vloh97n5jmnmr6e6l53253tptu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500116 and bi.ref ='324.1824.00.1' and bi.lordem =2
20250107@142644.6135 vloh97n5jmnmr6e6l53253tptu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '322.227.28.01'
20250107@142644.6281 vloh97n5jmnmr6e6l53253tptu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500116 and bi.ref ='322.227.28.01' and bi.lordem =3
20250107@142644.6647 vloh97n5jmnmr6e6l53253tptu Query : use flama_phc
20250107@142644.6650 vloh97n5jmnmr6e6l53253tptu Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250107@142644.6684 vloh97n5jmnmr6e6l53253tptu Query : use flama_phc
20250107@142644.6687 vloh97n5jmnmr6e6l53253tptu Query : select top 1 1 valor from td where td.ndoc = 39
20250107@142644.6718 vloh97n5jmnmr6e6l53253tptu Query : use flama_phc
20250107@142644.6721 vloh97n5jmnmr6e6l53253tptu Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20250107@142644.6750 vloh97n5jmnmr6e6l53253tptu Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250107@142644.6784 vloh97n5jmnmr6e6l53253tptu Query : use flama_phc
20250107@142644.6787 vloh97n5jmnmr6e6l53253tptu Query : select top 1 ~inactivo valor from cl where no = '102439' and estab = 0 order by inactivo desc
20250107@142644.6896 vloh97n5jmnmr6e6l53253tptu Query : use flama_phc
20250107@142644.6899 vloh97n5jmnmr6e6l53253tptu Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250107@142644.6928 vloh97n5jmnmr6e6l53253tptu Query : use flama_phc
20250107@142644.6931 vloh97n5jmnmr6e6l53253tptu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250107@142644.6973 vloh97n5jmnmr6e6l53253tptu Query : use flama_phc
20250107@142644.6975 vloh97n5jmnmr6e6l53253tptu Query : select szadrsstamp valor from szadrs where szadrsdesc='carlos luis unipessoal lda'
20250107@142644.7023 vloh97n5jmnmr6e6l53253tptu Query : use flama_phc
20250107@142644.7026 vloh97n5jmnmr6e6l53253tptu Query : select 1 valor from td where ndoc = 39
20250107@142644.7039 vloh97n5jmnmr6e6l53253tptu Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250107@142644.7054 vloh97n5jmnmr6e6l53253tptu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142644.7071 vloh97n5jmnmr6e6l53253tptu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250107@142644.7089 vloh97n5jmnmr6e6l53253tptu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142644.7103 vloh97n5jmnmr6e6l53253tptu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142644.7130 vloh97n5jmnmr6e6l53253tptu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142644.7145 vloh97n5jmnmr6e6l53253tptu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142644.7158 vloh97n5jmnmr6e6l53253tptu Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142644.7296 vloh97n5jmnmr6e6l53253tptu Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250107@142644.7310 vloh97n5jmnmr6e6l53253tptu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142644.7326 vloh97n5jmnmr6e6l53253tptu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250107@142644.7342 vloh97n5jmnmr6e6l53253tptu Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677d369758677d39a4ae' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250107@142644.7521 vloh97n5jmnmr6e6l53253tptu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250107@142644.7542 vloh97n5jmnmr6e6l53253tptu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250107@142644.7577 vloh97n5jmnmr6e6l53253tptu Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250107@142644.7589 vloh97n5jmnmr6e6l53253tptu Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
