20240917@144429.5910 96vnq0a6b5jgf790gi11n2fsos Query : use flama_phc
20240917@144429.5913 96vnq0a6b5jgf790gi11n2fsos Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240917@144429.5961 96vnq0a6b5jgf790gi11n2fsos Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2043';
20240917@144429.5991 96vnq0a6b5jgf790gi11n2fsos Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2043';

20240917@204609.3190 rr9n102c1cfgjd1t5s3i8p0q0k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2044';
20240917@204609.3890 rr9n102c1cfgjd1t5s3i8p0q0k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2044';
20240917@204609.4180 rr9n102c1cfgjd1t5s3i8p0q0k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2044';
20240917@204609.5440 rr9n102c1cfgjd1t5s3i8p0q0k Query : use flama_phc
20240917@204609.5860 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240917@204609.7230 rr9n102c1cfgjd1t5s3i8p0q0k Query : use flama_phc
20240917@204609.7270 rr9n102c1cfgjd1t5s3i8p0q0k Query : select no, estab,szadrsdesc from szadrs where u_coddest=4804
20240917@204609.8170 rr9n102c1cfgjd1t5s3i8p0q0k 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'
20240917@204609.9830 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405972 and bi.ref ='304.421.00.04' and bi.lordem =1
20240917@204609.1318 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20240917@204609.1482 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405972 and bi.ref ='324.4521.00.1' and bi.lordem =2
20240917@204609.1807 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20240917@204609.2018 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405972 and bi.ref ='324.4960.00.1' and bi.lordem =3
20240917@204609.2482 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240917@204609.2771 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405972 and bi.ref ='304.422.00.07' and bi.lordem =4
20240917@204609.3101 rr9n102c1cfgjd1t5s3i8p0q0k Query : use flama_phc
20240917@204609.3106 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240917@204609.3316 rr9n102c1cfgjd1t5s3i8p0q0k Query : use flama_phc
20240917@204609.3320 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 1 valor from td where td.ndoc = 39
20240917@204609.3416 rr9n102c1cfgjd1t5s3i8p0q0k Query : use flama_phc
20240917@204609.3420 rr9n102c1cfgjd1t5s3i8p0q0k 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')
20240917@204609.3494 rr9n102c1cfgjd1t5s3i8p0q0k 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
20240917@204609.3627 rr9n102c1cfgjd1t5s3i8p0q0k Query : use flama_phc
20240917@204609.3631 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20240917@204609.3779 rr9n102c1cfgjd1t5s3i8p0q0k Query : use flama_phc
20240917@204609.3783 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240917@204609.4011 rr9n102c1cfgjd1t5s3i8p0q0k Query : use flama_phc
20240917@204609.4021 rr9n102c1cfgjd1t5s3i8p0q0k Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240917@204609.4103 rr9n102c1cfgjd1t5s3i8p0q0k Query : use flama_phc
20240917@204609.4106 rr9n102c1cfgjd1t5s3i8p0q0k Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alfena n/p'
20240917@204609.4160 rr9n102c1cfgjd1t5s3i8p0q0k Query : use flama_phc
20240917@204609.4163 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from td where ndoc = 39
20240917@204609.4244 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240917@204609.4302 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204609.4578 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204609.4656 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204609.4674 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204609.4716 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204609.4732 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204609.4748 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204609.5034 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204609.5141 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204609.5160 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204609.5205 rr9n102c1cfgjd1t5s3i8p0q0k Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e9d3754866e9dc8173' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240917@204609.5454 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204609.5473 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204609.5514 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240917@204609.5614 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240917@204609.5697 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240917@204609.5773 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240917@204609.5851 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240917@204609.5924 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240917@204609.6001 rr9n102c1cfgjd1t5s3i8p0q0k Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e9d3754866e9dc8173',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240917@204609.6454 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 fno valor from wsftdata order by fno desc
20240917@204609.6752 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204609.6771 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204609.6798 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 'normal' from dummy
20240917@204609.6923 rr9n102c1cfgjd1t5s3i8p0q0k Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e9d3754866e9dc8173',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',784,101900,0,'2024-09-17',39,'euro',0,0,2024 ,?,?)
20240917@204609.8459 rr9n102c1cfgjd1t5s3i8p0q0k Query : use flama_phc
20240917@204609.8463 rr9n102c1cfgjd1t5s3i8p0q0k Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240917@204609.8597 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204609.8739 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204609.8758 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204609.8793 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204609.8809 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204609.8820 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204609.8861 rr9n102c1cfgjd1t5s3i8p0q0k Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '241001'
20240917@204609.8939 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204609.8956 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204609.8971 rr9n102c1cfgjd1t5s3i8p0q0k Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d2870966e9dc81da','aut66e9d3754866e9dc8173' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204609.9029 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204609.9045 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204609.9079 rr9n102c1cfgjd1t5s3i8p0q0k Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d2870966e9dc81da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e9d3754866e9dc8173' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240917@204609.9542 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204609.9559 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204609.9599 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204609.9636 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204609.9646 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204609.9660 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204609.9676 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204609.9688 rr9n102c1cfgjd1t5s3i8p0q0k Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d3883466e9dc81eb','aut66e9d3754866e9dc8173' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204609.9693 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204609.9711 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204609.9744 rr9n102c1cfgjd1t5s3i8p0q0k Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e9d3883466e9dc81eb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e9d3754866e9dc8173' ,0,0 ,2,23.00,20000,?,?,?)
20240917@204610.1900 rr9n102c1cfgjd1t5s3i8p0q0k Query : use flama_phc
20240917@204610.2200 rr9n102c1cfgjd1t5s3i8p0q0k Query : select st.usalote valor from st where st.ref = '324.4521.00.1'
20240917@204610.4800 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4521.00.1'
20240917@204610.2030 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.2220 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204610.2540 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.2690 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204610.2800 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204610.2940 rr9n102c1cfgjd1t5s3i8p0q0k Query : select sestamp valor from se where ref ='324.4521.00.1' and lote = 'r2400052200a'
20240917@204610.3810 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.4010 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204610.4150 rr9n102c1cfgjd1t5s3i8p0q0k Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d8630366e9dc8209','aut66e9d3754866e9dc8173' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204610.4200 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.4490 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204610.4810 rr9n102c1cfgjd1t5s3i8p0q0k Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d8630366e9dc8209',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66e9d3754866e9dc8173' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240917@204610.9120 rr9n102c1cfgjd1t5s3i8p0q0k Query : use flama_phc
20240917@204610.9160 rr9n102c1cfgjd1t5s3i8p0q0k Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20240917@204610.9480 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4960.00.1'
20240917@204610.1261 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.1427 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204610.1458 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.1477 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204610.1487 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204610.1502 rr9n102c1cfgjd1t5s3i8p0q0k Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20240917@204610.1545 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.1562 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204610.1577 rr9n102c1cfgjd1t5s3i8p0q0k Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d2013666e9dc8225','aut66e9d3754866e9dc8173' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204610.1582 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.1598 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204610.1632 rr9n102c1cfgjd1t5s3i8p0q0k Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d2013666e9dc8225',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66e9d3754866e9dc8173' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240917@204610.1897 rr9n102c1cfgjd1t5s3i8p0q0k Query : use flama_phc
20240917@204610.1901 rr9n102c1cfgjd1t5s3i8p0q0k Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240917@204610.1930 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20240917@204610.2083 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.2112 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204610.2142 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.2159 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204610.2170 rr9n102c1cfgjd1t5s3i8p0q0k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204610.2184 rr9n102c1cfgjd1t5s3i8p0q0k Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240647'
20240917@204610.2404 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.2426 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204610.2440 rr9n102c1cfgjd1t5s3i8p0q0k Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d8205666e9dc823a','aut66e9d3754866e9dc8173' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204610.2446 rr9n102c1cfgjd1t5s3i8p0q0k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.2465 rr9n102c1cfgjd1t5s3i8p0q0k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204610.2500 rr9n102c1cfgjd1t5s3i8p0q0k Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d8205666e9dc823a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66e9d3754866e9dc8173' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240917@204610.2771 rr9n102c1cfgjd1t5s3i8p0q0k Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e9d3754866e9dc8173','2405972','wait',39,'adm09112754980.682000002')
20240917@204610.2868 rr9n102c1cfgjd1t5s3i8p0q0k Query : use flama_phc
20240917@204610.2871 rr9n102c1cfgjd1t5s3i8p0q0k Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240917@204610.2905 rr9n102c1cfgjd1t5s3i8p0q0k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2044';
20240917@204610.2937 rr9n102c1cfgjd1t5s3i8p0q0k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2044';
20240917@204610.2980 rr9n102c1cfgjd1t5s3i8p0q0k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2044';
20240917@204610.3009 rr9n102c1cfgjd1t5s3i8p0q0k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2044';
20240917@204610.3575 ns414emsqhifc64ahvq3n70c69 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240917@204610.3589 ns414emsqhifc64ahvq3n70c69 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240917@204610.3647 ns414emsqhifc64ahvq3n70c69 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2045';
20240917@204610.3708 ns414emsqhifc64ahvq3n70c69 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2045';
20240917@204610.3766 ns414emsqhifc64ahvq3n70c69 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2045';
20240917@204610.3813 ns414emsqhifc64ahvq3n70c69 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2045';
20240917@204610.3871 ns414emsqhifc64ahvq3n70c69 Query : use flama_phc
20240917@204610.3874 ns414emsqhifc64ahvq3n70c69 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240917@204610.3950 ns414emsqhifc64ahvq3n70c69 Query : use flama_phc
20240917@204610.3954 ns414emsqhifc64ahvq3n70c69 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4804
20240917@204610.4000 ns414emsqhifc64ahvq3n70c69 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'
20240917@204610.4023 ns414emsqhifc64ahvq3n70c69 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405973 and bi.ref ='304.421.00.04' and bi.lordem =1
20240917@204610.4357 ns414emsqhifc64ahvq3n70c69 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'
20240917@204610.4380 ns414emsqhifc64ahvq3n70c69 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405973 and bi.ref ='304.421.00.04' and bi.lordem =1
20240917@204610.4400 ns414emsqhifc64ahvq3n70c69 Query : use flama_phc
20240917@204610.4404 ns414emsqhifc64ahvq3n70c69 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240917@204610.4443 ns414emsqhifc64ahvq3n70c69 Query : use flama_phc
20240917@204610.4446 ns414emsqhifc64ahvq3n70c69 Query : select top 1 1 valor from td where td.ndoc = 39
20240917@204610.4481 ns414emsqhifc64ahvq3n70c69 Query : use flama_phc
20240917@204610.4485 ns414emsqhifc64ahvq3n70c69 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')
20240917@204610.4516 ns414emsqhifc64ahvq3n70c69 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
20240917@204610.4626 ns414emsqhifc64ahvq3n70c69 Query : use flama_phc
20240917@204610.4668 ns414emsqhifc64ahvq3n70c69 Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20240917@204610.4932 ns414emsqhifc64ahvq3n70c69 Query : use flama_phc
20240917@204610.4937 ns414emsqhifc64ahvq3n70c69 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240917@204610.4973 ns414emsqhifc64ahvq3n70c69 Query : use flama_phc
20240917@204610.4977 ns414emsqhifc64ahvq3n70c69 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240917@204610.5020 ns414emsqhifc64ahvq3n70c69 Query : use flama_phc
20240917@204610.5024 ns414emsqhifc64ahvq3n70c69 Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alfena n/p'
20240917@204610.5078 ns414emsqhifc64ahvq3n70c69 Query : use flama_phc
20240917@204610.5081 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from td where ndoc = 39
20240917@204610.5096 ns414emsqhifc64ahvq3n70c69 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240917@204610.5126 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.5148 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204610.5170 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.5188 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204610.5220 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.5237 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204610.5252 ns414emsqhifc64ahvq3n70c69 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204610.5319 ns414emsqhifc64ahvq3n70c69 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204610.5333 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.5362 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204610.5381 ns414emsqhifc64ahvq3n70c69 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e9d1495266e9dc8280' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240917@204610.5689 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.5771 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204610.5811 ns414emsqhifc64ahvq3n70c69 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240917@204610.5826 ns414emsqhifc64ahvq3n70c69 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240917@204610.5840 ns414emsqhifc64ahvq3n70c69 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240917@204610.5854 ns414emsqhifc64ahvq3n70c69 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240917@204610.5872 ns414emsqhifc64ahvq3n70c69 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240917@204610.5887 ns414emsqhifc64ahvq3n70c69 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240917@204610.5937 ns414emsqhifc64ahvq3n70c69 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e9d1495266e9dc8280',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240917@204610.6202 ns414emsqhifc64ahvq3n70c69 Query : select top 1 fno valor from wsftdata order by fno desc
20240917@204610.6226 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.6245 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204610.6273 ns414emsqhifc64ahvq3n70c69 Query : select 'normal' from dummy
20240917@204610.6293 ns414emsqhifc64ahvq3n70c69 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e9d1495266e9dc8280',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',785,101900,0,'2024-09-17',39,'euro',0,0,2024 ,?,?)
20240917@204610.6598 ns414emsqhifc64ahvq3n70c69 Query : use flama_phc
20240917@204610.6601 ns414emsqhifc64ahvq3n70c69 Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240917@204610.6628 ns414emsqhifc64ahvq3n70c69 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204610.6645 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.6663 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204610.6692 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.6707 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204610.6717 ns414emsqhifc64ahvq3n70c69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204610.6729 ns414emsqhifc64ahvq3n70c69 Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '241001'
20240917@204610.6744 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.6761 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204610.6775 ns414emsqhifc64ahvq3n70c69 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d8747966e9dc82a4','aut66e9d1495266e9dc8280' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204610.6779 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.6796 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204610.6829 ns414emsqhifc64ahvq3n70c69 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d8747966e9dc82a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',44.000 ,'aut66e9d1495266e9dc8280' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240917@204610.7106 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.7125 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204610.7154 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.7170 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204610.7179 ns414emsqhifc64ahvq3n70c69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204610.7203 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.7239 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204610.7252 ns414emsqhifc64ahvq3n70c69 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d4912766e9dc82af','aut66e9d1495266e9dc8280' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204610.7257 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.7273 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204610.7305 ns414emsqhifc64ahvq3n70c69 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e9d4912766e9dc82af',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e9d1495266e9dc8280' ,0,0 ,2,23.00,20000,?,?,?)
20240917@204610.7583 ns414emsqhifc64ahvq3n70c69 Query : use flama_phc
20240917@204610.7587 ns414emsqhifc64ahvq3n70c69 Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240917@204610.7610 ns414emsqhifc64ahvq3n70c69 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204610.7628 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.7645 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204610.7675 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.7693 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204610.7702 ns414emsqhifc64ahvq3n70c69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204610.7716 ns414emsqhifc64ahvq3n70c69 Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '241001'
20240917@204610.7731 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.7749 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204610.7762 ns414emsqhifc64ahvq3n70c69 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d3271766e9dc82bc','aut66e9d1495266e9dc8280' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204610.7766 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.7806 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204610.7884 ns414emsqhifc64ahvq3n70c69 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d3271766e9dc82bc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut66e9d1495266e9dc8280' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240917@204610.8392 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.8411 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204610.8443 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.8460 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204610.8469 ns414emsqhifc64ahvq3n70c69 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204610.8485 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.8502 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204610.8517 ns414emsqhifc64ahvq3n70c69 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d7251566e9dc82cf','aut66e9d1495266e9dc8280' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204610.8522 ns414emsqhifc64ahvq3n70c69 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204610.8540 ns414emsqhifc64ahvq3n70c69 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204610.8570 ns414emsqhifc64ahvq3n70c69 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e9d7251566e9dc82cf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e9d1495266e9dc8280' ,0,0 ,2,23.00,50000,?,?,?)
20240917@204610.8834 ns414emsqhifc64ahvq3n70c69 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e9d1495266e9dc8280','2405973','wait',39,'adm09112754980.682000002')
20240917@204610.8912 ns414emsqhifc64ahvq3n70c69 Query : use flama_phc
20240917@204610.8915 ns414emsqhifc64ahvq3n70c69 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240917@204610.8953 ns414emsqhifc64ahvq3n70c69 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2045';
20240917@204610.8987 ns414emsqhifc64ahvq3n70c69 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2045';
20240917@204610.9031 ns414emsqhifc64ahvq3n70c69 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2045';
20240917@204610.9058 ns414emsqhifc64ahvq3n70c69 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2045';
20240917@204610.9612 abe0c1e6umvdbammp7folfk7c2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240917@204610.9624 abe0c1e6umvdbammp7folfk7c2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240917@204610.9681 abe0c1e6umvdbammp7folfk7c2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2046';
20240917@204610.9806 abe0c1e6umvdbammp7folfk7c2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2046';
20240917@204610.9864 abe0c1e6umvdbammp7folfk7c2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2046';
20240917@204610.9893 abe0c1e6umvdbammp7folfk7c2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2046';
20240917@204610.9947 abe0c1e6umvdbammp7folfk7c2 Query : use flama_phc
20240917@204610.9951 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240917@204611.3200 abe0c1e6umvdbammp7folfk7c2 Query : use flama_phc
20240917@204611.3500 abe0c1e6umvdbammp7folfk7c2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6562
20240917@204611.1520 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20240917@204611.3150 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405987 and bi.ref ='324.5540.00.1' and bi.lordem =1
20240917@204611.6450 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2031.00.1'
20240917@204611.1155 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405987 and bi.ref ='324.2031.00.1' and bi.lordem =2
20240917@204611.2507 abe0c1e6umvdbammp7folfk7c2 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'
20240917@204611.2735 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405987 and bi.ref ='324.958.00.01' and bi.lordem =3
20240917@204611.3067 abe0c1e6umvdbammp7folfk7c2 Query : use flama_phc
20240917@204611.3071 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240917@204611.3140 abe0c1e6umvdbammp7folfk7c2 Query : use flama_phc
20240917@204611.3143 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 1 valor from td where td.ndoc = 39
20240917@204611.3176 abe0c1e6umvdbammp7folfk7c2 Query : use flama_phc
20240917@204611.3179 abe0c1e6umvdbammp7folfk7c2 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')
20240917@204611.3210 abe0c1e6umvdbammp7folfk7c2 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
20240917@204611.3247 abe0c1e6umvdbammp7folfk7c2 Query : use flama_phc
20240917@204611.3250 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 ~inactivo valor from cl where no = '100986' and estab = 0 order by inactivo desc
20240917@204611.3434 abe0c1e6umvdbammp7folfk7c2 Query : use flama_phc
20240917@204611.3438 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240917@204611.3473 abe0c1e6umvdbammp7folfk7c2 Query : use flama_phc
20240917@204611.3477 abe0c1e6umvdbammp7folfk7c2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240917@204611.3522 abe0c1e6umvdbammp7folfk7c2 Query : use flama_phc
20240917@204611.3525 abe0c1e6umvdbammp7folfk7c2 Query : select szadrsstamp valor from szadrs where szadrsdesc='manuel farinha antonio - 2'
20240917@204611.3578 abe0c1e6umvdbammp7folfk7c2 Query : use flama_phc
20240917@204611.3581 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from td where ndoc = 39
20240917@204611.3596 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240917@204611.3613 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.3635 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204611.3686 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.3702 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204611.3733 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.3750 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204611.3765 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204611.3844 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204611.3862 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.3879 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204611.3899 abe0c1e6umvdbammp7folfk7c2 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e9d5377966e9dc835b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240917@204611.4086 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.4105 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204611.4143 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240917@204611.4160 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240917@204611.4179 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240917@204611.4220 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240917@204611.4233 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240917@204611.4248 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240917@204611.4261 abe0c1e6umvdbammp7folfk7c2 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e9d5377966e9dc835b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240917@204611.4534 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 fno valor from wsftdata order by fno desc
20240917@204611.4556 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.4574 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204611.4599 abe0c1e6umvdbammp7folfk7c2 Query : select 'normal' from dummy
20240917@204611.4642 abe0c1e6umvdbammp7folfk7c2 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e9d5377966e9dc835b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',786,100986,0,'2024-09-17',39,'euro',0,0,2024 ,?,?)
20240917@204611.4961 abe0c1e6umvdbammp7folfk7c2 Query : use flama_phc
20240917@204611.4965 abe0c1e6umvdbammp7folfk7c2 Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20240917@204611.4993 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5540.00.1'
20240917@204611.5150 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.5169 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204611.5197 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.5213 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204611.5222 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204611.5236 abe0c1e6umvdbammp7folfk7c2 Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2300830100a'
20240917@204611.5265 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.5282 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204611.5297 abe0c1e6umvdbammp7folfk7c2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d9597266e9dc8380','aut66e9d5377966e9dc835b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204611.5309 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.5326 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204611.5359 abe0c1e6umvdbammp7folfk7c2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d9597266e9dc8380',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e9d5377966e9dc835b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240917@204611.5718 abe0c1e6umvdbammp7folfk7c2 Query : use flama_phc
20240917@204611.5722 abe0c1e6umvdbammp7folfk7c2 Query : select st.usalote valor from st where st.ref = '324.2031.00.1'
20240917@204611.5746 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2031.00.1'
20240917@204611.5951 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.5970 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204611.6101 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.6120 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204611.6131 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204611.6239 abe0c1e6umvdbammp7folfk7c2 Query : select sestamp valor from se where ref ='324.2031.00.1' and lote = 'r2100232100a'
20240917@204611.6290 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.6308 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204611.6321 abe0c1e6umvdbammp7folfk7c2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d0297866e9dc8399','aut66e9d5377966e9dc835b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204611.6325 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.6342 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204611.6376 abe0c1e6umvdbammp7folfk7c2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d0297866e9dc8399',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66e9d5377966e9dc835b' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240917@204611.6694 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.6714 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204611.6744 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.6759 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204611.6770 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204611.6785 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.6800 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204611.6816 abe0c1e6umvdbammp7folfk7c2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d4450266e9dc83a5','aut66e9d5377966e9dc835b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204611.6821 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.6838 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204611.6870 abe0c1e6umvdbammp7folfk7c2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e9d4450266e9dc83a5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e9d5377966e9dc835b' ,0,0 ,2,23.00,30000,?,?,?)
20240917@204611.7147 abe0c1e6umvdbammp7folfk7c2 Query : use flama_phc
20240917@204611.7150 abe0c1e6umvdbammp7folfk7c2 Query : select st.usalote valor from st where st.ref = '324.958.00.01'
20240917@204611.7173 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204611.7335 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.7354 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204611.7397 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.7413 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204611.7422 abe0c1e6umvdbammp7folfk7c2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204611.7436 abe0c1e6umvdbammp7folfk7c2 Query : select sestamp valor from se where ref ='324.958.00.01' and lote = 'r2400240200a'
20240917@204611.7460 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.7476 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204611.7491 abe0c1e6umvdbammp7folfk7c2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d9006766e9dc83b6','aut66e9d5377966e9dc835b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204611.7495 abe0c1e6umvdbammp7folfk7c2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204611.7511 abe0c1e6umvdbammp7folfk7c2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204611.7550 abe0c1e6umvdbammp7folfk7c2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d9006766e9dc83b6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e9d5377966e9dc835b' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240917@204611.7814 abe0c1e6umvdbammp7folfk7c2 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e9d5377966e9dc835b','2405987','wait',39,'adm09112754980.682000002')
20240917@204611.7930 abe0c1e6umvdbammp7folfk7c2 Query : use flama_phc
20240917@204611.7934 abe0c1e6umvdbammp7folfk7c2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240917@204611.7967 abe0c1e6umvdbammp7folfk7c2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2046';
20240917@204611.8003 abe0c1e6umvdbammp7folfk7c2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2046';
20240917@204611.8048 abe0c1e6umvdbammp7folfk7c2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2046';
20240917@204611.8074 abe0c1e6umvdbammp7folfk7c2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2046';
20240917@204611.8634 lpkicmdaee7puf9srg70r9lodp Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240917@204611.8648 lpkicmdaee7puf9srg70r9lodp Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240917@204611.8708 lpkicmdaee7puf9srg70r9lodp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2047';
20240917@204611.8768 lpkicmdaee7puf9srg70r9lodp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2047';
20240917@204611.8827 lpkicmdaee7puf9srg70r9lodp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2047';
20240917@204611.8858 lpkicmdaee7puf9srg70r9lodp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2047';
20240917@204611.8911 lpkicmdaee7puf9srg70r9lodp Query : use flama_phc
20240917@204611.8915 lpkicmdaee7puf9srg70r9lodp Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240917@204611.8986 lpkicmdaee7puf9srg70r9lodp Query : use flama_phc
20240917@204611.8989 lpkicmdaee7puf9srg70r9lodp Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240917@204611.9078 lpkicmdaee7puf9srg70r9lodp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20240917@204611.9308 lpkicmdaee7puf9srg70r9lodp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405988 and bi.ref ='324.1803.00.1' and bi.lordem =1
20240917@204611.9638 lpkicmdaee7puf9srg70r9lodp Query : use flama_phc
20240917@204611.9642 lpkicmdaee7puf9srg70r9lodp Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240917@204611.9679 lpkicmdaee7puf9srg70r9lodp Query : use flama_phc
20240917@204611.9683 lpkicmdaee7puf9srg70r9lodp Query : select top 1 1 valor from td where td.ndoc = 39
20240917@204611.9718 lpkicmdaee7puf9srg70r9lodp Query : use flama_phc
20240917@204611.9722 lpkicmdaee7puf9srg70r9lodp 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')
20240917@204611.9750 lpkicmdaee7puf9srg70r9lodp 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
20240917@204611.9787 lpkicmdaee7puf9srg70r9lodp Query : use flama_phc
20240917@204611.9790 lpkicmdaee7puf9srg70r9lodp Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20240917@204611.9947 lpkicmdaee7puf9srg70r9lodp Query : use flama_phc
20240917@204611.9950 lpkicmdaee7puf9srg70r9lodp Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240917@204611.9984 lpkicmdaee7puf9srg70r9lodp Query : use flama_phc
20240917@204611.9988 lpkicmdaee7puf9srg70r9lodp Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240917@204612.4200 lpkicmdaee7puf9srg70r9lodp Query : use flama_phc
20240917@204612.4600 lpkicmdaee7puf9srg70r9lodp Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20240917@204612.1010 lpkicmdaee7puf9srg70r9lodp Query : use flama_phc
20240917@204612.1040 lpkicmdaee7puf9srg70r9lodp Query : select 1 valor from td where ndoc = 39
20240917@204612.1180 lpkicmdaee7puf9srg70r9lodp Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240917@204612.1330 lpkicmdaee7puf9srg70r9lodp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.1510 lpkicmdaee7puf9srg70r9lodp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204612.1710 lpkicmdaee7puf9srg70r9lodp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.1900 lpkicmdaee7puf9srg70r9lodp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204612.2190 lpkicmdaee7puf9srg70r9lodp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.2360 lpkicmdaee7puf9srg70r9lodp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204612.2500 lpkicmdaee7puf9srg70r9lodp Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204612.3170 lpkicmdaee7puf9srg70r9lodp Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204612.3310 lpkicmdaee7puf9srg70r9lodp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.3490 lpkicmdaee7puf9srg70r9lodp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204612.3640 lpkicmdaee7puf9srg70r9lodp Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e9d9888166e9dc8406' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240917@204612.5450 lpkicmdaee7puf9srg70r9lodp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.5620 lpkicmdaee7puf9srg70r9lodp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204612.6200 lpkicmdaee7puf9srg70r9lodp Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240917@204612.6370 lpkicmdaee7puf9srg70r9lodp Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240917@204612.6510 lpkicmdaee7puf9srg70r9lodp Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240917@204612.6650 lpkicmdaee7puf9srg70r9lodp Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240917@204612.6770 lpkicmdaee7puf9srg70r9lodp Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240917@204612.7910 lpkicmdaee7puf9srg70r9lodp Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240917@204612.8080 lpkicmdaee7puf9srg70r9lodp Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e9d9888166e9dc8406',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240917@204612.1123 lpkicmdaee7puf9srg70r9lodp Query : select top 1 fno valor from wsftdata order by fno desc
20240917@204612.1184 lpkicmdaee7puf9srg70r9lodp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.1302 lpkicmdaee7puf9srg70r9lodp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204612.1328 lpkicmdaee7puf9srg70r9lodp Query : select 'normal' from dummy
20240917@204612.1345 lpkicmdaee7puf9srg70r9lodp Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e9d9888166e9dc8406',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',787,101597,0,'2024-09-17',39,'euro',0,0,2024 ,?,?)
20240917@204612.1796 lpkicmdaee7puf9srg70r9lodp Query : use flama_phc
20240917@204612.1801 lpkicmdaee7puf9srg70r9lodp Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20240917@204612.1826 lpkicmdaee7puf9srg70r9lodp Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1803.00.1'
20240917@204612.1989 lpkicmdaee7puf9srg70r9lodp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.2008 lpkicmdaee7puf9srg70r9lodp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204612.2037 lpkicmdaee7puf9srg70r9lodp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.2054 lpkicmdaee7puf9srg70r9lodp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204612.2065 lpkicmdaee7puf9srg70r9lodp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204612.2106 lpkicmdaee7puf9srg70r9lodp Query : select sestamp valor from se where ref ='324.1803.00.1' and lote = 'r2301274200a'
20240917@204612.2136 lpkicmdaee7puf9srg70r9lodp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.2152 lpkicmdaee7puf9srg70r9lodp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204612.2168 lpkicmdaee7puf9srg70r9lodp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d8038666e9dc8434','aut66e9d9888166e9dc8406' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204612.2172 lpkicmdaee7puf9srg70r9lodp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.2190 lpkicmdaee7puf9srg70r9lodp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204612.2229 lpkicmdaee7puf9srg70r9lodp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d8038666e9dc8434',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e9d9888166e9dc8406' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240917@204612.2522 lpkicmdaee7puf9srg70r9lodp Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e9d9888166e9dc8406','2405988','wait',39,'adm09112754980.682000002')
20240917@204612.2602 lpkicmdaee7puf9srg70r9lodp Query : use flama_phc
20240917@204612.2606 lpkicmdaee7puf9srg70r9lodp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240917@204612.2642 lpkicmdaee7puf9srg70r9lodp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2047';
20240917@204612.2676 lpkicmdaee7puf9srg70r9lodp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2047';
20240917@204612.2719 lpkicmdaee7puf9srg70r9lodp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2047';
20240917@204612.2745 lpkicmdaee7puf9srg70r9lodp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2047';
20240917@204612.3345 udk4ogg7l0im8suof1rd1r931a Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240917@204612.3357 udk4ogg7l0im8suof1rd1r931a Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240917@204612.3416 udk4ogg7l0im8suof1rd1r931a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2048';
20240917@204612.3479 udk4ogg7l0im8suof1rd1r931a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2048';
20240917@204612.3730 udk4ogg7l0im8suof1rd1r931a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2048';
20240917@204612.3781 udk4ogg7l0im8suof1rd1r931a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2048';
20240917@204612.3834 udk4ogg7l0im8suof1rd1r931a Query : use flama_phc
20240917@204612.3838 udk4ogg7l0im8suof1rd1r931a Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240917@204612.3910 udk4ogg7l0im8suof1rd1r931a Query : use flama_phc
20240917@204612.3913 udk4ogg7l0im8suof1rd1r931a Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20240917@204612.4000 udk4ogg7l0im8suof1rd1r931a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9326.00.1'
20240917@204612.4165 udk4ogg7l0im8suof1rd1r931a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405989 and bi.ref ='328.9326.00.1' and bi.lordem =1
20240917@204612.5471 udk4ogg7l0im8suof1rd1r931a Query : use flama_phc
20240917@204612.5476 udk4ogg7l0im8suof1rd1r931a Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240917@204612.5517 udk4ogg7l0im8suof1rd1r931a Query : use flama_phc
20240917@204612.5520 udk4ogg7l0im8suof1rd1r931a Query : select top 1 1 valor from td where td.ndoc = 39
20240917@204612.5572 udk4ogg7l0im8suof1rd1r931a Query : use flama_phc
20240917@204612.5575 udk4ogg7l0im8suof1rd1r931a 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')
20240917@204612.5626 udk4ogg7l0im8suof1rd1r931a 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
20240917@204612.5671 udk4ogg7l0im8suof1rd1r931a Query : use flama_phc
20240917@204612.5674 udk4ogg7l0im8suof1rd1r931a Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240917@204612.5825 udk4ogg7l0im8suof1rd1r931a Query : use flama_phc
20240917@204612.5829 udk4ogg7l0im8suof1rd1r931a Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240917@204612.5862 udk4ogg7l0im8suof1rd1r931a Query : use flama_phc
20240917@204612.5865 udk4ogg7l0im8suof1rd1r931a Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240917@204612.5908 udk4ogg7l0im8suof1rd1r931a Query : use flama_phc
20240917@204612.5912 udk4ogg7l0im8suof1rd1r931a Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20240917@204612.6005 udk4ogg7l0im8suof1rd1r931a Query : use flama_phc
20240917@204612.6008 udk4ogg7l0im8suof1rd1r931a Query : select 1 valor from td where ndoc = 39
20240917@204612.6022 udk4ogg7l0im8suof1rd1r931a Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240917@204612.6037 udk4ogg7l0im8suof1rd1r931a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.6056 udk4ogg7l0im8suof1rd1r931a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204612.6077 udk4ogg7l0im8suof1rd1r931a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.6093 udk4ogg7l0im8suof1rd1r931a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204612.6140 udk4ogg7l0im8suof1rd1r931a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.6157 udk4ogg7l0im8suof1rd1r931a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204612.6171 udk4ogg7l0im8suof1rd1r931a Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204612.6240 udk4ogg7l0im8suof1rd1r931a Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204612.6256 udk4ogg7l0im8suof1rd1r931a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.6280 udk4ogg7l0im8suof1rd1r931a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204612.6299 udk4ogg7l0im8suof1rd1r931a Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e9d3393566e9dc8496' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240917@204612.6480 udk4ogg7l0im8suof1rd1r931a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.6499 udk4ogg7l0im8suof1rd1r931a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204612.6549 udk4ogg7l0im8suof1rd1r931a Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240917@204612.6563 udk4ogg7l0im8suof1rd1r931a Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240917@204612.6576 udk4ogg7l0im8suof1rd1r931a Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240917@204612.6590 udk4ogg7l0im8suof1rd1r931a Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240917@204612.6605 udk4ogg7l0im8suof1rd1r931a Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240917@204612.6619 udk4ogg7l0im8suof1rd1r931a Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240917@204612.6635 udk4ogg7l0im8suof1rd1r931a Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e9d3393566e9dc8496',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240917@204612.6970 udk4ogg7l0im8suof1rd1r931a Query : select top 1 fno valor from wsftdata order by fno desc
20240917@204612.6994 udk4ogg7l0im8suof1rd1r931a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.7013 udk4ogg7l0im8suof1rd1r931a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204612.7040 udk4ogg7l0im8suof1rd1r931a Query : select 'normal' from dummy
20240917@204612.7061 udk4ogg7l0im8suof1rd1r931a Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e9d3393566e9dc8496',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',788,100810,0,'2024-09-17',39,'euro',0,0,2024 ,?,?)
20240917@204612.7502 udk4ogg7l0im8suof1rd1r931a Query : use flama_phc
20240917@204612.7505 udk4ogg7l0im8suof1rd1r931a Query : select st.usalote valor from st where st.ref = '328.9326.00.1'
20240917@204612.7531 udk4ogg7l0im8suof1rd1r931a Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9326.00.1'
20240917@204612.7761 udk4ogg7l0im8suof1rd1r931a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.7777 udk4ogg7l0im8suof1rd1r931a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204612.7804 udk4ogg7l0im8suof1rd1r931a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.7819 udk4ogg7l0im8suof1rd1r931a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204612.7828 udk4ogg7l0im8suof1rd1r931a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204612.7840 udk4ogg7l0im8suof1rd1r931a Query : select sestamp valor from se where ref ='328.9326.00.1' and lote = 'r2300691100a'
20240917@204612.7877 udk4ogg7l0im8suof1rd1r931a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.7891 udk4ogg7l0im8suof1rd1r931a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204612.7903 udk4ogg7l0im8suof1rd1r931a Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d1034166e9dc84c0','aut66e9d3393566e9dc8496' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204612.7907 udk4ogg7l0im8suof1rd1r931a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.7922 udk4ogg7l0im8suof1rd1r931a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204612.7952 udk4ogg7l0im8suof1rd1r931a Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d1034166e9dc84c0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e9d3393566e9dc8496' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240917@204612.8218 udk4ogg7l0im8suof1rd1r931a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.8235 udk4ogg7l0im8suof1rd1r931a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204612.8265 udk4ogg7l0im8suof1rd1r931a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.8281 udk4ogg7l0im8suof1rd1r931a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204612.8292 udk4ogg7l0im8suof1rd1r931a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204612.8304 udk4ogg7l0im8suof1rd1r931a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.8318 udk4ogg7l0im8suof1rd1r931a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204612.8330 udk4ogg7l0im8suof1rd1r931a Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d1288566e9dc84ca','aut66e9d3393566e9dc8496' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204612.8335 udk4ogg7l0im8suof1rd1r931a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204612.8350 udk4ogg7l0im8suof1rd1r931a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204612.8379 udk4ogg7l0im8suof1rd1r931a Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e9d1288566e9dc84ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e9d3393566e9dc8496' ,0,0 ,2,23.00,20000,?,?,?)
20240917@204612.8633 udk4ogg7l0im8suof1rd1r931a Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e9d3393566e9dc8496','2405989','wait',39,'adm09112754980.682000002')
20240917@204612.8706 udk4ogg7l0im8suof1rd1r931a Query : use flama_phc
20240917@204612.8709 udk4ogg7l0im8suof1rd1r931a Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240917@204612.8745 udk4ogg7l0im8suof1rd1r931a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2048';
20240917@204612.8775 udk4ogg7l0im8suof1rd1r931a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2048';
20240917@204612.8819 udk4ogg7l0im8suof1rd1r931a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2048';
20240917@204612.8845 udk4ogg7l0im8suof1rd1r931a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2048';
20240917@204612.9385 np55v8mdvrq49kpppuessk2omk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240917@204612.9398 np55v8mdvrq49kpppuessk2omk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240917@204612.9456 np55v8mdvrq49kpppuessk2omk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2049';
20240917@204612.9514 np55v8mdvrq49kpppuessk2omk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2049';
20240917@204612.9566 np55v8mdvrq49kpppuessk2omk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2049';
20240917@204612.9594 np55v8mdvrq49kpppuessk2omk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2049';
20240917@204612.9645 np55v8mdvrq49kpppuessk2omk Query : use flama_phc
20240917@204612.9648 np55v8mdvrq49kpppuessk2omk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240917@204612.9716 np55v8mdvrq49kpppuessk2omk Query : use flama_phc
20240917@204612.9719 np55v8mdvrq49kpppuessk2omk Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240917@204612.9805 np55v8mdvrq49kpppuessk2omk 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'
20240917@204612.9962 np55v8mdvrq49kpppuessk2omk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405992 and bi.ref ='324.1667.00.1' and bi.lordem =1
20240917@204613.2880 np55v8mdvrq49kpppuessk2omk Query : use flama_phc
20240917@204613.2910 np55v8mdvrq49kpppuessk2omk Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240917@204613.3250 np55v8mdvrq49kpppuessk2omk Query : use flama_phc
20240917@204613.3280 np55v8mdvrq49kpppuessk2omk Query : select top 1 1 valor from td where td.ndoc = 39
20240917@204613.3610 np55v8mdvrq49kpppuessk2omk Query : use flama_phc
20240917@204613.3640 np55v8mdvrq49kpppuessk2omk 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')
20240917@204613.3940 np55v8mdvrq49kpppuessk2omk 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
20240917@204613.4420 np55v8mdvrq49kpppuessk2omk Query : use flama_phc
20240917@204613.4450 np55v8mdvrq49kpppuessk2omk Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240917@204613.4780 np55v8mdvrq49kpppuessk2omk Query : use flama_phc
20240917@204613.4810 np55v8mdvrq49kpppuessk2omk Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240917@204613.5150 np55v8mdvrq49kpppuessk2omk Query : use flama_phc
20240917@204613.5180 np55v8mdvrq49kpppuessk2omk Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240917@204613.5640 np55v8mdvrq49kpppuessk2omk Query : use flama_phc
20240917@204613.5680 np55v8mdvrq49kpppuessk2omk Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240917@204613.6190 np55v8mdvrq49kpppuessk2omk Query : use flama_phc
20240917@204613.6220 np55v8mdvrq49kpppuessk2omk Query : select 1 valor from td where ndoc = 39
20240917@204613.6360 np55v8mdvrq49kpppuessk2omk Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240917@204613.6530 np55v8mdvrq49kpppuessk2omk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204613.6710 np55v8mdvrq49kpppuessk2omk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204613.6910 np55v8mdvrq49kpppuessk2omk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204613.7060 np55v8mdvrq49kpppuessk2omk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204613.7360 np55v8mdvrq49kpppuessk2omk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204613.7510 np55v8mdvrq49kpppuessk2omk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204613.7640 np55v8mdvrq49kpppuessk2omk Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204613.8320 np55v8mdvrq49kpppuessk2omk Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204613.8460 np55v8mdvrq49kpppuessk2omk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204613.8630 np55v8mdvrq49kpppuessk2omk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204613.8800 np55v8mdvrq49kpppuessk2omk Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e9d9953566e9dc8512' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240917@204613.1060 np55v8mdvrq49kpppuessk2omk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204613.1079 np55v8mdvrq49kpppuessk2omk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204613.1113 np55v8mdvrq49kpppuessk2omk Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240917@204613.1128 np55v8mdvrq49kpppuessk2omk Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240917@204613.1139 np55v8mdvrq49kpppuessk2omk Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240917@204613.1152 np55v8mdvrq49kpppuessk2omk Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240917@204613.1164 np55v8mdvrq49kpppuessk2omk Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240917@204613.1177 np55v8mdvrq49kpppuessk2omk Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240917@204613.1190 np55v8mdvrq49kpppuessk2omk Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e9d9953566e9dc8512',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240917@204613.1577 np55v8mdvrq49kpppuessk2omk Query : select top 1 fno valor from wsftdata order by fno desc
20240917@204613.1612 np55v8mdvrq49kpppuessk2omk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204613.1630 np55v8mdvrq49kpppuessk2omk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204613.1656 np55v8mdvrq49kpppuessk2omk Query : select 'normal' from dummy
20240917@204613.1673 np55v8mdvrq49kpppuessk2omk Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e9d9953566e9dc8512',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',789,100810,0,'2024-09-17',39,'euro',0,0,2024 ,?,?)
20240917@204613.2091 np55v8mdvrq49kpppuessk2omk Query : use flama_phc
20240917@204613.2095 np55v8mdvrq49kpppuessk2omk Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20240917@204613.2157 np55v8mdvrq49kpppuessk2omk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204613.2314 np55v8mdvrq49kpppuessk2omk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204613.2332 np55v8mdvrq49kpppuessk2omk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204613.2361 np55v8mdvrq49kpppuessk2omk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204613.2378 np55v8mdvrq49kpppuessk2omk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204613.2392 np55v8mdvrq49kpppuessk2omk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204613.2405 np55v8mdvrq49kpppuessk2omk Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2400065200a'
20240917@204613.2426 np55v8mdvrq49kpppuessk2omk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204613.2444 np55v8mdvrq49kpppuessk2omk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204613.2458 np55v8mdvrq49kpppuessk2omk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d9041966e9dc853b','aut66e9d9953566e9dc8512' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204613.2463 np55v8mdvrq49kpppuessk2omk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204613.2479 np55v8mdvrq49kpppuessk2omk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204613.2511 np55v8mdvrq49kpppuessk2omk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d9041966e9dc853b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66e9d9953566e9dc8512' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240917@204613.2779 np55v8mdvrq49kpppuessk2omk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204613.2796 np55v8mdvrq49kpppuessk2omk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204613.2824 np55v8mdvrq49kpppuessk2omk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204613.2841 np55v8mdvrq49kpppuessk2omk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204613.2851 np55v8mdvrq49kpppuessk2omk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204613.2866 np55v8mdvrq49kpppuessk2omk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204613.2882 np55v8mdvrq49kpppuessk2omk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204613.2897 np55v8mdvrq49kpppuessk2omk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d6504666e9dc8545','aut66e9d9953566e9dc8512' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204613.2902 np55v8mdvrq49kpppuessk2omk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204613.2919 np55v8mdvrq49kpppuessk2omk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204613.2953 np55v8mdvrq49kpppuessk2omk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e9d6504666e9dc8545',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e9d9953566e9dc8512' ,0,0 ,2,23.00,20000,?,?,?)
20240917@204613.3211 np55v8mdvrq49kpppuessk2omk Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e9d9953566e9dc8512','2405992','wait',39,'adm09112754980.682000002')
20240917@204613.3296 np55v8mdvrq49kpppuessk2omk Query : use flama_phc
20240917@204613.3300 np55v8mdvrq49kpppuessk2omk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240917@204613.3334 np55v8mdvrq49kpppuessk2omk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2049';
20240917@204613.3365 np55v8mdvrq49kpppuessk2omk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2049';
20240917@204613.3409 np55v8mdvrq49kpppuessk2omk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2049';
20240917@204613.3435 np55v8mdvrq49kpppuessk2omk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2049';
20240917@204613.4862 02fk8q5guscuqqrm6d0h1a2rc7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240917@204613.4876 02fk8q5guscuqqrm6d0h1a2rc7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240917@204613.4932 02fk8q5guscuqqrm6d0h1a2rc7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2050';
20240917@204613.4992 02fk8q5guscuqqrm6d0h1a2rc7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2050';
20240917@204613.5294 02fk8q5guscuqqrm6d0h1a2rc7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2050';
20240917@204613.5328 02fk8q5guscuqqrm6d0h1a2rc7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2050';
20240917@204613.6562 02fk8q5guscuqqrm6d0h1a2rc7 Query : use flama_phc
20240917@204613.6568 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240917@204613.6719 02fk8q5guscuqqrm6d0h1a2rc7 Query : use flama_phc
20240917@204613.6760 02fk8q5guscuqqrm6d0h1a2rc7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=416
20240917@204613.7092 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '323.318.09.00'
20240917@204613.7304 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405997 and bi.ref ='323.318.09.00' and bi.lordem =1
20240917@204613.7853 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '323.318.09.00'
20240917@204613.7895 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405997 and bi.ref ='323.318.09.00' and bi.lordem =1
20240917@204613.7954 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '323.318.09.00'
20240917@204613.8041 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405997 and bi.ref ='323.318.09.00' and bi.lordem =2
20240917@204613.8615 02fk8q5guscuqqrm6d0h1a2rc7 Query : use flama_phc
20240917@204613.8620 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240917@204613.8680 02fk8q5guscuqqrm6d0h1a2rc7 Query : use flama_phc
20240917@204613.8683 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 1 valor from td where td.ndoc = 39
20240917@204613.8718 02fk8q5guscuqqrm6d0h1a2rc7 Query : use flama_phc
20240917@204613.8721 02fk8q5guscuqqrm6d0h1a2rc7 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')
20240917@204613.8770 02fk8q5guscuqqrm6d0h1a2rc7 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
20240917@204613.8814 02fk8q5guscuqqrm6d0h1a2rc7 Query : use flama_phc
20240917@204613.8817 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 ~inactivo valor from cl where no = '102079' and estab = 0 order by inactivo desc
20240917@204613.8947 02fk8q5guscuqqrm6d0h1a2rc7 Query : use flama_phc
20240917@204613.8950 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240917@204613.8986 02fk8q5guscuqqrm6d0h1a2rc7 Query : use flama_phc
20240917@204613.8989 02fk8q5guscuqqrm6d0h1a2rc7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240917@204613.9033 02fk8q5guscuqqrm6d0h1a2rc7 Query : use flama_phc
20240917@204613.9037 02fk8q5guscuqqrm6d0h1a2rc7 Query : select szadrsstamp valor from szadrs where szadrsdesc='bragajav, lda.'
20240917@204613.9087 02fk8q5guscuqqrm6d0h1a2rc7 Query : use flama_phc
20240917@204613.9091 02fk8q5guscuqqrm6d0h1a2rc7 Query : select 1 valor from td where ndoc = 39
20240917@204613.9105 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240917@204613.9121 02fk8q5guscuqqrm6d0h1a2rc7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204613.9141 02fk8q5guscuqqrm6d0h1a2rc7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204613.9161 02fk8q5guscuqqrm6d0h1a2rc7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204613.9191 02fk8q5guscuqqrm6d0h1a2rc7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204613.9223 02fk8q5guscuqqrm6d0h1a2rc7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204613.9240 02fk8q5guscuqqrm6d0h1a2rc7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204613.9254 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204613.9320 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204613.9360 02fk8q5guscuqqrm6d0h1a2rc7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204613.9389 02fk8q5guscuqqrm6d0h1a2rc7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204613.9406 02fk8q5guscuqqrm6d0h1a2rc7 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e9d4596366e9dc85e1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240917@204613.9703 02fk8q5guscuqqrm6d0h1a2rc7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204613.9808 02fk8q5guscuqqrm6d0h1a2rc7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204613.9882 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240917@204613.9897 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240917@204613.9911 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240917@204613.9924 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240917@204613.9937 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240917@204613.9950 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240917@204613.9962 02fk8q5guscuqqrm6d0h1a2rc7 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e9d4596366e9dc85e1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240917@204614.2170 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 fno valor from wsftdata order by fno desc
20240917@204614.2420 02fk8q5guscuqqrm6d0h1a2rc7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.2590 02fk8q5guscuqqrm6d0h1a2rc7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204614.2850 02fk8q5guscuqqrm6d0h1a2rc7 Query : select 'normal' from dummy
20240917@204614.3020 02fk8q5guscuqqrm6d0h1a2rc7 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e9d4596366e9dc85e1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',790,102079,0,'2024-09-17',39,'euro',0,0,2024 ,?,?)
20240917@204614.6030 02fk8q5guscuqqrm6d0h1a2rc7 Query : use flama_phc
20240917@204614.6060 02fk8q5guscuqqrm6d0h1a2rc7 Query : select st.usalote valor from st where st.ref = '323.318.09.00'
20240917@204614.6340 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '323.318.09.00'
20240917@204614.7850 02fk8q5guscuqqrm6d0h1a2rc7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.8050 02fk8q5guscuqqrm6d0h1a2rc7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204614.8370 02fk8q5guscuqqrm6d0h1a2rc7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.8540 02fk8q5guscuqqrm6d0h1a2rc7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204614.8660 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204614.8800 02fk8q5guscuqqrm6d0h1a2rc7 Query : select sestamp valor from se where ref ='323.318.09.00' and lote = 'r2400053200a'
20240917@204614.8960 02fk8q5guscuqqrm6d0h1a2rc7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.9120 02fk8q5guscuqqrm6d0h1a2rc7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204614.9250 02fk8q5guscuqqrm6d0h1a2rc7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d7838566e9dc8615','aut66e9d4596366e9dc85e1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204614.9300 02fk8q5guscuqqrm6d0h1a2rc7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.9480 02fk8q5guscuqqrm6d0h1a2rc7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204614.9810 02fk8q5guscuqqrm6d0h1a2rc7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d7838566e9dc8615',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut66e9d4596366e9dc85e1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240917@204614.1258 02fk8q5guscuqqrm6d0h1a2rc7 Query : use flama_phc
20240917@204614.1262 02fk8q5guscuqqrm6d0h1a2rc7 Query : select st.usalote valor from st where st.ref = '323.318.09.00'
20240917@204614.1287 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '323.318.09.00'
20240917@204614.1302 02fk8q5guscuqqrm6d0h1a2rc7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.1318 02fk8q5guscuqqrm6d0h1a2rc7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204614.1346 02fk8q5guscuqqrm6d0h1a2rc7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.1363 02fk8q5guscuqqrm6d0h1a2rc7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204614.1373 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204614.1388 02fk8q5guscuqqrm6d0h1a2rc7 Query : select sestamp valor from se where ref ='323.318.09.00' and lote = 'r2400053200a'
20240917@204614.1404 02fk8q5guscuqqrm6d0h1a2rc7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.1423 02fk8q5guscuqqrm6d0h1a2rc7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204614.1437 02fk8q5guscuqqrm6d0h1a2rc7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d6212666e9dc8622','aut66e9d4596366e9dc85e1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204614.1443 02fk8q5guscuqqrm6d0h1a2rc7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.1463 02fk8q5guscuqqrm6d0h1a2rc7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204614.1494 02fk8q5guscuqqrm6d0h1a2rc7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d6212666e9dc8622',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e9d4596366e9dc85e1' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240917@204614.1781 02fk8q5guscuqqrm6d0h1a2rc7 Query : use flama_phc
20240917@204614.1784 02fk8q5guscuqqrm6d0h1a2rc7 Query : select st.usalote valor from st where st.ref = '323.318.09.00'
20240917@204614.1806 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '323.318.09.00'
20240917@204614.1820 02fk8q5guscuqqrm6d0h1a2rc7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.1836 02fk8q5guscuqqrm6d0h1a2rc7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204614.1865 02fk8q5guscuqqrm6d0h1a2rc7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.1883 02fk8q5guscuqqrm6d0h1a2rc7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204614.1893 02fk8q5guscuqqrm6d0h1a2rc7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204614.1908 02fk8q5guscuqqrm6d0h1a2rc7 Query : select sestamp valor from se where ref ='323.318.09.00' and lote = 'r2400053200a'
20240917@204614.1923 02fk8q5guscuqqrm6d0h1a2rc7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.1939 02fk8q5guscuqqrm6d0h1a2rc7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204614.1955 02fk8q5guscuqqrm6d0h1a2rc7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d0955466e9dc862e','aut66e9d4596366e9dc85e1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204614.1960 02fk8q5guscuqqrm6d0h1a2rc7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.1978 02fk8q5guscuqqrm6d0h1a2rc7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204614.2009 02fk8q5guscuqqrm6d0h1a2rc7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d0955466e9dc862e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66e9d4596366e9dc85e1' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240917@204614.2309 02fk8q5guscuqqrm6d0h1a2rc7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e9d4596366e9dc85e1','2405997','wait',39,'adm09112754980.682000002')
20240917@204614.2390 02fk8q5guscuqqrm6d0h1a2rc7 Query : use flama_phc
20240917@204614.2393 02fk8q5guscuqqrm6d0h1a2rc7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240917@204614.2428 02fk8q5guscuqqrm6d0h1a2rc7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2050';
20240917@204614.2460 02fk8q5guscuqqrm6d0h1a2rc7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2050';
20240917@204614.2505 02fk8q5guscuqqrm6d0h1a2rc7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2050';
20240917@204614.2532 02fk8q5guscuqqrm6d0h1a2rc7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2050';
20240917@204614.3086 dhlpavvs6rrmbos22oj2kq54a2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240917@204614.3097 dhlpavvs6rrmbos22oj2kq54a2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240917@204614.3155 dhlpavvs6rrmbos22oj2kq54a2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2051';
20240917@204614.3212 dhlpavvs6rrmbos22oj2kq54a2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2051';
20240917@204614.3265 dhlpavvs6rrmbos22oj2kq54a2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2051';
20240917@204614.3294 dhlpavvs6rrmbos22oj2kq54a2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2051';
20240917@204614.3351 dhlpavvs6rrmbos22oj2kq54a2 Query : use flama_phc
20240917@204614.3354 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240917@204614.3424 dhlpavvs6rrmbos22oj2kq54a2 Query : use flama_phc
20240917@204614.3427 dhlpavvs6rrmbos22oj2kq54a2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=832
20240917@204614.3517 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4906.00.1'
20240917@204614.3694 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406000 and bi.ref ='324.4906.00.1' and bi.lordem =1
20240917@204614.4118 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4906.00.1'
20240917@204614.4170 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406000 and bi.ref ='324.4906.00.1' and bi.lordem =1
20240917@204614.4211 dhlpavvs6rrmbos22oj2kq54a2 Query : use flama_phc
20240917@204614.4216 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240917@204614.4323 dhlpavvs6rrmbos22oj2kq54a2 Query : use flama_phc
20240917@204614.4327 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 1 valor from td where td.ndoc = 39
20240917@204614.4362 dhlpavvs6rrmbos22oj2kq54a2 Query : use flama_phc
20240917@204614.4366 dhlpavvs6rrmbos22oj2kq54a2 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')
20240917@204614.4401 dhlpavvs6rrmbos22oj2kq54a2 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
20240917@204614.4442 dhlpavvs6rrmbos22oj2kq54a2 Query : use flama_phc
20240917@204614.4445 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 ~inactivo valor from cl where no = '101726' and estab = 0 order by inactivo desc
20240917@204614.4573 dhlpavvs6rrmbos22oj2kq54a2 Query : use flama_phc
20240917@204614.4577 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240917@204614.4611 dhlpavvs6rrmbos22oj2kq54a2 Query : use flama_phc
20240917@204614.4615 dhlpavvs6rrmbos22oj2kq54a2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240917@204614.4658 dhlpavvs6rrmbos22oj2kq54a2 Query : use flama_phc
20240917@204614.4662 dhlpavvs6rrmbos22oj2kq54a2 Query : select szadrsstamp valor from szadrs where szadrsdesc='rick & mark - a mobiladora de padronelo,lda'
20240917@204614.4717 dhlpavvs6rrmbos22oj2kq54a2 Query : use flama_phc
20240917@204614.4721 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from td where ndoc = 39
20240917@204614.4735 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240917@204614.4751 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.4797 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204614.4820 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.4838 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204614.4870 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.4886 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204614.4901 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204614.4974 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204614.4988 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.5004 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204614.5048 dhlpavvs6rrmbos22oj2kq54a2 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e9d7648766e9dc8677' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240917@204614.5243 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.5349 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204614.5402 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240917@204614.5416 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240917@204614.5429 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240917@204614.5444 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240917@204614.5456 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240917@204614.5469 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240917@204614.5481 dhlpavvs6rrmbos22oj2kq54a2 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e9d7648766e9dc8677',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240917@204614.5725 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 fno valor from wsftdata order by fno desc
20240917@204614.5746 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.5765 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204614.5793 dhlpavvs6rrmbos22oj2kq54a2 Query : select 'normal' from dummy
20240917@204614.5811 dhlpavvs6rrmbos22oj2kq54a2 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e9d7648766e9dc8677',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',791,101726,0,'2024-09-17',39,'euro',0,0,2024 ,?,?)
20240917@204614.6114 dhlpavvs6rrmbos22oj2kq54a2 Query : use flama_phc
20240917@204614.6118 dhlpavvs6rrmbos22oj2kq54a2 Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20240917@204614.6145 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4906.00.1'
20240917@204614.6299 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.6318 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204614.6349 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.6367 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204614.6378 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204614.6392 dhlpavvs6rrmbos22oj2kq54a2 Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2300207200a'
20240917@204614.6421 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.6440 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204614.6454 dhlpavvs6rrmbos22oj2kq54a2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d9879266e9dc869c','aut66e9d7648766e9dc8677' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204614.6459 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.6476 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204614.6509 dhlpavvs6rrmbos22oj2kq54a2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d9879266e9dc869c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66e9d7648766e9dc8677' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240917@204614.6777 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.6797 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204614.6826 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.6843 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204614.6854 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204614.6869 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.6885 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204614.6900 dhlpavvs6rrmbos22oj2kq54a2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d5016966e9dc86a7','aut66e9d7648766e9dc8677' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204614.6905 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.6922 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204614.6954 dhlpavvs6rrmbos22oj2kq54a2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e9d5016966e9dc86a7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e9d7648766e9dc8677' ,0,0 ,2,23.00,20000,?,?,?)
20240917@204614.7237 dhlpavvs6rrmbos22oj2kq54a2 Query : use flama_phc
20240917@204614.7240 dhlpavvs6rrmbos22oj2kq54a2 Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20240917@204614.7261 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4906.00.1'
20240917@204614.7279 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.7297 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204614.7329 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.7346 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204614.7357 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204614.7373 dhlpavvs6rrmbos22oj2kq54a2 Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2300207200a'
20240917@204614.7386 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.7403 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204614.7417 dhlpavvs6rrmbos22oj2kq54a2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d8696966e9dc86b4','aut66e9d7648766e9dc8677' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204614.7422 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.7439 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204614.7472 dhlpavvs6rrmbos22oj2kq54a2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d8696966e9dc86b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66e9d7648766e9dc8677' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240917@204614.8708 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.8729 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204614.8758 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.8778 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204614.8788 dhlpavvs6rrmbos22oj2kq54a2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204614.8802 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.8818 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204614.8833 dhlpavvs6rrmbos22oj2kq54a2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d5875466e9dc86d6','aut66e9d7648766e9dc8677' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204614.8837 dhlpavvs6rrmbos22oj2kq54a2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204614.8853 dhlpavvs6rrmbos22oj2kq54a2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204614.8883 dhlpavvs6rrmbos22oj2kq54a2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e9d5875466e9dc86d6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e9d7648766e9dc8677' ,0,0 ,2,23.00,50000,?,?,?)
20240917@204614.9155 dhlpavvs6rrmbos22oj2kq54a2 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e9d7648766e9dc8677','2406000','wait',39,'adm09112754980.682000002')
20240917@204614.9238 dhlpavvs6rrmbos22oj2kq54a2 Query : use flama_phc
20240917@204614.9242 dhlpavvs6rrmbos22oj2kq54a2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240917@204614.9283 dhlpavvs6rrmbos22oj2kq54a2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2051';
20240917@204614.9365 dhlpavvs6rrmbos22oj2kq54a2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2051';
20240917@204614.9411 dhlpavvs6rrmbos22oj2kq54a2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2051';
20240917@204614.9443 dhlpavvs6rrmbos22oj2kq54a2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2051';
20240917@204615.3000 cs4ikegi39btj7icon8spno26u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240917@204615.4200 cs4ikegi39btj7icon8spno26u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240917@204615.1000 cs4ikegi39btj7icon8spno26u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2052';
20240917@204615.1560 cs4ikegi39btj7icon8spno26u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2052';
20240917@204615.2130 cs4ikegi39btj7icon8spno26u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2052';
20240917@204615.2410 cs4ikegi39btj7icon8spno26u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2052';
20240917@204615.2990 cs4ikegi39btj7icon8spno26u Query : use flama_phc
20240917@204615.3030 cs4ikegi39btj7icon8spno26u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240917@204615.3740 cs4ikegi39btj7icon8spno26u Query : use flama_phc
20240917@204615.3770 cs4ikegi39btj7icon8spno26u Query : select no, estab,szadrsdesc from szadrs where u_coddest=805
20240917@204615.4630 cs4ikegi39btj7icon8spno26u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1676.00.1'
20240917@204615.6290 cs4ikegi39btj7icon8spno26u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406001 and bi.ref ='324.1676.00.1' and bi.lordem =1
20240917@204615.9550 cs4ikegi39btj7icon8spno26u 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'
20240917@204615.1122 cs4ikegi39btj7icon8spno26u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406001 and bi.ref ='324.1824.00.1' and bi.lordem =2
20240917@204615.1447 cs4ikegi39btj7icon8spno26u 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'
20240917@204615.1472 cs4ikegi39btj7icon8spno26u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406001 and bi.ref ='324.1824.00.1' and bi.lordem =2
20240917@204615.1492 cs4ikegi39btj7icon8spno26u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2232.00.1'
20240917@204615.1659 cs4ikegi39btj7icon8spno26u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406001 and bi.ref ='324.2232.00.1' and bi.lordem =3
20240917@204615.2001 cs4ikegi39btj7icon8spno26u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2232.00.1'
20240917@204615.2023 cs4ikegi39btj7icon8spno26u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406001 and bi.ref ='324.2232.00.1' and bi.lordem =3
20240917@204615.2042 cs4ikegi39btj7icon8spno26u 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'
20240917@204615.2203 cs4ikegi39btj7icon8spno26u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406001 and bi.ref ='324.5501.00.1' and bi.lordem =4
20240917@204615.2733 cs4ikegi39btj7icon8spno26u Query : use flama_phc
20240917@204615.2737 cs4ikegi39btj7icon8spno26u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240917@204615.2777 cs4ikegi39btj7icon8spno26u Query : use flama_phc
20240917@204615.2781 cs4ikegi39btj7icon8spno26u Query : select top 1 1 valor from td where td.ndoc = 39
20240917@204615.2813 cs4ikegi39btj7icon8spno26u Query : use flama_phc
20240917@204615.2816 cs4ikegi39btj7icon8spno26u 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')
20240917@204615.2847 cs4ikegi39btj7icon8spno26u 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
20240917@204615.2886 cs4ikegi39btj7icon8spno26u Query : use flama_phc
20240917@204615.2890 cs4ikegi39btj7icon8spno26u Query : select top 1 ~inactivo valor from cl where no = '100247' and estab = 0 order by inactivo desc
20240917@204615.3054 cs4ikegi39btj7icon8spno26u Query : use flama_phc
20240917@204615.3058 cs4ikegi39btj7icon8spno26u Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240917@204615.3088 cs4ikegi39btj7icon8spno26u Query : use flama_phc
20240917@204615.3092 cs4ikegi39btj7icon8spno26u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240917@204615.3154 cs4ikegi39btj7icon8spno26u Query : use flama_phc
20240917@204615.3157 cs4ikegi39btj7icon8spno26u Query : select szadrsstamp valor from szadrs where szadrsdesc='acacio domingues afonso'
20240917@204615.3207 cs4ikegi39btj7icon8spno26u Query : use flama_phc
20240917@204615.3210 cs4ikegi39btj7icon8spno26u Query : select 1 valor from td where ndoc = 39
20240917@204615.3223 cs4ikegi39btj7icon8spno26u Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240917@204615.3239 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.3257 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204615.3279 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.3296 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204615.3328 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.3398 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204615.3415 cs4ikegi39btj7icon8spno26u Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204615.3486 cs4ikegi39btj7icon8spno26u Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204615.3500 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.3518 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204615.3536 cs4ikegi39btj7icon8spno26u Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e9d9065366e9dc8753' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240917@204615.3737 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.3756 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204615.3797 cs4ikegi39btj7icon8spno26u Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240917@204615.3812 cs4ikegi39btj7icon8spno26u Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240917@204615.3825 cs4ikegi39btj7icon8spno26u Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240917@204615.3838 cs4ikegi39btj7icon8spno26u Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240917@204615.3852 cs4ikegi39btj7icon8spno26u Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240917@204615.3865 cs4ikegi39btj7icon8spno26u Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240917@204615.3877 cs4ikegi39btj7icon8spno26u Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e9d9065366e9dc8753',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240917@204615.4132 cs4ikegi39btj7icon8spno26u Query : select top 1 fno valor from wsftdata order by fno desc
20240917@204615.4153 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.4172 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204615.4198 cs4ikegi39btj7icon8spno26u Query : select 'normal' from dummy
20240917@204615.4214 cs4ikegi39btj7icon8spno26u Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e9d9065366e9dc8753',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',792,100247,0,'2024-09-17',39,'euro',0,0,2024 ,?,?)
20240917@204615.4518 cs4ikegi39btj7icon8spno26u Query : use flama_phc
20240917@204615.4522 cs4ikegi39btj7icon8spno26u Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20240917@204615.4547 cs4ikegi39btj7icon8spno26u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1676.00.1'
20240917@204615.4696 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.4714 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204615.4741 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.4759 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204615.4769 cs4ikegi39btj7icon8spno26u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204615.4784 cs4ikegi39btj7icon8spno26u Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2400173900a'
20240917@204615.4808 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.4824 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204615.4838 cs4ikegi39btj7icon8spno26u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d8857866e9dc8775','aut66e9d9065366e9dc8753' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204615.4842 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.4858 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204615.4894 cs4ikegi39btj7icon8spno26u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d8857866e9dc8775',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66e9d9065366e9dc8753' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240917@204615.5156 cs4ikegi39btj7icon8spno26u Query : use flama_phc
20240917@204615.5160 cs4ikegi39btj7icon8spno26u Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240917@204615.5185 cs4ikegi39btj7icon8spno26u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204615.5340 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.5359 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204615.5392 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.5407 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204615.5417 cs4ikegi39btj7icon8spno26u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204615.5432 cs4ikegi39btj7icon8spno26u Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301209200a'
20240917@204615.5455 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.5472 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204615.5488 cs4ikegi39btj7icon8spno26u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d0820666e9dc8785','aut66e9d9065366e9dc8753' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204615.5492 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.5510 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204615.5543 cs4ikegi39btj7icon8spno26u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d0820666e9dc8785',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66e9d9065366e9dc8753' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240917@204615.5815 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.5833 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204615.5862 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.5879 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204615.5889 cs4ikegi39btj7icon8spno26u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204615.5903 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.5920 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204615.5935 cs4ikegi39btj7icon8spno26u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d7418766e9dc8790','aut66e9d9065366e9dc8753' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204615.5940 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.5957 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204615.5992 cs4ikegi39btj7icon8spno26u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e9d7418766e9dc8790',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e9d9065366e9dc8753' ,0,0 ,2,23.00,30000,?,?,?)
20240917@204615.6396 cs4ikegi39btj7icon8spno26u Query : use flama_phc
20240917@204615.6478 cs4ikegi39btj7icon8spno26u Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240917@204615.7404 cs4ikegi39btj7icon8spno26u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204615.7463 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.7484 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204615.7513 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.7531 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204615.7541 cs4ikegi39btj7icon8spno26u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204615.7553 cs4ikegi39btj7icon8spno26u Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301209200a'
20240917@204615.7569 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.7762 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204615.7775 cs4ikegi39btj7icon8spno26u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d0895866e9dc87b8','aut66e9d9065366e9dc8753' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204615.7780 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.7799 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204615.7849 cs4ikegi39btj7icon8spno26u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d0895866e9dc87b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut66e9d9065366e9dc8753' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240917@204615.8123 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.8143 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204615.8178 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.8194 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204615.8208 cs4ikegi39btj7icon8spno26u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204615.8221 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.8237 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204615.8250 cs4ikegi39btj7icon8spno26u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d5718566e9dc87c8','aut66e9d9065366e9dc8753' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204615.8277 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.8294 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204615.8330 cs4ikegi39btj7icon8spno26u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e9d5718566e9dc87c8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e9d9065366e9dc8753' ,0,0 ,2,23.00,60000,?,?,?)
20240917@204615.8611 cs4ikegi39btj7icon8spno26u Query : use flama_phc
20240917@204615.8615 cs4ikegi39btj7icon8spno26u Query : select st.usalote valor from st where st.ref = '324.2232.00.1'
20240917@204615.8637 cs4ikegi39btj7icon8spno26u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204615.8815 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.8834 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204615.8865 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.8882 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204615.8893 cs4ikegi39btj7icon8spno26u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204615.8909 cs4ikegi39btj7icon8spno26u Query : select sestamp valor from se where ref ='324.2232.00.1' and lote = 'r2400241100a'
20240917@204615.8926 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.8944 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204615.8957 cs4ikegi39btj7icon8spno26u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d6062566e9dc87d9','aut66e9d9065366e9dc8753' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204615.8962 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.8979 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204615.9009 cs4ikegi39btj7icon8spno26u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d6062566e9dc87d9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e9d9065366e9dc8753' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240917@204615.9273 cs4ikegi39btj7icon8spno26u Query : use flama_phc
20240917@204615.9277 cs4ikegi39btj7icon8spno26u Query : select st.usalote valor from st where st.ref = '324.2232.00.1'
20240917@204615.9300 cs4ikegi39btj7icon8spno26u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204615.9316 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.9334 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204615.9364 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.9385 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204615.9395 cs4ikegi39btj7icon8spno26u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204615.9410 cs4ikegi39btj7icon8spno26u Query : select sestamp valor from se where ref ='324.2232.00.1' and lote = 'r2400241100a'
20240917@204615.9425 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.9443 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204615.9459 cs4ikegi39btj7icon8spno26u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d3568966e9dc87e6','aut66e9d9065366e9dc8753' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204615.9465 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204615.9482 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204615.9513 cs4ikegi39btj7icon8spno26u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d3568966e9dc87e6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e9d9065366e9dc8753' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20240917@204615.9771 cs4ikegi39btj7icon8spno26u Query : use flama_phc
20240917@204615.9775 cs4ikegi39btj7icon8spno26u Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20240917@204615.9799 cs4ikegi39btj7icon8spno26u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204616.6000 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.2400 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204616.5600 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.7200 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204616.8200 cs4ikegi39btj7icon8spno26u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204616.9600 cs4ikegi39btj7icon8spno26u Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20240917@204616.1180 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.1340 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204616.1480 cs4ikegi39btj7icon8spno26u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d6814066e9dc8802','aut66e9d9065366e9dc8753' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204616.1530 cs4ikegi39btj7icon8spno26u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.1710 cs4ikegi39btj7icon8spno26u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204616.2030 cs4ikegi39btj7icon8spno26u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d6814066e9dc8802',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e9d9065366e9dc8753' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240917@204616.4710 cs4ikegi39btj7icon8spno26u Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e9d9065366e9dc8753','2406001','wait',39,'adm09112754980.682000002')
20240917@204616.6560 cs4ikegi39btj7icon8spno26u Query : use flama_phc
20240917@204616.6980 cs4ikegi39btj7icon8spno26u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240917@204616.7500 cs4ikegi39btj7icon8spno26u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2052';
20240917@204616.7850 cs4ikegi39btj7icon8spno26u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2052';
20240917@204616.8270 cs4ikegi39btj7icon8spno26u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2052';
20240917@204616.8570 cs4ikegi39btj7icon8spno26u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2052';
20240917@204616.1481 v2e0fj90bgs1652cfd57lsqqth Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240917@204616.1493 v2e0fj90bgs1652cfd57lsqqth Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240917@204616.1575 v2e0fj90bgs1652cfd57lsqqth Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2053';
20240917@204616.1637 v2e0fj90bgs1652cfd57lsqqth Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2053';
20240917@204616.1694 v2e0fj90bgs1652cfd57lsqqth Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2053';
20240917@204616.1721 v2e0fj90bgs1652cfd57lsqqth Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2053';
20240917@204616.1770 v2e0fj90bgs1652cfd57lsqqth Query : use flama_phc
20240917@204616.1774 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240917@204616.1841 v2e0fj90bgs1652cfd57lsqqth Query : use flama_phc
20240917@204616.1846 v2e0fj90bgs1652cfd57lsqqth Query : select no, estab,szadrsdesc from szadrs where u_coddest=323
20240917@204616.1932 v2e0fj90bgs1652cfd57lsqqth 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'
20240917@204616.2236 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406003 and bi.ref ='324.691.00.01' and bi.lordem =1
20240917@204616.2815 v2e0fj90bgs1652cfd57lsqqth 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'
20240917@204616.2842 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406003 and bi.ref ='324.691.00.01' and bi.lordem =2
20240917@204616.4193 v2e0fj90bgs1652cfd57lsqqth Query : use flama_phc
20240917@204616.4198 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240917@204616.4232 v2e0fj90bgs1652cfd57lsqqth Query : use flama_phc
20240917@204616.4235 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 1 valor from td where td.ndoc = 39
20240917@204616.4266 v2e0fj90bgs1652cfd57lsqqth Query : use flama_phc
20240917@204616.4269 v2e0fj90bgs1652cfd57lsqqth 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')
20240917@204616.4299 v2e0fj90bgs1652cfd57lsqqth 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
20240917@204616.4334 v2e0fj90bgs1652cfd57lsqqth Query : use flama_phc
20240917@204616.4337 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240917@204616.4467 v2e0fj90bgs1652cfd57lsqqth Query : use flama_phc
20240917@204616.4470 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240917@204616.4505 v2e0fj90bgs1652cfd57lsqqth Query : use flama_phc
20240917@204616.4508 v2e0fj90bgs1652cfd57lsqqth Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240917@204616.4562 v2e0fj90bgs1652cfd57lsqqth Query : use flama_phc
20240917@204616.4566 v2e0fj90bgs1652cfd57lsqqth Query : select szadrsstamp valor from szadrs where szadrsdesc='joaquim oliveira mendes,lda jom- brg retail'
20240917@204616.4617 v2e0fj90bgs1652cfd57lsqqth Query : use flama_phc
20240917@204616.4620 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from td where ndoc = 39
20240917@204616.4634 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240917@204616.4654 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.4672 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204616.4697 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.4712 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204616.4746 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.4763 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204616.4779 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204616.4849 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204616.4863 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.4879 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204616.4896 v2e0fj90bgs1652cfd57lsqqth Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e9d0739866e9dc8874' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240917@204616.5079 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.5097 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204616.5197 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240917@204616.5212 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240917@204616.5225 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240917@204616.5249 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240917@204616.5265 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240917@204616.5278 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240917@204616.5290 v2e0fj90bgs1652cfd57lsqqth Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e9d0739866e9dc8874',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240917@204616.5539 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 fno valor from wsftdata order by fno desc
20240917@204616.5563 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.5582 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204616.5607 v2e0fj90bgs1652cfd57lsqqth Query : select 'normal' from dummy
20240917@204616.5633 v2e0fj90bgs1652cfd57lsqqth Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e9d0739866e9dc8874',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',793,101621,0,'2024-09-17',39,'euro',0,0,2024 ,?,?)
20240917@204616.5922 v2e0fj90bgs1652cfd57lsqqth Query : use flama_phc
20240917@204616.5925 v2e0fj90bgs1652cfd57lsqqth Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240917@204616.5951 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204616.6101 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.6120 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204616.6160 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.6177 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204616.6186 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204616.6199 v2e0fj90bgs1652cfd57lsqqth Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240917@204616.6228 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.6245 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204616.6263 v2e0fj90bgs1652cfd57lsqqth Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d3424066e9dc8898','aut66e9d0739866e9dc8874' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204616.6268 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.6286 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204616.6317 v2e0fj90bgs1652cfd57lsqqth Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d3424066e9dc8898',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66e9d0739866e9dc8874' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240917@204616.6581 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.6601 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204616.6631 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.6648 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204616.6658 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204616.6673 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.6690 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204616.6704 v2e0fj90bgs1652cfd57lsqqth Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d7103466e9dc88a2','aut66e9d0739866e9dc8874' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204616.6710 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.6726 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204616.6770 v2e0fj90bgs1652cfd57lsqqth Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e9d7103466e9dc88a2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e9d0739866e9dc8874' ,0,0 ,2,23.00,20000,?,?,?)
20240917@204616.7033 v2e0fj90bgs1652cfd57lsqqth Query : use flama_phc
20240917@204616.7036 v2e0fj90bgs1652cfd57lsqqth Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240917@204616.7059 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204616.7075 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.7103 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204616.7131 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.7148 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204616.7159 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204616.7174 v2e0fj90bgs1652cfd57lsqqth Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240917@204616.7188 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.7205 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204616.7222 v2e0fj90bgs1652cfd57lsqqth Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d8357166e9dc88af','aut66e9d0739866e9dc8874' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204616.7228 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.7247 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204616.7283 v2e0fj90bgs1652cfd57lsqqth Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d8357166e9dc88af',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66e9d0739866e9dc8874' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240917@204616.7559 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.7577 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204616.7604 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.7619 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204616.7630 v2e0fj90bgs1652cfd57lsqqth Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204616.7644 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.7661 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204616.7677 v2e0fj90bgs1652cfd57lsqqth Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d0386466e9dc88ba','aut66e9d0739866e9dc8874' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204616.7681 v2e0fj90bgs1652cfd57lsqqth Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204616.7698 v2e0fj90bgs1652cfd57lsqqth Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204616.7734 v2e0fj90bgs1652cfd57lsqqth Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e9d0386466e9dc88ba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e9d0739866e9dc8874' ,0,0 ,2,23.00,50000,?,?,?)
20240917@204616.8032 v2e0fj90bgs1652cfd57lsqqth Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e9d0739866e9dc8874','2406003','wait',39,'adm09112754980.682000002')
20240917@204616.8112 v2e0fj90bgs1652cfd57lsqqth Query : use flama_phc
20240917@204616.8116 v2e0fj90bgs1652cfd57lsqqth Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240917@204616.8150 v2e0fj90bgs1652cfd57lsqqth Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2053';
20240917@204616.8182 v2e0fj90bgs1652cfd57lsqqth Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2053';
20240917@204616.8224 v2e0fj90bgs1652cfd57lsqqth Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2053';
20240917@204616.8253 v2e0fj90bgs1652cfd57lsqqth Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2053';
20240917@204616.9677 fmvqq7ccsd10uegi5gi7b2vhu7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240917@204616.9690 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240917@204616.9747 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2054';
20240917@204616.9807 fmvqq7ccsd10uegi5gi7b2vhu7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2054';
20240917@204616.9868 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2054';
20240917@204616.9894 fmvqq7ccsd10uegi5gi7b2vhu7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2054';
20240917@204616.9943 fmvqq7ccsd10uegi5gi7b2vhu7 Query : use flama_phc
20240917@204616.9946 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240917@204617.3800 fmvqq7ccsd10uegi5gi7b2vhu7 Query : use flama_phc
20240917@204617.4100 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=233
20240917@204617.1260 fmvqq7ccsd10uegi5gi7b2vhu7 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'
20240917@204617.1510 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406004 and bi.ref ='324.5501.00.1' and bi.lordem =1
20240917@204617.5400 fmvqq7ccsd10uegi5gi7b2vhu7 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'
20240917@204617.5660 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406004 and bi.ref ='324.5501.00.1' and bi.lordem =1
20240917@204617.5870 fmvqq7ccsd10uegi5gi7b2vhu7 Query : use flama_phc
20240917@204617.5910 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240917@204617.6540 fmvqq7ccsd10uegi5gi7b2vhu7 Query : use flama_phc
20240917@204617.6580 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select top 1 1 valor from td where td.ndoc = 39
20240917@204617.6900 fmvqq7ccsd10uegi5gi7b2vhu7 Query : use flama_phc
20240917@204617.6940 fmvqq7ccsd10uegi5gi7b2vhu7 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')
20240917@204617.7230 fmvqq7ccsd10uegi5gi7b2vhu7 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
20240917@204617.7630 fmvqq7ccsd10uegi5gi7b2vhu7 Query : use flama_phc
20240917@204617.7660 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240917@204617.7990 fmvqq7ccsd10uegi5gi7b2vhu7 Query : use flama_phc
20240917@204617.8030 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240917@204617.8330 fmvqq7ccsd10uegi5gi7b2vhu7 Query : use flama_phc
20240917@204617.8370 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240917@204617.8780 fmvqq7ccsd10uegi5gi7b2vhu7 Query : use flama_phc
20240917@204617.8810 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - tudo para o seu lar'
20240917@204617.9330 fmvqq7ccsd10uegi5gi7b2vhu7 Query : use flama_phc
20240917@204617.9360 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select 1 valor from td where ndoc = 39
20240917@204617.9500 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240917@204617.9660 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.9850 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204617.1008 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.1023 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204617.1056 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.1074 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204617.1088 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204617.1159 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204617.1176 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.1193 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204617.1210 fmvqq7ccsd10uegi5gi7b2vhu7 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e9d9579866e9dc891a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240917@204617.1402 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.1419 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204617.1456 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240917@204617.1469 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240917@204617.1483 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240917@204617.1498 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240917@204617.1512 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240917@204617.1525 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240917@204617.1538 fmvqq7ccsd10uegi5gi7b2vhu7 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e9d9579866e9dc891a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240917@204617.1796 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select top 1 fno valor from wsftdata order by fno desc
20240917@204617.1817 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.1836 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204617.1863 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select 'normal' from dummy
20240917@204617.1880 fmvqq7ccsd10uegi5gi7b2vhu7 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e9d9579866e9dc891a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',794,101621,0,'2024-09-17',39,'euro',0,0,2024 ,?,?)
20240917@204617.2187 fmvqq7ccsd10uegi5gi7b2vhu7 Query : use flama_phc
20240917@204617.2190 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20240917@204617.2214 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204617.2369 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.2389 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204617.2418 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.2434 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204617.2964 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204617.4380 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20240917@204617.4397 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.4414 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204617.4427 fmvqq7ccsd10uegi5gi7b2vhu7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d3725966e9dc896b','aut66e9d9579866e9dc891a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204617.4440 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.4455 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204617.4487 fmvqq7ccsd10uegi5gi7b2vhu7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d3725966e9dc896b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e9d9579866e9dc891a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240917@204617.5548 fmvqq7ccsd10uegi5gi7b2vhu7 Query : use flama_phc
20240917@204617.5710 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20240917@204617.5865 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204617.5881 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.5898 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204617.5927 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.5943 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204617.5954 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204617.5968 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20240917@204617.5982 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.6026 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204617.6042 fmvqq7ccsd10uegi5gi7b2vhu7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d3718266e9dc8992','aut66e9d9579866e9dc891a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204617.6047 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.6064 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204617.6096 fmvqq7ccsd10uegi5gi7b2vhu7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d3718266e9dc8992',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e9d9579866e9dc891a' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240917@204617.6369 fmvqq7ccsd10uegi5gi7b2vhu7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e9d9579866e9dc891a','2406004','wait',39,'adm09112754980.682000002')
20240917@204617.6448 fmvqq7ccsd10uegi5gi7b2vhu7 Query : use flama_phc
20240917@204617.6452 fmvqq7ccsd10uegi5gi7b2vhu7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240917@204617.6483 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2054';
20240917@204617.6514 fmvqq7ccsd10uegi5gi7b2vhu7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2054';
20240917@204617.6556 fmvqq7ccsd10uegi5gi7b2vhu7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2054';
20240917@204617.6584 fmvqq7ccsd10uegi5gi7b2vhu7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2054';
20240917@204617.7181 ej6c60duectfln3a2gklgc7hp6 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240917@204617.7193 ej6c60duectfln3a2gklgc7hp6 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240917@204617.7260 ej6c60duectfln3a2gklgc7hp6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2055';
20240917@204617.7350 ej6c60duectfln3a2gklgc7hp6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2055';
20240917@204617.7404 ej6c60duectfln3a2gklgc7hp6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2055';
20240917@204617.7430 ej6c60duectfln3a2gklgc7hp6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2055';
20240917@204617.7519 ej6c60duectfln3a2gklgc7hp6 Query : use flama_phc
20240917@204617.7523 ej6c60duectfln3a2gklgc7hp6 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240917@204617.7801 ej6c60duectfln3a2gklgc7hp6 Query : use flama_phc
20240917@204617.7804 ej6c60duectfln3a2gklgc7hp6 Query : select no, estab,szadrsdesc from szadrs where u_coddest=7737
20240917@204617.7891 ej6c60duectfln3a2gklgc7hp6 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'
20240917@204617.7913 ej6c60duectfln3a2gklgc7hp6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406005 and bi.ref ='324.5501.00.1' and bi.lordem =1
20240917@204617.8247 ej6c60duectfln3a2gklgc7hp6 Query : use flama_phc
20240917@204617.8250 ej6c60duectfln3a2gklgc7hp6 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240917@204617.8286 ej6c60duectfln3a2gklgc7hp6 Query : use flama_phc
20240917@204617.8290 ej6c60duectfln3a2gklgc7hp6 Query : select top 1 1 valor from td where td.ndoc = 39
20240917@204617.8323 ej6c60duectfln3a2gklgc7hp6 Query : use flama_phc
20240917@204617.8327 ej6c60duectfln3a2gklgc7hp6 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')
20240917@204617.8357 ej6c60duectfln3a2gklgc7hp6 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
20240917@204617.8417 ej6c60duectfln3a2gklgc7hp6 Query : use flama_phc
20240917@204617.8421 ej6c60duectfln3a2gklgc7hp6 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240917@204617.8454 ej6c60duectfln3a2gklgc7hp6 Query : use flama_phc
20240917@204617.8457 ej6c60duectfln3a2gklgc7hp6 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240917@204617.8492 ej6c60duectfln3a2gklgc7hp6 Query : use flama_phc
20240917@204617.8496 ej6c60duectfln3a2gklgc7hp6 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240917@204617.8539 ej6c60duectfln3a2gklgc7hp6 Query : use flama_phc
20240917@204617.8543 ej6c60duectfln3a2gklgc7hp6 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - loja da ponte'
20240917@204617.8597 ej6c60duectfln3a2gklgc7hp6 Query : use flama_phc
20240917@204617.8601 ej6c60duectfln3a2gklgc7hp6 Query : select 1 valor from td where ndoc = 39
20240917@204617.8616 ej6c60duectfln3a2gklgc7hp6 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240917@204617.8632 ej6c60duectfln3a2gklgc7hp6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.8651 ej6c60duectfln3a2gklgc7hp6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204617.8674 ej6c60duectfln3a2gklgc7hp6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.8691 ej6c60duectfln3a2gklgc7hp6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204617.8722 ej6c60duectfln3a2gklgc7hp6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.8738 ej6c60duectfln3a2gklgc7hp6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204617.8753 ej6c60duectfln3a2gklgc7hp6 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204617.8825 ej6c60duectfln3a2gklgc7hp6 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204617.8839 ej6c60duectfln3a2gklgc7hp6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.8856 ej6c60duectfln3a2gklgc7hp6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204617.8874 ej6c60duectfln3a2gklgc7hp6 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e9d0837466e9dc89d5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240917@204617.9063 ej6c60duectfln3a2gklgc7hp6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.9082 ej6c60duectfln3a2gklgc7hp6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204617.9123 ej6c60duectfln3a2gklgc7hp6 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240917@204617.9137 ej6c60duectfln3a2gklgc7hp6 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240917@204617.9153 ej6c60duectfln3a2gklgc7hp6 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240917@204617.9167 ej6c60duectfln3a2gklgc7hp6 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240917@204617.9182 ej6c60duectfln3a2gklgc7hp6 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240917@204617.9198 ej6c60duectfln3a2gklgc7hp6 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240917@204617.9212 ej6c60duectfln3a2gklgc7hp6 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e9d0837466e9dc89d5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240917@204617.9467 ej6c60duectfln3a2gklgc7hp6 Query : select top 1 fno valor from wsftdata order by fno desc
20240917@204617.9489 ej6c60duectfln3a2gklgc7hp6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.9507 ej6c60duectfln3a2gklgc7hp6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204617.9533 ej6c60duectfln3a2gklgc7hp6 Query : select 'normal' from dummy
20240917@204617.9552 ej6c60duectfln3a2gklgc7hp6 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e9d0837466e9dc89d5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',795,101621,0,'2024-09-17',39,'euro',0,0,2024 ,?,?)
20240917@204617.9858 ej6c60duectfln3a2gklgc7hp6 Query : use flama_phc
20240917@204617.9862 ej6c60duectfln3a2gklgc7hp6 Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20240917@204617.9886 ej6c60duectfln3a2gklgc7hp6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204617.9903 ej6c60duectfln3a2gklgc7hp6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.9921 ej6c60duectfln3a2gklgc7hp6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204617.9952 ej6c60duectfln3a2gklgc7hp6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204617.9970 ej6c60duectfln3a2gklgc7hp6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204617.9980 ej6c60duectfln3a2gklgc7hp6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204617.9996 ej6c60duectfln3a2gklgc7hp6 Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20240917@204618.9000 ej6c60duectfln3a2gklgc7hp6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.3100 ej6c60duectfln3a2gklgc7hp6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204618.4400 ej6c60duectfln3a2gklgc7hp6 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d3354266e9dc8a00','aut66e9d0837466e9dc89d5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204618.5000 ej6c60duectfln3a2gklgc7hp6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.6700 ej6c60duectfln3a2gklgc7hp6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204618.1020 ej6c60duectfln3a2gklgc7hp6 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d3354266e9dc8a00',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e9d0837466e9dc89d5' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240917@204618.4450 ej6c60duectfln3a2gklgc7hp6 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e9d0837466e9dc89d5','2406005','wait',39,'adm09112754980.682000002')
20240917@204618.6240 ej6c60duectfln3a2gklgc7hp6 Query : use flama_phc
20240917@204618.6280 ej6c60duectfln3a2gklgc7hp6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240917@204618.6600 ej6c60duectfln3a2gklgc7hp6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2055';
20240917@204618.6930 ej6c60duectfln3a2gklgc7hp6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2055';
20240917@204618.7360 ej6c60duectfln3a2gklgc7hp6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2055';
20240917@204618.7640 ej6c60duectfln3a2gklgc7hp6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2055';
20240917@204618.1309 473ntnj5pmp9r8sk31oh964iqp Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240917@204618.1322 473ntnj5pmp9r8sk31oh964iqp Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240917@204618.1379 473ntnj5pmp9r8sk31oh964iqp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2056';
20240917@204618.1438 473ntnj5pmp9r8sk31oh964iqp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2056';
20240917@204618.1531 473ntnj5pmp9r8sk31oh964iqp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2056';
20240917@204618.1684 473ntnj5pmp9r8sk31oh964iqp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2056';
20240917@204618.1791 473ntnj5pmp9r8sk31oh964iqp Query : use flama_phc
20240917@204618.1796 473ntnj5pmp9r8sk31oh964iqp Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240917@204618.1904 473ntnj5pmp9r8sk31oh964iqp Query : use flama_phc
20240917@204618.1908 473ntnj5pmp9r8sk31oh964iqp Query : select no, estab,szadrsdesc from szadrs where u_coddest=4500
20240917@204618.1993 473ntnj5pmp9r8sk31oh964iqp 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'
20240917@204618.2018 473ntnj5pmp9r8sk31oh964iqp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406006 and bi.ref ='324.5501.00.1' and bi.lordem =1
20240917@204618.2354 473ntnj5pmp9r8sk31oh964iqp Query : use flama_phc
20240917@204618.2359 473ntnj5pmp9r8sk31oh964iqp Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240917@204618.2399 473ntnj5pmp9r8sk31oh964iqp Query : use flama_phc
20240917@204618.2402 473ntnj5pmp9r8sk31oh964iqp Query : select top 1 1 valor from td where td.ndoc = 39
20240917@204618.2436 473ntnj5pmp9r8sk31oh964iqp Query : use flama_phc
20240917@204618.2440 473ntnj5pmp9r8sk31oh964iqp 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')
20240917@204618.2472 473ntnj5pmp9r8sk31oh964iqp 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
20240917@204618.2513 473ntnj5pmp9r8sk31oh964iqp Query : use flama_phc
20240917@204618.2517 473ntnj5pmp9r8sk31oh964iqp Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240917@204618.2556 473ntnj5pmp9r8sk31oh964iqp Query : use flama_phc
20240917@204618.2560 473ntnj5pmp9r8sk31oh964iqp Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240917@204618.2591 473ntnj5pmp9r8sk31oh964iqp Query : use flama_phc
20240917@204618.2595 473ntnj5pmp9r8sk31oh964iqp Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240917@204618.2636 473ntnj5pmp9r8sk31oh964iqp Query : use flama_phc
20240917@204618.2640 473ntnj5pmp9r8sk31oh964iqp Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - portimão'
20240917@204618.2690 473ntnj5pmp9r8sk31oh964iqp Query : use flama_phc
20240917@204618.2693 473ntnj5pmp9r8sk31oh964iqp Query : select 1 valor from td where ndoc = 39
20240917@204618.2708 473ntnj5pmp9r8sk31oh964iqp Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240917@204618.2724 473ntnj5pmp9r8sk31oh964iqp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.2743 473ntnj5pmp9r8sk31oh964iqp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204618.2764 473ntnj5pmp9r8sk31oh964iqp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.2780 473ntnj5pmp9r8sk31oh964iqp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204618.2812 473ntnj5pmp9r8sk31oh964iqp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.2828 473ntnj5pmp9r8sk31oh964iqp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204618.2843 473ntnj5pmp9r8sk31oh964iqp Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204618.2910 473ntnj5pmp9r8sk31oh964iqp Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204618.2923 473ntnj5pmp9r8sk31oh964iqp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.2938 473ntnj5pmp9r8sk31oh964iqp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204618.2955 473ntnj5pmp9r8sk31oh964iqp Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e9d7118166e9dc8a45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240917@204618.3135 473ntnj5pmp9r8sk31oh964iqp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.3153 473ntnj5pmp9r8sk31oh964iqp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204618.3189 473ntnj5pmp9r8sk31oh964iqp Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240917@204618.3203 473ntnj5pmp9r8sk31oh964iqp Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240917@204618.3216 473ntnj5pmp9r8sk31oh964iqp Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240917@204618.3229 473ntnj5pmp9r8sk31oh964iqp Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240917@204618.3243 473ntnj5pmp9r8sk31oh964iqp Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240917@204618.3257 473ntnj5pmp9r8sk31oh964iqp Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240917@204618.3269 473ntnj5pmp9r8sk31oh964iqp Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e9d7118166e9dc8a45',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240917@204618.3512 473ntnj5pmp9r8sk31oh964iqp Query : select top 1 fno valor from wsftdata order by fno desc
20240917@204618.3533 473ntnj5pmp9r8sk31oh964iqp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.3549 473ntnj5pmp9r8sk31oh964iqp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204618.3575 473ntnj5pmp9r8sk31oh964iqp Query : select 'normal' from dummy
20240917@204618.3592 473ntnj5pmp9r8sk31oh964iqp Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e9d7118166e9dc8a45',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',796,101621,0,'2024-09-17',39,'euro',0,0,2024 ,?,?)
20240917@204618.3890 473ntnj5pmp9r8sk31oh964iqp Query : use flama_phc
20240917@204618.3893 473ntnj5pmp9r8sk31oh964iqp Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20240917@204618.3920 473ntnj5pmp9r8sk31oh964iqp Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204618.3934 473ntnj5pmp9r8sk31oh964iqp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.3952 473ntnj5pmp9r8sk31oh964iqp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204618.3980 473ntnj5pmp9r8sk31oh964iqp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.3996 473ntnj5pmp9r8sk31oh964iqp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204618.4006 473ntnj5pmp9r8sk31oh964iqp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204618.4036 473ntnj5pmp9r8sk31oh964iqp Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20240917@204618.4051 473ntnj5pmp9r8sk31oh964iqp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.4067 473ntnj5pmp9r8sk31oh964iqp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204618.4080 473ntnj5pmp9r8sk31oh964iqp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d8443266e9dc8a62','aut66e9d7118166e9dc8a45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204618.4085 473ntnj5pmp9r8sk31oh964iqp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.4101 473ntnj5pmp9r8sk31oh964iqp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204618.4138 473ntnj5pmp9r8sk31oh964iqp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d8443266e9dc8a62',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e9d7118166e9dc8a45' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240917@204618.4406 473ntnj5pmp9r8sk31oh964iqp Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e9d7118166e9dc8a45','2406006','wait',39,'adm09112754980.682000002')
20240917@204618.4508 473ntnj5pmp9r8sk31oh964iqp Query : use flama_phc
20240917@204618.4512 473ntnj5pmp9r8sk31oh964iqp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240917@204618.4547 473ntnj5pmp9r8sk31oh964iqp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2056';
20240917@204618.4578 473ntnj5pmp9r8sk31oh964iqp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2056';
20240917@204618.4617 473ntnj5pmp9r8sk31oh964iqp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2056';
20240917@204618.4642 473ntnj5pmp9r8sk31oh964iqp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2056';
20240917@204618.5247 dceoqgd9i9tb0lrhm3uqjb6asr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240917@204618.5258 dceoqgd9i9tb0lrhm3uqjb6asr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240917@204618.5314 dceoqgd9i9tb0lrhm3uqjb6asr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2057';
20240917@204618.5370 dceoqgd9i9tb0lrhm3uqjb6asr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2057';
20240917@204618.5424 dceoqgd9i9tb0lrhm3uqjb6asr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2057';
20240917@204618.5451 dceoqgd9i9tb0lrhm3uqjb6asr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2057';
20240917@204618.5501 dceoqgd9i9tb0lrhm3uqjb6asr Query : use flama_phc
20240917@204618.5505 dceoqgd9i9tb0lrhm3uqjb6asr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240917@204618.5659 dceoqgd9i9tb0lrhm3uqjb6asr Query : use flama_phc
20240917@204618.5664 dceoqgd9i9tb0lrhm3uqjb6asr Query : select no, estab,szadrsdesc from szadrs where u_coddest=1498
20240917@204618.5749 dceoqgd9i9tb0lrhm3uqjb6asr 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'
20240917@204618.5770 dceoqgd9i9tb0lrhm3uqjb6asr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406007 and bi.ref ='324.5501.00.1' and bi.lordem =1
20240917@204618.6100 dceoqgd9i9tb0lrhm3uqjb6asr Query : use flama_phc
20240917@204618.6103 dceoqgd9i9tb0lrhm3uqjb6asr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240917@204618.6140 dceoqgd9i9tb0lrhm3uqjb6asr Query : use flama_phc
20240917@204618.6144 dceoqgd9i9tb0lrhm3uqjb6asr Query : select top 1 1 valor from td where td.ndoc = 39
20240917@204618.6204 dceoqgd9i9tb0lrhm3uqjb6asr Query : use flama_phc
20240917@204618.6208 dceoqgd9i9tb0lrhm3uqjb6asr 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')
20240917@204618.6241 dceoqgd9i9tb0lrhm3uqjb6asr 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
20240917@204618.6280 dceoqgd9i9tb0lrhm3uqjb6asr Query : use flama_phc
20240917@204618.6284 dceoqgd9i9tb0lrhm3uqjb6asr Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240917@204618.6320 dceoqgd9i9tb0lrhm3uqjb6asr Query : use flama_phc
20240917@204618.6324 dceoqgd9i9tb0lrhm3uqjb6asr Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240917@204618.6359 dceoqgd9i9tb0lrhm3uqjb6asr Query : use flama_phc
20240917@204618.6362 dceoqgd9i9tb0lrhm3uqjb6asr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240917@204618.6408 dceoqgd9i9tb0lrhm3uqjb6asr Query : use flama_phc
20240917@204618.6413 dceoqgd9i9tb0lrhm3uqjb6asr Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - viseu'
20240917@204618.6462 dceoqgd9i9tb0lrhm3uqjb6asr Query : use flama_phc
20240917@204618.6466 dceoqgd9i9tb0lrhm3uqjb6asr Query : select 1 valor from td where ndoc = 39
20240917@204618.6481 dceoqgd9i9tb0lrhm3uqjb6asr Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240917@204618.6497 dceoqgd9i9tb0lrhm3uqjb6asr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.6515 dceoqgd9i9tb0lrhm3uqjb6asr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204618.6538 dceoqgd9i9tb0lrhm3uqjb6asr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.6555 dceoqgd9i9tb0lrhm3uqjb6asr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204618.6589 dceoqgd9i9tb0lrhm3uqjb6asr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.6608 dceoqgd9i9tb0lrhm3uqjb6asr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204618.6623 dceoqgd9i9tb0lrhm3uqjb6asr Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204618.6692 dceoqgd9i9tb0lrhm3uqjb6asr Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204618.6707 dceoqgd9i9tb0lrhm3uqjb6asr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.6725 dceoqgd9i9tb0lrhm3uqjb6asr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204618.6745 dceoqgd9i9tb0lrhm3uqjb6asr Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e9d8592966e9dc8aa1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240917@204618.6945 dceoqgd9i9tb0lrhm3uqjb6asr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.6965 dceoqgd9i9tb0lrhm3uqjb6asr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204618.7003 dceoqgd9i9tb0lrhm3uqjb6asr Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240917@204618.7017 dceoqgd9i9tb0lrhm3uqjb6asr Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240917@204618.7031 dceoqgd9i9tb0lrhm3uqjb6asr Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240917@204618.7046 dceoqgd9i9tb0lrhm3uqjb6asr Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240917@204618.7061 dceoqgd9i9tb0lrhm3uqjb6asr Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240917@204618.7076 dceoqgd9i9tb0lrhm3uqjb6asr Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240917@204618.7091 dceoqgd9i9tb0lrhm3uqjb6asr Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e9d8592966e9dc8aa1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240917@204618.7381 dceoqgd9i9tb0lrhm3uqjb6asr Query : select top 1 fno valor from wsftdata order by fno desc
20240917@204618.7403 dceoqgd9i9tb0lrhm3uqjb6asr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.7421 dceoqgd9i9tb0lrhm3uqjb6asr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204618.7450 dceoqgd9i9tb0lrhm3uqjb6asr Query : select 'normal' from dummy
20240917@204618.7468 dceoqgd9i9tb0lrhm3uqjb6asr Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e9d8592966e9dc8aa1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',797,101621,0,'2024-09-17',39,'euro',0,0,2024 ,?,?)
20240917@204618.7910 dceoqgd9i9tb0lrhm3uqjb6asr Query : use flama_phc
20240917@204618.7913 dceoqgd9i9tb0lrhm3uqjb6asr Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20240917@204618.7938 dceoqgd9i9tb0lrhm3uqjb6asr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204618.7954 dceoqgd9i9tb0lrhm3uqjb6asr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.7973 dceoqgd9i9tb0lrhm3uqjb6asr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204618.8003 dceoqgd9i9tb0lrhm3uqjb6asr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.8024 dceoqgd9i9tb0lrhm3uqjb6asr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204618.8033 dceoqgd9i9tb0lrhm3uqjb6asr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204618.8048 dceoqgd9i9tb0lrhm3uqjb6asr Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20240917@204618.8090 dceoqgd9i9tb0lrhm3uqjb6asr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.8106 dceoqgd9i9tb0lrhm3uqjb6asr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204618.8119 dceoqgd9i9tb0lrhm3uqjb6asr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d3274566e9dc8ac5','aut66e9d8592966e9dc8aa1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204618.8124 dceoqgd9i9tb0lrhm3uqjb6asr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204618.8140 dceoqgd9i9tb0lrhm3uqjb6asr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204618.8176 dceoqgd9i9tb0lrhm3uqjb6asr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d3274566e9dc8ac5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e9d8592966e9dc8aa1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240917@204618.8459 dceoqgd9i9tb0lrhm3uqjb6asr Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e9d8592966e9dc8aa1','2406007','wait',39,'adm09112754980.682000002')
20240917@204618.8538 dceoqgd9i9tb0lrhm3uqjb6asr Query : use flama_phc
20240917@204618.8542 dceoqgd9i9tb0lrhm3uqjb6asr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240917@204618.8578 dceoqgd9i9tb0lrhm3uqjb6asr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2057';
20240917@204618.8639 dceoqgd9i9tb0lrhm3uqjb6asr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2057';
20240917@204618.8684 dceoqgd9i9tb0lrhm3uqjb6asr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2057';
20240917@204618.8714 dceoqgd9i9tb0lrhm3uqjb6asr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2057';
20240917@204618.9372 7hooo2f4oinsf95je9260bckar Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240917@204618.9387 7hooo2f4oinsf95je9260bckar Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240917@204618.9447 7hooo2f4oinsf95je9260bckar Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2058';
20240917@204618.9528 7hooo2f4oinsf95je9260bckar Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2058';
20240917@204618.9595 7hooo2f4oinsf95je9260bckar Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2058';
20240917@204618.9624 7hooo2f4oinsf95je9260bckar Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2058';
20240917@204618.9674 7hooo2f4oinsf95je9260bckar Query : use flama_phc
20240917@204618.9677 7hooo2f4oinsf95je9260bckar Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240917@204618.9756 7hooo2f4oinsf95je9260bckar Query : use flama_phc
20240917@204618.9759 7hooo2f4oinsf95je9260bckar Query : select no, estab,szadrsdesc from szadrs where u_coddest=2014
20240917@204618.9875 7hooo2f4oinsf95je9260bckar 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'
20240917@204618.9902 7hooo2f4oinsf95je9260bckar Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406008 and bi.ref ='324.5501.00.1' and bi.lordem =1
20240917@204619.2410 7hooo2f4oinsf95je9260bckar Query : use flama_phc
20240917@204619.2450 7hooo2f4oinsf95je9260bckar Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240917@204619.2800 7hooo2f4oinsf95je9260bckar Query : use flama_phc
20240917@204619.2840 7hooo2f4oinsf95je9260bckar Query : select top 1 1 valor from td where td.ndoc = 39
20240917@204619.3170 7hooo2f4oinsf95je9260bckar Query : use flama_phc
20240917@204619.3200 7hooo2f4oinsf95je9260bckar 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')
20240917@204619.3520 7hooo2f4oinsf95je9260bckar 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
20240917@204619.3910 7hooo2f4oinsf95je9260bckar Query : use flama_phc
20240917@204619.3940 7hooo2f4oinsf95je9260bckar Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240917@204619.4260 7hooo2f4oinsf95je9260bckar Query : use flama_phc
20240917@204619.4300 7hooo2f4oinsf95je9260bckar Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240917@204619.4640 7hooo2f4oinsf95je9260bckar Query : use flama_phc
20240917@204619.4690 7hooo2f4oinsf95je9260bckar Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240917@204619.5150 7hooo2f4oinsf95je9260bckar Query : use flama_phc
20240917@204619.5190 7hooo2f4oinsf95je9260bckar Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - guarda'
20240917@204619.5970 7hooo2f4oinsf95je9260bckar Query : use flama_phc
20240917@204619.6030 7hooo2f4oinsf95je9260bckar Query : select 1 valor from td where ndoc = 39
20240917@204619.1773 7hooo2f4oinsf95je9260bckar Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240917@204619.1789 7hooo2f4oinsf95je9260bckar Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.1807 7hooo2f4oinsf95je9260bckar Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204619.1829 7hooo2f4oinsf95je9260bckar Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.1845 7hooo2f4oinsf95je9260bckar Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204619.1876 7hooo2f4oinsf95je9260bckar Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.1893 7hooo2f4oinsf95je9260bckar Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204619.1907 7hooo2f4oinsf95je9260bckar Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204619.1980 7hooo2f4oinsf95je9260bckar Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204619.1994 7hooo2f4oinsf95je9260bckar Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.2010 7hooo2f4oinsf95je9260bckar Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204619.2027 7hooo2f4oinsf95je9260bckar Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e9d9691466e9dc8b2e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240917@204619.2214 7hooo2f4oinsf95je9260bckar Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.2232 7hooo2f4oinsf95je9260bckar Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204619.2297 7hooo2f4oinsf95je9260bckar Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240917@204619.2311 7hooo2f4oinsf95je9260bckar Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240917@204619.2325 7hooo2f4oinsf95je9260bckar Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240917@204619.2339 7hooo2f4oinsf95je9260bckar Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240917@204619.2351 7hooo2f4oinsf95je9260bckar Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240917@204619.2366 7hooo2f4oinsf95je9260bckar Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240917@204619.2380 7hooo2f4oinsf95je9260bckar Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e9d9691466e9dc8b2e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240917@204619.2675 7hooo2f4oinsf95je9260bckar Query : select top 1 fno valor from wsftdata order by fno desc
20240917@204619.2698 7hooo2f4oinsf95je9260bckar Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.2717 7hooo2f4oinsf95je9260bckar Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204619.2742 7hooo2f4oinsf95je9260bckar Query : select 'normal' from dummy
20240917@204619.2773 7hooo2f4oinsf95je9260bckar Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e9d9691466e9dc8b2e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',798,101621,0,'2024-09-17',39,'euro',0,0,2024 ,?,?)
20240917@204619.3092 7hooo2f4oinsf95je9260bckar Query : use flama_phc
20240917@204619.3096 7hooo2f4oinsf95je9260bckar Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20240917@204619.3119 7hooo2f4oinsf95je9260bckar Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204619.3137 7hooo2f4oinsf95je9260bckar Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.3155 7hooo2f4oinsf95je9260bckar Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204619.3184 7hooo2f4oinsf95je9260bckar Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.3201 7hooo2f4oinsf95je9260bckar Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204619.3210 7hooo2f4oinsf95je9260bckar Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204619.3224 7hooo2f4oinsf95je9260bckar Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20240917@204619.3238 7hooo2f4oinsf95je9260bckar Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.3254 7hooo2f4oinsf95je9260bckar Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204619.3268 7hooo2f4oinsf95je9260bckar Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d4291766e9dc8b4f','aut66e9d9691466e9dc8b2e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204619.3273 7hooo2f4oinsf95je9260bckar Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.3292 7hooo2f4oinsf95je9260bckar Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204619.3323 7hooo2f4oinsf95je9260bckar Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d4291766e9dc8b4f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e9d9691466e9dc8b2e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240917@204619.3586 7hooo2f4oinsf95je9260bckar Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e9d9691466e9dc8b2e','2406008','wait',39,'adm09112754980.682000002')
20240917@204619.3691 7hooo2f4oinsf95je9260bckar Query : use flama_phc
20240917@204619.3695 7hooo2f4oinsf95je9260bckar Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240917@204619.3737 7hooo2f4oinsf95je9260bckar Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2058';
20240917@204619.3770 7hooo2f4oinsf95je9260bckar Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2058';
20240917@204619.3816 7hooo2f4oinsf95je9260bckar Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2058';
20240917@204619.3843 7hooo2f4oinsf95je9260bckar Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2058';
20240917@204619.4782 05ggcqihn2i1v5jdl45isb00ab Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240917@204619.4795 05ggcqihn2i1v5jdl45isb00ab Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240917@204619.4852 05ggcqihn2i1v5jdl45isb00ab Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2059';
20240917@204619.4907 05ggcqihn2i1v5jdl45isb00ab Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2059';
20240917@204619.4962 05ggcqihn2i1v5jdl45isb00ab Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2059';
20240917@204619.4989 05ggcqihn2i1v5jdl45isb00ab Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2059';
20240917@204619.5039 05ggcqihn2i1v5jdl45isb00ab Query : use flama_phc
20240917@204619.5042 05ggcqihn2i1v5jdl45isb00ab Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240917@204619.5108 05ggcqihn2i1v5jdl45isb00ab Query : use flama_phc
20240917@204619.5111 05ggcqihn2i1v5jdl45isb00ab Query : select no, estab,szadrsdesc from szadrs where u_coddest=1453
20240917@204619.5195 05ggcqihn2i1v5jdl45isb00ab 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'
20240917@204619.5219 05ggcqihn2i1v5jdl45isb00ab Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406009 and bi.ref ='324.5501.00.1' and bi.lordem =1
20240917@204619.5585 05ggcqihn2i1v5jdl45isb00ab 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'
20240917@204619.5608 05ggcqihn2i1v5jdl45isb00ab Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406009 and bi.ref ='324.5501.00.1' and bi.lordem =1
20240917@204619.5626 05ggcqihn2i1v5jdl45isb00ab Query : use flama_phc
20240917@204619.5630 05ggcqihn2i1v5jdl45isb00ab Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240917@204619.5667 05ggcqihn2i1v5jdl45isb00ab Query : use flama_phc
20240917@204619.5671 05ggcqihn2i1v5jdl45isb00ab Query : select top 1 1 valor from td where td.ndoc = 39
20240917@204619.5706 05ggcqihn2i1v5jdl45isb00ab Query : use flama_phc
20240917@204619.5710 05ggcqihn2i1v5jdl45isb00ab 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')
20240917@204619.5741 05ggcqihn2i1v5jdl45isb00ab 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
20240917@204619.5784 05ggcqihn2i1v5jdl45isb00ab Query : use flama_phc
20240917@204619.5788 05ggcqihn2i1v5jdl45isb00ab Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240917@204619.5819 05ggcqihn2i1v5jdl45isb00ab Query : use flama_phc
20240917@204619.5823 05ggcqihn2i1v5jdl45isb00ab Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240917@204619.5856 05ggcqihn2i1v5jdl45isb00ab Query : use flama_phc
20240917@204619.5860 05ggcqihn2i1v5jdl45isb00ab Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240917@204619.5907 05ggcqihn2i1v5jdl45isb00ab Query : use flama_phc
20240917@204619.5910 05ggcqihn2i1v5jdl45isb00ab Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - batalha'
20240917@204619.5962 05ggcqihn2i1v5jdl45isb00ab Query : use flama_phc
20240917@204619.5965 05ggcqihn2i1v5jdl45isb00ab Query : select 1 valor from td where ndoc = 39
20240917@204619.5980 05ggcqihn2i1v5jdl45isb00ab Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240917@204619.5996 05ggcqihn2i1v5jdl45isb00ab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.6014 05ggcqihn2i1v5jdl45isb00ab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204619.6036 05ggcqihn2i1v5jdl45isb00ab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.6053 05ggcqihn2i1v5jdl45isb00ab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204619.6087 05ggcqihn2i1v5jdl45isb00ab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.6104 05ggcqihn2i1v5jdl45isb00ab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204619.6117 05ggcqihn2i1v5jdl45isb00ab Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204619.6186 05ggcqihn2i1v5jdl45isb00ab Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204619.6201 05ggcqihn2i1v5jdl45isb00ab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.6219 05ggcqihn2i1v5jdl45isb00ab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204619.6239 05ggcqihn2i1v5jdl45isb00ab Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e9d5672466e9dc8b95' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240917@204619.6436 05ggcqihn2i1v5jdl45isb00ab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.6456 05ggcqihn2i1v5jdl45isb00ab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204619.6497 05ggcqihn2i1v5jdl45isb00ab Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240917@204619.6512 05ggcqihn2i1v5jdl45isb00ab Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240917@204619.6526 05ggcqihn2i1v5jdl45isb00ab Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240917@204619.6542 05ggcqihn2i1v5jdl45isb00ab Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240917@204619.6558 05ggcqihn2i1v5jdl45isb00ab Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240917@204619.6574 05ggcqihn2i1v5jdl45isb00ab Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240917@204619.6613 05ggcqihn2i1v5jdl45isb00ab Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e9d5672466e9dc8b95',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240917@204619.6899 05ggcqihn2i1v5jdl45isb00ab Query : select top 1 fno valor from wsftdata order by fno desc
20240917@204619.6930 05ggcqihn2i1v5jdl45isb00ab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.6950 05ggcqihn2i1v5jdl45isb00ab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204619.6976 05ggcqihn2i1v5jdl45isb00ab Query : select 'normal' from dummy
20240917@204619.6997 05ggcqihn2i1v5jdl45isb00ab Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e9d5672466e9dc8b95',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',799,101621,0,'2024-09-17',39,'euro',0,0,2024 ,?,?)
20240917@204619.7343 05ggcqihn2i1v5jdl45isb00ab Query : use flama_phc
20240917@204619.7347 05ggcqihn2i1v5jdl45isb00ab Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20240917@204619.7374 05ggcqihn2i1v5jdl45isb00ab Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204619.7393 05ggcqihn2i1v5jdl45isb00ab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.7412 05ggcqihn2i1v5jdl45isb00ab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204619.7444 05ggcqihn2i1v5jdl45isb00ab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.7460 05ggcqihn2i1v5jdl45isb00ab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204619.7471 05ggcqihn2i1v5jdl45isb00ab Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204619.7485 05ggcqihn2i1v5jdl45isb00ab Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20240917@204619.7500 05ggcqihn2i1v5jdl45isb00ab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.7518 05ggcqihn2i1v5jdl45isb00ab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204619.7535 05ggcqihn2i1v5jdl45isb00ab Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d8507466e9dc8bb7','aut66e9d5672466e9dc8b95' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204619.7541 05ggcqihn2i1v5jdl45isb00ab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.7558 05ggcqihn2i1v5jdl45isb00ab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204619.7594 05ggcqihn2i1v5jdl45isb00ab Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d8507466e9dc8bb7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e9d5672466e9dc8b95' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240917@204619.7892 05ggcqihn2i1v5jdl45isb00ab Query : use flama_phc
20240917@204619.7895 05ggcqihn2i1v5jdl45isb00ab Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20240917@204619.7919 05ggcqihn2i1v5jdl45isb00ab Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204619.7940 05ggcqihn2i1v5jdl45isb00ab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.7960 05ggcqihn2i1v5jdl45isb00ab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204619.7992 05ggcqihn2i1v5jdl45isb00ab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.8010 05ggcqihn2i1v5jdl45isb00ab Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204619.8021 05ggcqihn2i1v5jdl45isb00ab Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204619.8036 05ggcqihn2i1v5jdl45isb00ab Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20240917@204619.8052 05ggcqihn2i1v5jdl45isb00ab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.8070 05ggcqihn2i1v5jdl45isb00ab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204619.8085 05ggcqihn2i1v5jdl45isb00ab Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d7231366e9dc8bc4','aut66e9d5672466e9dc8b95' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204619.8091 05ggcqihn2i1v5jdl45isb00ab Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204619.8177 05ggcqihn2i1v5jdl45isb00ab Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204619.8217 05ggcqihn2i1v5jdl45isb00ab Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d7231366e9dc8bc4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e9d5672466e9dc8b95' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240917@204619.8513 05ggcqihn2i1v5jdl45isb00ab Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e9d5672466e9dc8b95','2406009','wait',39,'adm09112754980.682000002')
20240917@204619.8605 05ggcqihn2i1v5jdl45isb00ab Query : use flama_phc
20240917@204619.8609 05ggcqihn2i1v5jdl45isb00ab Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240917@204619.8644 05ggcqihn2i1v5jdl45isb00ab Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2059';
20240917@204619.8680 05ggcqihn2i1v5jdl45isb00ab Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2059';
20240917@204619.8726 05ggcqihn2i1v5jdl45isb00ab Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2059';
20240917@204619.8753 05ggcqihn2i1v5jdl45isb00ab Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2059';
20240917@204619.9304 i783kr1ec6blad3650h61k1qls Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240917@204619.9317 i783kr1ec6blad3650h61k1qls Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240917@204619.9376 i783kr1ec6blad3650h61k1qls Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2060';
20240917@204619.9434 i783kr1ec6blad3650h61k1qls Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2060';
20240917@204619.9490 i783kr1ec6blad3650h61k1qls Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2060';
20240917@204619.9519 i783kr1ec6blad3650h61k1qls Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2060';
20240917@204619.9570 i783kr1ec6blad3650h61k1qls Query : use flama_phc
20240917@204619.9574 i783kr1ec6blad3650h61k1qls Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240917@204619.9646 i783kr1ec6blad3650h61k1qls Query : use flama_phc
20240917@204619.9649 i783kr1ec6blad3650h61k1qls Query : select no, estab,szadrsdesc from szadrs where u_coddest=908
20240917@204619.9735 i783kr1ec6blad3650h61k1qls 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'
20240917@204619.9758 i783kr1ec6blad3650h61k1qls Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406010 and bi.ref ='324.691.00.01' and bi.lordem =1
20240917@204620.1310 i783kr1ec6blad3650h61k1qls 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'
20240917@204620.1550 i783kr1ec6blad3650h61k1qls Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406010 and bi.ref ='324.691.00.01' and bi.lordem =2
20240917@204620.4710 i783kr1ec6blad3650h61k1qls Query : use flama_phc
20240917@204620.4760 i783kr1ec6blad3650h61k1qls Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240917@204620.5120 i783kr1ec6blad3650h61k1qls Query : use flama_phc
20240917@204620.5160 i783kr1ec6blad3650h61k1qls Query : select top 1 1 valor from td where td.ndoc = 39
20240917@204620.5490 i783kr1ec6blad3650h61k1qls Query : use flama_phc
20240917@204620.5520 i783kr1ec6blad3650h61k1qls 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')
20240917@204620.5830 i783kr1ec6blad3650h61k1qls 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
20240917@204620.6220 i783kr1ec6blad3650h61k1qls Query : use flama_phc
20240917@204620.6260 i783kr1ec6blad3650h61k1qls Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240917@204620.6600 i783kr1ec6blad3650h61k1qls Query : use flama_phc
20240917@204620.6640 i783kr1ec6blad3650h61k1qls Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240917@204620.6990 i783kr1ec6blad3650h61k1qls Query : use flama_phc
20240917@204620.7030 i783kr1ec6blad3650h61k1qls Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240917@204620.7520 i783kr1ec6blad3650h61k1qls Query : use flama_phc
20240917@204620.7560 i783kr1ec6blad3650h61k1qls Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda-aveiro'
20240917@204620.8100 i783kr1ec6blad3650h61k1qls Query : use flama_phc
20240917@204620.8130 i783kr1ec6blad3650h61k1qls Query : select 1 valor from td where ndoc = 39
20240917@204620.8310 i783kr1ec6blad3650h61k1qls Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240917@204620.8490 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.8710 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204620.8940 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.9150 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204620.9490 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.9660 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204620.9830 i783kr1ec6blad3650h61k1qls Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204620.1054 i783kr1ec6blad3650h61k1qls Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204620.1069 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.1091 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204620.1110 i783kr1ec6blad3650h61k1qls Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e9d8953266e9dc8c18' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240917@204620.1309 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.1328 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204620.1371 i783kr1ec6blad3650h61k1qls Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240917@204620.1387 i783kr1ec6blad3650h61k1qls Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240917@204620.1402 i783kr1ec6blad3650h61k1qls Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240917@204620.1416 i783kr1ec6blad3650h61k1qls Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240917@204620.1431 i783kr1ec6blad3650h61k1qls Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240917@204620.1444 i783kr1ec6blad3650h61k1qls Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240917@204620.1458 i783kr1ec6blad3650h61k1qls Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e9d8953266e9dc8c18',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240917@204620.1755 i783kr1ec6blad3650h61k1qls Query : select top 1 fno valor from wsftdata order by fno desc
20240917@204620.1779 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.1797 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204620.1825 i783kr1ec6blad3650h61k1qls Query : select 'normal' from dummy
20240917@204620.1846 i783kr1ec6blad3650h61k1qls Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e9d8953266e9dc8c18',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',800,101621,0,'2024-09-17',39,'euro',0,0,2024 ,?,?)
20240917@204620.2916 i783kr1ec6blad3650h61k1qls Query : use flama_phc
20240917@204620.3125 i783kr1ec6blad3650h61k1qls Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240917@204620.3155 i783kr1ec6blad3650h61k1qls Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204620.3172 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.3192 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204620.3222 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.3240 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204620.3249 i783kr1ec6blad3650h61k1qls Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204620.3263 i783kr1ec6blad3650h61k1qls Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240917@204620.3278 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.3294 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204620.3308 i783kr1ec6blad3650h61k1qls Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d8597366e9dc8c50','aut66e9d8953266e9dc8c18' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204620.3313 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.3328 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204620.3362 i783kr1ec6blad3650h61k1qls Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d8597366e9dc8c50',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66e9d8953266e9dc8c18' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240917@204620.3649 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.3668 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204620.3698 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.3715 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204620.3726 i783kr1ec6blad3650h61k1qls Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204620.3740 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.3756 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204620.3770 i783kr1ec6blad3650h61k1qls Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d3090166e9dc8c5b','aut66e9d8953266e9dc8c18' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204620.3775 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.3796 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204620.3829 i783kr1ec6blad3650h61k1qls Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e9d3090166e9dc8c5b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e9d8953266e9dc8c18' ,0,0 ,2,23.00,20000,?,?,?)
20240917@204620.4106 i783kr1ec6blad3650h61k1qls Query : use flama_phc
20240917@204620.4109 i783kr1ec6blad3650h61k1qls Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240917@204620.4131 i783kr1ec6blad3650h61k1qls Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204620.4147 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.4165 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204620.4203 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.4580 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204620.4591 i783kr1ec6blad3650h61k1qls Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204620.4605 i783kr1ec6blad3650h61k1qls Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240917@204620.4619 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.4638 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204620.4651 i783kr1ec6blad3650h61k1qls Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d5094166e9dc8c70','aut66e9d8953266e9dc8c18' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204620.4655 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.4673 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204620.4737 i783kr1ec6blad3650h61k1qls Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d5094166e9dc8c70',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66e9d8953266e9dc8c18' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240917@204620.5020 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.5039 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204620.5070 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.5085 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204620.5094 i783kr1ec6blad3650h61k1qls Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204620.5107 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.5123 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204620.5135 i783kr1ec6blad3650h61k1qls Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d0822966e9dc8c7c','aut66e9d8953266e9dc8c18' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204620.5140 i783kr1ec6blad3650h61k1qls Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.5155 i783kr1ec6blad3650h61k1qls Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204620.5184 i783kr1ec6blad3650h61k1qls Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e9d0822966e9dc8c7c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e9d8953266e9dc8c18' ,0,0 ,2,23.00,50000,?,?,?)
20240917@204620.5470 i783kr1ec6blad3650h61k1qls Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e9d8953266e9dc8c18','2406010','wait',39,'adm09112754980.682000002')
20240917@204620.5542 i783kr1ec6blad3650h61k1qls Query : use flama_phc
20240917@204620.5546 i783kr1ec6blad3650h61k1qls Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240917@204620.5575 i783kr1ec6blad3650h61k1qls Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2060';
20240917@204620.5603 i783kr1ec6blad3650h61k1qls Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2060';
20240917@204620.5643 i783kr1ec6blad3650h61k1qls Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2060';
20240917@204620.5668 i783kr1ec6blad3650h61k1qls Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2060';
20240917@204620.6197 tedhr2ggb2p8sih07ova9mm2q0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240917@204620.6208 tedhr2ggb2p8sih07ova9mm2q0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240917@204620.6258 tedhr2ggb2p8sih07ova9mm2q0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2061';
20240917@204620.6315 tedhr2ggb2p8sih07ova9mm2q0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2061';
20240917@204620.6363 tedhr2ggb2p8sih07ova9mm2q0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2061';
20240917@204620.6387 tedhr2ggb2p8sih07ova9mm2q0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2061';
20240917@204620.6436 tedhr2ggb2p8sih07ova9mm2q0 Query : use flama_phc
20240917@204620.6439 tedhr2ggb2p8sih07ova9mm2q0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240917@204620.6499 tedhr2ggb2p8sih07ova9mm2q0 Query : use flama_phc
20240917@204620.6502 tedhr2ggb2p8sih07ova9mm2q0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240917@204620.6542 tedhr2ggb2p8sih07ova9mm2q0 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'
20240917@204620.6702 tedhr2ggb2p8sih07ova9mm2q0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406012 and bi.ref ='324.948.00.01' and bi.lordem =1
20240917@204620.7101 tedhr2ggb2p8sih07ova9mm2q0 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'
20240917@204620.7123 tedhr2ggb2p8sih07ova9mm2q0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406012 and bi.ref ='324.948.00.01' and bi.lordem =1
20240917@204620.7143 tedhr2ggb2p8sih07ova9mm2q0 Query : use flama_phc
20240917@204620.7147 tedhr2ggb2p8sih07ova9mm2q0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240917@204620.7185 tedhr2ggb2p8sih07ova9mm2q0 Query : use flama_phc
20240917@204620.7189 tedhr2ggb2p8sih07ova9mm2q0 Query : select top 1 1 valor from td where td.ndoc = 39
20240917@204620.7224 tedhr2ggb2p8sih07ova9mm2q0 Query : use flama_phc
20240917@204620.7227 tedhr2ggb2p8sih07ova9mm2q0 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')
20240917@204620.7258 tedhr2ggb2p8sih07ova9mm2q0 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
20240917@204620.7297 tedhr2ggb2p8sih07ova9mm2q0 Query : use flama_phc
20240917@204620.7300 tedhr2ggb2p8sih07ova9mm2q0 Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20240917@204620.7334 tedhr2ggb2p8sih07ova9mm2q0 Query : use flama_phc
20240917@204620.7337 tedhr2ggb2p8sih07ova9mm2q0 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240917@204620.7380 tedhr2ggb2p8sih07ova9mm2q0 Query : use flama_phc
20240917@204620.7383 tedhr2ggb2p8sih07ova9mm2q0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240917@204620.7435 tedhr2ggb2p8sih07ova9mm2q0 Query : use flama_phc
20240917@204620.7439 tedhr2ggb2p8sih07ova9mm2q0 Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20240917@204620.7512 tedhr2ggb2p8sih07ova9mm2q0 Query : use flama_phc
20240917@204620.7515 tedhr2ggb2p8sih07ova9mm2q0 Query : select 1 valor from td where ndoc = 39
20240917@204620.7529 tedhr2ggb2p8sih07ova9mm2q0 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240917@204620.7545 tedhr2ggb2p8sih07ova9mm2q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.7563 tedhr2ggb2p8sih07ova9mm2q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204620.7584 tedhr2ggb2p8sih07ova9mm2q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.7601 tedhr2ggb2p8sih07ova9mm2q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204620.7631 tedhr2ggb2p8sih07ova9mm2q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.7646 tedhr2ggb2p8sih07ova9mm2q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204620.7659 tedhr2ggb2p8sih07ova9mm2q0 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204620.7725 tedhr2ggb2p8sih07ova9mm2q0 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204620.7738 tedhr2ggb2p8sih07ova9mm2q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.7753 tedhr2ggb2p8sih07ova9mm2q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204620.7768 tedhr2ggb2p8sih07ova9mm2q0 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e9d6921466e9dc8cbb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240917@204620.7959 tedhr2ggb2p8sih07ova9mm2q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.7976 tedhr2ggb2p8sih07ova9mm2q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204620.8035 tedhr2ggb2p8sih07ova9mm2q0 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240917@204620.8050 tedhr2ggb2p8sih07ova9mm2q0 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240917@204620.8064 tedhr2ggb2p8sih07ova9mm2q0 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240917@204620.8077 tedhr2ggb2p8sih07ova9mm2q0 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240917@204620.8091 tedhr2ggb2p8sih07ova9mm2q0 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240917@204620.8102 tedhr2ggb2p8sih07ova9mm2q0 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240917@204620.8116 tedhr2ggb2p8sih07ova9mm2q0 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e9d6921466e9dc8cbb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240917@204620.8368 tedhr2ggb2p8sih07ova9mm2q0 Query : select top 1 fno valor from wsftdata order by fno desc
20240917@204620.8389 tedhr2ggb2p8sih07ova9mm2q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.8407 tedhr2ggb2p8sih07ova9mm2q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204620.8432 tedhr2ggb2p8sih07ova9mm2q0 Query : select 'normal' from dummy
20240917@204620.8448 tedhr2ggb2p8sih07ova9mm2q0 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e9d6921466e9dc8cbb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',801,101597,0,'2024-09-17',39,'euro',0,0,2024 ,?,?)
20240917@204620.8759 tedhr2ggb2p8sih07ova9mm2q0 Query : use flama_phc
20240917@204620.8763 tedhr2ggb2p8sih07ova9mm2q0 Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20240917@204620.8788 tedhr2ggb2p8sih07ova9mm2q0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204620.8963 tedhr2ggb2p8sih07ova9mm2q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.8980 tedhr2ggb2p8sih07ova9mm2q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204620.9008 tedhr2ggb2p8sih07ova9mm2q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.9025 tedhr2ggb2p8sih07ova9mm2q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204620.9035 tedhr2ggb2p8sih07ova9mm2q0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204620.9047 tedhr2ggb2p8sih07ova9mm2q0 Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2301091200a'
20240917@204620.9075 tedhr2ggb2p8sih07ova9mm2q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.9095 tedhr2ggb2p8sih07ova9mm2q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204620.9109 tedhr2ggb2p8sih07ova9mm2q0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d0319966e9dc8cdd','aut66e9d6921466e9dc8cbb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204620.9113 tedhr2ggb2p8sih07ova9mm2q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.9131 tedhr2ggb2p8sih07ova9mm2q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204620.9163 tedhr2ggb2p8sih07ova9mm2q0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d0319966e9dc8cdd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut66e9d6921466e9dc8cbb' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240917@204620.9525 tedhr2ggb2p8sih07ova9mm2q0 Query : use flama_phc
20240917@204620.9529 tedhr2ggb2p8sih07ova9mm2q0 Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20240917@204620.9554 tedhr2ggb2p8sih07ova9mm2q0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240917@204620.9571 tedhr2ggb2p8sih07ova9mm2q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.9588 tedhr2ggb2p8sih07ova9mm2q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204620.9617 tedhr2ggb2p8sih07ova9mm2q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.9634 tedhr2ggb2p8sih07ova9mm2q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204620.9643 tedhr2ggb2p8sih07ova9mm2q0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204620.9656 tedhr2ggb2p8sih07ova9mm2q0 Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2301091200a'
20240917@204620.9670 tedhr2ggb2p8sih07ova9mm2q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.9686 tedhr2ggb2p8sih07ova9mm2q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204620.9700 tedhr2ggb2p8sih07ova9mm2q0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d5968866e9dc8cec','aut66e9d6921466e9dc8cbb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204620.9705 tedhr2ggb2p8sih07ova9mm2q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204620.9721 tedhr2ggb2p8sih07ova9mm2q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204620.9755 tedhr2ggb2p8sih07ova9mm2q0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d5968866e9dc8cec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut66e9d6921466e9dc8cbb' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240917@204621.2600 tedhr2ggb2p8sih07ova9mm2q0 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e9d6921466e9dc8cbb','2406012','wait',39,'adm09112754980.682000002')
20240917@204621.1090 tedhr2ggb2p8sih07ova9mm2q0 Query : use flama_phc
20240917@204621.1120 tedhr2ggb2p8sih07ova9mm2q0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240917@204621.1490 tedhr2ggb2p8sih07ova9mm2q0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2061';
20240917@204621.1810 tedhr2ggb2p8sih07ova9mm2q0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2061';
20240917@204621.2270 tedhr2ggb2p8sih07ova9mm2q0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2061';
20240917@204621.2530 tedhr2ggb2p8sih07ova9mm2q0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2061';
20240917@204621.1521 i50eehpll3m27903ole3sqvuno Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240917@204621.1689 i50eehpll3m27903ole3sqvuno Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240917@204621.1987 i50eehpll3m27903ole3sqvuno Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2062';
20240917@204621.2045 i50eehpll3m27903ole3sqvuno Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2062';
20240917@204621.2102 i50eehpll3m27903ole3sqvuno Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2062';
20240917@204621.2130 i50eehpll3m27903ole3sqvuno Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2062';
20240917@204621.2184 i50eehpll3m27903ole3sqvuno Query : use flama_phc
20240917@204621.2188 i50eehpll3m27903ole3sqvuno Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240917@204621.2256 i50eehpll3m27903ole3sqvuno Query : use flama_phc
20240917@204621.2260 i50eehpll3m27903ole3sqvuno Query : select no, estab,szadrsdesc from szadrs where u_coddest=6917
20240917@204621.2345 i50eehpll3m27903ole3sqvuno Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20240917@204621.2500 i50eehpll3m27903ole3sqvuno Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406013 and bi.ref ='324.600.94.01' and bi.lordem =1
20240917@204621.2834 i50eehpll3m27903ole3sqvuno Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2000.94.1'
20240917@204621.2988 i50eehpll3m27903ole3sqvuno Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406013 and bi.ref ='324.2000.94.1' and bi.lordem =2
20240917@204621.3330 i50eehpll3m27903ole3sqvuno Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20240917@204621.3486 i50eehpll3m27903ole3sqvuno Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406013 and bi.ref ='324.900.94.01' and bi.lordem =3
20240917@204621.3842 i50eehpll3m27903ole3sqvuno Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.700.94.01'
20240917@204621.4006 i50eehpll3m27903ole3sqvuno Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406013 and bi.ref ='324.700.94.01' and bi.lordem =4
20240917@204621.6236 i50eehpll3m27903ole3sqvuno Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20240917@204621.6404 i50eehpll3m27903ole3sqvuno Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2060 and bo.obrano = 2406013 and bi.ref ='324.2200.94.1' and bi.lordem =5
20240917@204621.6771 i50eehpll3m27903ole3sqvuno Query : use flama_phc
20240917@204621.6776 i50eehpll3m27903ole3sqvuno Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240917@204621.6819 i50eehpll3m27903ole3sqvuno Query : use flama_phc
20240917@204621.6823 i50eehpll3m27903ole3sqvuno Query : select top 1 1 valor from td where td.ndoc = 39
20240917@204621.6856 i50eehpll3m27903ole3sqvuno Query : use flama_phc
20240917@204621.6860 i50eehpll3m27903ole3sqvuno 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')
20240917@204621.6891 i50eehpll3m27903ole3sqvuno 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
20240917@204621.6929 i50eehpll3m27903ole3sqvuno Query : use flama_phc
20240917@204621.6934 i50eehpll3m27903ole3sqvuno Query : select top 1 ~inactivo valor from cl where no = '199800' and estab = 0 order by inactivo desc
20240917@204621.7061 i50eehpll3m27903ole3sqvuno Query : use flama_phc
20240917@204621.7064 i50eehpll3m27903ole3sqvuno Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240917@204621.7112 i50eehpll3m27903ole3sqvuno Query : use flama_phc
20240917@204621.7116 i50eehpll3m27903ole3sqvuno Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240917@204621.7160 i50eehpll3m27903ole3sqvuno Query : use flama_phc
20240917@204621.7164 i50eehpll3m27903ole3sqvuno Query : select szadrsstamp valor from szadrs where szadrsdesc='740 ent vnr bligeiro'
20240917@204621.7217 i50eehpll3m27903ole3sqvuno Query : use flama_phc
20240917@204621.7221 i50eehpll3m27903ole3sqvuno Query : select 1 valor from td where ndoc = 39
20240917@204621.7235 i50eehpll3m27903ole3sqvuno Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240917@204621.7251 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204621.7269 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204621.7291 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204621.7306 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204621.7399 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204621.7417 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204621.7431 i50eehpll3m27903ole3sqvuno Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204621.7704 i50eehpll3m27903ole3sqvuno Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240917@204621.7833 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204621.7852 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240917@204621.7871 i50eehpll3m27903ole3sqvuno Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e9d1321066e9dc8db5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240917@204621.8200 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204621.8221 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240917@204621.8473 i50eehpll3m27903ole3sqvuno Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240917@204621.8501 i50eehpll3m27903ole3sqvuno Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240917@204621.8516 i50eehpll3m27903ole3sqvuno Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240917@204621.8530 i50eehpll3m27903ole3sqvuno Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240917@204621.8549 i50eehpll3m27903ole3sqvuno Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240917@204621.8562 i50eehpll3m27903ole3sqvuno Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240917@204621.8577 i50eehpll3m27903ole3sqvuno Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e9d1321066e9dc8db5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240917@204621.8837 i50eehpll3m27903ole3sqvuno Query : select top 1 fno valor from wsftdata order by fno desc
20240917@204621.8859 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204621.8878 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240917@204621.8904 i50eehpll3m27903ole3sqvuno Query : select 'normal' from dummy
20240917@204621.8922 i50eehpll3m27903ole3sqvuno Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e9d1321066e9dc8db5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',802,199800,0,'2024-09-17',39,'euro',0,0,2024 ,?,?)
20240917@204621.9206 i50eehpll3m27903ole3sqvuno Query : use flama_phc
20240917@204621.9210 i50eehpll3m27903ole3sqvuno Query : select st.usalote valor from st where st.ref = '324.600.94.01'
20240917@204621.9239 i50eehpll3m27903ole3sqvuno Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.600.94.01'
20240917@204621.9400 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204621.9419 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204621.9448 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204621.9465 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204621.9475 i50eehpll3m27903ole3sqvuno Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204621.9488 i50eehpll3m27903ole3sqvuno Query : select sestamp valor from se where ref ='324.600.94.01' and lote = 'r2400047200a'
20240917@204621.9510 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204621.9526 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204621.9540 i50eehpll3m27903ole3sqvuno Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d4601266e9dc8de8','aut66e9d1321066e9dc8db5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204621.9545 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204621.9560 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204621.9593 i50eehpll3m27903ole3sqvuno Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d4601266e9dc8de8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66e9d1321066e9dc8db5' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240917@204621.9862 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204621.9880 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204621.9910 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204621.9927 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204621.9936 i50eehpll3m27903ole3sqvuno Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204621.9949 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204621.9964 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204621.9977 i50eehpll3m27903ole3sqvuno Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d1454466e9dc8df2','aut66e9d1321066e9dc8db5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204621.9982 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204621.9999 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204622.3200 i50eehpll3m27903ole3sqvuno Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e9d1454466e9dc8df2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e9d1321066e9dc8db5' ,0,0 ,2,23.00,20000,?,?,?)
20240917@204622.3060 i50eehpll3m27903ole3sqvuno Query : use flama_phc
20240917@204622.3090 i50eehpll3m27903ole3sqvuno Query : select st.usalote valor from st where st.ref = '324.2000.94.1'
20240917@204622.3310 i50eehpll3m27903ole3sqvuno Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2000.94.1'
20240917@204622.4790 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204622.4970 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204622.5250 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204622.5440 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204622.5530 i50eehpll3m27903ole3sqvuno Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204622.5670 i50eehpll3m27903ole3sqvuno Query : select sestamp valor from se where ref ='324.2000.94.1' and lote = 'r2300916200a'
20240917@204622.5880 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204622.6040 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204622.6170 i50eehpll3m27903ole3sqvuno Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d5063566e9dc8e0e','aut66e9d1321066e9dc8db5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204622.6220 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204622.6380 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204622.6690 i50eehpll3m27903ole3sqvuno Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d5063566e9dc8e0e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut66e9d1321066e9dc8db5' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240917@204622.9190 i50eehpll3m27903ole3sqvuno Query : use flama_phc
20240917@204622.9230 i50eehpll3m27903ole3sqvuno Query : select st.usalote valor from st where st.ref = '324.900.94.01'
20240917@204622.9440 i50eehpll3m27903ole3sqvuno Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.900.94.01'
20240917@204622.1085 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204622.1103 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204622.1129 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204622.1145 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204622.1154 i50eehpll3m27903ole3sqvuno Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204622.1167 i50eehpll3m27903ole3sqvuno Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20240917@204622.1198 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204622.1214 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204622.1228 i50eehpll3m27903ole3sqvuno Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d8154666e9dc8e1d','aut66e9d1321066e9dc8db5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204622.1232 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204622.1249 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204622.1282 i50eehpll3m27903ole3sqvuno Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d8154666e9dc8e1d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut66e9d1321066e9dc8db5' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240917@204622.1546 i50eehpll3m27903ole3sqvuno Query : use flama_phc
20240917@204622.1550 i50eehpll3m27903ole3sqvuno Query : select st.usalote valor from st where st.ref = '324.700.94.01'
20240917@204622.1573 i50eehpll3m27903ole3sqvuno Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.700.94.01'
20240917@204622.1723 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204622.1741 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204622.1833 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204622.1852 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204622.1862 i50eehpll3m27903ole3sqvuno Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204622.1879 i50eehpll3m27903ole3sqvuno Query : select sestamp valor from se where ref ='324.700.94.01' and lote = 'r2300913100a'
20240917@204622.1895 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204622.1911 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204622.1925 i50eehpll3m27903ole3sqvuno Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d4493566e9dc8e2e','aut66e9d1321066e9dc8db5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204622.1931 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204622.1948 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204622.1982 i50eehpll3m27903ole3sqvuno Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d4493566e9dc8e2e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',14.000 ,'aut66e9d1321066e9dc8db5' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240917@204622.2239 i50eehpll3m27903ole3sqvuno Query : use flama_phc
20240917@204622.2242 i50eehpll3m27903ole3sqvuno Query : select st.usalote valor from st where st.ref = '324.2200.94.1'
20240917@204622.2266 i50eehpll3m27903ole3sqvuno Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2200.94.1'
20240917@204622.2414 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204622.2434 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204622.2524 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204622.2546 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204622.2555 i50eehpll3m27903ole3sqvuno Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240917@204622.2569 i50eehpll3m27903ole3sqvuno Query : select sestamp valor from se where ref ='324.2200.94.1' and lote = 'r2400046200a'
20240917@204622.2585 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204622.2730 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240917@204622.2924 i50eehpll3m27903ole3sqvuno Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e9d0481066e9dc8e3f','aut66e9d1321066e9dc8db5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240917@204622.2966 i50eehpll3m27903ole3sqvuno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240917@204622.2988 i50eehpll3m27903ole3sqvuno Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240917@204622.3020 i50eehpll3m27903ole3sqvuno Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e9d0481066e9dc8e3f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66e9d1321066e9dc8db5' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240917@204622.3348 i50eehpll3m27903ole3sqvuno Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e9d1321066e9dc8db5','2406013','wait',39,'adm09112754980.682000002')
20240917@204622.3575 i50eehpll3m27903ole3sqvuno Query : use flama_phc
20240917@204622.3580 i50eehpll3m27903ole3sqvuno Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240917@204622.3663 i50eehpll3m27903ole3sqvuno Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2062';
20240917@204622.3752 i50eehpll3m27903ole3sqvuno Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2062';
20240917@204622.3995 i50eehpll3m27903ole3sqvuno Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2062';
20240917@204622.4067 i50eehpll3m27903ole3sqvuno Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2062';

20240918@183820.9220 dlr9qk2m3upo3ugkaipkpi017f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2063';
20240918@183820.9333 dlr9qk2m3upo3ugkaipkpi017f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2063';
20240918@183820.9368 dlr9qk2m3upo3ugkaipkpi017f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2063';
20240918@183820.9423 dlr9qk2m3upo3ugkaipkpi017f Query : use flama_phc
20240918@183820.9427 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240918@183820.9655 dlr9qk2m3upo3ugkaipkpi017f Query : use flama_phc
20240918@183820.9659 dlr9qk2m3upo3ugkaipkpi017f Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240918@183820.9834 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240918@183821.4000 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405993 and bi.ref ='324.646.00.01' and bi.lordem =1
20240918@183821.3500 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240918@183821.3720 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405993 and bi.ref ='324.646.00.01' and bi.lordem =1
20240918@183821.3940 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240918@183821.4190 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405993 and bi.ref ='324.646.00.01' and bi.lordem =1
20240918@183821.4470 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240918@183821.4930 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405993 and bi.ref ='324.646.00.01' and bi.lordem =1
20240918@183821.5140 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240918@183821.5370 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405993 and bi.ref ='324.646.00.01' and bi.lordem =1
20240918@183821.5660 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240918@183821.5880 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405993 and bi.ref ='324.646.00.01' and bi.lordem =1
20240918@183821.6080 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240918@183821.6550 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405993 and bi.ref ='324.646.00.01' and bi.lordem =1
20240918@183821.6990 dlr9qk2m3upo3ugkaipkpi017f Query : use flama_phc
20240918@183821.7140 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240918@183821.9770 dlr9qk2m3upo3ugkaipkpi017f Query : use flama_phc
20240918@183821.9800 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 1 valor from td where td.ndoc = 39
20240918@183821.1072 dlr9qk2m3upo3ugkaipkpi017f Query : use flama_phc
20240918@183821.1075 dlr9qk2m3upo3ugkaipkpi017f 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')
20240918@183821.1170 dlr9qk2m3upo3ugkaipkpi017f 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
20240918@183821.1409 dlr9qk2m3upo3ugkaipkpi017f Query : use flama_phc
20240918@183821.1413 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240918@183821.1538 dlr9qk2m3upo3ugkaipkpi017f Query : use flama_phc
20240918@183821.1541 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240918@183821.1639 dlr9qk2m3upo3ugkaipkpi017f Query : use flama_phc
20240918@183821.1642 dlr9qk2m3upo3ugkaipkpi017f Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240918@183821.1841 dlr9qk2m3upo3ugkaipkpi017f Query : use flama_phc
20240918@183821.1845 dlr9qk2m3upo3ugkaipkpi017f Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240918@183821.1897 dlr9qk2m3upo3ugkaipkpi017f Query : use flama_phc
20240918@183821.1901 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from td where ndoc = 39
20240918@183821.1977 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240918@183821.2035 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.2349 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240918@183821.2453 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.2471 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240918@183821.2519 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.2537 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240918@183821.2553 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240918@183821.2763 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240918@183821.2879 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.2898 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240918@183821.2951 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66eb12766366eb100d3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240918@183821.3252 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.3274 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240918@183821.3322 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240918@183821.3541 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240918@183821.3625 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240918@183821.3706 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240918@183821.3780 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240918@183821.3887 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240918@183821.3977 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66eb12766366eb100d3e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240918@183821.4764 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 fno valor from wsftdata order by fno desc
20240918@183821.4864 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.4887 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240918@183821.4920 dlr9qk2m3upo3ugkaipkpi017f Query : select 'normal' from dummy
20240918@183821.4968 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66eb12766366eb100d3e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',803,100810,0,'2024-09-18',39,'euro',0,0,2024 ,?,?)
20240918@183821.5613 dlr9qk2m3upo3ugkaipkpi017f Query : use flama_phc
20240918@183821.5616 dlr9qk2m3upo3ugkaipkpi017f Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240918@183821.5774 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240918@183821.6086 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.6105 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183821.6161 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.6191 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183821.6201 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183821.6245 dlr9qk2m3upo3ugkaipkpi017f Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240918@183821.6322 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.6339 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183821.6352 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb11434466eb100d9a','aut66eb12766366eb100d3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183821.6426 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.6442 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183821.6473 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66eb11434466eb100d9a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66eb12766366eb100d3e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240918@183821.7303 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.7324 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183821.7354 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.7373 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183821.7382 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183821.7405 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.7420 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183821.7436 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb14708566eb100db4','aut66eb12766366eb100d3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183821.7440 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.7457 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183821.7485 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66eb14708566eb100db4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66eb12766366eb100d3e' ,0,0 ,2,23.00,20000,?,?,?)
20240918@183821.7931 dlr9qk2m3upo3ugkaipkpi017f Query : use flama_phc
20240918@183821.7935 dlr9qk2m3upo3ugkaipkpi017f Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240918@183821.7961 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240918@183821.7976 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.7992 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183821.8028 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.8044 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183821.8052 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183821.8064 dlr9qk2m3upo3ugkaipkpi017f Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240918@183821.8077 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.8091 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183821.8103 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb11825766eb100dc5','aut66eb12766366eb100d3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183821.8107 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.8122 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183821.8152 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66eb11825766eb100dc5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66eb12766366eb100d3e' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240918@183821.8560 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.8579 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183821.8604 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.8633 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183821.8641 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183821.8654 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.8669 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183821.8680 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb13120766eb100dd3','aut66eb12766366eb100d3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183821.8688 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.8702 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183821.8733 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66eb13120766eb100dd3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66eb12766366eb100d3e' ,0,0 ,2,23.00,50000,?,?,?)
20240918@183821.9020 dlr9qk2m3upo3ugkaipkpi017f Query : use flama_phc
20240918@183821.9023 dlr9qk2m3upo3ugkaipkpi017f Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240918@183821.9042 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240918@183821.9060 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.9075 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183821.9105 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.9124 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183821.9133 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183821.9145 dlr9qk2m3upo3ugkaipkpi017f Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240918@183821.9160 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.9176 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183821.9187 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb17779166eb100ddf','aut66eb12766366eb100d3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183821.9191 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.9207 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183821.9351 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66eb17779166eb100ddf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66eb12766366eb100d3e' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240918@183821.9657 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.9674 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183821.9702 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.9719 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183821.9733 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183821.9745 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.9760 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183821.9783 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb16732666eb100ded','aut66eb12766366eb100d3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183821.9793 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183821.9815 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183821.9857 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66eb16732666eb100ded',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66eb12766366eb100d3e' ,0,0 ,2,23.00,80000,?,?,?)
20240918@183822.1540 dlr9qk2m3upo3ugkaipkpi017f Query : use flama_phc
20240918@183822.1570 dlr9qk2m3upo3ugkaipkpi017f Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240918@183822.1850 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240918@183822.1990 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.2160 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183822.2430 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.2610 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183822.2700 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183822.2820 dlr9qk2m3upo3ugkaipkpi017f Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240918@183822.2940 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.3180 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183822.3290 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb10823066eb100e07','aut66eb12766366eb100d3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183822.3330 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.3530 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183822.3820 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66eb10823066eb100e07',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66eb12766366eb100d3e' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240918@183822.6420 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.6580 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183822.6870 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.7050 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183822.7160 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183822.7330 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.7500 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183822.7610 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb17631066eb100e11','aut66eb12766366eb100d3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183822.7650 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.7790 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183822.8070 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66eb17631066eb100e11',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66eb12766366eb100d3e' ,0,0 ,2,23.00,110000,?,?,?)
20240918@183822.1072 dlr9qk2m3upo3ugkaipkpi017f Query : use flama_phc
20240918@183822.1074 dlr9qk2m3upo3ugkaipkpi017f Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240918@183822.1104 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240918@183822.1124 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.1139 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183822.1164 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.1189 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183822.1197 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183822.1209 dlr9qk2m3upo3ugkaipkpi017f Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240918@183822.1221 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.1245 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183822.1257 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb19484666eb100e1d','aut66eb12766366eb100d3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183822.1261 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.1275 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183822.1302 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66eb19484666eb100e1d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66eb12766366eb100d3e' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240918@183822.1569 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.2759 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183822.2921 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.2966 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183822.2978 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183822.3033 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.3103 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183822.3136 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb17795766eb100e4a','aut66eb12766366eb100d3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183822.3149 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.3171 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183822.3204 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66eb17795766eb100e4a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66eb12766366eb100d3e' ,0,0 ,2,23.00,140000,?,?,?)
20240918@183822.3582 dlr9qk2m3upo3ugkaipkpi017f Query : use flama_phc
20240918@183822.3598 dlr9qk2m3upo3ugkaipkpi017f Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240918@183822.3640 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240918@183822.3659 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.3677 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183822.3702 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.3720 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183822.3732 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183822.3744 dlr9qk2m3upo3ugkaipkpi017f Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240918@183822.3763 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.3777 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183822.3789 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb17302166eb100e5b','aut66eb12766366eb100d3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183822.3793 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.3807 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183822.3985 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66eb17302166eb100e5b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66eb12766366eb100d3e' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20240918@183822.4271 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.4417 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183822.4453 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.4471 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183822.4481 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183822.4495 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.4511 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183822.4524 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb14921366eb100e6d','aut66eb12766366eb100d3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183822.4540 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.4554 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183822.4581 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66eb14921366eb100e6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66eb12766366eb100d3e' ,0,0 ,2,23.00,170000,?,?,?)
20240918@183822.4844 dlr9qk2m3upo3ugkaipkpi017f Query : use flama_phc
20240918@183822.4847 dlr9qk2m3upo3ugkaipkpi017f Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240918@183822.4874 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240918@183822.4888 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.5077 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183822.5107 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.5124 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183822.5133 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183822.5146 dlr9qk2m3upo3ugkaipkpi017f Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240918@183822.5158 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.5172 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183822.5184 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb19077166eb100e7d','aut66eb12766366eb100d3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183822.5188 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.5203 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183822.5232 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66eb19077166eb100e7d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66eb12766366eb100d3e' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20240918@183822.5511 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.5529 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183822.5679 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.5698 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183822.5706 dlr9qk2m3upo3ugkaipkpi017f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183822.5724 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.5741 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183822.5753 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb15293066eb100e8b','aut66eb12766366eb100d3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183822.5757 dlr9qk2m3upo3ugkaipkpi017f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183822.5782 dlr9qk2m3upo3ugkaipkpi017f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183822.5817 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66eb15293066eb100e8b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66eb12766366eb100d3e' ,0,0 ,2,23.00,200000,?,?,?)
20240918@183822.6074 dlr9qk2m3upo3ugkaipkpi017f Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66eb12766366eb100d3e','2405993','wait',39,'adm09112754980.682000002')
20240918@183822.6609 dlr9qk2m3upo3ugkaipkpi017f Query : use flama_phc
20240918@183822.6617 dlr9qk2m3upo3ugkaipkpi017f Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240918@183822.7049 dlr9qk2m3upo3ugkaipkpi017f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2063';
20240918@183822.7085 dlr9qk2m3upo3ugkaipkpi017f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2063';
20240918@183822.7129 dlr9qk2m3upo3ugkaipkpi017f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2063';
20240918@183822.7162 dlr9qk2m3upo3ugkaipkpi017f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2063';
20240918@183822.7876 vna0ppe6p4goddds746l3tapr8 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240918@183822.7888 vna0ppe6p4goddds746l3tapr8 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240918@183822.7950 vna0ppe6p4goddds746l3tapr8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2064';
20240918@183822.8009 vna0ppe6p4goddds746l3tapr8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2064';
20240918@183822.8081 vna0ppe6p4goddds746l3tapr8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2064';
20240918@183822.8107 vna0ppe6p4goddds746l3tapr8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2064';
20240918@183822.8161 vna0ppe6p4goddds746l3tapr8 Query : use flama_phc
20240918@183822.8164 vna0ppe6p4goddds746l3tapr8 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240918@183822.8240 vna0ppe6p4goddds746l3tapr8 Query : use flama_phc
20240918@183822.8243 vna0ppe6p4goddds746l3tapr8 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240918@183822.8293 vna0ppe6p4goddds746l3tapr8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.728.00.01'
20240918@183822.8468 vna0ppe6p4goddds746l3tapr8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405994 and bi.ref ='324.728.00.01' and bi.lordem =1
20240918@183822.9235 vna0ppe6p4goddds746l3tapr8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.728.00.01'
20240918@183822.9267 vna0ppe6p4goddds746l3tapr8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405994 and bi.ref ='324.728.00.01' and bi.lordem =1
20240918@183822.9284 vna0ppe6p4goddds746l3tapr8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.728.00.01'
20240918@183822.9309 vna0ppe6p4goddds746l3tapr8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405994 and bi.ref ='324.728.00.01' and bi.lordem =1
20240918@183822.9330 vna0ppe6p4goddds746l3tapr8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.728.00.01'
20240918@183822.9351 vna0ppe6p4goddds746l3tapr8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405994 and bi.ref ='324.728.00.01' and bi.lordem =1
20240918@183822.9371 vna0ppe6p4goddds746l3tapr8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.728.00.01'
20240918@183822.9393 vna0ppe6p4goddds746l3tapr8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405994 and bi.ref ='324.728.00.01' and bi.lordem =1
20240918@183822.9412 vna0ppe6p4goddds746l3tapr8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.728.00.01'
20240918@183822.9437 vna0ppe6p4goddds746l3tapr8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405994 and bi.ref ='324.728.00.01' and bi.lordem =1
20240918@183822.9476 vna0ppe6p4goddds746l3tapr8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.728.00.01'
20240918@183822.9522 vna0ppe6p4goddds746l3tapr8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405994 and bi.ref ='324.728.00.01' and bi.lordem =1
20240918@183822.9558 vna0ppe6p4goddds746l3tapr8 Query : use flama_phc
20240918@183822.9563 vna0ppe6p4goddds746l3tapr8 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240918@183822.9667 vna0ppe6p4goddds746l3tapr8 Query : use flama_phc
20240918@183822.9677 vna0ppe6p4goddds746l3tapr8 Query : select top 1 1 valor from td where td.ndoc = 39
20240918@183822.9711 vna0ppe6p4goddds746l3tapr8 Query : use flama_phc
20240918@183822.9721 vna0ppe6p4goddds746l3tapr8 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')
20240918@183822.9763 vna0ppe6p4goddds746l3tapr8 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
20240918@183822.9809 vna0ppe6p4goddds746l3tapr8 Query : use flama_phc
20240918@183822.9813 vna0ppe6p4goddds746l3tapr8 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240918@183822.9848 vna0ppe6p4goddds746l3tapr8 Query : use flama_phc
20240918@183822.9851 vna0ppe6p4goddds746l3tapr8 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240918@183822.9881 vna0ppe6p4goddds746l3tapr8 Query : use flama_phc
20240918@183822.9884 vna0ppe6p4goddds746l3tapr8 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240918@183823.4900 vna0ppe6p4goddds746l3tapr8 Query : use flama_phc
20240918@183823.7100 vna0ppe6p4goddds746l3tapr8 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240918@183823.1210 vna0ppe6p4goddds746l3tapr8 Query : use flama_phc
20240918@183823.1240 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from td where ndoc = 39
20240918@183823.1390 vna0ppe6p4goddds746l3tapr8 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240918@183823.1530 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.1700 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240918@183823.1950 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.2170 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240918@183823.2570 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.2750 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240918@183823.2910 vna0ppe6p4goddds746l3tapr8 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240918@183823.3640 vna0ppe6p4goddds746l3tapr8 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240918@183823.3780 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.3970 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240918@183823.1803 vna0ppe6p4goddds746l3tapr8 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66eb15571866eb100f07' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240918@183823.2120 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.2156 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240918@183823.2325 vna0ppe6p4goddds746l3tapr8 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240918@183823.2343 vna0ppe6p4goddds746l3tapr8 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240918@183823.2356 vna0ppe6p4goddds746l3tapr8 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240918@183823.2370 vna0ppe6p4goddds746l3tapr8 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240918@183823.2384 vna0ppe6p4goddds746l3tapr8 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240918@183823.2399 vna0ppe6p4goddds746l3tapr8 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240918@183823.2413 vna0ppe6p4goddds746l3tapr8 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66eb15571866eb100f07',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240918@183823.2748 vna0ppe6p4goddds746l3tapr8 Query : select top 1 fno valor from wsftdata order by fno desc
20240918@183823.2851 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.2871 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240918@183823.2907 vna0ppe6p4goddds746l3tapr8 Query : select 'normal' from dummy
20240918@183823.2925 vna0ppe6p4goddds746l3tapr8 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66eb15571866eb100f07',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',804,100810,0,'2024-09-18',39,'euro',0,0,2024 ,?,?)
20240918@183823.3246 vna0ppe6p4goddds746l3tapr8 Query : use flama_phc
20240918@183823.3250 vna0ppe6p4goddds746l3tapr8 Query : select st.usalote valor from st where st.ref = '324.728.00.01'
20240918@183823.3275 vna0ppe6p4goddds746l3tapr8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.728.00.01'
20240918@183823.3441 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.3469 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183823.5580 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.5711 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183823.5751 vna0ppe6p4goddds746l3tapr8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183823.5807 vna0ppe6p4goddds746l3tapr8 Query : select sestamp valor from se where ref ='324.728.00.01' and lote = 'r2400238200a'
20240918@183823.5843 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.5868 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183823.5893 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb15693066eb100f8e','aut66eb15571866eb100f07' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183823.5903 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.5973 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183823.6066 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66eb15693066eb100f8e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut66eb15571866eb100f07' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240918@183823.6339 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.6362 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183823.6448 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.6476 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183823.6485 vna0ppe6p4goddds746l3tapr8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183823.6855 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.7019 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183823.7042 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb17454666eb100fa7','aut66eb15571866eb100f07' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183823.7048 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.7065 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183823.7190 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66eb17454666eb100fa7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66eb15571866eb100f07' ,0,0 ,2,23.00,20000,?,?,?)
20240918@183823.7676 vna0ppe6p4goddds746l3tapr8 Query : use flama_phc
20240918@183823.7690 vna0ppe6p4goddds746l3tapr8 Query : select st.usalote valor from st where st.ref = '324.728.00.01'
20240918@183823.7781 vna0ppe6p4goddds746l3tapr8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.728.00.01'
20240918@183823.8015 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.8074 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183823.8256 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.8294 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183823.8303 vna0ppe6p4goddds746l3tapr8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183823.8320 vna0ppe6p4goddds746l3tapr8 Query : select sestamp valor from se where ref ='324.728.00.01' and lote = 'r2400238200a'
20240918@183823.8333 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.8348 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183823.8360 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb19952566eb100fcb','aut66eb15571866eb100f07' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183823.8364 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.8386 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183823.8421 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66eb19952566eb100fcb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',88.000 ,'aut66eb15571866eb100f07' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240918@183823.8759 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.8872 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183823.8912 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.8936 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183823.8945 vna0ppe6p4goddds746l3tapr8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183823.8958 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.8984 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183823.8996 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb12752066eb100fda','aut66eb15571866eb100f07' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183823.9001 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.9016 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183823.9306 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66eb12752066eb100fda',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66eb15571866eb100f07' ,0,0 ,2,23.00,50000,?,?,?)
20240918@183823.9622 vna0ppe6p4goddds746l3tapr8 Query : use flama_phc
20240918@183823.9663 vna0ppe6p4goddds746l3tapr8 Query : select st.usalote valor from st where st.ref = '324.728.00.01'
20240918@183823.9746 vna0ppe6p4goddds746l3tapr8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.728.00.01'
20240918@183823.9763 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.9791 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183823.9828 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.9855 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183823.9864 vna0ppe6p4goddds746l3tapr8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183823.9897 vna0ppe6p4goddds746l3tapr8 Query : select sestamp valor from se where ref ='324.728.00.01' and lote = 'r2400238200a'
20240918@183823.9911 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.9932 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183823.9945 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb17106766eb100ff1','aut66eb15571866eb100f07' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183823.9949 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183823.9966 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183824.1370 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66eb17106766eb100ff1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',88.000 ,'aut66eb15571866eb100f07' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240918@183824.4580 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.5670 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183824.6000 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.6190 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183824.6300 vna0ppe6p4goddds746l3tapr8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183824.6450 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.6640 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183824.6770 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb12089666eb10100f','aut66eb15571866eb100f07' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183824.6890 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.7190 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183824.7580 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66eb12089666eb10100f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66eb15571866eb100f07' ,0,0 ,2,23.00,80000,?,?,?)
20240918@183824.1160 vna0ppe6p4goddds746l3tapr8 Query : use flama_phc
20240918@183824.1163 vna0ppe6p4goddds746l3tapr8 Query : select st.usalote valor from st where st.ref = '324.728.00.01'
20240918@183824.1191 vna0ppe6p4goddds746l3tapr8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.728.00.01'
20240918@183824.1206 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.1223 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183824.1262 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.1277 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183824.1294 vna0ppe6p4goddds746l3tapr8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183824.1318 vna0ppe6p4goddds746l3tapr8 Query : select sestamp valor from se where ref ='324.728.00.01' and lote = 'r2400238200a'
20240918@183824.1335 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.1351 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183824.1367 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb18111966eb101020','aut66eb15571866eb100f07' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183824.1373 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.1529 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183824.1915 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66eb18111966eb101020',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',88.000 ,'aut66eb15571866eb100f07' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240918@183824.2496 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.2536 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183824.2573 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.2850 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183824.2912 vna0ppe6p4goddds746l3tapr8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183824.2993 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.3010 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183824.3021 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb13460266eb101049','aut66eb15571866eb100f07' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183824.3026 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.3065 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183824.3093 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66eb13460266eb101049',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66eb15571866eb100f07' ,0,0 ,2,23.00,110000,?,?,?)
20240918@183824.3487 vna0ppe6p4goddds746l3tapr8 Query : use flama_phc
20240918@183824.3490 vna0ppe6p4goddds746l3tapr8 Query : select st.usalote valor from st where st.ref = '324.728.00.01'
20240918@183824.3511 vna0ppe6p4goddds746l3tapr8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.728.00.01'
20240918@183824.3532 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.3549 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183824.3611 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.3640 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183824.3655 vna0ppe6p4goddds746l3tapr8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183824.3668 vna0ppe6p4goddds746l3tapr8 Query : select sestamp valor from se where ref ='324.728.00.01' and lote = 'r2400238200a'
20240918@183824.3681 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.3708 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183824.3721 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb12776966eb101059','aut66eb15571866eb100f07' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183824.3725 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.3745 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183824.4874 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66eb12776966eb101059',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66eb15571866eb100f07' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240918@183824.5226 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.5253 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183824.5280 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.5296 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183824.5305 vna0ppe6p4goddds746l3tapr8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183824.5329 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.5346 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183824.5359 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb16431466eb101082','aut66eb15571866eb100f07' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183824.5369 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.5385 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183824.5418 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66eb16431466eb101082',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66eb15571866eb100f07' ,0,0 ,2,23.00,140000,?,?,?)
20240918@183824.5818 vna0ppe6p4goddds746l3tapr8 Query : use flama_phc
20240918@183824.5821 vna0ppe6p4goddds746l3tapr8 Query : select st.usalote valor from st where st.ref = '324.728.00.01'
20240918@183824.5847 vna0ppe6p4goddds746l3tapr8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.728.00.01'
20240918@183824.5862 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.5879 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183824.5908 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.5933 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183824.5942 vna0ppe6p4goddds746l3tapr8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183824.5963 vna0ppe6p4goddds746l3tapr8 Query : select sestamp valor from se where ref ='324.728.00.01' and lote = 'r2400238200a'
20240918@183824.5976 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.6003 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183824.6018 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb17610066eb101091','aut66eb15571866eb100f07' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183824.6022 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.6167 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183824.6201 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66eb17610066eb101091',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66eb15571866eb100f07' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20240918@183824.6511 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.6626 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183824.6654 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.6671 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183824.7807 vna0ppe6p4goddds746l3tapr8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183824.7820 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.7839 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183824.7851 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb17222866eb1010be','aut66eb15571866eb100f07' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183824.7859 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.7956 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183824.8207 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66eb17222866eb1010be',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66eb15571866eb100f07' ,0,0 ,2,23.00,170000,?,?,?)
20240918@183824.8466 vna0ppe6p4goddds746l3tapr8 Query : use flama_phc
20240918@183824.8469 vna0ppe6p4goddds746l3tapr8 Query : select st.usalote valor from st where st.ref = '324.728.00.01'
20240918@183824.8488 vna0ppe6p4goddds746l3tapr8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.728.00.01'
20240918@183824.8508 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.8526 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183824.8562 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.8576 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183824.8584 vna0ppe6p4goddds746l3tapr8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183824.8595 vna0ppe6p4goddds746l3tapr8 Query : select sestamp valor from se where ref ='324.728.00.01' and lote = 'r2400238200a'
20240918@183824.8617 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.8631 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183824.8643 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb18938966eb1010d2','aut66eb15571866eb100f07' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183824.8647 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.8662 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183824.8691 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66eb18938966eb1010d2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66eb15571866eb100f07' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20240918@183824.9152 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.9466 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183824.9603 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.9620 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183824.9628 vna0ppe6p4goddds746l3tapr8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183824.9656 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.9670 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183824.9681 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb16835166eb1010eb','aut66eb15571866eb100f07' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183824.9685 vna0ppe6p4goddds746l3tapr8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183824.9699 vna0ppe6p4goddds746l3tapr8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183824.9726 vna0ppe6p4goddds746l3tapr8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66eb16835166eb1010eb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66eb15571866eb100f07' ,0,0 ,2,23.00,200000,?,?,?)
20240918@183825.5400 vna0ppe6p4goddds746l3tapr8 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66eb15571866eb100f07','2405994','wait',39,'adm09112754980.682000002')
20240918@183825.2020 vna0ppe6p4goddds746l3tapr8 Query : use flama_phc
20240918@183825.2050 vna0ppe6p4goddds746l3tapr8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240918@183825.2550 vna0ppe6p4goddds746l3tapr8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2064';
20240918@183825.2890 vna0ppe6p4goddds746l3tapr8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2064';
20240918@183825.3290 vna0ppe6p4goddds746l3tapr8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2064';
20240918@183825.3520 vna0ppe6p4goddds746l3tapr8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2064';
20240918@183825.9360 7u8h1lfgentka465qkq74h17bl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240918@183825.9470 7u8h1lfgentka465qkq74h17bl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240918@183825.1117 7u8h1lfgentka465qkq74h17bl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2065';
20240918@183825.1177 7u8h1lfgentka465qkq74h17bl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2065';
20240918@183825.1232 7u8h1lfgentka465qkq74h17bl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2065';
20240918@183825.1266 7u8h1lfgentka465qkq74h17bl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2065';
20240918@183825.1326 7u8h1lfgentka465qkq74h17bl Query : use flama_phc
20240918@183825.1329 7u8h1lfgentka465qkq74h17bl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240918@183825.1414 7u8h1lfgentka465qkq74h17bl Query : use flama_phc
20240918@183825.1417 7u8h1lfgentka465qkq74h17bl Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240918@183825.1570 7u8h1lfgentka465qkq74h17bl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.729.00.01'
20240918@183825.1735 7u8h1lfgentka465qkq74h17bl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405995 and bi.ref ='324.729.00.01' and bi.lordem =1
20240918@183825.2441 7u8h1lfgentka465qkq74h17bl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.729.00.01'
20240918@183825.2462 7u8h1lfgentka465qkq74h17bl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405995 and bi.ref ='324.729.00.01' and bi.lordem =1
20240918@183825.2533 7u8h1lfgentka465qkq74h17bl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.729.00.01'
20240918@183825.2572 7u8h1lfgentka465qkq74h17bl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405995 and bi.ref ='324.729.00.01' and bi.lordem =1
20240918@183825.2588 7u8h1lfgentka465qkq74h17bl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.729.00.01'
20240918@183825.2607 7u8h1lfgentka465qkq74h17bl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405995 and bi.ref ='324.729.00.01' and bi.lordem =1
20240918@183825.2622 7u8h1lfgentka465qkq74h17bl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.729.00.01'
20240918@183825.2681 7u8h1lfgentka465qkq74h17bl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405995 and bi.ref ='324.729.00.01' and bi.lordem =1
20240918@183825.2795 7u8h1lfgentka465qkq74h17bl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.729.00.01'
20240918@183825.2828 7u8h1lfgentka465qkq74h17bl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405995 and bi.ref ='324.729.00.01' and bi.lordem =1
20240918@183825.2849 7u8h1lfgentka465qkq74h17bl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.729.00.01'
20240918@183825.2889 7u8h1lfgentka465qkq74h17bl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405995 and bi.ref ='324.729.00.01' and bi.lordem =1
20240918@183825.2906 7u8h1lfgentka465qkq74h17bl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.729.00.01'
20240918@183825.2931 7u8h1lfgentka465qkq74h17bl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405995 and bi.ref ='324.729.00.01' and bi.lordem =1
20240918@183825.2947 7u8h1lfgentka465qkq74h17bl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.729.00.01'
20240918@183825.2966 7u8h1lfgentka465qkq74h17bl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405995 and bi.ref ='324.729.00.01' and bi.lordem =1
20240918@183825.2990 7u8h1lfgentka465qkq74h17bl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.729.00.01'
20240918@183825.3027 7u8h1lfgentka465qkq74h17bl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405995 and bi.ref ='324.729.00.01' and bi.lordem =1
20240918@183825.3056 7u8h1lfgentka465qkq74h17bl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.729.00.01'
20240918@183825.3081 7u8h1lfgentka465qkq74h17bl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405995 and bi.ref ='324.729.00.01' and bi.lordem =1
20240918@183825.3138 7u8h1lfgentka465qkq74h17bl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.729.00.01'
20240918@183825.3218 7u8h1lfgentka465qkq74h17bl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405995 and bi.ref ='324.729.00.01' and bi.lordem =1
20240918@183825.3234 7u8h1lfgentka465qkq74h17bl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.729.00.01'
20240918@183825.3255 7u8h1lfgentka465qkq74h17bl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405995 and bi.ref ='324.729.00.01' and bi.lordem =1
20240918@183825.3271 7u8h1lfgentka465qkq74h17bl Query : use flama_phc
20240918@183825.3278 7u8h1lfgentka465qkq74h17bl Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240918@183825.3317 7u8h1lfgentka465qkq74h17bl Query : use flama_phc
20240918@183825.3320 7u8h1lfgentka465qkq74h17bl Query : select top 1 1 valor from td where td.ndoc = 39
20240918@183825.3347 7u8h1lfgentka465qkq74h17bl Query : use flama_phc
20240918@183825.3350 7u8h1lfgentka465qkq74h17bl 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')
20240918@183825.3378 7u8h1lfgentka465qkq74h17bl 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
20240918@183825.3449 7u8h1lfgentka465qkq74h17bl Query : use flama_phc
20240918@183825.3452 7u8h1lfgentka465qkq74h17bl Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240918@183825.3480 7u8h1lfgentka465qkq74h17bl Query : use flama_phc
20240918@183825.3483 7u8h1lfgentka465qkq74h17bl Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240918@183825.3511 7u8h1lfgentka465qkq74h17bl Query : use flama_phc
20240918@183825.3514 7u8h1lfgentka465qkq74h17bl Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240918@183825.3730 7u8h1lfgentka465qkq74h17bl Query : use flama_phc
20240918@183825.3733 7u8h1lfgentka465qkq74h17bl Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240918@183825.3964 7u8h1lfgentka465qkq74h17bl Query : use flama_phc
20240918@183825.5096 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from td where ndoc = 39
20240918@183825.5414 7u8h1lfgentka465qkq74h17bl Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240918@183825.5431 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183825.5452 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240918@183825.5588 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183825.5607 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240918@183825.5644 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183825.5659 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240918@183825.5677 7u8h1lfgentka465qkq74h17bl Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240918@183825.5746 7u8h1lfgentka465qkq74h17bl Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240918@183825.5759 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183825.5773 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240918@183825.5788 7u8h1lfgentka465qkq74h17bl Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66eb16919766eb10118a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240918@183825.6131 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183825.8293 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240918@183825.8458 7u8h1lfgentka465qkq74h17bl Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240918@183825.8474 7u8h1lfgentka465qkq74h17bl Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240918@183825.8563 7u8h1lfgentka465qkq74h17bl Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240918@183825.8581 7u8h1lfgentka465qkq74h17bl Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240918@183825.8621 7u8h1lfgentka465qkq74h17bl Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240918@183825.8633 7u8h1lfgentka465qkq74h17bl Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240918@183825.8650 7u8h1lfgentka465qkq74h17bl Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66eb16919766eb10118a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240918@183825.9046 7u8h1lfgentka465qkq74h17bl Query : select top 1 fno valor from wsftdata order by fno desc
20240918@183825.9084 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183825.9114 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240918@183825.9237 7u8h1lfgentka465qkq74h17bl Query : select 'normal' from dummy
20240918@183825.9289 7u8h1lfgentka465qkq74h17bl Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66eb16919766eb10118a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',805,100810,0,'2024-09-18',39,'euro',0,0,2024 ,?,?)
20240918@183826.1100 7u8h1lfgentka465qkq74h17bl Query : use flama_phc
20240918@183826.1400 7u8h1lfgentka465qkq74h17bl Query : select st.usalote valor from st where st.ref = '324.729.00.01'
20240918@183826.6300 7u8h1lfgentka465qkq74h17bl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.729.00.01'
20240918@183826.3370 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183826.3540 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183826.4070 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183826.4940 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183826.5020 7u8h1lfgentka465qkq74h17bl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183826.5130 7u8h1lfgentka465qkq74h17bl Query : select sestamp valor from se where ref ='324.729.00.01' and lote = 'r2400238100a'
20240918@183826.5360 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183826.5500 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183826.5610 7u8h1lfgentka465qkq74h17bl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb16191966eb10120d','aut66eb16919766eb10118a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183826.5650 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183826.5800 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183826.6200 7u8h1lfgentka465qkq74h17bl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66eb16191966eb10120d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut66eb16919766eb10118a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240918@183826.9090 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183826.9290 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183826.1034 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183826.1053 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183826.1065 7u8h1lfgentka465qkq74h17bl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183826.1077 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183826.1091 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183826.1109 7u8h1lfgentka465qkq74h17bl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb12903566eb10121a','aut66eb16919766eb10118a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183826.1122 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183826.1137 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183826.1171 7u8h1lfgentka465qkq74h17bl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66eb12903566eb10121a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66eb16919766eb10118a' ,0,0 ,2,23.00,20000,?,?,?)
20240918@183826.1485 7u8h1lfgentka465qkq74h17bl Query : use flama_phc
20240918@183826.1488 7u8h1lfgentka465qkq74h17bl Query : select st.usalote valor from st where st.ref = '324.729.00.01'
20240918@183826.1512 7u8h1lfgentka465qkq74h17bl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.729.00.01'
20240918@183826.1525 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183826.1541 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183826.1636 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183826.1651 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183826.1659 7u8h1lfgentka465qkq74h17bl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183826.1714 7u8h1lfgentka465qkq74h17bl Query : select sestamp valor from se where ref ='324.729.00.01' and lote = 'r2400238100a'
20240918@183826.1726 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183826.1740 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183826.1752 7u8h1lfgentka465qkq74h17bl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb11092466eb10122a','aut66eb16919766eb10118a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183826.1756 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183826.1778 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183826.1815 7u8h1lfgentka465qkq74h17bl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66eb11092466eb10122a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',88.000 ,'aut66eb16919766eb10118a' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240918@183826.2143 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183826.2232 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183826.2260 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183826.2276 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183826.2291 7u8h1lfgentka465qkq74h17bl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183826.2302 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183826.2317 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183826.2328 7u8h1lfgentka465qkq74h17bl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb13230266eb101238','aut66eb16919766eb10118a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183826.2332 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183826.2346 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183826.2378 7u8h1lfgentka465qkq74h17bl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66eb13230266eb101238',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66eb16919766eb10118a' ,0,0 ,2,23.00,50000,?,?,?)
20240918@183826.2831 7u8h1lfgentka465qkq74h17bl Query : use flama_phc
20240918@183826.2835 7u8h1lfgentka465qkq74h17bl Query : select st.usalote valor from st where st.ref = '324.729.00.01'
20240918@183826.2853 7u8h1lfgentka465qkq74h17bl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.729.00.01'
20240918@183826.2866 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183826.2882 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183826.2970 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183826.2985 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183826.2994 7u8h1lfgentka465qkq74h17bl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240918@183826.3005 7u8h1lfgentka465qkq74h17bl Query : select sestamp valor from se where ref ='324.729.00.01' and lote = 'r2400238100a'
20240918@183826.3028 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183826.3042 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240918@183826.3053 7u8h1lfgentka465qkq74h17bl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66eb11650666eb101249','aut66eb16919766eb10118a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240918@183826.3074 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183826.3089 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183826.3117 7u8h1lfgentka465qkq74h17bl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66eb11650666eb101249',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',88.000 ,'aut66eb16919766eb10118a' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240918@183826.3445 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240918@183826.3461 7u8h1lfgentka465qkq74h17bl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240918@183826.3486 7u8h1lfgentka465qkq74h17bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
