20241023@171353.6426 mkckekcc5ghq2h1kf4lh8ja769 INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20241023@171353.6426 mkckekcc5ghq2h1kf4lh8ja769 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2894';
20241023@171353.6481 mkckekcc5ghq2h1kf4lh8ja769 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2894';
20241023@171353.6533 mkckekcc5ghq2h1kf4lh8ja769 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2894';
20241023@171353.6558 mkckekcc5ghq2h1kf4lh8ja769 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2894';
20241023@171353.6607 mkckekcc5ghq2h1kf4lh8ja769 Query : use flama_phc
20241023@171353.6610 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241023@171353.6676 mkckekcc5ghq2h1kf4lh8ja769 Query : use flama_phc
20241023@171353.6679 mkckekcc5ghq2h1kf4lh8ja769 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1761
20241023@171353.6755 mkckekcc5ghq2h1kf4lh8ja769 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'
20241023@171353.6877 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406976 and bi.ref ='324.1824.00.1' and bi.lordem =1
20241023@171353.7171 mkckekcc5ghq2h1kf4lh8ja769 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'
20241023@171353.7190 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406976 and bi.ref ='324.1824.00.1' and bi.lordem =2
20241023@171353.7494 mkckekcc5ghq2h1kf4lh8ja769 Query : use flama_phc
20241023@171353.7497 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241023@171353.7530 mkckekcc5ghq2h1kf4lh8ja769 Query : use flama_phc
20241023@171353.7533 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 1 valor from td where td.ndoc = 39
20241023@171353.7561 mkckekcc5ghq2h1kf4lh8ja769 Query : use flama_phc
20241023@171353.7564 mkckekcc5ghq2h1kf4lh8ja769 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')
20241023@171353.7590 mkckekcc5ghq2h1kf4lh8ja769 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
20241023@171353.7626 mkckekcc5ghq2h1kf4lh8ja769 Query : use flama_phc
20241023@171353.7629 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 ~inactivo valor from cl where no = '101828' and estab = 0 order by inactivo desc
20241023@171353.7925 mkckekcc5ghq2h1kf4lh8ja769 Query : use flama_phc
20241023@171353.7928 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241023@171353.7968 mkckekcc5ghq2h1kf4lh8ja769 Query : use flama_phc
20241023@171353.7971 mkckekcc5ghq2h1kf4lh8ja769 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241023@171353.8010 mkckekcc5ghq2h1kf4lh8ja769 Query : use flama_phc
20241023@171353.8013 mkckekcc5ghq2h1kf4lh8ja769 Query : select szadrsstamp valor from szadrs where szadrsdesc='electrocortes, lda'
20241023@171353.8061 mkckekcc5ghq2h1kf4lh8ja769 Query : use flama_phc
20241023@171353.8063 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from td where ndoc = 39
20241023@171353.8080 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241023@171353.8094 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171353.8112 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171353.8134 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171353.8149 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171353.8193 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171353.8207 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171353.8220 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171353.8280 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171353.8292 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171353.8307 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171353.8323 mkckekcc5ghq2h1kf4lh8ja769 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6719256849671920c1c8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241023@171353.8480 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171353.8497 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171353.8529 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241023@171353.8541 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241023@171353.8552 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241023@171353.8564 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241023@171353.8576 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241023@171353.8587 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241023@171353.8599 mkckekcc5ghq2h1kf4lh8ja769 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6719256849671920c1c8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241023@171353.8826 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 fno valor from wsftdata order by fno desc
20241023@171353.8851 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171353.8867 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171353.8892 mkckekcc5ghq2h1kf4lh8ja769 Query : select 'normal' from dummy
20241023@171353.8907 mkckekcc5ghq2h1kf4lh8ja769 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6719256849671920c1c8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1480,101828,0,'2024-10-23',39,'euro',0,0,2024 ,?,?)
20241023@171353.9226 mkckekcc5ghq2h1kf4lh8ja769 Query : use flama_phc
20241023@171353.9229 mkckekcc5ghq2h1kf4lh8ja769 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241023@171353.9252 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20241023@171353.9414 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171353.9442 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171353.9467 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171353.9482 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171353.9491 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171353.9503 mkckekcc5ghq2h1kf4lh8ja769 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400215200a'
20241023@171353.9523 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171353.9537 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171353.9560 mkckekcc5ghq2h1kf4lh8ja769 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719239257671920c1e8','aut6719256849671920c1c8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171353.9565 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171353.9580 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171353.9611 mkckekcc5ghq2h1kf4lh8ja769 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719239257671920c1e8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut6719256849671920c1c8' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241023@171353.9848 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171353.9864 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171353.9890 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171353.9905 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171353.9914 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171353.9927 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171353.9942 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171353.9957 mkckekcc5ghq2h1kf4lh8ja769 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719288458671920c1f2','aut6719256849671920c1c8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171353.9962 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171353.9976 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171354.5000 mkckekcc5ghq2h1kf4lh8ja769 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719288458671920c1f2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719256849671920c1c8' ,0,0 ,2,23.00,20000,?,?,?)
20241023@171354.2320 mkckekcc5ghq2h1kf4lh8ja769 Query : use flama_phc
20241023@171354.2350 mkckekcc5ghq2h1kf4lh8ja769 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241023@171354.2540 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20241023@171354.2680 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.2830 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171354.3080 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.3220 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171354.3320 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171354.3450 mkckekcc5ghq2h1kf4lh8ja769 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400215200a'
20241023@171354.3570 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.3720 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171354.3840 mkckekcc5ghq2h1kf4lh8ja769 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719282039671920c208','aut6719256849671920c1c8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171354.3880 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.4030 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171354.4300 mkckekcc5ghq2h1kf4lh8ja769 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719282039671920c208',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6719256849671920c1c8' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241023@171354.6540 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.6690 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171354.6930 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.7060 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171354.7140 mkckekcc5ghq2h1kf4lh8ja769 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171354.7250 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.7380 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171354.7500 mkckekcc5ghq2h1kf4lh8ja769 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719221941671920c211','aut6719256849671920c1c8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171354.7540 mkckekcc5ghq2h1kf4lh8ja769 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.7690 mkckekcc5ghq2h1kf4lh8ja769 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171354.7980 mkckekcc5ghq2h1kf4lh8ja769 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719221941671920c211',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719256849671920c1c8' ,0,0 ,2,23.00,50000,?,?,?)
20241023@171354.1025 mkckekcc5ghq2h1kf4lh8ja769 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6719256849671920c1c8','2406976','wait',39,'adm09112754980.682000002')
20241023@171354.1098 mkckekcc5ghq2h1kf4lh8ja769 Query : use flama_phc
20241023@171354.1101 mkckekcc5ghq2h1kf4lh8ja769 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241023@171354.1130 mkckekcc5ghq2h1kf4lh8ja769 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2894';
20241023@171354.1163 mkckekcc5ghq2h1kf4lh8ja769 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2894';
20241023@171354.1207 mkckekcc5ghq2h1kf4lh8ja769 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2894';
20241023@171354.1238 mkckekcc5ghq2h1kf4lh8ja769 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2894';
20241023@171354.1828 dgurdhq1f1hdv23g1e28cml6ac Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241023@171354.1838 dgurdhq1f1hdv23g1e28cml6ac Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241023@171354.1893 dgurdhq1f1hdv23g1e28cml6ac Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2895';
20241023@171354.1948 dgurdhq1f1hdv23g1e28cml6ac Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2895';
20241023@171354.2005 dgurdhq1f1hdv23g1e28cml6ac Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2895';
20241023@171354.2033 dgurdhq1f1hdv23g1e28cml6ac Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2895';
20241023@171354.2084 dgurdhq1f1hdv23g1e28cml6ac Query : use flama_phc
20241023@171354.2087 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241023@171354.2148 dgurdhq1f1hdv23g1e28cml6ac Query : use flama_phc
20241023@171354.2151 dgurdhq1f1hdv23g1e28cml6ac Query : select no, estab,szadrsdesc from szadrs where u_coddest=743
20241023@171354.2230 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20241023@171354.2355 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406978 and bi.ref ='328.9902.00.1' and bi.lordem =1
20241023@171354.2839 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20241023@171354.2964 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406978 and bi.ref ='324.692.00.01' and bi.lordem =2
20241023@171354.3251 dgurdhq1f1hdv23g1e28cml6ac 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'
20241023@171354.3365 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406978 and bi.ref ='324.691.00.01' and bi.lordem =3
20241023@171354.3650 dgurdhq1f1hdv23g1e28cml6ac Query : use flama_phc
20241023@171354.3653 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241023@171354.3684 dgurdhq1f1hdv23g1e28cml6ac Query : use flama_phc
20241023@171354.3687 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 1 valor from td where td.ndoc = 39
20241023@171354.3719 dgurdhq1f1hdv23g1e28cml6ac Query : use flama_phc
20241023@171354.3722 dgurdhq1f1hdv23g1e28cml6ac 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')
20241023@171354.3747 dgurdhq1f1hdv23g1e28cml6ac 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
20241023@171354.3779 dgurdhq1f1hdv23g1e28cml6ac Query : use flama_phc
20241023@171354.3782 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 ~inactivo valor from cl where no = '100497' and estab = 0 order by inactivo desc
20241023@171354.3878 dgurdhq1f1hdv23g1e28cml6ac Query : use flama_phc
20241023@171354.3881 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241023@171354.3909 dgurdhq1f1hdv23g1e28cml6ac Query : use flama_phc
20241023@171354.3912 dgurdhq1f1hdv23g1e28cml6ac Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241023@171354.3951 dgurdhq1f1hdv23g1e28cml6ac Query : use flama_phc
20241023@171354.3954 dgurdhq1f1hdv23g1e28cml6ac Query : select szadrsstamp valor from szadrs where szadrsdesc='utilar-utilidades para o lar, lda.'
20241023@171354.3997 dgurdhq1f1hdv23g1e28cml6ac Query : use flama_phc
20241023@171354.4000 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from td where ndoc = 39
20241023@171354.4012 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241023@171354.4027 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.4042 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171354.4070 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.4091 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171354.4123 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.4140 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171354.4153 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171354.4268 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171354.4280 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.4295 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171354.4311 dgurdhq1f1hdv23g1e28cml6ac Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6719252884671920c265' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241023@171354.4464 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.4480 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171354.5048 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241023@171354.6251 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241023@171354.6262 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241023@171354.6274 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241023@171354.6285 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241023@171354.6296 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241023@171354.6307 dgurdhq1f1hdv23g1e28cml6ac Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6719252884671920c265',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241023@171354.6528 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 fno valor from wsftdata order by fno desc
20241023@171354.6551 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.6568 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171354.6590 dgurdhq1f1hdv23g1e28cml6ac Query : select 'normal' from dummy
20241023@171354.6605 dgurdhq1f1hdv23g1e28cml6ac Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6719252884671920c265',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1481,100497,0,'2024-10-23',39,'euro',0,0,2024 ,?,?)
20241023@171354.6872 dgurdhq1f1hdv23g1e28cml6ac Query : use flama_phc
20241023@171354.6875 dgurdhq1f1hdv23g1e28cml6ac Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20241023@171354.6897 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9902.00.1'
20241023@171354.7018 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.7033 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171354.7056 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.7077 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171354.7085 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171354.7096 dgurdhq1f1hdv23g1e28cml6ac Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2301241100a'
20241023@171354.7117 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.7131 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171354.7142 dgurdhq1f1hdv23g1e28cml6ac Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719224436671920c2ad','aut6719252884671920c265' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171354.7146 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.7169 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171354.7196 dgurdhq1f1hdv23g1e28cml6ac Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719224436671920c2ad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6719252884671920c265' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241023@171354.7431 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.7456 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171354.7573 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.7702 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171354.7711 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171354.7723 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.7738 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171354.7750 dgurdhq1f1hdv23g1e28cml6ac Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719268620671920c2bc','aut6719252884671920c265' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171354.7754 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.7770 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171354.7798 dgurdhq1f1hdv23g1e28cml6ac Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719268620671920c2bc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719252884671920c265' ,0,0 ,2,23.00,20000,?,?,?)
20241023@171354.8027 dgurdhq1f1hdv23g1e28cml6ac Query : use flama_phc
20241023@171354.8030 dgurdhq1f1hdv23g1e28cml6ac Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20241023@171354.8050 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20241023@171354.8188 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.8203 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171354.8235 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.8254 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171354.8263 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171354.8276 dgurdhq1f1hdv23g1e28cml6ac Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400210100a'
20241023@171354.8301 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.8316 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171354.8328 dgurdhq1f1hdv23g1e28cml6ac Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719257563671920c2ca','aut6719252884671920c265' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171354.8333 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.8349 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171354.8377 dgurdhq1f1hdv23g1e28cml6ac Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719257563671920c2ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6719252884671920c265' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241023@171354.8624 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.8644 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171354.8670 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.8684 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171354.8693 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171354.8712 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.8727 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171354.8738 dgurdhq1f1hdv23g1e28cml6ac Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719256626671920c2d4','aut6719252884671920c265' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171354.8743 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.8758 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171354.8821 dgurdhq1f1hdv23g1e28cml6ac Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719256626671920c2d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719252884671920c265' ,0,0 ,2,23.00,50000,?,?,?)
20241023@171354.9058 dgurdhq1f1hdv23g1e28cml6ac Query : use flama_phc
20241023@171354.9061 dgurdhq1f1hdv23g1e28cml6ac Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20241023@171354.9080 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20241023@171354.9206 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.9222 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171354.9245 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.9260 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171354.9269 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171354.9280 dgurdhq1f1hdv23g1e28cml6ac Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20241023@171354.9293 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.9308 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171354.9318 dgurdhq1f1hdv23g1e28cml6ac Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719280988671920c2e2','aut6719252884671920c265' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171354.9323 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.9337 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171354.9363 dgurdhq1f1hdv23g1e28cml6ac Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719280988671920c2e2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6719252884671920c265' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241023@171354.9604 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.9621 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171354.9645 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.9659 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171354.9668 dgurdhq1f1hdv23g1e28cml6ac Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171354.9680 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.9694 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171354.9705 dgurdhq1f1hdv23g1e28cml6ac Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719245050671920c2ec','aut6719252884671920c265' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171354.9710 dgurdhq1f1hdv23g1e28cml6ac Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171354.9725 dgurdhq1f1hdv23g1e28cml6ac Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171354.9753 dgurdhq1f1hdv23g1e28cml6ac Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719245050671920c2ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719252884671920c265' ,0,0 ,2,23.00,80000,?,?,?)
20241023@171354.9987 dgurdhq1f1hdv23g1e28cml6ac Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6719252884671920c265','2406978','wait',39,'adm09112754980.682000002')
20241023@171355.1290 dgurdhq1f1hdv23g1e28cml6ac Query : use flama_phc
20241023@171355.1710 dgurdhq1f1hdv23g1e28cml6ac Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241023@171355.2310 dgurdhq1f1hdv23g1e28cml6ac Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2895';
20241023@171355.2670 dgurdhq1f1hdv23g1e28cml6ac Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2895';
20241023@171355.3130 dgurdhq1f1hdv23g1e28cml6ac Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2895';
20241023@171355.3410 dgurdhq1f1hdv23g1e28cml6ac Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2895';
20241023@171355.8490 hunf3kfe1hmpokaej11jghmgk8 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241023@171355.8590 hunf3kfe1hmpokaej11jghmgk8 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241023@171355.9140 hunf3kfe1hmpokaej11jghmgk8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2896';
20241023@171355.9670 hunf3kfe1hmpokaej11jghmgk8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2896';
20241023@171355.1019 hunf3kfe1hmpokaej11jghmgk8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2896';
20241023@171355.1045 hunf3kfe1hmpokaej11jghmgk8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2896';
20241023@171355.1096 hunf3kfe1hmpokaej11jghmgk8 Query : use flama_phc
20241023@171355.1099 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241023@171355.1157 hunf3kfe1hmpokaej11jghmgk8 Query : use flama_phc
20241023@171355.1160 hunf3kfe1hmpokaej11jghmgk8 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241023@171355.1197 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20241023@171355.1328 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406979 and bi.ref ='324.2388.00.1' and bi.lordem =1
20241023@171355.1631 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20241023@171355.1651 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406979 and bi.ref ='324.2388.00.1' and bi.lordem =1
20241023@171355.1667 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20241023@171355.1685 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406979 and bi.ref ='324.2388.00.1' and bi.lordem =1
20241023@171355.1700 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20241023@171355.1719 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406979 and bi.ref ='324.2388.00.1' and bi.lordem =1
20241023@171355.1734 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20241023@171355.1752 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406979 and bi.ref ='324.2388.00.1' and bi.lordem =1
20241023@171355.1769 hunf3kfe1hmpokaej11jghmgk8 Query : use flama_phc
20241023@171355.1772 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241023@171355.1802 hunf3kfe1hmpokaej11jghmgk8 Query : use flama_phc
20241023@171355.1805 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 1 valor from td where td.ndoc = 39
20241023@171355.1832 hunf3kfe1hmpokaej11jghmgk8 Query : use flama_phc
20241023@171355.1835 hunf3kfe1hmpokaej11jghmgk8 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')
20241023@171355.1861 hunf3kfe1hmpokaej11jghmgk8 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
20241023@171355.1894 hunf3kfe1hmpokaej11jghmgk8 Query : use flama_phc
20241023@171355.1897 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241023@171355.1925 hunf3kfe1hmpokaej11jghmgk8 Query : use flama_phc
20241023@171355.1927 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241023@171355.1955 hunf3kfe1hmpokaej11jghmgk8 Query : use flama_phc
20241023@171355.1958 hunf3kfe1hmpokaej11jghmgk8 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241023@171355.1996 hunf3kfe1hmpokaej11jghmgk8 Query : use flama_phc
20241023@171355.1999 hunf3kfe1hmpokaej11jghmgk8 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241023@171355.2041 hunf3kfe1hmpokaej11jghmgk8 Query : use flama_phc
20241023@171355.2043 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from td where ndoc = 39
20241023@171355.2055 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241023@171355.2068 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.2084 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171355.2101 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.2115 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171355.2140 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.2153 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171355.2165 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171355.2224 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171355.2236 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.2250 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171355.2268 hunf3kfe1hmpokaej11jghmgk8 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6719298833671920c334' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241023@171355.2418 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.2433 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171355.2466 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241023@171355.2477 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241023@171355.2488 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241023@171355.2500 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241023@171355.2513 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241023@171355.2524 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241023@171355.2534 hunf3kfe1hmpokaej11jghmgk8 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6719298833671920c334',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241023@171355.2746 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 fno valor from wsftdata order by fno desc
20241023@171355.2771 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.2786 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171355.2809 hunf3kfe1hmpokaej11jghmgk8 Query : select 'normal' from dummy
20241023@171355.2824 hunf3kfe1hmpokaej11jghmgk8 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6719298833671920c334',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1482,100810,0,'2024-10-23',39,'euro',0,0,2024 ,?,?)
20241023@171355.3074 hunf3kfe1hmpokaej11jghmgk8 Query : use flama_phc
20241023@171355.3077 hunf3kfe1hmpokaej11jghmgk8 Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241023@171355.3099 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2388.00.1'
20241023@171355.3219 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.3234 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171355.3259 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.3273 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171355.3281 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171355.3292 hunf3kfe1hmpokaej11jghmgk8 Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241023@171355.3305 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.3318 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171355.3330 hunf3kfe1hmpokaej11jghmgk8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719244813671920c350','aut6719298833671920c334' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171355.3334 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.3348 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171355.3375 hunf3kfe1hmpokaej11jghmgk8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719244813671920c350',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6719298833671920c334' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241023@171355.3751 hunf3kfe1hmpokaej11jghmgk8 Query : use flama_phc
20241023@171355.3754 hunf3kfe1hmpokaej11jghmgk8 Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241023@171355.3774 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2388.00.1'
20241023@171355.3787 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.3802 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171355.3825 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.3842 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171355.3850 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171355.3861 hunf3kfe1hmpokaej11jghmgk8 Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241023@171355.3874 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.3887 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171355.3898 hunf3kfe1hmpokaej11jghmgk8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719296885671920c35e','aut6719298833671920c334' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171355.3903 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.3916 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171355.3941 hunf3kfe1hmpokaej11jghmgk8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719296885671920c35e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut6719298833671920c334' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241023@171355.4169 hunf3kfe1hmpokaej11jghmgk8 Query : use flama_phc
20241023@171355.4172 hunf3kfe1hmpokaej11jghmgk8 Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241023@171355.4190 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2388.00.1'
20241023@171355.4203 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.4217 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171355.4239 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.4253 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171355.4261 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171355.4272 hunf3kfe1hmpokaej11jghmgk8 Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241023@171355.4283 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.4296 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171355.4309 hunf3kfe1hmpokaej11jghmgk8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719224570671920c368','aut6719298833671920c334' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171355.4313 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.4327 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171355.4355 hunf3kfe1hmpokaej11jghmgk8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719224570671920c368',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut6719298833671920c334' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241023@171355.4794 hunf3kfe1hmpokaej11jghmgk8 Query : use flama_phc
20241023@171355.4797 hunf3kfe1hmpokaej11jghmgk8 Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241023@171355.4816 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2388.00.1'
20241023@171355.4828 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.4844 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171355.4868 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.4882 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171355.4890 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171355.4902 hunf3kfe1hmpokaej11jghmgk8 Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241023@171355.4914 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.4928 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171355.4939 hunf3kfe1hmpokaej11jghmgk8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719246867671920c377','aut6719298833671920c334' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171355.4943 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.4961 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171355.4989 hunf3kfe1hmpokaej11jghmgk8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719246867671920c377',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut6719298833671920c334' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241023@171355.5226 hunf3kfe1hmpokaej11jghmgk8 Query : use flama_phc
20241023@171355.5229 hunf3kfe1hmpokaej11jghmgk8 Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241023@171355.5247 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2388.00.1'
20241023@171355.5261 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.5277 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171355.5300 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.5314 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171355.5323 hunf3kfe1hmpokaej11jghmgk8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171355.5335 hunf3kfe1hmpokaej11jghmgk8 Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241023@171355.5348 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.5363 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171355.5375 hunf3kfe1hmpokaej11jghmgk8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719262896671920c382','aut6719298833671920c334' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171355.5379 hunf3kfe1hmpokaej11jghmgk8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.5393 hunf3kfe1hmpokaej11jghmgk8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171355.5419 hunf3kfe1hmpokaej11jghmgk8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719262896671920c382',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut6719298833671920c334' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241023@171355.5670 hunf3kfe1hmpokaej11jghmgk8 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6719298833671920c334','2406979','wait',39,'adm09112754980.682000002')
20241023@171355.5737 hunf3kfe1hmpokaej11jghmgk8 Query : use flama_phc
20241023@171355.5740 hunf3kfe1hmpokaej11jghmgk8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241023@171355.5770 hunf3kfe1hmpokaej11jghmgk8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2896';
20241023@171355.5802 hunf3kfe1hmpokaej11jghmgk8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2896';
20241023@171355.5844 hunf3kfe1hmpokaej11jghmgk8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2896';
20241023@171355.5872 hunf3kfe1hmpokaej11jghmgk8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2896';
20241023@171355.6377 uga2eakh2h30m343eimht2d1q0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241023@171355.6387 uga2eakh2h30m343eimht2d1q0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241023@171355.6442 uga2eakh2h30m343eimht2d1q0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2897';
20241023@171355.6496 uga2eakh2h30m343eimht2d1q0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2897';
20241023@171355.6548 uga2eakh2h30m343eimht2d1q0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2897';
20241023@171355.6574 uga2eakh2h30m343eimht2d1q0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2897';
20241023@171355.6624 uga2eakh2h30m343eimht2d1q0 Query : use flama_phc
20241023@171355.6627 uga2eakh2h30m343eimht2d1q0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241023@171355.6689 uga2eakh2h30m343eimht2d1q0 Query : use flama_phc
20241023@171355.6692 uga2eakh2h30m343eimht2d1q0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241023@171355.6732 uga2eakh2h30m343eimht2d1q0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20241023@171355.6751 uga2eakh2h30m343eimht2d1q0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406980 and bi.ref ='324.2388.00.1' and bi.lordem =1
20241023@171355.7068 uga2eakh2h30m343eimht2d1q0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20241023@171355.7087 uga2eakh2h30m343eimht2d1q0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406980 and bi.ref ='324.2388.00.1' and bi.lordem =1
20241023@171355.7103 uga2eakh2h30m343eimht2d1q0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20241023@171355.7123 uga2eakh2h30m343eimht2d1q0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406980 and bi.ref ='324.2388.00.1' and bi.lordem =1
20241023@171355.7140 uga2eakh2h30m343eimht2d1q0 Query : use flama_phc
20241023@171355.7143 uga2eakh2h30m343eimht2d1q0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241023@171355.8518 uga2eakh2h30m343eimht2d1q0 Query : use flama_phc
20241023@171355.8522 uga2eakh2h30m343eimht2d1q0 Query : select top 1 1 valor from td where td.ndoc = 39
20241023@171355.8626 uga2eakh2h30m343eimht2d1q0 Query : use flama_phc
20241023@171355.8630 uga2eakh2h30m343eimht2d1q0 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')
20241023@171355.8656 uga2eakh2h30m343eimht2d1q0 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
20241023@171355.8689 uga2eakh2h30m343eimht2d1q0 Query : use flama_phc
20241023@171355.8692 uga2eakh2h30m343eimht2d1q0 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241023@171355.8727 uga2eakh2h30m343eimht2d1q0 Query : use flama_phc
20241023@171355.8730 uga2eakh2h30m343eimht2d1q0 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241023@171355.8759 uga2eakh2h30m343eimht2d1q0 Query : use flama_phc
20241023@171355.8762 uga2eakh2h30m343eimht2d1q0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241023@171355.8802 uga2eakh2h30m343eimht2d1q0 Query : use flama_phc
20241023@171355.8805 uga2eakh2h30m343eimht2d1q0 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241023@171355.8847 uga2eakh2h30m343eimht2d1q0 Query : use flama_phc
20241023@171355.8850 uga2eakh2h30m343eimht2d1q0 Query : select 1 valor from td where ndoc = 39
20241023@171355.8861 uga2eakh2h30m343eimht2d1q0 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241023@171355.8875 uga2eakh2h30m343eimht2d1q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.8891 uga2eakh2h30m343eimht2d1q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171355.8910 uga2eakh2h30m343eimht2d1q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.8925 uga2eakh2h30m343eimht2d1q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171355.8953 uga2eakh2h30m343eimht2d1q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.8967 uga2eakh2h30m343eimht2d1q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171355.8979 uga2eakh2h30m343eimht2d1q0 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171355.9040 uga2eakh2h30m343eimht2d1q0 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171355.9053 uga2eakh2h30m343eimht2d1q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.9068 uga2eakh2h30m343eimht2d1q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171355.9083 uga2eakh2h30m343eimht2d1q0 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6719298916671920c3db' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241023@171355.9235 uga2eakh2h30m343eimht2d1q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.9251 uga2eakh2h30m343eimht2d1q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171355.9282 uga2eakh2h30m343eimht2d1q0 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241023@171355.9293 uga2eakh2h30m343eimht2d1q0 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241023@171355.9304 uga2eakh2h30m343eimht2d1q0 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241023@171355.9315 uga2eakh2h30m343eimht2d1q0 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241023@171355.9326 uga2eakh2h30m343eimht2d1q0 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241023@171355.9338 uga2eakh2h30m343eimht2d1q0 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241023@171355.9350 uga2eakh2h30m343eimht2d1q0 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6719298916671920c3db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241023@171355.9565 uga2eakh2h30m343eimht2d1q0 Query : select top 1 fno valor from wsftdata order by fno desc
20241023@171355.9589 uga2eakh2h30m343eimht2d1q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.9605 uga2eakh2h30m343eimht2d1q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171355.9629 uga2eakh2h30m343eimht2d1q0 Query : select 'normal' from dummy
20241023@171355.9644 uga2eakh2h30m343eimht2d1q0 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6719298916671920c3db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1483,100810,0,'2024-10-23',39,'euro',0,0,2024 ,?,?)
20241023@171355.9903 uga2eakh2h30m343eimht2d1q0 Query : use flama_phc
20241023@171355.9906 uga2eakh2h30m343eimht2d1q0 Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241023@171355.9927 uga2eakh2h30m343eimht2d1q0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2388.00.1'
20241023@171355.9940 uga2eakh2h30m343eimht2d1q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171355.9958 uga2eakh2h30m343eimht2d1q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171355.9985 uga2eakh2h30m343eimht2d1q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.0000 uga2eakh2h30m343eimht2d1q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.8000 uga2eakh2h30m343eimht2d1q0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171356.1900 uga2eakh2h30m343eimht2d1q0 Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241023@171356.3100 uga2eakh2h30m343eimht2d1q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.4400 uga2eakh2h30m343eimht2d1q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.5600 uga2eakh2h30m343eimht2d1q0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719205549671920c400','aut6719298916671920c3db' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171356.6000 uga2eakh2h30m343eimht2d1q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.7400 uga2eakh2h30m343eimht2d1q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.1030 uga2eakh2h30m343eimht2d1q0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719205549671920c400',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6719298916671920c3db' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241023@171356.3260 uga2eakh2h30m343eimht2d1q0 Query : use flama_phc
20241023@171356.3290 uga2eakh2h30m343eimht2d1q0 Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241023@171356.3500 uga2eakh2h30m343eimht2d1q0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2388.00.1'
20241023@171356.3620 uga2eakh2h30m343eimht2d1q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.3770 uga2eakh2h30m343eimht2d1q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.4010 uga2eakh2h30m343eimht2d1q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.4140 uga2eakh2h30m343eimht2d1q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.4220 uga2eakh2h30m343eimht2d1q0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171356.4320 uga2eakh2h30m343eimht2d1q0 Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241023@171356.4430 uga2eakh2h30m343eimht2d1q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.4570 uga2eakh2h30m343eimht2d1q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.4680 uga2eakh2h30m343eimht2d1q0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719237831671920c40a','aut6719298916671920c3db' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171356.4720 uga2eakh2h30m343eimht2d1q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.4850 uga2eakh2h30m343eimht2d1q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.5120 uga2eakh2h30m343eimht2d1q0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719237831671920c40a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut6719298916671920c3db' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241023@171356.7270 uga2eakh2h30m343eimht2d1q0 Query : use flama_phc
20241023@171356.7300 uga2eakh2h30m343eimht2d1q0 Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241023@171356.7480 uga2eakh2h30m343eimht2d1q0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2388.00.1'
20241023@171356.7620 uga2eakh2h30m343eimht2d1q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.7770 uga2eakh2h30m343eimht2d1q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.8030 uga2eakh2h30m343eimht2d1q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.8170 uga2eakh2h30m343eimht2d1q0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.8250 uga2eakh2h30m343eimht2d1q0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171356.8360 uga2eakh2h30m343eimht2d1q0 Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241023@171356.8480 uga2eakh2h30m343eimht2d1q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.8620 uga2eakh2h30m343eimht2d1q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.8730 uga2eakh2h30m343eimht2d1q0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719220941671920c414','aut6719298916671920c3db' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171356.8770 uga2eakh2h30m343eimht2d1q0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.8910 uga2eakh2h30m343eimht2d1q0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.9170 uga2eakh2h30m343eimht2d1q0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719220941671920c414',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut6719298916671920c3db' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241023@171356.1142 uga2eakh2h30m343eimht2d1q0 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6719298916671920c3db','2406980','wait',39,'adm09112754980.682000002')
20241023@171356.1212 uga2eakh2h30m343eimht2d1q0 Query : use flama_phc
20241023@171356.1215 uga2eakh2h30m343eimht2d1q0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241023@171356.1243 uga2eakh2h30m343eimht2d1q0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2897';
20241023@171356.1465 uga2eakh2h30m343eimht2d1q0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2897';
20241023@171356.1514 uga2eakh2h30m343eimht2d1q0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2897';
20241023@171356.1552 uga2eakh2h30m343eimht2d1q0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2897';
20241023@171356.2060 j7nip4014kr0ja0or7b88rb38i Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241023@171356.2072 j7nip4014kr0ja0or7b88rb38i Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241023@171356.2129 j7nip4014kr0ja0or7b88rb38i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2898';
20241023@171356.2183 j7nip4014kr0ja0or7b88rb38i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2898';
20241023@171356.2237 j7nip4014kr0ja0or7b88rb38i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2898';
20241023@171356.2265 j7nip4014kr0ja0or7b88rb38i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2898';
20241023@171356.2314 j7nip4014kr0ja0or7b88rb38i Query : use flama_phc
20241023@171356.2317 j7nip4014kr0ja0or7b88rb38i Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241023@171356.2401 j7nip4014kr0ja0or7b88rb38i Query : use flama_phc
20241023@171356.2404 j7nip4014kr0ja0or7b88rb38i Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241023@171356.2444 j7nip4014kr0ja0or7b88rb38i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241023@171356.2584 j7nip4014kr0ja0or7b88rb38i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406982 and bi.ref ='324.645.00.01' and bi.lordem =1
20241023@171356.3324 j7nip4014kr0ja0or7b88rb38i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241023@171356.3473 j7nip4014kr0ja0or7b88rb38i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406982 and bi.ref ='324.645.00.01' and bi.lordem =1
20241023@171356.3491 j7nip4014kr0ja0or7b88rb38i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241023@171356.3511 j7nip4014kr0ja0or7b88rb38i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406982 and bi.ref ='324.645.00.01' and bi.lordem =1
20241023@171356.3527 j7nip4014kr0ja0or7b88rb38i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241023@171356.3548 j7nip4014kr0ja0or7b88rb38i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406982 and bi.ref ='324.645.00.01' and bi.lordem =1
20241023@171356.3565 j7nip4014kr0ja0or7b88rb38i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241023@171356.3589 j7nip4014kr0ja0or7b88rb38i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406982 and bi.ref ='324.645.00.01' and bi.lordem =1
20241023@171356.3607 j7nip4014kr0ja0or7b88rb38i Query : use flama_phc
20241023@171356.3611 j7nip4014kr0ja0or7b88rb38i Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241023@171356.3642 j7nip4014kr0ja0or7b88rb38i Query : use flama_phc
20241023@171356.3645 j7nip4014kr0ja0or7b88rb38i Query : select top 1 1 valor from td where td.ndoc = 39
20241023@171356.3676 j7nip4014kr0ja0or7b88rb38i Query : use flama_phc
20241023@171356.3679 j7nip4014kr0ja0or7b88rb38i 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')
20241023@171356.3707 j7nip4014kr0ja0or7b88rb38i 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
20241023@171356.3742 j7nip4014kr0ja0or7b88rb38i Query : use flama_phc
20241023@171356.3744 j7nip4014kr0ja0or7b88rb38i Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241023@171356.3782 j7nip4014kr0ja0or7b88rb38i Query : use flama_phc
20241023@171356.3785 j7nip4014kr0ja0or7b88rb38i Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241023@171356.3815 j7nip4014kr0ja0or7b88rb38i Query : use flama_phc
20241023@171356.3817 j7nip4014kr0ja0or7b88rb38i Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241023@171356.3856 j7nip4014kr0ja0or7b88rb38i Query : use flama_phc
20241023@171356.3858 j7nip4014kr0ja0or7b88rb38i Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241023@171356.3902 j7nip4014kr0ja0or7b88rb38i Query : use flama_phc
20241023@171356.3905 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from td where ndoc = 39
20241023@171356.3917 j7nip4014kr0ja0or7b88rb38i Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241023@171356.3931 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.3952 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171356.3973 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.3988 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171356.4017 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.4031 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171356.4043 j7nip4014kr0ja0or7b88rb38i Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171356.4106 j7nip4014kr0ja0or7b88rb38i Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171356.4119 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.4133 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171356.4149 j7nip4014kr0ja0or7b88rb38i Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6719298533671920c462' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241023@171356.4308 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.4325 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171356.4360 j7nip4014kr0ja0or7b88rb38i Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241023@171356.4373 j7nip4014kr0ja0or7b88rb38i Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241023@171356.4385 j7nip4014kr0ja0or7b88rb38i Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241023@171356.4399 j7nip4014kr0ja0or7b88rb38i Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241023@171356.4413 j7nip4014kr0ja0or7b88rb38i Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241023@171356.4432 j7nip4014kr0ja0or7b88rb38i Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241023@171356.4445 j7nip4014kr0ja0or7b88rb38i Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6719298533671920c462',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241023@171356.4669 j7nip4014kr0ja0or7b88rb38i Query : select top 1 fno valor from wsftdata order by fno desc
20241023@171356.4693 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.4709 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171356.4733 j7nip4014kr0ja0or7b88rb38i Query : select 'normal' from dummy
20241023@171356.4747 j7nip4014kr0ja0or7b88rb38i Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6719298533671920c462',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1484,100810,0,'2024-10-23',39,'euro',0,0,2024 ,?,?)
20241023@171356.5060 j7nip4014kr0ja0or7b88rb38i Query : use flama_phc
20241023@171356.5063 j7nip4014kr0ja0or7b88rb38i Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241023@171356.5085 j7nip4014kr0ja0or7b88rb38i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.645.00.01'
20241023@171356.5227 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.5246 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.5274 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.5293 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.5303 j7nip4014kr0ja0or7b88rb38i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171356.5315 j7nip4014kr0ja0or7b88rb38i Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301260200a'
20241023@171356.5336 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.5351 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.5364 j7nip4014kr0ja0or7b88rb38i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719248977671920c482','aut6719298533671920c462' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171356.5368 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.5383 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.5414 j7nip4014kr0ja0or7b88rb38i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719248977671920c482',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6719298533671920c462' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241023@171356.5850 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.5866 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.5893 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.5909 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.5918 j7nip4014kr0ja0or7b88rb38i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171356.5931 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.5946 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.5959 j7nip4014kr0ja0or7b88rb38i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719261539671920c490','aut6719298533671920c462' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171356.5963 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.5979 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.6008 j7nip4014kr0ja0or7b88rb38i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719261539671920c490',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719298533671920c462' ,0,0 ,2,23.00,20000,?,?,?)
20241023@171356.6236 j7nip4014kr0ja0or7b88rb38i Query : use flama_phc
20241023@171356.6244 j7nip4014kr0ja0or7b88rb38i Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241023@171356.6264 j7nip4014kr0ja0or7b88rb38i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.645.00.01'
20241023@171356.6278 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.6294 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.6319 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.6334 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.6342 j7nip4014kr0ja0or7b88rb38i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171356.6354 j7nip4014kr0ja0or7b88rb38i Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301260200a'
20241023@171356.6368 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.6384 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.6396 j7nip4014kr0ja0or7b88rb38i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719215128671920c49b','aut6719298533671920c462' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171356.6400 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.6415 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.6442 j7nip4014kr0ja0or7b88rb38i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719215128671920c49b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6719298533671920c462' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241023@171356.6692 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.6732 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.6756 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.6772 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.6780 j7nip4014kr0ja0or7b88rb38i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171356.6791 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.6805 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.6817 j7nip4014kr0ja0or7b88rb38i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719297980671920c4a5','aut6719298533671920c462' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171356.6821 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.6835 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.6874 j7nip4014kr0ja0or7b88rb38i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719297980671920c4a5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719298533671920c462' ,0,0 ,2,23.00,50000,?,?,?)
20241023@171356.7297 j7nip4014kr0ja0or7b88rb38i Query : use flama_phc
20241023@171356.7339 j7nip4014kr0ja0or7b88rb38i Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241023@171356.7891 j7nip4014kr0ja0or7b88rb38i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.645.00.01'
20241023@171356.8312 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.8329 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.8354 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.8369 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.8377 j7nip4014kr0ja0or7b88rb38i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171356.8389 j7nip4014kr0ja0or7b88rb38i Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301260200a'
20241023@171356.8402 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.8416 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.8427 j7nip4014kr0ja0or7b88rb38i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719250193671920c4cd','aut6719298533671920c462' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171356.8431 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.8447 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.8475 j7nip4014kr0ja0or7b88rb38i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719250193671920c4cd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6719298533671920c462' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241023@171356.8715 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.8730 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.8753 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.8767 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.8775 j7nip4014kr0ja0or7b88rb38i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171356.8786 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.8799 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.8810 j7nip4014kr0ja0or7b88rb38i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719282336671920c4d6','aut6719298533671920c462' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171356.8814 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.8829 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.8856 j7nip4014kr0ja0or7b88rb38i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719282336671920c4d6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719298533671920c462' ,0,0 ,2,23.00,80000,?,?,?)
20241023@171356.9083 j7nip4014kr0ja0or7b88rb38i Query : use flama_phc
20241023@171356.9086 j7nip4014kr0ja0or7b88rb38i Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241023@171356.9105 j7nip4014kr0ja0or7b88rb38i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.645.00.01'
20241023@171356.9118 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.9132 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.9158 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.9173 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.9181 j7nip4014kr0ja0or7b88rb38i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171356.9194 j7nip4014kr0ja0or7b88rb38i Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301260200a'
20241023@171356.9207 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.9222 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.9234 j7nip4014kr0ja0or7b88rb38i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719200433671920c4e0','aut6719298533671920c462' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171356.9238 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.9253 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.9286 j7nip4014kr0ja0or7b88rb38i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719200433671920c4e0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6719298533671920c462' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241023@171356.9521 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.9536 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.9561 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.9576 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.9584 j7nip4014kr0ja0or7b88rb38i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171356.9595 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.9610 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.9622 j7nip4014kr0ja0or7b88rb38i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719270680671920c4ea','aut6719298533671920c462' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171356.9626 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.9640 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.9667 j7nip4014kr0ja0or7b88rb38i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719270680671920c4ea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719298533671920c462' ,0,0 ,2,23.00,110000,?,?,?)
20241023@171356.9893 j7nip4014kr0ja0or7b88rb38i Query : use flama_phc
20241023@171356.9896 j7nip4014kr0ja0or7b88rb38i Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241023@171356.9916 j7nip4014kr0ja0or7b88rb38i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.645.00.01'
20241023@171356.9929 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.9944 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171356.9971 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171356.9984 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171356.9994 j7nip4014kr0ja0or7b88rb38i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171357.5000 j7nip4014kr0ja0or7b88rb38i Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301260200a'
20241023@171357.1900 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.3200 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.4300 j7nip4014kr0ja0or7b88rb38i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719233726671920c500','aut6719298533671920c462' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171357.4700 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.6200 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.8800 j7nip4014kr0ja0or7b88rb38i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719233726671920c500',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6719298533671920c462' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241023@171357.3240 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.3400 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.5710 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.5880 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.6150 j7nip4014kr0ja0or7b88rb38i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171357.6270 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.6420 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.6530 j7nip4014kr0ja0or7b88rb38i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719222168671920c50f','aut6719298533671920c462' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171357.6570 j7nip4014kr0ja0or7b88rb38i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.6710 j7nip4014kr0ja0or7b88rb38i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.6970 j7nip4014kr0ja0or7b88rb38i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719222168671920c50f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719298533671920c462' ,0,0 ,2,23.00,140000,?,?,?)
20241023@171357.9660 j7nip4014kr0ja0or7b88rb38i Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6719298533671920c462','2406982','wait',39,'adm09112754980.682000002')
20241023@171357.1035 j7nip4014kr0ja0or7b88rb38i Query : use flama_phc
20241023@171357.1038 j7nip4014kr0ja0or7b88rb38i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241023@171357.1069 j7nip4014kr0ja0or7b88rb38i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2898';
20241023@171357.1102 j7nip4014kr0ja0or7b88rb38i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2898';
20241023@171357.1144 j7nip4014kr0ja0or7b88rb38i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2898';
20241023@171357.1173 j7nip4014kr0ja0or7b88rb38i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2898';
20241023@171357.1692 fc0n432v15rjbs3uojnsgbmkav Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241023@171357.1706 fc0n432v15rjbs3uojnsgbmkav Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241023@171357.1763 fc0n432v15rjbs3uojnsgbmkav Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2899';
20241023@171357.1818 fc0n432v15rjbs3uojnsgbmkav Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2899';
20241023@171357.1873 fc0n432v15rjbs3uojnsgbmkav Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2899';
20241023@171357.1900 fc0n432v15rjbs3uojnsgbmkav Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2899';
20241023@171357.1950 fc0n432v15rjbs3uojnsgbmkav Query : use flama_phc
20241023@171357.1953 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241023@171357.2013 fc0n432v15rjbs3uojnsgbmkav Query : use flama_phc
20241023@171357.2016 fc0n432v15rjbs3uojnsgbmkav Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241023@171357.2058 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241023@171357.2078 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406983 and bi.ref ='324.645.00.01' and bi.lordem =1
20241023@171357.2384 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241023@171357.2405 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406983 and bi.ref ='324.645.00.01' and bi.lordem =1
20241023@171357.2421 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241023@171357.2440 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406983 and bi.ref ='324.645.00.01' and bi.lordem =1
20241023@171357.2457 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241023@171357.2477 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406983 and bi.ref ='324.645.00.01' and bi.lordem =1
20241023@171357.2493 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241023@171357.2514 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406983 and bi.ref ='324.645.00.01' and bi.lordem =1
20241023@171357.2530 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241023@171357.2551 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406983 and bi.ref ='324.645.00.01' and bi.lordem =1
20241023@171357.2567 fc0n432v15rjbs3uojnsgbmkav Query : use flama_phc
20241023@171357.2570 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241023@171357.2601 fc0n432v15rjbs3uojnsgbmkav Query : use flama_phc
20241023@171357.2604 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 1 valor from td where td.ndoc = 39
20241023@171357.2632 fc0n432v15rjbs3uojnsgbmkav Query : use flama_phc
20241023@171357.2635 fc0n432v15rjbs3uojnsgbmkav 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')
20241023@171357.2667 fc0n432v15rjbs3uojnsgbmkav 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
20241023@171357.2699 fc0n432v15rjbs3uojnsgbmkav Query : use flama_phc
20241023@171357.2702 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241023@171357.2731 fc0n432v15rjbs3uojnsgbmkav Query : use flama_phc
20241023@171357.2734 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241023@171357.2762 fc0n432v15rjbs3uojnsgbmkav Query : use flama_phc
20241023@171357.2765 fc0n432v15rjbs3uojnsgbmkav Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241023@171357.2803 fc0n432v15rjbs3uojnsgbmkav Query : use flama_phc
20241023@171357.2806 fc0n432v15rjbs3uojnsgbmkav Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241023@171357.2848 fc0n432v15rjbs3uojnsgbmkav Query : use flama_phc
20241023@171357.2854 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from td where ndoc = 39
20241023@171357.2866 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241023@171357.2880 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.2896 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171357.2914 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.2928 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171357.2957 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.2972 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171357.2985 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171357.3052 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171357.3065 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.3080 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171357.3096 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6719238200671920c548' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241023@171357.3252 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.3268 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171357.3299 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241023@171357.3310 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241023@171357.3325 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241023@171357.3336 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241023@171357.3347 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241023@171357.3359 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241023@171357.3370 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6719238200671920c548',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241023@171357.3586 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 fno valor from wsftdata order by fno desc
20241023@171357.3610 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.3628 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171357.3649 fc0n432v15rjbs3uojnsgbmkav Query : select 'normal' from dummy
20241023@171357.3663 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6719238200671920c548',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1485,100810,0,'2024-10-23',39,'euro',0,0,2024 ,?,?)
20241023@171357.3919 fc0n432v15rjbs3uojnsgbmkav Query : use flama_phc
20241023@171357.3922 fc0n432v15rjbs3uojnsgbmkav Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241023@171357.3942 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.645.00.01'
20241023@171357.3956 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.3970 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.3992 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.4006 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.4014 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171357.4026 fc0n432v15rjbs3uojnsgbmkav Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301260200a'
20241023@171357.4038 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.4052 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.4063 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719243501671920c562','aut6719238200671920c548' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171357.4067 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.4081 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.4108 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719243501671920c562',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6719238200671920c548' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241023@171357.4336 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.4351 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.4373 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.4467 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.4587 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171357.4600 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.4616 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.4628 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719257256671920c570','aut6719238200671920c548' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171357.4633 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.4647 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.4674 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719257256671920c570',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719238200671920c548' ,0,0 ,2,23.00,20000,?,?,?)
20241023@171357.4905 fc0n432v15rjbs3uojnsgbmkav Query : use flama_phc
20241023@171357.4909 fc0n432v15rjbs3uojnsgbmkav Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241023@171357.4928 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.645.00.01'
20241023@171357.4940 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.4957 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.4981 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.4994 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.5003 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171357.5014 fc0n432v15rjbs3uojnsgbmkav Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301175100a'
20241023@171357.5034 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.5048 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.5059 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719275958671920c57a','aut6719238200671920c548' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171357.5063 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.5077 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.5104 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719275958671920c57a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6719238200671920c548' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241023@171357.5401 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.5417 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.5441 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.5456 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.5464 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171357.5475 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.5489 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.5500 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719263764671920c585','aut6719238200671920c548' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171357.5504 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.5518 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.5559 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719263764671920c585',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719238200671920c548' ,0,0 ,2,23.00,50000,?,?,?)
20241023@171357.5821 fc0n432v15rjbs3uojnsgbmkav Query : use flama_phc
20241023@171357.5824 fc0n432v15rjbs3uojnsgbmkav Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241023@171357.5842 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.645.00.01'
20241023@171357.5855 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.5886 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.5909 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.6138 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.6147 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171357.6159 fc0n432v15rjbs3uojnsgbmkav Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301260200a'
20241023@171357.6173 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.6189 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.6200 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719265238671920c596','aut6719238200671920c548' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171357.6207 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.6222 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.6247 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719265238671920c596',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6719238200671920c548' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241023@171357.6547 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.6733 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.6757 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.6815 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.6824 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171357.6835 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.6853 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.6864 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719205063671920c5a6','aut6719238200671920c548' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171357.6868 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.6883 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.6912 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719205063671920c5a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719238200671920c548' ,0,0 ,2,23.00,80000,?,?,?)
20241023@171357.7429 fc0n432v15rjbs3uojnsgbmkav Query : use flama_phc
20241023@171357.7470 fc0n432v15rjbs3uojnsgbmkav Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241023@171357.8165 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.645.00.01'
20241023@171357.8307 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.8323 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.8350 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.8365 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.8374 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171357.8386 fc0n432v15rjbs3uojnsgbmkav Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301260200a'
20241023@171357.8399 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.8415 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.8427 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719283050671920c5cd','aut6719238200671920c548' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171357.8432 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.8446 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.8475 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719283050671920c5cd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6719238200671920c548' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241023@171357.8722 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.8740 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.8769 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.8785 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.8794 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171357.8808 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.8824 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.8837 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719278128671920c5d7','aut6719238200671920c548' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171357.8842 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.8859 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.8889 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719278128671920c5d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719238200671920c548' ,0,0 ,2,23.00,110000,?,?,?)
20241023@171357.9128 fc0n432v15rjbs3uojnsgbmkav Query : use flama_phc
20241023@171357.9132 fc0n432v15rjbs3uojnsgbmkav Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241023@171357.9152 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.645.00.01'
20241023@171357.9166 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.9183 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.9213 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.9230 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.9240 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171357.9253 fc0n432v15rjbs3uojnsgbmkav Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301260200a'
20241023@171357.9266 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.9281 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.9292 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719239531671920c5e2','aut6719238200671920c548' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171357.9297 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.9311 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.9341 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719239531671920c5e2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6719238200671920c548' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241023@171357.9581 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.9597 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.9622 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.9637 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.9645 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171357.9657 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.9673 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171357.9684 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719209759671920c5eb','aut6719238200671920c548' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171357.9689 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171357.9705 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171357.9745 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719209759671920c5eb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719238200671920c548' ,0,0 ,2,23.00,140000,?,?,?)
20241023@171357.9983 fc0n432v15rjbs3uojnsgbmkav Query : use flama_phc
20241023@171357.9986 fc0n432v15rjbs3uojnsgbmkav Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241023@171358.6000 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.645.00.01'
20241023@171358.2000 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.3500 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.6000 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.7400 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.8300 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171358.9600 fc0n432v15rjbs3uojnsgbmkav Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301260200a'
20241023@171358.1090 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.1240 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.1350 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719206514671920c602','aut6719238200671920c548' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171358.1390 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.1540 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.1810 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719206514671920c602',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6719238200671920c548' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241023@171358.4160 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.4320 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.4550 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.4700 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.4790 fc0n432v15rjbs3uojnsgbmkav Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171358.4900 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.5040 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.5170 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719272112671920c60b','aut6719238200671920c548' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171358.5210 fc0n432v15rjbs3uojnsgbmkav Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.5350 fc0n432v15rjbs3uojnsgbmkav Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.5650 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719272112671920c60b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719238200671920c548' ,0,0 ,2,23.00,170000,?,?,?)
20241023@171358.7840 fc0n432v15rjbs3uojnsgbmkav Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6719238200671920c548','2406983','wait',39,'adm09112754980.682000002')
20241023@171358.8550 fc0n432v15rjbs3uojnsgbmkav Query : use flama_phc
20241023@171358.8580 fc0n432v15rjbs3uojnsgbmkav Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241023@171358.8870 fc0n432v15rjbs3uojnsgbmkav Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2899';
20241023@171358.9200 fc0n432v15rjbs3uojnsgbmkav Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2899';
20241023@171358.9620 fc0n432v15rjbs3uojnsgbmkav Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2899';
20241023@171358.9890 fc0n432v15rjbs3uojnsgbmkav Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2899';
20241023@171358.1546 pjq938pacjivt6l3fbamignje9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241023@171358.1556 pjq938pacjivt6l3fbamignje9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241023@171358.1613 pjq938pacjivt6l3fbamignje9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2900';
20241023@171358.1671 pjq938pacjivt6l3fbamignje9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2900';
20241023@171358.1726 pjq938pacjivt6l3fbamignje9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2900';
20241023@171358.1757 pjq938pacjivt6l3fbamignje9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2900';
20241023@171358.1809 pjq938pacjivt6l3fbamignje9 Query : use flama_phc
20241023@171358.1813 pjq938pacjivt6l3fbamignje9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241023@171358.1876 pjq938pacjivt6l3fbamignje9 Query : use flama_phc
20241023@171358.1879 pjq938pacjivt6l3fbamignje9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241023@171358.1921 pjq938pacjivt6l3fbamignje9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241023@171358.1942 pjq938pacjivt6l3fbamignje9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406984 and bi.ref ='324.645.00.01' and bi.lordem =1
20241023@171358.2253 pjq938pacjivt6l3fbamignje9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241023@171358.2273 pjq938pacjivt6l3fbamignje9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406984 and bi.ref ='324.645.00.01' and bi.lordem =1
20241023@171358.2354 pjq938pacjivt6l3fbamignje9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241023@171358.2373 pjq938pacjivt6l3fbamignje9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406984 and bi.ref ='324.645.00.01' and bi.lordem =1
20241023@171358.2390 pjq938pacjivt6l3fbamignje9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241023@171358.2408 pjq938pacjivt6l3fbamignje9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406984 and bi.ref ='324.645.00.01' and bi.lordem =1
20241023@171358.2424 pjq938pacjivt6l3fbamignje9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241023@171358.2442 pjq938pacjivt6l3fbamignje9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406984 and bi.ref ='324.645.00.01' and bi.lordem =1
20241023@171358.2458 pjq938pacjivt6l3fbamignje9 Query : use flama_phc
20241023@171358.2461 pjq938pacjivt6l3fbamignje9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241023@171358.2525 pjq938pacjivt6l3fbamignje9 Query : use flama_phc
20241023@171358.2528 pjq938pacjivt6l3fbamignje9 Query : select top 1 1 valor from td where td.ndoc = 39
20241023@171358.2750 pjq938pacjivt6l3fbamignje9 Query : use flama_phc
20241023@171358.2808 pjq938pacjivt6l3fbamignje9 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')
20241023@171358.2841 pjq938pacjivt6l3fbamignje9 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
20241023@171358.2876 pjq938pacjivt6l3fbamignje9 Query : use flama_phc
20241023@171358.2892 pjq938pacjivt6l3fbamignje9 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241023@171358.2969 pjq938pacjivt6l3fbamignje9 Query : use flama_phc
20241023@171358.2973 pjq938pacjivt6l3fbamignje9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241023@171358.3015 pjq938pacjivt6l3fbamignje9 Query : use flama_phc
20241023@171358.3018 pjq938pacjivt6l3fbamignje9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241023@171358.3096 pjq938pacjivt6l3fbamignje9 Query : use flama_phc
20241023@171358.3100 pjq938pacjivt6l3fbamignje9 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241023@171358.3171 pjq938pacjivt6l3fbamignje9 Query : use flama_phc
20241023@171358.3174 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from td where ndoc = 39
20241023@171358.3186 pjq938pacjivt6l3fbamignje9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241023@171358.3253 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.3271 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171358.3304 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.3319 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171358.3348 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.3362 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171358.3374 pjq938pacjivt6l3fbamignje9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171358.3547 pjq938pacjivt6l3fbamignje9 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171358.3721 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.3739 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171358.3754 pjq938pacjivt6l3fbamignje9 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6719224062671920c652' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241023@171358.3918 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.3980 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171358.4014 pjq938pacjivt6l3fbamignje9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241023@171358.4026 pjq938pacjivt6l3fbamignje9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241023@171358.4037 pjq938pacjivt6l3fbamignje9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241023@171358.4048 pjq938pacjivt6l3fbamignje9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241023@171358.4060 pjq938pacjivt6l3fbamignje9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241023@171358.4072 pjq938pacjivt6l3fbamignje9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241023@171358.4083 pjq938pacjivt6l3fbamignje9 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6719224062671920c652',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241023@171358.4311 pjq938pacjivt6l3fbamignje9 Query : select top 1 fno valor from wsftdata order by fno desc
20241023@171358.4338 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.4354 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171358.4376 pjq938pacjivt6l3fbamignje9 Query : select 'normal' from dummy
20241023@171358.4391 pjq938pacjivt6l3fbamignje9 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6719224062671920c652',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1486,100810,0,'2024-10-23',39,'euro',0,0,2024 ,?,?)
20241023@171358.4649 pjq938pacjivt6l3fbamignje9 Query : use flama_phc
20241023@171358.4652 pjq938pacjivt6l3fbamignje9 Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241023@171358.4674 pjq938pacjivt6l3fbamignje9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.645.00.01'
20241023@171358.4687 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.4702 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.4725 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.4741 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.4749 pjq938pacjivt6l3fbamignje9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171358.4760 pjq938pacjivt6l3fbamignje9 Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301175100a'
20241023@171358.4773 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.4787 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.4799 pjq938pacjivt6l3fbamignje9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719272050671920c674','aut6719224062671920c652' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171358.4803 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.4817 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.4844 pjq938pacjivt6l3fbamignje9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719272050671920c674',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6719224062671920c652' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241023@171358.5068 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.5083 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.5119 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.5133 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.5142 pjq938pacjivt6l3fbamignje9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171358.5154 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.5168 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.5179 pjq938pacjivt6l3fbamignje9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719249439671920c67d','aut6719224062671920c652' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171358.5183 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.5197 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.5224 pjq938pacjivt6l3fbamignje9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719249439671920c67d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719224062671920c652' ,0,0 ,2,23.00,20000,?,?,?)
20241023@171358.5456 pjq938pacjivt6l3fbamignje9 Query : use flama_phc
20241023@171358.5459 pjq938pacjivt6l3fbamignje9 Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241023@171358.5478 pjq938pacjivt6l3fbamignje9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.645.00.01'
20241023@171358.5491 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.5508 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.5533 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.5549 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.5558 pjq938pacjivt6l3fbamignje9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171358.5573 pjq938pacjivt6l3fbamignje9 Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301175100a'
20241023@171358.5587 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.5604 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.5616 pjq938pacjivt6l3fbamignje9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719267472671920c688','aut6719224062671920c652' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171358.5620 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.5636 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.5669 pjq938pacjivt6l3fbamignje9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719267472671920c688',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6719224062671920c652' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241023@171358.5908 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.5923 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.5947 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.5962 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.5971 pjq938pacjivt6l3fbamignje9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171358.5982 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.5995 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.6006 pjq938pacjivt6l3fbamignje9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719233817671920c692','aut6719224062671920c652' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171358.6010 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.6024 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.6053 pjq938pacjivt6l3fbamignje9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719233817671920c692',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719224062671920c652' ,0,0 ,2,23.00,50000,?,?,?)
20241023@171358.6280 pjq938pacjivt6l3fbamignje9 Query : use flama_phc
20241023@171358.6283 pjq938pacjivt6l3fbamignje9 Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241023@171358.6302 pjq938pacjivt6l3fbamignje9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.645.00.01'
20241023@171358.6315 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.6329 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.6354 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.6367 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.6379 pjq938pacjivt6l3fbamignje9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171358.6391 pjq938pacjivt6l3fbamignje9 Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301175100a'
20241023@171358.6403 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.6416 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.6427 pjq938pacjivt6l3fbamignje9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719203947671920c69c','aut6719224062671920c652' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171358.6431 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.6444 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.6470 pjq938pacjivt6l3fbamignje9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719203947671920c69c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6719224062671920c652' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241023@171358.6694 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.6733 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.6757 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.6771 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.6779 pjq938pacjivt6l3fbamignje9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171358.6790 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.6804 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.6815 pjq938pacjivt6l3fbamignje9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719238425671920c6a5','aut6719224062671920c652' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171358.6819 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.6832 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.6858 pjq938pacjivt6l3fbamignje9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719238425671920c6a5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719224062671920c652' ,0,0 ,2,23.00,80000,?,?,?)
20241023@171358.7091 pjq938pacjivt6l3fbamignje9 Query : use flama_phc
20241023@171358.7094 pjq938pacjivt6l3fbamignje9 Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241023@171358.7113 pjq938pacjivt6l3fbamignje9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.645.00.01'
20241023@171358.7125 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.7141 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.7166 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.7179 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.7187 pjq938pacjivt6l3fbamignje9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171358.7221 pjq938pacjivt6l3fbamignje9 Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301175100a'
20241023@171358.7233 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.7247 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.7258 pjq938pacjivt6l3fbamignje9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719243828671920c6b0','aut6719224062671920c652' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171358.7262 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.7276 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.7302 pjq938pacjivt6l3fbamignje9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719243828671920c6b0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6719224062671920c652' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241023@171358.7533 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.7548 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.7573 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.7654 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.7663 pjq938pacjivt6l3fbamignje9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171358.7676 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.7697 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.7709 pjq938pacjivt6l3fbamignje9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719233539671920c6bb','aut6719224062671920c652' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171358.7713 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.7727 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.7896 pjq938pacjivt6l3fbamignje9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719233539671920c6bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719224062671920c652' ,0,0 ,2,23.00,110000,?,?,?)
20241023@171358.8134 pjq938pacjivt6l3fbamignje9 Query : use flama_phc
20241023@171358.8138 pjq938pacjivt6l3fbamignje9 Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241023@171358.8156 pjq938pacjivt6l3fbamignje9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.645.00.01'
20241023@171358.8175 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.8199 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.8222 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.8297 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.8306 pjq938pacjivt6l3fbamignje9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171358.8319 pjq938pacjivt6l3fbamignje9 Query : select sestamp valor from se where ref ='324.645.00.01' and lote = 'r2301175100a'
20241023@171358.8331 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.8346 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.8358 pjq938pacjivt6l3fbamignje9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719242642671920c6cb','aut6719224062671920c652' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171358.8362 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.8376 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.8404 pjq938pacjivt6l3fbamignje9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719242642671920c6cb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut6719224062671920c652' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241023@171358.8643 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.8659 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.8683 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.8698 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.8709 pjq938pacjivt6l3fbamignje9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171358.8720 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.8735 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171358.8746 pjq938pacjivt6l3fbamignje9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719285021671920c6d4','aut6719224062671920c652' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171358.8750 pjq938pacjivt6l3fbamignje9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171358.8764 pjq938pacjivt6l3fbamignje9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171358.8790 pjq938pacjivt6l3fbamignje9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719285021671920c6d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719224062671920c652' ,0,0 ,2,23.00,140000,?,?,?)
20241023@171358.9065 pjq938pacjivt6l3fbamignje9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6719224062671920c652','2406984','wait',39,'adm09112754980.682000002')
20241023@171358.9173 pjq938pacjivt6l3fbamignje9 Query : use flama_phc
20241023@171358.9177 pjq938pacjivt6l3fbamignje9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241023@171358.9228 pjq938pacjivt6l3fbamignje9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2900';
20241023@171358.9281 pjq938pacjivt6l3fbamignje9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2900';
20241023@171358.9446 pjq938pacjivt6l3fbamignje9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2900';
20241023@171358.9521 pjq938pacjivt6l3fbamignje9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2900';
20241023@171359.1216 qlcpou1r908o22l93ttl8ntmlu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241023@171359.1227 qlcpou1r908o22l93ttl8ntmlu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241023@171359.1287 qlcpou1r908o22l93ttl8ntmlu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2901';
20241023@171359.1344 qlcpou1r908o22l93ttl8ntmlu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2901';
20241023@171359.1401 qlcpou1r908o22l93ttl8ntmlu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2901';
20241023@171359.1434 qlcpou1r908o22l93ttl8ntmlu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2901';
20241023@171359.1486 qlcpou1r908o22l93ttl8ntmlu Query : use flama_phc
20241023@171359.1489 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241023@171359.1550 qlcpou1r908o22l93ttl8ntmlu Query : use flama_phc
20241023@171359.1554 qlcpou1r908o22l93ttl8ntmlu Query : select no, estab,szadrsdesc from szadrs where u_coddest=838
20241023@171359.1632 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.678.00.01'
20241023@171359.1765 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406985 and bi.ref ='324.678.00.01' and bi.lordem =2
20241023@171359.2066 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20241023@171359.2085 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406985 and bi.ref ='324.692.00.01' and bi.lordem =3
20241023@171359.2394 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20241023@171359.2516 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406985 and bi.ref ='324.4990.00.1' and bi.lordem =4
20241023@171359.2824 qlcpou1r908o22l93ttl8ntmlu Query : use flama_phc
20241023@171359.2827 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241023@171359.2861 qlcpou1r908o22l93ttl8ntmlu Query : use flama_phc
20241023@171359.2864 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 1 valor from td where td.ndoc = 39
20241023@171359.2934 qlcpou1r908o22l93ttl8ntmlu Query : use flama_phc
20241023@171359.2937 qlcpou1r908o22l93ttl8ntmlu 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')
20241023@171359.2965 qlcpou1r908o22l93ttl8ntmlu 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
20241023@171359.2999 qlcpou1r908o22l93ttl8ntmlu Query : use flama_phc
20241023@171359.3002 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 ~inactivo valor from cl where no = '100238' and estab = 0 order by inactivo desc
20241023@171359.3097 qlcpou1r908o22l93ttl8ntmlu Query : use flama_phc
20241023@171359.3100 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241023@171359.3129 qlcpou1r908o22l93ttl8ntmlu Query : use flama_phc
20241023@171359.3132 qlcpou1r908o22l93ttl8ntmlu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241023@171359.3234 qlcpou1r908o22l93ttl8ntmlu Query : use flama_phc
20241023@171359.3237 qlcpou1r908o22l93ttl8ntmlu Query : select szadrsstamp valor from szadrs where szadrsdesc='armando manuel'
20241023@171359.3285 qlcpou1r908o22l93ttl8ntmlu Query : use flama_phc
20241023@171359.3288 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from td where ndoc = 39
20241023@171359.3322 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241023@171359.3336 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.3352 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171359.3377 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.3391 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171359.3445 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.3463 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171359.3477 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171359.3540 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171359.3570 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.3587 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171359.3603 qlcpou1r908o22l93ttl8ntmlu Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6719205019671920c754' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241023@171359.3768 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.3786 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171359.3819 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241023@171359.3852 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241023@171359.3864 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241023@171359.3875 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241023@171359.3896 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241023@171359.3907 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241023@171359.3918 qlcpou1r908o22l93ttl8ntmlu Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6719205019671920c754',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241023@171359.4149 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 fno valor from wsftdata order by fno desc
20241023@171359.4174 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.4203 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171359.4225 qlcpou1r908o22l93ttl8ntmlu Query : select 'normal' from dummy
20241023@171359.4239 qlcpou1r908o22l93ttl8ntmlu Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6719205019671920c754',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1487,100238,0,'2024-10-23',39,'euro',0,0,2024 ,?,?)
20241023@171359.4500 qlcpou1r908o22l93ttl8ntmlu Query : use flama_phc
20241023@171359.4503 qlcpou1r908o22l93ttl8ntmlu Query : select st.usalote valor from st where st.ref = '324.678.00.01'
20241023@171359.4525 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.678.00.01'
20241023@171359.4651 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.4667 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171359.4693 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.4708 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171359.4717 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171359.4729 qlcpou1r908o22l93ttl8ntmlu Query : select sestamp valor from se where ref ='324.678.00.01' and lote = 'r2400745200a'
20241023@171359.4743 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.4758 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171359.4780 qlcpou1r908o22l93ttl8ntmlu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719225354671920c773','aut6719205019671920c754' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171359.4784 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.4800 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171359.4828 qlcpou1r908o22l93ttl8ntmlu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719225354671920c773',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6719205019671920c754' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241023@171359.5064 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.5080 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171359.5108 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.5123 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171359.5132 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171359.5144 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.5159 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171359.5171 qlcpou1r908o22l93ttl8ntmlu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719286495671920c77d','aut6719205019671920c754' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171359.5175 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.5190 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171359.5219 qlcpou1r908o22l93ttl8ntmlu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719286495671920c77d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719205019671920c754' ,0,0 ,2,23.00,20000,?,?,?)
20241023@171359.5435 qlcpou1r908o22l93ttl8ntmlu Query : use flama_phc
20241023@171359.5438 qlcpou1r908o22l93ttl8ntmlu Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20241023@171359.5476 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.692.00.01'
20241023@171359.5489 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.5505 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171359.5530 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.5544 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171359.5554 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171359.5566 qlcpou1r908o22l93ttl8ntmlu Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400210100a'
20241023@171359.5579 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.5594 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171359.5606 qlcpou1r908o22l93ttl8ntmlu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719297571671920c788','aut6719205019671920c754' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171359.5610 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.5624 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171359.5651 qlcpou1r908o22l93ttl8ntmlu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719297571671920c788',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6719205019671920c754' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241023@171359.5889 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.5905 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171359.5930 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.5944 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171359.5952 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171359.5964 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.5978 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171359.5989 qlcpou1r908o22l93ttl8ntmlu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719249023671920c791','aut6719205019671920c754' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171359.5993 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.6050 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171359.6079 qlcpou1r908o22l93ttl8ntmlu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719249023671920c791',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719205019671920c754' ,0,0 ,2,23.00,50000,?,?,?)
20241023@171359.6311 qlcpou1r908o22l93ttl8ntmlu Query : use flama_phc
20241023@171359.6314 qlcpou1r908o22l93ttl8ntmlu Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20241023@171359.6334 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4990.00.1'
20241023@171359.6459 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.6485 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171359.6511 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.6525 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171359.6533 qlcpou1r908o22l93ttl8ntmlu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171359.6545 qlcpou1r908o22l93ttl8ntmlu Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20241023@171359.6571 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.6589 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171359.6600 qlcpou1r908o22l93ttl8ntmlu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719280866671920c7a0','aut6719205019671920c754' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171359.6604 qlcpou1r908o22l93ttl8ntmlu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.6619 qlcpou1r908o22l93ttl8ntmlu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171359.6647 qlcpou1r908o22l93ttl8ntmlu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719280866671920c7a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6719205019671920c754' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241023@171359.6872 qlcpou1r908o22l93ttl8ntmlu Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6719205019671920c754','2406985','wait',39,'adm09112754980.682000002')
20241023@171359.6939 qlcpou1r908o22l93ttl8ntmlu Query : use flama_phc
20241023@171359.6942 qlcpou1r908o22l93ttl8ntmlu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241023@171359.6992 qlcpou1r908o22l93ttl8ntmlu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2901';
20241023@171359.7025 qlcpou1r908o22l93ttl8ntmlu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2901';
20241023@171359.7067 qlcpou1r908o22l93ttl8ntmlu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2901';
20241023@171359.7094 qlcpou1r908o22l93ttl8ntmlu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2901';
20241023@171359.7651 ievqf0sctdg7pqcu7cjdi97n88 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241023@171359.7662 ievqf0sctdg7pqcu7cjdi97n88 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241023@171359.7727 ievqf0sctdg7pqcu7cjdi97n88 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2902';
20241023@171359.7785 ievqf0sctdg7pqcu7cjdi97n88 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2902';
20241023@171359.7848 ievqf0sctdg7pqcu7cjdi97n88 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2902';
20241023@171359.7879 ievqf0sctdg7pqcu7cjdi97n88 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2902';
20241023@171359.7929 ievqf0sctdg7pqcu7cjdi97n88 Query : use flama_phc
20241023@171359.7932 ievqf0sctdg7pqcu7cjdi97n88 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241023@171359.7992 ievqf0sctdg7pqcu7cjdi97n88 Query : use flama_phc
20241023@171359.7995 ievqf0sctdg7pqcu7cjdi97n88 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1954
20241023@171359.8092 ievqf0sctdg7pqcu7cjdi97n88 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'
20241023@171359.8112 ievqf0sctdg7pqcu7cjdi97n88 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406986 and bi.ref ='324.691.00.01' and bi.lordem =1
20241023@171359.8435 ievqf0sctdg7pqcu7cjdi97n88 Query : use flama_phc
20241023@171359.8438 ievqf0sctdg7pqcu7cjdi97n88 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241023@171359.8472 ievqf0sctdg7pqcu7cjdi97n88 Query : use flama_phc
20241023@171359.8485 ievqf0sctdg7pqcu7cjdi97n88 Query : select top 1 1 valor from td where td.ndoc = 39
20241023@171359.8515 ievqf0sctdg7pqcu7cjdi97n88 Query : use flama_phc
20241023@171359.8518 ievqf0sctdg7pqcu7cjdi97n88 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')
20241023@171359.8548 ievqf0sctdg7pqcu7cjdi97n88 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
20241023@171359.8597 ievqf0sctdg7pqcu7cjdi97n88 Query : use flama_phc
20241023@171359.8600 ievqf0sctdg7pqcu7cjdi97n88 Query : select top 1 ~inactivo valor from cl where no = '102218' and estab = 0 order by inactivo desc
20241023@171359.8708 ievqf0sctdg7pqcu7cjdi97n88 Query : use flama_phc
20241023@171359.8713 ievqf0sctdg7pqcu7cjdi97n88 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241023@171359.8742 ievqf0sctdg7pqcu7cjdi97n88 Query : use flama_phc
20241023@171359.8745 ievqf0sctdg7pqcu7cjdi97n88 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241023@171359.8790 ievqf0sctdg7pqcu7cjdi97n88 Query : use flama_phc
20241023@171359.8793 ievqf0sctdg7pqcu7cjdi97n88 Query : select szadrsstamp valor from szadrs where szadrsdesc='joao do carmo mateus nunes, lda.'
20241023@171359.8853 ievqf0sctdg7pqcu7cjdi97n88 Query : use flama_phc
20241023@171359.8856 ievqf0sctdg7pqcu7cjdi97n88 Query : select 1 valor from td where ndoc = 39
20241023@171359.8868 ievqf0sctdg7pqcu7cjdi97n88 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241023@171359.8881 ievqf0sctdg7pqcu7cjdi97n88 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.8898 ievqf0sctdg7pqcu7cjdi97n88 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171359.8916 ievqf0sctdg7pqcu7cjdi97n88 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.8929 ievqf0sctdg7pqcu7cjdi97n88 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171359.8973 ievqf0sctdg7pqcu7cjdi97n88 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.8989 ievqf0sctdg7pqcu7cjdi97n88 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171359.9006 ievqf0sctdg7pqcu7cjdi97n88 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171359.9072 ievqf0sctdg7pqcu7cjdi97n88 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171359.9099 ievqf0sctdg7pqcu7cjdi97n88 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.9116 ievqf0sctdg7pqcu7cjdi97n88 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171359.9132 ievqf0sctdg7pqcu7cjdi97n88 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6719299837671920c7db' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241023@171359.9300 ievqf0sctdg7pqcu7cjdi97n88 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.9318 ievqf0sctdg7pqcu7cjdi97n88 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171359.9353 ievqf0sctdg7pqcu7cjdi97n88 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241023@171359.9364 ievqf0sctdg7pqcu7cjdi97n88 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241023@171359.9379 ievqf0sctdg7pqcu7cjdi97n88 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241023@171359.9390 ievqf0sctdg7pqcu7cjdi97n88 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241023@171359.9402 ievqf0sctdg7pqcu7cjdi97n88 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241023@171359.9420 ievqf0sctdg7pqcu7cjdi97n88 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241023@171359.9431 ievqf0sctdg7pqcu7cjdi97n88 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6719299837671920c7db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241023@171359.9663 ievqf0sctdg7pqcu7cjdi97n88 Query : select top 1 fno valor from wsftdata order by fno desc
20241023@171359.9688 ievqf0sctdg7pqcu7cjdi97n88 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171359.9704 ievqf0sctdg7pqcu7cjdi97n88 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171359.9736 ievqf0sctdg7pqcu7cjdi97n88 Query : select 'normal' from dummy
20241023@171359.9750 ievqf0sctdg7pqcu7cjdi97n88 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6719299837671920c7db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1488,102218,0,'2024-10-23',39,'euro',0,0,2024 ,?,?)
20241023@171400.3200 ievqf0sctdg7pqcu7cjdi97n88 Query : use flama_phc
20241023@171400.3500 ievqf0sctdg7pqcu7cjdi97n88 Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20241023@171400.5600 ievqf0sctdg7pqcu7cjdi97n88 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20241023@171400.7000 ievqf0sctdg7pqcu7cjdi97n88 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171400.8500 ievqf0sctdg7pqcu7cjdi97n88 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171400.1110 ievqf0sctdg7pqcu7cjdi97n88 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171400.1250 ievqf0sctdg7pqcu7cjdi97n88 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171400.1340 ievqf0sctdg7pqcu7cjdi97n88 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171400.1460 ievqf0sctdg7pqcu7cjdi97n88 Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400210200a'
20241023@171400.1590 ievqf0sctdg7pqcu7cjdi97n88 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171400.1730 ievqf0sctdg7pqcu7cjdi97n88 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171400.1840 ievqf0sctdg7pqcu7cjdi97n88 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719270135671920c803','aut6719299837671920c7db' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171400.1880 ievqf0sctdg7pqcu7cjdi97n88 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171400.2040 ievqf0sctdg7pqcu7cjdi97n88 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171400.2300 ievqf0sctdg7pqcu7cjdi97n88 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719270135671920c803',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut6719299837671920c7db' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241023@171400.1513 ievqf0sctdg7pqcu7cjdi97n88 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171400.1727 ievqf0sctdg7pqcu7cjdi97n88 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171400.1754 ievqf0sctdg7pqcu7cjdi97n88 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171400.1769 ievqf0sctdg7pqcu7cjdi97n88 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171400.1778 ievqf0sctdg7pqcu7cjdi97n88 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171400.1790 ievqf0sctdg7pqcu7cjdi97n88 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171400.1804 ievqf0sctdg7pqcu7cjdi97n88 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171400.1816 ievqf0sctdg7pqcu7cjdi97n88 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719254549671920c82b','aut6719299837671920c7db' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171400.1820 ievqf0sctdg7pqcu7cjdi97n88 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171400.1864 ievqf0sctdg7pqcu7cjdi97n88 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171400.1890 ievqf0sctdg7pqcu7cjdi97n88 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719254549671920c82b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719299837671920c7db' ,0,0 ,2,23.00,20000,?,?,?)
20241023@171400.2116 ievqf0sctdg7pqcu7cjdi97n88 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6719299837671920c7db','2406986','wait',39,'adm09112754980.682000002')
20241023@171400.2194 ievqf0sctdg7pqcu7cjdi97n88 Query : use flama_phc
20241023@171400.2197 ievqf0sctdg7pqcu7cjdi97n88 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241023@171400.2226 ievqf0sctdg7pqcu7cjdi97n88 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2902';
20241023@171400.2261 ievqf0sctdg7pqcu7cjdi97n88 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2902';
20241023@171400.2303 ievqf0sctdg7pqcu7cjdi97n88 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2902';
20241023@171400.2329 ievqf0sctdg7pqcu7cjdi97n88 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2902';
20241023@171400.2906 fraapga8ia654hks3lj1d5qu9m Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241023@171400.2917 fraapga8ia654hks3lj1d5qu9m Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241023@171400.2976 fraapga8ia654hks3lj1d5qu9m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2903';
20241023@171400.3030 fraapga8ia654hks3lj1d5qu9m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2903';
20241023@171400.3095 fraapga8ia654hks3lj1d5qu9m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2903';
20241023@171400.3123 fraapga8ia654hks3lj1d5qu9m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2903';
20241023@171400.3173 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171400.3177 fraapga8ia654hks3lj1d5qu9m Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241023@171400.3237 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171400.3240 fraapga8ia654hks3lj1d5qu9m Query : select no, estab,szadrsdesc from szadrs where u_coddest=16
20241023@171400.3298 fraapga8ia654hks3lj1d5qu9m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20241023@171400.3434 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407002 and bi.ref ='324.1670.00.1' and bi.lordem =1
20241023@171400.3729 fraapga8ia654hks3lj1d5qu9m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20241023@171400.3748 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407002 and bi.ref ='324.1670.00.1' and bi.lordem =1
20241023@171400.3763 fraapga8ia654hks3lj1d5qu9m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20241023@171400.3783 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407002 and bi.ref ='324.1670.00.1' and bi.lordem =1
20241023@171400.3800 fraapga8ia654hks3lj1d5qu9m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20241023@171400.3820 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407002 and bi.ref ='324.1670.00.1' and bi.lordem =1
20241023@171400.3836 fraapga8ia654hks3lj1d5qu9m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20241023@171400.3854 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407002 and bi.ref ='324.1670.00.1' and bi.lordem =1
20241023@171400.3870 fraapga8ia654hks3lj1d5qu9m 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'
20241023@171400.3991 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407002 and bi.ref ='304.422.00.07' and bi.lordem =2
20241023@171400.4286 fraapga8ia654hks3lj1d5qu9m 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'
20241023@171400.4425 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407002 and bi.ref ='304.421.00.04' and bi.lordem =4
20241023@171400.4785 fraapga8ia654hks3lj1d5qu9m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20241023@171400.4811 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407002 and bi.ref ='324.4902.00.1' and bi.lordem =6
20241023@171400.5116 fraapga8ia654hks3lj1d5qu9m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20241023@171400.5135 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407002 and bi.ref ='324.4902.00.1' and bi.lordem =6
20241023@171400.5163 fraapga8ia654hks3lj1d5qu9m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4961.00.1'
20241023@171400.5183 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407002 and bi.ref ='324.4961.00.1' and bi.lordem =7
20241023@171400.5852 fraapga8ia654hks3lj1d5qu9m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4961.00.1'
20241023@171400.6089 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407002 and bi.ref ='324.4961.00.1' and bi.lordem =8
20241023@171400.6404 fraapga8ia654hks3lj1d5qu9m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20241023@171400.6531 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407002 and bi.ref ='324.2221.00.1' and bi.lordem =9
20241023@171400.6846 fraapga8ia654hks3lj1d5qu9m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20241023@171400.6866 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407002 and bi.ref ='324.2221.00.1' and bi.lordem =10
20241023@171400.8381 fraapga8ia654hks3lj1d5qu9m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4964.00.1'
20241023@171400.8507 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407002 and bi.ref ='324.4964.00.1' and bi.lordem =11
20241023@171400.8798 fraapga8ia654hks3lj1d5qu9m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4964.00.1'
20241023@171400.8817 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407002 and bi.ref ='324.4964.00.1' and bi.lordem =11
20241023@171400.8834 fraapga8ia654hks3lj1d5qu9m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4964.00.1'
20241023@171400.8853 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407002 and bi.ref ='324.4964.00.1' and bi.lordem =12
20241023@171400.9151 fraapga8ia654hks3lj1d5qu9m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20241023@171400.9267 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407002 and bi.ref ='324.2222.00.1' and bi.lordem =13
20241023@171400.9648 fraapga8ia654hks3lj1d5qu9m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20241023@171400.9669 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407002 and bi.ref ='324.2222.00.1' and bi.lordem =14
20241023@171400.9970 fraapga8ia654hks3lj1d5qu9m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5343.00.1'
20241023@171401.9100 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407002 and bi.ref ='324.5343.00.1' and bi.lordem =15
20241023@171401.3820 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171401.3850 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241023@171401.4180 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171401.4200 fraapga8ia654hks3lj1d5qu9m Query : select top 1 1 valor from td where td.ndoc = 39
20241023@171401.4490 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171401.4520 fraapga8ia654hks3lj1d5qu9m 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')
20241023@171401.4810 fraapga8ia654hks3lj1d5qu9m 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
20241023@171401.5160 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171401.5190 fraapga8ia654hks3lj1d5qu9m Query : select top 1 ~inactivo valor from cl where no = '100327' and estab = 0 order by inactivo desc
20241023@171401.5490 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171401.5520 fraapga8ia654hks3lj1d5qu9m Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241023@171401.5810 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171401.5850 fraapga8ia654hks3lj1d5qu9m Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241023@171401.6230 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171401.6270 fraapga8ia654hks3lj1d5qu9m Query : select szadrsstamp valor from szadrs where szadrsdesc='discoteca juvenil, lda.'
20241023@171401.6720 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171401.6750 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from td where ndoc = 39
20241023@171401.6880 fraapga8ia654hks3lj1d5qu9m Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241023@171401.7020 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.7190 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171401.7390 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.7530 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171401.7850 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.8110 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171401.8260 fraapga8ia654hks3lj1d5qu9m Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171401.8880 fraapga8ia654hks3lj1d5qu9m Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171401.9010 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.9170 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171401.9390 fraapga8ia654hks3lj1d5qu9m Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241023@171401.1122 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.1145 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171401.1184 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241023@171401.1196 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241023@171401.1211 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241023@171401.1222 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241023@171401.1233 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241023@171401.1244 fraapga8ia654hks3lj1d5qu9m Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241023@171401.1254 fraapga8ia654hks3lj1d5qu9m Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6719215801671920c914',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241023@171401.1514 fraapga8ia654hks3lj1d5qu9m Query : select top 1 fno valor from wsftdata order by fno desc
20241023@171401.1540 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.1558 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171401.1581 fraapga8ia654hks3lj1d5qu9m Query : select 'normal' from dummy
20241023@171401.1598 fraapga8ia654hks3lj1d5qu9m Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6719215801671920c914',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1489,100327,0,'2024-10-23',39,'euro',0,0,2024 ,?,?)
20241023@171401.1870 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171401.1883 fraapga8ia654hks3lj1d5qu9m Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20241023@171401.1904 fraapga8ia654hks3lj1d5qu9m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1670.00.1'
20241023@171401.2026 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.2050 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.2078 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.2093 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.2101 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171401.2112 fraapga8ia654hks3lj1d5qu9m Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2301213200a'
20241023@171401.2132 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.2148 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.2159 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719256303671920c934','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171401.2163 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.2177 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.2203 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719256303671920c934',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',9.000 ,'aut6719215801671920c914' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241023@171401.2437 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171401.2440 fraapga8ia654hks3lj1d5qu9m Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20241023@171401.2463 fraapga8ia654hks3lj1d5qu9m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1670.00.1'
20241023@171401.2476 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.2493 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.2519 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.2535 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.2544 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171401.2556 fraapga8ia654hks3lj1d5qu9m Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2301213200a'
20241023@171401.2569 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.2584 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.2613 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719283991671920c93e','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171401.2618 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.2633 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.2661 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719283991671920c93e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6719215801671920c914' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241023@171401.2896 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171401.2899 fraapga8ia654hks3lj1d5qu9m Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20241023@171401.2919 fraapga8ia654hks3lj1d5qu9m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1670.00.1'
20241023@171401.2933 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.2949 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.2975 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.2989 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.2997 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171401.3010 fraapga8ia654hks3lj1d5qu9m Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2301213200a'
20241023@171401.3023 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.3037 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.3048 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719241082671920c949','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171401.3053 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.3067 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.3101 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719241082671920c949',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut6719215801671920c914' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241023@171401.3335 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171401.3338 fraapga8ia654hks3lj1d5qu9m Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20241023@171401.3357 fraapga8ia654hks3lj1d5qu9m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1670.00.1'
20241023@171401.3371 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.3387 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.3413 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.3428 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.3437 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171401.3450 fraapga8ia654hks3lj1d5qu9m Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2301213200a'
20241023@171401.3463 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.3478 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.3490 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719277243671920c954','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171401.3494 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.3510 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.3542 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719277243671920c954',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut6719215801671920c914' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241023@171401.3814 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171401.3817 fraapga8ia654hks3lj1d5qu9m Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20241023@171401.3836 fraapga8ia654hks3lj1d5qu9m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1670.00.1'
20241023@171401.3850 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.3866 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.3890 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.3904 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.3912 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171401.3925 fraapga8ia654hks3lj1d5qu9m Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2301213200a'
20241023@171401.3937 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.3952 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.3963 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719286887671920c960','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171401.3967 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.3982 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.4013 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719286887671920c960',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut6719215801671920c914' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241023@171401.4248 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171401.4252 fraapga8ia654hks3lj1d5qu9m Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20241023@171401.4273 fraapga8ia654hks3lj1d5qu9m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20241023@171401.4399 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.4435 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.4463 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.4479 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.4488 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171401.4501 fraapga8ia654hks3lj1d5qu9m Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '241004'
20241023@171401.4526 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.4545 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.4559 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719206871671920c96e','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171401.4564 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.4581 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.4613 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719206871671920c96e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut6719215801671920c914' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241023@171401.4852 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171401.4855 fraapga8ia654hks3lj1d5qu9m Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20241023@171401.4880 fraapga8ia654hks3lj1d5qu9m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20241023@171401.5019 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.5037 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.5064 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.5079 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.5088 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171401.5101 fraapga8ia654hks3lj1d5qu9m Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '241002'
20241023@171401.5126 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.5141 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.5153 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719214436671920c97d','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171401.5157 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.5174 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.5203 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719214436671920c97d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut6719215801671920c914' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241023@171401.5452 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.5469 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.5497 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.5515 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.5526 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171401.5541 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.5562 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.5578 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719260065671920c987','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171401.5583 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.5602 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.5637 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719260065671920c987',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719215801671920c914' ,0,0 ,2,23.00,80000,?,?,?)
20241023@171401.5939 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171401.5944 fraapga8ia654hks3lj1d5qu9m Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20241023@171401.5969 fraapga8ia654hks3lj1d5qu9m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20241023@171401.5986 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.6006 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.6036 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.6052 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.6062 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171401.6074 fraapga8ia654hks3lj1d5qu9m Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2400145200a'
20241023@171401.6085 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.6099 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.6112 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719209690671920c994','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171401.6117 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.6132 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.6158 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719209690671920c994',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6719215801671920c914' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241023@171401.6425 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.6443 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.6470 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.6487 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.6496 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171401.6513 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.6528 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.6541 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719268985671920c99f','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171401.6546 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.6561 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.6592 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719268985671920c99f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719215801671920c914' ,0,0 ,2,23.00,110000,?,?,?)
20241023@171401.6837 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171401.6841 fraapga8ia654hks3lj1d5qu9m Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20241023@171401.6862 fraapga8ia654hks3lj1d5qu9m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4902.00.1'
20241023@171401.6877 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.6893 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.6930 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.6946 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.6954 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171401.6967 fraapga8ia654hks3lj1d5qu9m Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2400145200a'
20241023@171401.6979 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.6996 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.7008 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719285428671920c9aa','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171401.7013 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.7028 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.7065 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719285428671920c9aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6719215801671920c914' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241023@171401.7311 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.7330 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.7370 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.7388 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.7399 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171401.7414 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.7431 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.7443 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719239071671920c9b5','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171401.7447 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.7465 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.7503 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719239071671920c9b5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719215801671920c914' ,0,0 ,2,23.00,140000,?,?,?)
20241023@171401.7795 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171401.7798 fraapga8ia654hks3lj1d5qu9m Query : select st.usalote valor from st where st.ref = '324.4961.00.1'
20241023@171401.7821 fraapga8ia654hks3lj1d5qu9m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4961.00.1'
20241023@171401.7835 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.7985 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.8016 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.8034 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.8043 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171401.8057 fraapga8ia654hks3lj1d5qu9m Query : select sestamp valor from se where ref ='324.4961.00.1' and lote = 'r2101092200a'
20241023@171401.8075 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.8090 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.8102 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719222346671920c9c5','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171401.8107 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.8121 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.8154 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719222346671920c9c5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6719215801671920c914' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241023@171401.8463 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171401.8466 fraapga8ia654hks3lj1d5qu9m Query : select st.usalote valor from st where st.ref = '324.4961.00.1'
20241023@171401.8489 fraapga8ia654hks3lj1d5qu9m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4961.00.1'
20241023@171401.8502 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.8518 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.8550 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.8566 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.8575 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171401.8588 fraapga8ia654hks3lj1d5qu9m Query : select sestamp valor from se where ref ='324.4961.00.1' and lote = 'r2101092200a'
20241023@171401.8601 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.8636 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.8648 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719299795671920c9d1','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171401.8652 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.8668 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.8718 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719299795671920c9d1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6719215801671920c914' ,0,0 ,2,23.00,170000,?,?,?,?,?)
20241023@171401.8953 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171401.8956 fraapga8ia654hks3lj1d5qu9m Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20241023@171401.8988 fraapga8ia654hks3lj1d5qu9m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2221.00.1'
20241023@171401.9124 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.9142 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.9185 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.9200 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.9208 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171401.9231 fraapga8ia654hks3lj1d5qu9m Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2301280100a'
20241023@171401.9250 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.9264 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.9276 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719204507671920c9e1','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171401.9279 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.9293 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.9331 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719204507671920c9e1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6719215801671920c914' ,0,0 ,2,23.00,180000,?,?,?,?,?)
20241023@171401.9616 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171401.9619 fraapga8ia654hks3lj1d5qu9m Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20241023@171401.9638 fraapga8ia654hks3lj1d5qu9m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2221.00.1'
20241023@171401.9654 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.9669 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.9706 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.9722 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.9732 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171401.9744 fraapga8ia654hks3lj1d5qu9m Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2301280100a'
20241023@171401.9757 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.9783 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171401.9797 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719278571671920c9ee','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171401.9802 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171401.9822 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171401.9854 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719278571671920c9ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6719215801671920c914' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20241023@171402.1410 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171402.1460 fraapga8ia654hks3lj1d5qu9m Query : select st.usalote valor from st where st.ref = '324.4964.00.1'
20241023@171402.1700 fraapga8ia654hks3lj1d5qu9m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4964.00.1'
20241023@171402.3170 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.3370 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171402.3660 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.3860 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171402.3960 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171402.4120 fraapga8ia654hks3lj1d5qu9m Query : select sestamp valor from se where ref ='324.4964.00.1' and lote = 'r2300717100a'
20241023@171402.4360 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.4550 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171402.4710 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719262695671920ca0a','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171402.4760 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.4910 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171402.5220 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719262695671920ca0a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6719215801671920c914' ,0,0 ,2,23.00,200000,?,?,?,?,?)
20241023@171402.7920 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171402.7960 fraapga8ia654hks3lj1d5qu9m Query : select st.usalote valor from st where st.ref = '324.4964.00.1'
20241023@171402.8470 fraapga8ia654hks3lj1d5qu9m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4964.00.1'
20241023@171402.8700 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.8930 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171402.9200 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.9490 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171402.9580 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171402.9920 fraapga8ia654hks3lj1d5qu9m Query : select sestamp valor from se where ref ='324.4964.00.1' and lote = 'r2300717100a'
20241023@171402.1005 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.1034 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171402.1057 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719268767671920ca18','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171402.1068 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.1090 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171402.1129 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719268767671920ca18',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6719215801671920c914' ,0,0 ,2,23.00,210000,?,?,?,?,?)
20241023@171402.1376 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171402.1382 fraapga8ia654hks3lj1d5qu9m Query : select st.usalote valor from st where st.ref = '324.4964.00.1'
20241023@171402.1451 fraapga8ia654hks3lj1d5qu9m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4964.00.1'
20241023@171402.1466 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.1500 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171402.1547 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.1563 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171402.1578 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171402.1590 fraapga8ia654hks3lj1d5qu9m Query : select sestamp valor from se where ref ='324.4964.00.1' and lote = 'r2300717100a'
20241023@171402.1625 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.1641 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171402.1653 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719280433671920ca27','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171402.1658 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.1675 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171402.1702 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719280433671920ca27',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6719215801671920c914' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20241023@171402.1947 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171402.1950 fraapga8ia654hks3lj1d5qu9m Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20241023@171402.1982 fraapga8ia654hks3lj1d5qu9m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2222.00.1'
20241023@171402.2145 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.2168 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171402.2193 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.2252 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171402.2281 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171402.2294 fraapga8ia654hks3lj1d5qu9m Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2301281400a'
20241023@171402.2315 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.2330 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171402.2346 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719272543671920ca38','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171402.2350 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.2365 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171402.2394 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719272543671920ca38',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6719215801671920c914' ,0,0 ,2,23.00,230000,?,?,?,?,?)
20241023@171402.2640 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171402.2644 fraapga8ia654hks3lj1d5qu9m Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20241023@171402.2682 fraapga8ia654hks3lj1d5qu9m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2222.00.1'
20241023@171402.2711 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.2756 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171402.2826 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.2896 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171402.2906 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171402.2926 fraapga8ia654hks3lj1d5qu9m Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2301281400a'
20241023@171402.2942 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.2971 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171402.2988 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719217362671920ca47','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171402.2994 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.3012 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171402.3053 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719217362671920ca47',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6719215801671920c914' ,0,0 ,2,23.00,240000,?,?,?,?,?)
20241023@171402.3313 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171402.3317 fraapga8ia654hks3lj1d5qu9m Query : select st.usalote valor from st where st.ref = '324.5343.00.1'
20241023@171402.3391 fraapga8ia654hks3lj1d5qu9m Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5343.00.1'
20241023@171402.3873 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.3918 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171402.3952 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.3971 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171402.3981 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171402.3995 fraapga8ia654hks3lj1d5qu9m Query : select sestamp valor from se where ref ='324.5343.00.1' and lote = 'r2300915100a'
20241023@171402.4040 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.4077 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171402.4090 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719295420671920ca62','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171402.4095 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.4113 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171402.4175 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719295420671920ca62',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut6719215801671920c914' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20241023@171402.4844 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.5319 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171402.5770 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.5834 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171402.5845 fraapga8ia654hks3lj1d5qu9m Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171402.5864 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.5887 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171402.5902 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719214104671920ca8f','aut6719215801671920c914' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171402.5907 fraapga8ia654hks3lj1d5qu9m Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171402.5928 fraapga8ia654hks3lj1d5qu9m Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171402.5964 fraapga8ia654hks3lj1d5qu9m Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6719214104671920ca8f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6719215801671920c914' ,0,0 ,2,23.00,260000,?,?,?)
20241023@171402.6242 fraapga8ia654hks3lj1d5qu9m Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6719215801671920c914','2407002','wait',39,'adm09112754980.682000002')
20241023@171402.6362 fraapga8ia654hks3lj1d5qu9m Query : use flama_phc
20241023@171402.6366 fraapga8ia654hks3lj1d5qu9m Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241023@171402.6433 fraapga8ia654hks3lj1d5qu9m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2903';
20241023@171402.6506 fraapga8ia654hks3lj1d5qu9m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2903';
20241023@171402.6565 fraapga8ia654hks3lj1d5qu9m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2903';
20241023@171402.6633 fraapga8ia654hks3lj1d5qu9m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2903';
20241023@171402.7226 vo4han844m39dos2678l4qbogo Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241023@171402.7238 vo4han844m39dos2678l4qbogo Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241023@171402.7359 vo4han844m39dos2678l4qbogo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2904';
20241023@171402.7426 vo4han844m39dos2678l4qbogo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2904';
20241023@171402.7484 vo4han844m39dos2678l4qbogo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2904';
20241023@171402.7527 vo4han844m39dos2678l4qbogo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2904';
20241023@171402.7599 vo4han844m39dos2678l4qbogo Query : use flama_phc
20241023@171402.7603 vo4han844m39dos2678l4qbogo Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241023@171402.7690 vo4han844m39dos2678l4qbogo Query : use flama_phc
20241023@171402.7695 vo4han844m39dos2678l4qbogo Query : select no, estab,szadrsdesc from szadrs where u_coddest=635
20241023@171402.7797 vo4han844m39dos2678l4qbogo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1536.00.1'
20241023@171402.7938 vo4han844m39dos2678l4qbogo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407003 and bi.ref ='324.1536.00.1' and bi.lordem =1
20241023@171402.8275 vo4han844m39dos2678l4qbogo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1536.00.1'
20241023@171402.8354 vo4han844m39dos2678l4qbogo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407003 and bi.ref ='324.1536.00.1' and bi.lordem =1
20241023@171402.8372 vo4han844m39dos2678l4qbogo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1578.00.1'
20241023@171402.8514 vo4han844m39dos2678l4qbogo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407003 and bi.ref ='324.1578.00.1' and bi.lordem =2
20241023@171402.8828 vo4han844m39dos2678l4qbogo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20241023@171402.8849 vo4han844m39dos2678l4qbogo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407003 and bi.ref ='324.1684.00.1' and bi.lordem =3
20241023@171402.9165 vo4han844m39dos2678l4qbogo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20241023@171402.9187 vo4han844m39dos2678l4qbogo Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407003 and bi.ref ='324.1684.00.1' and bi.lordem =4
20241023@171402.9495 vo4han844m39dos2678l4qbogo Query : use flama_phc
20241023@171402.9506 vo4han844m39dos2678l4qbogo Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241023@171402.9553 vo4han844m39dos2678l4qbogo Query : use flama_phc
20241023@171402.9567 vo4han844m39dos2678l4qbogo Query : select top 1 1 valor from td where td.ndoc = 39
20241023@171402.9620 vo4han844m39dos2678l4qbogo Query : use flama_phc
20241023@171402.9625 vo4han844m39dos2678l4qbogo 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')
20241023@171402.9652 vo4han844m39dos2678l4qbogo 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
20241023@171402.9695 vo4han844m39dos2678l4qbogo Query : use flama_phc
20241023@171402.9699 vo4han844m39dos2678l4qbogo Query : select top 1 ~inactivo valor from cl where no = '100053' and estab = 0 order by inactivo desc
20241023@171402.9821 vo4han844m39dos2678l4qbogo Query : use flama_phc
20241023@171402.9826 vo4han844m39dos2678l4qbogo Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241023@171402.9856 vo4han844m39dos2678l4qbogo Query : use flama_phc
20241023@171402.9866 vo4han844m39dos2678l4qbogo Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241023@171402.9916 vo4han844m39dos2678l4qbogo Query : use flama_phc
20241023@171402.9919 vo4han844m39dos2678l4qbogo Query : select szadrsstamp valor from szadrs where szadrsdesc='irmaos peixoto, s.a.'
20241023@171403.9000 vo4han844m39dos2678l4qbogo Query : use flama_phc
20241023@171403.2400 vo4han844m39dos2678l4qbogo Query : select 1 valor from td where ndoc = 39
20241023@171403.5200 vo4han844m39dos2678l4qbogo Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241023@171403.6800 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.8400 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171403.1040 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.1500 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171403.2130 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.2380 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171403.2530 vo4han844m39dos2678l4qbogo Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171403.3560 vo4han844m39dos2678l4qbogo Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241023@171403.3960 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.4130 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241023@171403.4550 vo4han844m39dos2678l4qbogo Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6719289973671920cb06' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241023@171403.6310 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.6510 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241023@171403.6830 vo4han844m39dos2678l4qbogo Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241023@171403.7070 vo4han844m39dos2678l4qbogo Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241023@171403.7180 vo4han844m39dos2678l4qbogo Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241023@171403.7310 vo4han844m39dos2678l4qbogo Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241023@171403.7420 vo4han844m39dos2678l4qbogo Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241023@171403.7540 vo4han844m39dos2678l4qbogo Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241023@171403.7650 vo4han844m39dos2678l4qbogo Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6719289973671920cb06',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241023@171403.1050 vo4han844m39dos2678l4qbogo Query : select top 1 fno valor from wsftdata order by fno desc
20241023@171403.1080 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.1100 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241023@171403.1127 vo4han844m39dos2678l4qbogo Query : select 'normal' from dummy
20241023@171403.1143 vo4han844m39dos2678l4qbogo Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6719289973671920cb06',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1490,100053,0,'2024-10-23',39,'euro',0,0,2024 ,?,?)
20241023@171403.1428 vo4han844m39dos2678l4qbogo Query : use flama_phc
20241023@171403.1431 vo4han844m39dos2678l4qbogo Query : select st.usalote valor from st where st.ref = '324.1536.00.1'
20241023@171403.1456 vo4han844m39dos2678l4qbogo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1536.00.1'
20241023@171403.1611 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.1629 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171403.1656 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.1672 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171403.1681 vo4han844m39dos2678l4qbogo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171403.1693 vo4han844m39dos2678l4qbogo Query : select sestamp valor from se where ref ='324.1536.00.1' and lote = 'r2100240100a'
20241023@171403.1708 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.1723 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171403.1735 vo4han844m39dos2678l4qbogo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719236031671920cb29','aut6719289973671920cb06' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171403.1739 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.1753 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171403.1784 vo4han844m39dos2678l4qbogo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719236031671920cb29',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6719289973671920cb06' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241023@171403.2021 vo4han844m39dos2678l4qbogo Query : use flama_phc
20241023@171403.2024 vo4han844m39dos2678l4qbogo Query : select st.usalote valor from st where st.ref = '324.1536.00.1'
20241023@171403.2044 vo4han844m39dos2678l4qbogo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1536.00.1'
20241023@171403.2058 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.2091 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171403.2118 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.2133 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171403.2141 vo4han844m39dos2678l4qbogo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171403.2153 vo4han844m39dos2678l4qbogo Query : select sestamp valor from se where ref ='324.1536.00.1' and lote = 'r2100240100a'
20241023@171403.2165 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.2181 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171403.2193 vo4han844m39dos2678l4qbogo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719264288671920cb34','aut6719289973671920cb06' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171403.2197 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.2212 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171403.2249 vo4han844m39dos2678l4qbogo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719264288671920cb34',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6719289973671920cb06' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241023@171403.2519 vo4han844m39dos2678l4qbogo Query : use flama_phc
20241023@171403.2523 vo4han844m39dos2678l4qbogo Query : select st.usalote valor from st where st.ref = '324.1578.00.1'
20241023@171403.2545 vo4han844m39dos2678l4qbogo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1578.00.1'
20241023@171403.2681 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.2697 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171403.2724 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.2743 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171403.2753 vo4han844m39dos2678l4qbogo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171403.2767 vo4han844m39dos2678l4qbogo Query : select sestamp valor from se where ref ='324.1578.00.1' and lote = 'r2101115200a'
20241023@171403.2792 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.2808 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171403.2823 vo4han844m39dos2678l4qbogo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719201471671920cb44','aut6719289973671920cb06' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171403.2828 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.2844 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171403.2875 vo4han844m39dos2678l4qbogo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719201471671920cb44',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6719289973671920cb06' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241023@171403.3105 vo4han844m39dos2678l4qbogo Query : use flama_phc
20241023@171403.3108 vo4han844m39dos2678l4qbogo Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20241023@171403.3130 vo4han844m39dos2678l4qbogo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1684.00.1'
20241023@171403.3145 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.3162 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171403.3190 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.3205 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171403.3214 vo4han844m39dos2678l4qbogo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171403.3226 vo4han844m39dos2678l4qbogo Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2301217200a'
20241023@171403.3238 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.3252 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171403.3265 vo4han844m39dos2678l4qbogo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719232581671920cb4f','aut6719289973671920cb06' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171403.3269 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.3284 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171403.3313 vo4han844m39dos2678l4qbogo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719232581671920cb4f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6719289973671920cb06' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241023@171403.3547 vo4han844m39dos2678l4qbogo Query : use flama_phc
20241023@171403.3550 vo4han844m39dos2678l4qbogo Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20241023@171403.3570 vo4han844m39dos2678l4qbogo Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1684.00.1'
20241023@171403.3584 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.3600 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171403.3624 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.3639 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171403.3666 vo4han844m39dos2678l4qbogo Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241023@171403.3678 vo4han844m39dos2678l4qbogo Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2301217200a'
20241023@171403.3691 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.3711 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241023@171403.3722 vo4han844m39dos2678l4qbogo Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6719285797671920cb5a','aut6719289973671920cb06' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241023@171403.3726 vo4han844m39dos2678l4qbogo Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241023@171403.3740 vo4han844m39dos2678l4qbogo Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241023@171403.3768 vo4han844m39dos2678l4qbogo Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6719285797671920cb5a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6719289973671920cb06' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241023@171403.4014 vo4han844m39dos2678l4qbogo Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6719289973671920cb06','2407003','wait',39,'adm09112754980.682000002')
20241023@171403.4087 vo4han844m39dos2678l4qbogo Query : use flama_phc
20241023@171403.4090 vo4han844m39dos2678l4qbogo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241023@171403.4119 vo4han844m39dos2678l4qbogo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2904';
20241023@171403.4157 vo4han844m39dos2678l4qbogo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2904';
20241023@171403.4200 vo4han844m39dos2678l4qbogo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2904';
20241023@171403.4232 vo4han844m39dos2678l4qbogo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2904';

20241024@094941.8682 0evfo5oieuujnsppp05aphff9u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2905';
20241024@094941.9267 0evfo5oieuujnsppp05aphff9u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2905';
20241024@094941.9653 0evfo5oieuujnsppp05aphff9u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2905';
20241024@094942.9000 0evfo5oieuujnsppp05aphff9u Query : use flama_phc
20241024@094942.5600 0evfo5oieuujnsppp05aphff9u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241024@094942.8900 0evfo5oieuujnsppp05aphff9u Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.649.00.01'
20241024@094942.1859 0evfo5oieuujnsppp05aphff9u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =002 and bo.boano =2024 and bo.obrano = 2400682 and bi.ref ='324.649.00.01' and bi.lordem =20000
20241024@094942.3273 0evfo5oieuujnsppp05aphff9u Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'cps24060554742,770000002 ' 
20241024@094942.4344 0evfo5oieuujnsppp05aphff9u Query : use flama_phc
20241024@094942.4391 0evfo5oieuujnsppp05aphff9u Query : select top 1 1 valor from ts where ts.ndos = 61
20241024@094942.4926 0evfo5oieuujnsppp05aphff9u Query : use flama_phc
20241024@094942.4970 0evfo5oieuujnsppp05aphff9u 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')
20241024@094942.5668 0evfo5oieuujnsppp05aphff9u Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =61
20241024@094942.6439 0evfo5oieuujnsppp05aphff9u Query : use flama_phc
20241024@094942.6489 0evfo5oieuujnsppp05aphff9u Query : select top 1 ~inactivo valor from fl where no = '202549' and estab = 00 order by inactivo desc
20241024@094942.7210 0evfo5oieuujnsppp05aphff9u Query : use flama_phc
20241024@094942.7263 0evfo5oieuujnsppp05aphff9u Query : select 1 valor from ts where ndos = 61
20241024@094942.7706 0evfo5oieuujnsppp05aphff9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@094942.8822 0evfo5oieuujnsppp05aphff9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20241024@094942.9334 0evfo5oieuujnsppp05aphff9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@094943.3440 0evfo5oieuujnsppp05aphff9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20241024@094943.7480 0evfo5oieuujnsppp05aphff9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@094943.1072 0evfo5oieuujnsppp05aphff9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20241024@094943.1263 0evfo5oieuujnsppp05aphff9u Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 61
20241024@094943.2165 0evfo5oieuujnsppp05aphff9u Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20241024@094943.2822 0evfo5oieuujnsppp05aphff9u Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20241024@094943.3407 0evfo5oieuujnsppp05aphff9u Query : use flama_phc
20241024@094943.3513 0evfo5oieuujnsppp05aphff9u Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202549' and estab=00
20241024@094943.4024 0evfo5oieuujnsppp05aphff9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@094943.4050 0evfo5oieuujnsppp05aphff9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20241024@094943.4091 0evfo5oieuujnsppp05aphff9u Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut671a083831671a0a2753',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241024@094943.4168 0evfo5oieuujnsppp05aphff9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@094943.4210 0evfo5oieuujnsppp05aphff9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20241024@094943.4226 0evfo5oieuujnsppp05aphff9u Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut671a083831671a0a2753','--','bo',7.8757297748123436196 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241024@094943.4532 0evfo5oieuujnsppp05aphff9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@094943.4552 0evfo5oieuujnsppp05aphff9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20241024@094943.4567 0evfo5oieuujnsppp05aphff9u Query : insert into bo (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut671a083831671a0a2753','guia r. fornecedor','2024-10-24',61,2403202,?,?,?,?,?,?,?,?,2024, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241024@094946.5207 0evfo5oieuujnsppp05aphff9u Query : use flama_phc
20241024@094946.5211 0evfo5oieuujnsppp05aphff9u Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241024@094946.5327 0evfo5oieuujnsppp05aphff9u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.649.00.01'
20241024@094946.5470 0evfo5oieuujnsppp05aphff9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@094946.5490 0evfo5oieuujnsppp05aphff9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20241024@094946.5507 0evfo5oieuujnsppp05aphff9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@094946.5524 0evfo5oieuujnsppp05aphff9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20241024@094946.5535 0evfo5oieuujnsppp05aphff9u Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400682200a'
20241024@094946.5596 0evfo5oieuujnsppp05aphff9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@094946.5612 0evfo5oieuujnsppp05aphff9u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20241024@094946.5622 0evfo5oieuujnsppp05aphff9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@094946.5636 0evfo5oieuujnsppp05aphff9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20241024@094946.5648 0evfo5oieuujnsppp05aphff9u Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut671a068168671a0a2a89',?,?,'20241024',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20241024@094946.6736 0evfo5oieuujnsppp05aphff9u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241024@094946.6793 0evfo5oieuujnsppp05aphff9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@094946.6810 0evfo5oieuujnsppp05aphff9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20241024@094946.6823 0evfo5oieuujnsppp05aphff9u Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut671a025722671a0a2aa5','aut671a083831671a0a2753',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from bo bo where bo.bostamp = 'aut671a083831671a0a2753'
20241024@094946.6994 0evfo5oieuujnsppp05aphff9u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@094946.7013 0evfo5oieuujnsppp05aphff9u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20241024@094946.7031 0evfo5oieuujnsppp05aphff9u Query : insert into bi (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,obistamp ,stipo) select 'aut671a025722671a0a2aa5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1120, 1120*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,10000 ,23.98,23.98*200.48,23.98,23.98*200.48 ,0,0,'un ','' ,bo.marcada,1 ,23.98*1120,23.98*1120*200.48 ,32.166000,32.166000*200.48 ,32.166000,32.166000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,23.98,23.98*200.48,23.98*1120,23.98*1120*200.48,'cps24060554742,770000002 ',188.86,188.86*1120,188.86,188.86*1120,?,?,?,4 from bo bo where bo.bostamp = 'aut671a083831671a0a2753'
20241024@095006.6223 0evfo5oieuujnsppp05aphff9u Query : use flama_phc
20241024@095006.6230 0evfo5oieuujnsppp05aphff9u Query : declare @bostamp varchar(25) = 'aut671a083831671a0a2753' ,@bistamp varchar(25) = '' update bi set tecoval = qtt * ecoval ,etecoval = qtt * eecoval ,tecoval2 = qtt * ecoval2 ,etecoval2 = qtt * eecoval2 where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end -- se tiver classificação e não for normal, não calcula nada update bi set ttdeb = 0 ,ettdeb = 0 ,ttmoeda = 0 where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and bi.classifc <> '' and bi.classifc <> 'normal' -- no caso normal com moeda euro if exists ( select 1 from bo cross apply ( select valor moeda from para1 where descricao = 'ge_pteoueuro' ) par where bo.bostamp = @bostamp and bo.moeda = par.moeda ) begin -- sem ecovalores update bi set ettdeb = round(bi.qtt * ((bi.edebito * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100))), 6) ,ttdeb = round(bi.qtt * ((bi.debito * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100))), 6) ,ttmoeda = 0 from bi inner join bo on bi.bostamp = bo.bostamp where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.econotcalc = 1 -- com ecovalores update bi set ettdeb = round(bi.qtt * ( ( bi.edebito + ( iif(p.st_econotdesc = 1, - bi.eecoval2, bi.eecoval) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ) ) ) * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) ), 6) + ( bi.qtt * iif(p.st_econotdesc = 1, (bi.eecoval + bi.eecoval2) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ), 0) ) ,ttdeb = round(bi.qtt * ( ( bi.debito + ( iif(p.st_econotdesc = 1, - bi.ecoval2, bi.ecoval) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ) ) ) * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) ), 6) + ( bi.qtt * iif(p.st_econotdesc = 1, (bi.ecoval + bi.ecoval2) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ), 0) ) ,ttmoeda = 0 from bi inner join bo on bi.bostamp = bo.bostamp left join st on bi.ref = st.ref left join taxasiva tiva on bi.tabiva = tiva.codigo cross apply ( select max(valor) st_econotdesc from ( select case when valor = 's' then 1 else 0 end valor from para1 where descricao = 'st_econotdesc' union all select 0 ) a ) p where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.econotcalc = 0 --acrescenta os descontos em valor, caso existam: update bi set ettdeb = round(bi.ettdeb - (bi.qtt * bi.evaldesc), 2) ,ttdeb = round(bi.ttdeb - (bi.qtt * bi.valdesc), 2) ,ttmoeda = 0 from bi where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.valdesc <> 0 end else begin update bi set ttmoeda = round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2) ,ettdeb = case when bo2.cambio <> 0 then round((round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2)) / bo2.cambio, 2) else 0 end ,edebito = case when bi.qtt = 0 then 0 else round(abs(( case when bo2.cambio <> 0 then round((round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2)) / bo2.cambio, 2) else 0 end ) / (1 - bi.desconto / 100) / (1 - bi.desc2 / 100) / (1 - bi.desc3 / 100) / (1 - bi.desc4 / 100) / (1 - bi.desc5 / 100) / (1 - bi.desc6 / 100) / bi.qtt), 2) end ,debito = case when bi.qtt = 0 then 0 else round(abs(( case when bo2.cambio <> 0 then round((round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2)) / bo2.cambio, 2) else 0 end ) / (1 - bi.desconto / 100) / (1 - bi.desc2 / 100) / (1 - bi.desc3 / 100) / (1 - bi.desc4 / 100) / (1 - bi.desc5 / 100) / (1 - bi.desc6 / 100) / bi.qtt), 2) end * 200.482 from bi inner join bo2 on bi.bostamp = bo2.bo2stamp where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) update bi set ttdeb = round(bi.ttdeb - (bi.qtt * bi.valdesc), 2) ,ettdeb = round(bi.ettdeb - (bi.qtt * bi.evaldesc), 0) ,debito = round(bi.debito - (bi.qtt * bi.valdesc), 2) ,edebito = round(bi.edebito - (bi.qtt * bi.evaldesc), 2) where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.valdesc <> 0 end 
20241024@095018.2179 0evfo5oieuujnsppp05aphff9u Query : use flama_phc
20241024@095018.2183 0evfo5oieuujnsppp05aphff9u Query : select 1 valor from bo where bo.bostamp = 'aut671a083831671a0a2753'
20241024@095018.2268 0evfo5oieuujnsppp05aphff9u Query : declare @errno int ,@errmsg varchar(255) ,@prod bit ,@nrdec numeric(10, 0) ,@totaldeb numeric(18, 5) ,@etotaldeb numeric(19, 6) ,@total numeric(18, 5) ,@etotal numeric(19, 6) ,@custo numeric(18, 5) ,@ecusto numeric(19, 6) ,@bo_1iliq numeric(19, 6) ,@bo_2iliq numeric(19, 6) ,@base1 numeric(19, 6) ,@base2 numeric(19, 6) ,@moetotal numeric(13, 3) ,@smoe1 numeric(13, 3) ,@smoe2 numeric(13, 3) ,@smoe3 numeric(13, 3) ,@smoe4 numeric(13, 3) ,@bo11_bins numeric(18, 5) ,@bo21_bins numeric(18, 5) ,@bo31_bins numeric(18, 5) ,@bo41_bins numeric(18, 5) ,@bo51_bins numeric(18, 5) ,@bo61_bins numeric(18, 5) ,@bo71_bins numeric(18, 5) ,@bo81_bins numeric(18, 5) ,@bo91_bins numeric(18, 5) ,@bo12_bins numeric(18, 5) ,@bo22_bins numeric(18, 5) ,@bo32_bins numeric(18, 5) ,@bo42_bins numeric(18, 5) ,@bo52_bins numeric(18, 5) ,@bo62_bins numeric(18, 5) ,@bo72_bins numeric(18, 5) ,@bo82_bins numeric(18, 5) ,@bo92_bins numeric(18, 5) ,@ebo11_bins numeric(19, 6) ,@ebo21_bins numeric(19, 6) ,@ebo31_bins numeric(19, 6) ,@ebo41_bins numeric(19, 6) ,@ebo51_bins numeric(19, 6) ,@ebo61_bins numeric(19, 6) ,@ebo71_bins numeric(18, 5) ,@ebo81_bins numeric(18, 5) ,@ebo91_bins numeric(18, 5) ,@ebo12_bins numeric(19, 6) ,@ebo22_bins numeric(19, 6) ,@ebo32_bins numeric(19, 6) ,@ebo42_bins numeric(19, 6) ,@ebo52_bins numeric(19, 6) ,@ebo62_bins numeric(19, 6) ,@ebo72_bins numeric(18, 5) ,@ebo82_bins numeric(18, 5) ,@ebo92_bins numeric(18, 5) ,@bo11_iva numeric(18, 5) ,@bo21_iva numeric(18, 5) ,@bo31_iva numeric(18, 5) ,@bo41_iva numeric(18, 5) ,@bo51_iva numeric(18, 5) ,@bo61_iva numeric(18, 5) ,@bo71_iva numeric(18, 5) ,@bo81_iva numeric(18, 5) ,@bo91_iva numeric(18, 5) ,@bo12_iva numeric(18, 5) ,@bo22_iva numeric(18, 5) ,@bo32_iva numeric(18, 5) ,@bo42_iva numeric(18, 5) ,@bo52_iva numeric(18, 5) ,@bo62_iva numeric(18, 5) ,@bo72_iva numeric(18, 5) ,@bo82_iva numeric(18, 5) ,@bo92_iva numeric(18, 5) ,@ebo11_iva numeric(19, 6) ,@ebo21_iva numeric(19, 6) ,@ebo31_iva numeric(19, 6) ,@ebo41_iva numeric(19, 6) ,@ebo51_iva numeric(19, 6) ,@ebo61_iva numeric(19, 6) ,@ebo71_iva numeric(18, 5) ,@ebo81_iva numeric(18, 5) ,@ebo91_iva numeric(18, 5) ,@ebo12_iva numeric(19, 6) ,@ebo22_iva numeric(19, 6) ,@ebo32_iva numeric(19, 6) ,@ebo42_iva numeric(19, 6) ,@ebo52_iva numeric(19, 6) ,@ebo62_iva numeric(19, 6) ,@ebo72_iva numeric(18, 5) ,@ebo82_iva numeric(18, 5) ,@ebo92_iva numeric(18, 5) ,@esdeb1 numeric(19, 6) ,@esdeb2 numeric(19, 6) ,@esdeb3 numeric(19, 6) ,@esdeb4 numeric(19, 6) ,@sdeb1 numeric(18, 5) ,@sdeb2 numeric(18, 5) ,@sdeb3 numeric(18, 5) ,@sdeb4 numeric(18, 5) ,@estot1 numeric(19, 6) ,@estot2 numeric(19, 6) ,@estot3 numeric(19, 6) ,@estot4 numeric(19, 6) ,@stot1 numeric(18, 5) ,@stot2 numeric(18, 5) ,@stot3 numeric(18, 5) ,@stot4 numeric(18, 5) ,@ebo_1tvall numeric(19, 6) ,@ebo_2tvall numeric(19, 6) ,@bo_1tvall numeric(18, 5) ,@bo_2tvall numeric(18, 5) ,@ebo_totp1 numeric(19, 6) ,@ebo_totp2 numeric(19, 6) ,@bo_totp1 numeric(18, 5) ,@bo_totp2 numeric(18, 5) ,@sqtt11 numeric(13, 3) ,@sqtt21 numeric(13, 3) ,@sqtt12 numeric(13, 3) ,@sqtt22 numeric(13, 3) ,@sqtt13 numeric(13, 3) ,@sqtt23 numeric(13, 3) ,@sqtt14 numeric(13, 3) ,@sqtt24 numeric(13, 3) ,@userinis varchar (30) ,@mybostamp char(25) = 'aut671a083831671a0a2753' declare @totaisiva table ( bostamp varchar (25), codigo numeric(1), taxa numeric (5,2), ebaseinc numeric (19,6), baseinc numeric (18,5), evalor numeric (19,6), valor numeric (18,5) ) set @prod = ( select ts.producao from bo(nolock) inner join ts(nolock) on bo.ndos = ts.ndos and bo.bostamp = @mybostamp ) set @nrdec = ( select convert(numeric(10, 0), valor) from para1(nolock) where descricao = 'de_euro' ) --set @prod = 0 --set @nrdec = 2 select @ecusto = sum(bi.epcusto * bi.qtt) ,@custo = sum(bi.pcusto * bi.qtt) ,@bo11_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo21_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo31_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo41_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo51_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo61_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo71_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo81_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo91_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo12_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo22_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo32_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo42_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo52_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo62_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo72_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo82_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo92_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo11_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo21_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo31_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo41_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo51_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo61_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo71_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo81_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo91_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo12_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo22_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo32_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo42_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo52_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo62_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo72_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo82_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo92_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo_1iliq = round(sum(bi.qtt * bi.epu), @nrdec) ,@bo_2iliq = round(sum(bi.ettdeb), @nrdec) ,@bo11_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo12_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo21_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo22_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo31_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo32_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo41_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo42_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo51_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo52_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo61_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo62_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo71_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo72_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo81_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo82_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo91_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo92_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo11_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo12_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo21_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo22_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo31_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo32_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo41_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo42_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo51_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo52_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo61_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo62_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo71_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo72_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo81_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo82_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo91_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else bi.ettdeb - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo92_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@esdeb1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.ettdeb else bi.ettdeb - round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@esdeb2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.ettdeb else bi.ettdeb - round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@esdeb3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.ettdeb else bi.ettdeb - round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@esdeb4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) * bi.iva / 100, @nrdec) end else 0 end) ,@sdeb1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.ttdeb else bi.ttdeb - round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@sdeb2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.ttdeb else bi.ttdeb - round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@sdeb3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.ttdeb else bi.ttdeb - round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@sdeb4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) * bi.iva / 100, @nrdec) end else 0 end) ,@smoe1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@smoe2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@smoe3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@smoe4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@total = @stot1 + @stot2 + @stot3 + @stot4 ,@etotal = @estot1 + @estot2 + @estot3 + @estot4 ,@totaldeb = @sdeb1 + @sdeb2 + @sdeb3 + @sdeb4 ,@etotaldeb = @esdeb1 + @esdeb2 + @esdeb3 + @esdeb4 ,@moetotal = @smoe1 + @smoe2 + @smoe3 + @smoe4 ,@ebo_1tvall = @ebo11_bins + @ebo21_bins + @ebo31_bins + @ebo41_bins + @ebo51_bins + @ebo61_bins + @ebo71_bins + @ebo81_bins + @ebo91_bins ,@ebo_2tvall = @ebo12_bins + @ebo22_bins + @ebo32_bins + @ebo42_bins + @ebo52_bins + @ebo62_bins + @ebo72_bins + @ebo82_bins + @ebo92_bins ,@bo_1tvall = @bo11_bins + @bo21_bins + @bo31_bins + @bo41_bins + @bo51_bins + @bo61_bins + @bo71_bins + @bo81_bins + @bo91_bins ,@bo_2tvall = @bo12_bins + @bo22_bins + @bo32_bins + @bo42_bins + @bo52_bins + @bo62_bins + @bo72_bins + @bo82_bins + @bo92_bins ,@ebo_totp1 = sum(case when bi.ivaincl = 0 then (bi.epu * bi.qtt) else round((bi.epu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@ebo_totp2 = sum(case when bi.ivaincl = 0 then (bi.edebito * bi.qtt) else round((bi.edebito * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@bo_totp1 = sum(case when bi.ivaincl = 0 then (bi.pu * bi.qtt) else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@bo_totp2 = sum(case when bi.ivaincl = 0 then (bi.debito * bi.qtt) else round((bi.debito * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@sqtt11 = sum(case when bi.stipo = 1 then bi.qtt else 0 end) ,@sqtt21 = sum(case when bi.stipo = 1 then bi.qtt else 0 end) ,@sqtt12 = sum(case when bi.stipo = 2 then bi.qtt else 0 end) ,@sqtt22 = sum(case when bi.stipo = 2 then bi.qtt else 0 end) ,@sqtt13 = sum(case when bi.stipo = 3 then bi.qtt else 0 end) ,@sqtt23 = sum(case when bi.stipo = 3 then bi.qtt else 0 end) ,@sqtt14 = sum(case when bi.stipo = 4 then bi.qtt else 0 end) ,@sqtt24 = sum(case when bi.stipo = 5 then bi.qtt else 0 end) from bi(nolock) where bi.bostamp = @mybostamp and bi.producao = case when @prod = 1 then 1 else bi.producao end and bi.composto = 0 and bi.qtt <> 0 update bo set bo.totaldeb = isnull(@totaldeb, 0) ,bo.total = isnull(@total, 0) ,bo.etotaldeb = isnull(@etotaldeb, 0) ,bo.moetotal = isnull(@moetotal, 0) ,bo.etotal = isnull(@etotal, 0) ,bo.ecusto = isnull(@ecusto, 0) ,bo.custo = isnull(@custo, 0) ,bo.bo11_bins = isnull(@bo11_bins, 0) ,bo.bo12_bins = isnull(@bo12_bins, 0) ,bo.bo21_bins = isnull(@bo21_bins, 0) ,bo.bo22_bins = isnull(@bo22_bins, 0) ,bo.bo31_bins = isnull(@bo31_bins, 0) ,bo.bo32_bins = isnull(@bo32_bins, 0) ,bo.bo41_bins = isnull(@bo41_bins, 0) ,bo.bo42_bins = isnull(@bo42_bins, 0) ,bo.bo51_bins = isnull(@bo51_bins, 0) ,bo.bo52_bins = isnull(@bo52_bins, 0) ,bo.bo61_bins = isnull(@bo61_bins, 0) ,bo.bo62_bins = isnull(@bo62_bins, 0) ,bo.ebo11_bins = isnull(@ebo11_bins, 0) ,bo.ebo12_bins = isnull(@ebo12_bins, 0) ,bo.ebo21_bins = isnull(@ebo21_bins, 0) ,bo.ebo22_bins = isnull(@ebo22_bins, 0) ,bo.ebo31_bins = isnull(@ebo31_bins, 0) ,bo.ebo32_bins = isnull(@ebo32_bins, 0) ,bo.ebo41_bins = isnull(@ebo41_bins, 0) ,bo.ebo42_bins = isnull(@ebo42_bins, 0) ,bo.ebo51_bins = isnull(@ebo51_bins, 0) ,bo.ebo52_bins = isnull(@ebo52_bins, 0) ,bo.ebo61_bins = isnull(@ebo61_bins, 0) ,bo.ebo62_bins = isnull(@ebo62_bins, 0) ,bo.bo11_iva = isnull(@bo11_iva, 0) ,bo.bo12_iva = isnull(@bo12_iva, 0) ,bo.bo21_iva = isnull(@bo21_iva, 0) ,bo.bo22_iva = isnull(@bo22_iva, 0) ,bo.bo31_iva = isnull(@bo31_iva, 0) ,bo.bo32_iva = isnull(@bo32_iva, 0) ,bo.bo41_iva = isnull(@bo41_iva, 0) ,bo.bo42_iva = isnull(@bo42_iva, 0) ,bo.bo51_iva = isnull(@bo51_iva, 0) ,bo.bo52_iva = isnull(@bo52_iva, 0) ,bo.bo61_iva = isnull(@bo61_iva, 0) ,bo.bo62_iva = isnull(@bo62_iva, 0) ,bo.ebo11_iva = isnull(@ebo11_iva, 0) ,bo.ebo12_iva = isnull(@ebo12_iva, 0) ,bo.ebo21_iva = isnull(@ebo21_iva, 0) ,bo.ebo22_iva = isnull(@ebo22_iva, 0) ,bo.ebo31_iva = isnull(@ebo31_iva, 0) ,bo.ebo32_iva = isnull(@ebo32_iva, 0) ,bo.ebo41_iva = isnull(@ebo41_iva, 0) ,bo.ebo42_iva = isnull(@ebo42_iva, 0) ,bo.ebo51_iva = isnull(@ebo51_iva, 0) ,bo.ebo52_iva = isnull(@ebo52_iva, 0) ,bo.ebo61_iva = isnull(@ebo61_iva, 0) ,bo.ebo62_iva = isnull(@ebo62_iva, 0) ,bo.esdeb1 = isnull(@esdeb1, 0) ,bo.esdeb2 = isnull(@esdeb2, 0) ,bo.esdeb3 = isnull(@esdeb3, 0) ,bo.esdeb4 = isnull(@esdeb4, 0) ,bo.sdeb1 = isnull(@sdeb1, 0) ,bo.sdeb2 = isnull(@sdeb2, 0) ,bo.sdeb3 = isnull(@sdeb3, 0) ,bo.sdeb4 = isnull(@sdeb4, 0) ,bo.smoe1 = isnull(@smoe1, 0) ,bo.smoe2 = isnull(@smoe2, 0) ,bo.smoe3 = isnull(@smoe3, 0) ,bo.smoe4 = isnull(@smoe4, 0) ,bo.estot1 = isnull(@estot1, 0) ,bo.estot2 = isnull(@estot2, 0) ,bo.estot3 = isnull(@estot3, 0) ,bo.estot4 = isnull(@estot4, 0) ,bo.stot1 = isnull(@stot1, 0) ,bo.stot2 = isnull(@stot2, 0) ,bo.stot3 = isnull(@stot3, 0) ,bo.stot4 = isnull(@stot4, 0) ,bo.ebo_1tvall = isnull(@ebo_1tvall, 0) ,bo.ebo_2tvall = isnull(@ebo_2tvall, 0) ,bo.bo_1tvall = isnull(@bo_1tvall, 0) ,bo.bo_2tvall = isnull(@bo_2tvall, 0) ,bo.ebo_totp1 = isnull(@ebo_totp1, 0) ,bo.ebo_totp2 = isnull(@ebo_totp2, 0) ,bo.bo_totp1 = isnull(@bo_totp1, 0) ,bo.bo_totp2 = isnull(@bo_totp2, 0) ,bo.sqtt11 = isnull(@sqtt11, 0) ,bo.sqtt21 = isnull(@sqtt21, 0) ,bo.sqtt12 = isnull(@sqtt12, 0) ,bo.sqtt22 = isnull(@sqtt22, 0) ,bo.sqtt13 = isnull(@sqtt13, 0) ,bo.sqtt23 = isnull(@sqtt23, 0) ,bo.sqtt14 = isnull(@sqtt14, 0) ,bo.sqtt24 = isnull(@sqtt24, 0) where bostamp = @mybostamp update bo2 set bo2.bo71_bins = isnull(@bo71_bins, 0) ,bo2.bo72_bins = isnull(@bo72_bins, 0) ,bo2.bo81_bins = isnull(@bo81_bins, 0) ,bo2.bo82_bins = isnull(@bo82_bins, 0) ,bo2.bo91_bins = isnull(@bo91_bins, 0) ,bo2.bo92_bins = isnull(@bo92_bins, 0) ,bo2.ebo71_bins = isnull(@ebo71_bins, 0) ,bo2.ebo72_bins = isnull(@ebo72_bins, 0) ,bo2.ebo81_bins = isnull(@ebo81_bins, 0) ,bo2.ebo82_bins = isnull(@ebo82_bins, 0) ,bo2.ebo91_bins = isnull(@ebo91_bins, 0) ,bo2.ebo92_bins = isnull(@ebo92_bins, 0) ,bo2.bo71_iva = isnull(@bo71_iva, 0) ,bo2.bo72_iva = isnull(@bo72_iva, 0) ,bo2.bo81_iva = isnull(@bo81_iva, 0) ,bo2.bo82_iva = isnull(@bo82_iva, 0) ,bo2.bo91_iva = isnull(@bo91_iva, 0) ,bo2.bo92_iva = isnull(@bo92_iva, 0) ,bo2.ebo71_iva = isnull(@ebo71_iva, 0) ,bo2.ebo72_iva = isnull(@ebo72_iva, 0) ,bo2.ebo81_iva = isnull(@ebo81_iva, 0) ,bo2.ebo82_iva = isnull(@ebo82_iva, 0) ,bo2.ebo91_iva = isnull(@ebo91_iva, 0) ,bo2.ebo92_iva = isnull(@ebo92_iva, 0) ,bo2.etotalciva = isnull(@etotaldeb, 0) + isnull(@ebo12_iva, 0) +isnull(@ebo22_iva, 0) +isnull(@ebo32_iva, 0) +isnull(@ebo42_iva, 0) +isnull(@ebo52_iva, 0) +isnull(@ebo62_iva, 0) +isnull(@ebo72_iva, 0) +isnull(@ebo82_iva, 0) +isnull(@ebo92_iva, 0) --,bo2.mtotalciva =isnull(@moetotal, 0) where bo2stamp = @mybostamp -- trata os bot select @userinis = usrinis from bo where bo.bostamp=@mybostamp insert into @totaisiva ( bostamp, codigo, taxa, ebaseinc, baseinc, evalor, valor ) select @mybostamp,codigo,taxa ,case when (@ebo11_bins <>0) then @ebo11_bins else @ebo12_bins end ,case when (@ebo11_bins <>0) then @bo11_bins else @bo12_bins end ,case when (@ebo11_bins <>0) then @ebo11_iva else @ebo12_iva end ,case when (@ebo11_bins <>0) then @bo11_iva else @bo12_iva end from taxasiva where codigo = 1 union all select @mybostamp,codigo,taxa ,case when (@ebo21_bins <>0) then @ebo21_bins else @ebo22_bins end ,case when (@ebo21_bins <>0) then @bo21_bins else @bo22_bins end ,case when (@ebo21_bins <>0) then @ebo21_iva else @ebo22_iva end ,case when (@ebo21_bins <>0) then @bo21_iva else @bo22_iva end from taxasiva where codigo = 2 union all select @mybostamp,codigo,taxa ,case when (@ebo31_bins <>0) then @ebo31_bins else @ebo32_bins end ,case when (@ebo31_bins <>0) then @bo31_bins else @bo32_bins end ,case when (@ebo31_bins <>0) then @ebo31_iva else @ebo32_iva end ,case when (@ebo31_bins <>0) then @bo31_iva else @bo32_iva end from taxasiva where codigo = 3 union all select @mybostamp,codigo,taxa ,case when (@ebo41_bins <>0) then @ebo41_bins else @ebo42_bins end ,case when (@ebo41_bins <>0) then @bo41_bins else @bo42_bins end ,case when (@ebo41_bins <>0) then @ebo41_iva else @ebo42_iva end ,case when (@ebo41_bins <>0) then @bo41_iva else @bo42_iva end from taxasiva where codigo = 4 union all select @mybostamp,codigo,taxa ,case when (@ebo51_bins <>0) then @ebo51_bins else @ebo52_bins end ,case when (@ebo51_bins <>0) then @bo51_bins else @bo52_bins end ,case when (@ebo51_bins <>0) then @ebo51_iva else @ebo52_iva end ,case when (@ebo51_bins <>0) then @bo51_iva else @bo52_iva end from taxasiva where codigo = 5 union all select @mybostamp,codigo,taxa ,case when (@ebo61_bins <>0) then @ebo61_bins else @ebo62_bins end ,case when (@ebo61_bins <>0) then @bo61_bins else @bo62_bins end ,case when (@ebo61_bins <>0) then @ebo61_iva else @ebo62_iva end ,case when (@ebo61_bins <>0) then @bo61_iva else @bo62_iva end from taxasiva where codigo = 6 union all select @mybostamp,codigo,taxa ,case when (@ebo71_bins <>0) then @ebo71_bins else @ebo72_bins end ,case when (@ebo71_bins <>0) then @bo71_bins else @bo72_bins end ,case when (@ebo71_bins <>0) then @ebo71_iva else @ebo72_iva end ,case when (@ebo71_bins <>0) then @bo71_iva else @bo72_iva end from taxasiva where codigo = 7 union all select @mybostamp,codigo,taxa ,case when (@ebo81_bins <>0) then @ebo81_bins else @ebo82_bins end ,case when (@ebo81_bins <>0) then @bo81_bins else @bo82_bins end ,case when (@ebo81_bins <>0) then @ebo81_iva else @ebo82_iva end ,case when (@ebo81_bins <>0) then @bo81_iva else @bo82_iva end from taxasiva where codigo = 8 union all select @mybostamp,codigo,taxa ,case when (@ebo91_bins <>0) then @ebo91_bins else @ebo92_bins end ,case when (@ebo91_bins <>0) then @bo91_bins else @bo92_bins end ,case when (@ebo91_bins <>0) then @ebo91_iva else @ebo92_iva end ,case when (@ebo91_bins <>0) then @bo91_iva else @bo92_iva end from taxasiva where codigo = 9 update bot set ebaseinc = totiva.ebaseinc, baseinc = totiva.baseinc, evalor = totiva.evalor, valor = totiva.valor, usrinis = @userinis, usrdata = convert (date,getdate()), usrhora = convert (time,getdate()) from @totaisiva totiva inner join bot on totiva.bostamp = bot.bostamp and totiva.codigo = bot.codigo insert into bot ( botstamp ,bostamp ,codigo ,taxa ,ebaseinc ,baseinc ,evalor ,valor ,ousrinis ,ousrdata ,ousrhora ,usrinis ,usrdata ,usrhora ) select ( left(@userinis,3) + 'tt' + left(newid(),5) + right(newid(),5) + left(newid(),5) + right(newid(),5)) stamp ,@mybostamp stampbo ,totiva.codigo ,totiva.taxa ,totiva.ebaseinc ,totiva.baseinc ,totiva.evalor ,totiva.valor ,@userinis ,convert (date,getdate()) ,convert (time,getdate()) ,@userinis ,convert (date,getdate()) ,convert (time,getdate()) from @totaisiva totiva left join bot on totiva.bostamp = bot.bostamp and totiva.codigo = bot.codigo where bot.botstamp is null -- atualiza os campo bi.series e bi.series2, caso tenha equipamentos update bi set series = s1, series2=s2 from bi inner join ( select distinct bistamp,ser.s1, ser.s2 from boma cross apply (select stuff ( ( select ',' + rtrim(serie) from boma myboma where myboma.bistamp = boma.bistamp order by serie for xml path('') ), 1, 1, '' ) s1 , stuff ( ( select ',' + rtrim(serie2) from boma myboma where myboma.bistamp = boma.bistamp order by serie for xml path('') ), 1, 1, '' ) s2 ) ser where boma.bostamp = @mybostamp ) myboma on bi.bistamp = myboma.bistamp where bi.bostamp = @mybostamp 
20241024@095020.2489 0evfo5oieuujnsppp05aphff9u Query : use flama_phc
20241024@095020.2493 0evfo5oieuujnsppp05aphff9u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241024@095020.2637 0evfo5oieuujnsppp05aphff9u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2905';
20241024@095020.2682 0evfo5oieuujnsppp05aphff9u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2905';

20241024@164046.3430 5t6m1c9ur7fnlekhu399k5hn8f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2906';
20241024@164046.4180 5t6m1c9ur7fnlekhu399k5hn8f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2906';
20241024@164046.4510 5t6m1c9ur7fnlekhu399k5hn8f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2906';
20241024@164046.5100 5t6m1c9ur7fnlekhu399k5hn8f Query : use flama_phc
20241024@164046.5130 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241024@164046.6730 5t6m1c9ur7fnlekhu399k5hn8f Query : use flama_phc
20241024@164046.6760 5t6m1c9ur7fnlekhu399k5hn8f Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241024@164046.7620 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20241024@164046.9770 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406972 and bi.ref ='304.4320.00.1' and bi.lordem =1
20241024@164046.1298 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20241024@164046.1322 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406972 and bi.ref ='304.4320.00.1' and bi.lordem =1
20241024@164046.1339 5t6m1c9ur7fnlekhu399k5hn8f Query : use flama_phc
20241024@164046.1342 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241024@164046.1548 5t6m1c9ur7fnlekhu399k5hn8f Query : use flama_phc
20241024@164046.1552 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 1 valor from td where td.ndoc = 39
20241024@164046.1637 5t6m1c9ur7fnlekhu399k5hn8f Query : use flama_phc
20241024@164046.1640 5t6m1c9ur7fnlekhu399k5hn8f 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')
20241024@164046.1722 5t6m1c9ur7fnlekhu399k5hn8f 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
20241024@164046.1838 5t6m1c9ur7fnlekhu399k5hn8f Query : use flama_phc
20241024@164046.1841 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241024@164046.1943 5t6m1c9ur7fnlekhu399k5hn8f Query : use flama_phc
20241024@164046.1947 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241024@164046.2045 5t6m1c9ur7fnlekhu399k5hn8f Query : use flama_phc
20241024@164046.2049 5t6m1c9ur7fnlekhu399k5hn8f Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241024@164046.2131 5t6m1c9ur7fnlekhu399k5hn8f Query : use flama_phc
20241024@164046.2134 5t6m1c9ur7fnlekhu399k5hn8f Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241024@164046.2186 5t6m1c9ur7fnlekhu399k5hn8f Query : use flama_phc
20241024@164046.2189 5t6m1c9ur7fnlekhu399k5hn8f Query : select 1 valor from td where ndoc = 39
20241024@164046.2269 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241024@164046.2328 5t6m1c9ur7fnlekhu399k5hn8f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164046.2636 5t6m1c9ur7fnlekhu399k5hn8f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241024@164046.2719 5t6m1c9ur7fnlekhu399k5hn8f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164046.2734 5t6m1c9ur7fnlekhu399k5hn8f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241024@164046.2764 5t6m1c9ur7fnlekhu399k5hn8f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164046.2778 5t6m1c9ur7fnlekhu399k5hn8f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241024@164046.2792 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241024@164046.2972 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241024@164046.3062 5t6m1c9ur7fnlekhu399k5hn8f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164046.3078 5t6m1c9ur7fnlekhu399k5hn8f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241024@164046.3119 5t6m1c9ur7fnlekhu399k5hn8f Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut671a630237671a6a7e44' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241024@164046.3362 5t6m1c9ur7fnlekhu399k5hn8f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164046.3380 5t6m1c9ur7fnlekhu399k5hn8f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241024@164046.3462 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241024@164046.4627 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241024@164046.4714 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241024@164046.4781 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241024@164046.4867 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241024@164046.4929 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241024@164046.4991 5t6m1c9ur7fnlekhu399k5hn8f Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut671a630237671a6a7e44',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241024@164046.5558 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 fno valor from wsftdata order by fno desc
20241024@164046.5672 5t6m1c9ur7fnlekhu399k5hn8f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164046.5697 5t6m1c9ur7fnlekhu399k5hn8f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241024@164046.5722 5t6m1c9ur7fnlekhu399k5hn8f Query : select 'normal' from dummy
20241024@164046.5799 5t6m1c9ur7fnlekhu399k5hn8f Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut671a630237671a6a7e44',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1491,100810,0,'2024-10-24',39,'euro',0,0,2024 ,?,?)
20241024@164046.6263 5t6m1c9ur7fnlekhu399k5hn8f Query : use flama_phc
20241024@164046.6267 5t6m1c9ur7fnlekhu399k5hn8f Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20241024@164046.6388 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20241024@164046.6527 5t6m1c9ur7fnlekhu399k5hn8f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164046.6544 5t6m1c9ur7fnlekhu399k5hn8f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241024@164046.6570 5t6m1c9ur7fnlekhu399k5hn8f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164046.6584 5t6m1c9ur7fnlekhu399k5hn8f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241024@164046.6593 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241024@164046.6638 5t6m1c9ur7fnlekhu399k5hn8f Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '241183'
20241024@164046.6715 5t6m1c9ur7fnlekhu399k5hn8f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164046.6763 5t6m1c9ur7fnlekhu399k5hn8f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241024@164046.6775 5t6m1c9ur7fnlekhu399k5hn8f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut671a626368671a6a7ea3','aut671a630237671a6a7e44' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241024@164046.6830 5t6m1c9ur7fnlekhu399k5hn8f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164046.6849 5t6m1c9ur7fnlekhu399k5hn8f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241024@164046.6880 5t6m1c9ur7fnlekhu399k5hn8f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut671a626368671a6a7ea3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',44.000 ,'aut671a630237671a6a7e44' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241024@164046.7246 5t6m1c9ur7fnlekhu399k5hn8f Query : use flama_phc
20241024@164046.7249 5t6m1c9ur7fnlekhu399k5hn8f Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20241024@164046.7269 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20241024@164046.7282 5t6m1c9ur7fnlekhu399k5hn8f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164046.7298 5t6m1c9ur7fnlekhu399k5hn8f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241024@164046.7323 5t6m1c9ur7fnlekhu399k5hn8f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164046.7339 5t6m1c9ur7fnlekhu399k5hn8f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241024@164046.7347 5t6m1c9ur7fnlekhu399k5hn8f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241024@164046.7358 5t6m1c9ur7fnlekhu399k5hn8f Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '241183'
20241024@164046.7371 5t6m1c9ur7fnlekhu399k5hn8f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164046.7418 5t6m1c9ur7fnlekhu399k5hn8f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241024@164046.7430 5t6m1c9ur7fnlekhu399k5hn8f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut671a674461671a6a7eb3','aut671a630237671a6a7e44' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241024@164046.7434 5t6m1c9ur7fnlekhu399k5hn8f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164046.7448 5t6m1c9ur7fnlekhu399k5hn8f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241024@164046.7475 5t6m1c9ur7fnlekhu399k5hn8f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut671a674461671a6a7eb3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut671a630237671a6a7e44' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241024@164046.7703 5t6m1c9ur7fnlekhu399k5hn8f Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut671a630237671a6a7e44','2406972','wait',39,'adm09112754980.682000002')
20241024@164046.7788 5t6m1c9ur7fnlekhu399k5hn8f Query : use flama_phc
20241024@164046.7791 5t6m1c9ur7fnlekhu399k5hn8f Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241024@164046.7824 5t6m1c9ur7fnlekhu399k5hn8f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2906';
20241024@164046.7857 5t6m1c9ur7fnlekhu399k5hn8f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2906';
20241024@164046.7906 5t6m1c9ur7fnlekhu399k5hn8f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2906';
20241024@164046.7936 5t6m1c9ur7fnlekhu399k5hn8f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2906';
20241024@164046.8538 notp0ltqqql7m2km0h9sa03tn6 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241024@164046.8552 notp0ltqqql7m2km0h9sa03tn6 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241024@164046.8616 notp0ltqqql7m2km0h9sa03tn6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2907';
20241024@164046.8678 notp0ltqqql7m2km0h9sa03tn6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2907';
20241024@164046.8738 notp0ltqqql7m2km0h9sa03tn6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2907';
20241024@164046.8767 notp0ltqqql7m2km0h9sa03tn6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2907';
20241024@164046.8821 notp0ltqqql7m2km0h9sa03tn6 Query : use flama_phc
20241024@164046.8824 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241024@164046.8892 notp0ltqqql7m2km0h9sa03tn6 Query : use flama_phc
20241024@164046.8895 notp0ltqqql7m2km0h9sa03tn6 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241024@164046.8938 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20241024@164046.9085 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406974 and bi.ref ='324.4980.00.1' and bi.lordem =1
20241024@164046.9396 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20241024@164046.9416 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2069 and bo.obrano = 2406974 and bi.ref ='324.4980.00.1' and bi.lordem =1
20241024@164046.9434 notp0ltqqql7m2km0h9sa03tn6 Query : use flama_phc
20241024@164046.9438 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241024@164046.9477 notp0ltqqql7m2km0h9sa03tn6 Query : use flama_phc
20241024@164046.9480 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 1 valor from td where td.ndoc = 39
20241024@164046.9517 notp0ltqqql7m2km0h9sa03tn6 Query : use flama_phc
20241024@164046.9520 notp0ltqqql7m2km0h9sa03tn6 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')
20241024@164046.9573 notp0ltqqql7m2km0h9sa03tn6 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
20241024@164046.9626 notp0ltqqql7m2km0h9sa03tn6 Query : use flama_phc
20241024@164046.9630 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241024@164046.9700 notp0ltqqql7m2km0h9sa03tn6 Query : use flama_phc
20241024@164046.9703 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241024@164046.9824 notp0ltqqql7m2km0h9sa03tn6 Query : use flama_phc
20241024@164046.9829 notp0ltqqql7m2km0h9sa03tn6 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241024@164047.1342 notp0ltqqql7m2km0h9sa03tn6 Query : use flama_phc
20241024@164047.1347 notp0ltqqql7m2km0h9sa03tn6 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241024@164047.1455 notp0ltqqql7m2km0h9sa03tn6 Query : use flama_phc
20241024@164047.1458 notp0ltqqql7m2km0h9sa03tn6 Query : select 1 valor from td where ndoc = 39
20241024@164047.1473 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241024@164047.1488 notp0ltqqql7m2km0h9sa03tn6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164047.1507 notp0ltqqql7m2km0h9sa03tn6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241024@164047.1548 notp0ltqqql7m2km0h9sa03tn6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164047.1564 notp0ltqqql7m2km0h9sa03tn6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241024@164047.1596 notp0ltqqql7m2km0h9sa03tn6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164047.1612 notp0ltqqql7m2km0h9sa03tn6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241024@164047.1661 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241024@164047.1731 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241024@164047.1746 notp0ltqqql7m2km0h9sa03tn6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164047.1765 notp0ltqqql7m2km0h9sa03tn6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241024@164047.1784 notp0ltqqql7m2km0h9sa03tn6 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut671a663211671a6a7f28' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241024@164047.1967 notp0ltqqql7m2km0h9sa03tn6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164047.1995 notp0ltqqql7m2km0h9sa03tn6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241024@164047.2036 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241024@164047.2050 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241024@164047.2098 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241024@164047.2113 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241024@164047.2126 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241024@164047.2139 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241024@164047.2152 notp0ltqqql7m2km0h9sa03tn6 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut671a663211671a6a7f28',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241024@164047.2401 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 fno valor from wsftdata order by fno desc
20241024@164047.2436 notp0ltqqql7m2km0h9sa03tn6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164047.2458 notp0ltqqql7m2km0h9sa03tn6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241024@164047.2484 notp0ltqqql7m2km0h9sa03tn6 Query : select 'normal' from dummy
20241024@164047.2502 notp0ltqqql7m2km0h9sa03tn6 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut671a663211671a6a7f28',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1492,100810,0,'2024-10-24',39,'euro',0,0,2024 ,?,?)
20241024@164047.3214 notp0ltqqql7m2km0h9sa03tn6 Query : use flama_phc
20241024@164047.3256 notp0ltqqql7m2km0h9sa03tn6 Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20241024@164047.3823 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4980.00.1'
20241024@164047.4007 notp0ltqqql7m2km0h9sa03tn6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164047.4024 notp0ltqqql7m2km0h9sa03tn6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241024@164047.4052 notp0ltqqql7m2km0h9sa03tn6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164047.4068 notp0ltqqql7m2km0h9sa03tn6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241024@164047.4078 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241024@164047.4093 notp0ltqqql7m2km0h9sa03tn6 Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2400145100a'
20241024@164047.4945 notp0ltqqql7m2km0h9sa03tn6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164047.4965 notp0ltqqql7m2km0h9sa03tn6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241024@164047.4977 notp0ltqqql7m2km0h9sa03tn6 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut671a606268671a6a7f78','aut671a663211671a6a7f28' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241024@164047.4982 notp0ltqqql7m2km0h9sa03tn6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164047.4997 notp0ltqqql7m2km0h9sa03tn6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241024@164047.5027 notp0ltqqql7m2km0h9sa03tn6 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut671a606268671a6a7f78',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',48.000 ,'aut671a663211671a6a7f28' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241024@164047.5285 notp0ltqqql7m2km0h9sa03tn6 Query : use flama_phc
20241024@164047.5289 notp0ltqqql7m2km0h9sa03tn6 Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20241024@164047.5308 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4980.00.1'
20241024@164047.5322 notp0ltqqql7m2km0h9sa03tn6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164047.5338 notp0ltqqql7m2km0h9sa03tn6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241024@164047.5364 notp0ltqqql7m2km0h9sa03tn6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164047.5380 notp0ltqqql7m2km0h9sa03tn6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241024@164047.5388 notp0ltqqql7m2km0h9sa03tn6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241024@164047.5400 notp0ltqqql7m2km0h9sa03tn6 Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2400145100a'
20241024@164047.5413 notp0ltqqql7m2km0h9sa03tn6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164047.5427 notp0ltqqql7m2km0h9sa03tn6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241024@164047.5438 notp0ltqqql7m2km0h9sa03tn6 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut671a611875671a6a7f84','aut671a663211671a6a7f28' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241024@164047.5443 notp0ltqqql7m2km0h9sa03tn6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164047.5457 notp0ltqqql7m2km0h9sa03tn6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241024@164047.5484 notp0ltqqql7m2km0h9sa03tn6 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut671a611875671a6a7f84',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut671a663211671a6a7f28' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241024@164047.5897 notp0ltqqql7m2km0h9sa03tn6 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut671a663211671a6a7f28','2406974','wait',39,'adm09112754980.682000002')
20241024@164047.7712 notp0ltqqql7m2km0h9sa03tn6 Query : use flama_phc
20241024@164047.7716 notp0ltqqql7m2km0h9sa03tn6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241024@164047.7785 notp0ltqqql7m2km0h9sa03tn6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2907';
20241024@164047.7831 notp0ltqqql7m2km0h9sa03tn6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2907';
20241024@164047.7905 notp0ltqqql7m2km0h9sa03tn6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2907';
20241024@164047.7945 notp0ltqqql7m2km0h9sa03tn6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2907';
20241024@164047.8957 sht9mm2d9capl7nve6ctlgjsig Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241024@164047.8969 sht9mm2d9capl7nve6ctlgjsig Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241024@164047.9035 sht9mm2d9capl7nve6ctlgjsig Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2908';
20241024@164047.9094 sht9mm2d9capl7nve6ctlgjsig Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2908';
20241024@164047.9152 sht9mm2d9capl7nve6ctlgjsig Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2908';
20241024@164047.9182 sht9mm2d9capl7nve6ctlgjsig Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2908';
20241024@164047.9238 sht9mm2d9capl7nve6ctlgjsig Query : use flama_phc
20241024@164047.9241 sht9mm2d9capl7nve6ctlgjsig Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241024@164047.9311 sht9mm2d9capl7nve6ctlgjsig Query : use flama_phc
20241024@164047.9314 sht9mm2d9capl7nve6ctlgjsig Query : select no, estab,szadrsdesc from szadrs where u_coddest=8548
20241024@164047.9392 sht9mm2d9capl7nve6ctlgjsig Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20241024@164047.9550 sht9mm2d9capl7nve6ctlgjsig Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407019 and bi.ref ='324.1642.00.2' and bi.lordem =1
20241024@164047.9848 sht9mm2d9capl7nve6ctlgjsig Query : use flama_phc
20241024@164047.9852 sht9mm2d9capl7nve6ctlgjsig Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241024@164047.9889 sht9mm2d9capl7nve6ctlgjsig Query : use flama_phc
20241024@164047.9893 sht9mm2d9capl7nve6ctlgjsig Query : select top 1 1 valor from td where td.ndoc = 39
20241024@164047.9928 sht9mm2d9capl7nve6ctlgjsig Query : use flama_phc
20241024@164047.9931 sht9mm2d9capl7nve6ctlgjsig 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')
20241024@164047.9965 sht9mm2d9capl7nve6ctlgjsig 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
20241024@164048.5000 sht9mm2d9capl7nve6ctlgjsig Query : use flama_phc
20241024@164048.8000 sht9mm2d9capl7nve6ctlgjsig Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241024@164048.1160 sht9mm2d9capl7nve6ctlgjsig Query : use flama_phc
20241024@164048.1200 sht9mm2d9capl7nve6ctlgjsig Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241024@164048.1520 sht9mm2d9capl7nve6ctlgjsig Query : use flama_phc
20241024@164048.1560 sht9mm2d9capl7nve6ctlgjsig Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241024@164048.1990 sht9mm2d9capl7nve6ctlgjsig Query : use flama_phc
20241024@164048.2040 sht9mm2d9capl7nve6ctlgjsig Query : select szadrsstamp valor from szadrs where szadrsdesc='jom- maia ( nova loja)'
20241024@164048.2830 sht9mm2d9capl7nve6ctlgjsig Query : use flama_phc
20241024@164048.2860 sht9mm2d9capl7nve6ctlgjsig Query : select 1 valor from td where ndoc = 39
20241024@164048.2990 sht9mm2d9capl7nve6ctlgjsig Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241024@164048.3150 sht9mm2d9capl7nve6ctlgjsig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.3320 sht9mm2d9capl7nve6ctlgjsig Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241024@164048.3520 sht9mm2d9capl7nve6ctlgjsig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.3660 sht9mm2d9capl7nve6ctlgjsig Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241024@164048.3940 sht9mm2d9capl7nve6ctlgjsig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.4170 sht9mm2d9capl7nve6ctlgjsig Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241024@164048.4300 sht9mm2d9capl7nve6ctlgjsig Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241024@164048.5320 sht9mm2d9capl7nve6ctlgjsig Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241024@164048.1647 sht9mm2d9capl7nve6ctlgjsig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.1664 sht9mm2d9capl7nve6ctlgjsig Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241024@164048.1680 sht9mm2d9capl7nve6ctlgjsig Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut671a619978671a6a800a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241024@164048.1839 sht9mm2d9capl7nve6ctlgjsig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.1855 sht9mm2d9capl7nve6ctlgjsig Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241024@164048.1889 sht9mm2d9capl7nve6ctlgjsig Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241024@164048.1901 sht9mm2d9capl7nve6ctlgjsig Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241024@164048.1913 sht9mm2d9capl7nve6ctlgjsig Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241024@164048.1924 sht9mm2d9capl7nve6ctlgjsig Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241024@164048.1936 sht9mm2d9capl7nve6ctlgjsig Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241024@164048.1947 sht9mm2d9capl7nve6ctlgjsig Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241024@164048.1958 sht9mm2d9capl7nve6ctlgjsig Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut671a619978671a6a800a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241024@164048.2177 sht9mm2d9capl7nve6ctlgjsig Query : select top 1 fno valor from wsftdata order by fno desc
20241024@164048.2202 sht9mm2d9capl7nve6ctlgjsig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.2219 sht9mm2d9capl7nve6ctlgjsig Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241024@164048.2242 sht9mm2d9capl7nve6ctlgjsig Query : select 'normal' from dummy
20241024@164048.2257 sht9mm2d9capl7nve6ctlgjsig Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut671a619978671a6a800a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1493,101621,0,'2024-10-24',39,'euro',0,0,2024 ,?,?)
20241024@164048.2533 sht9mm2d9capl7nve6ctlgjsig Query : use flama_phc
20241024@164048.2537 sht9mm2d9capl7nve6ctlgjsig Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20241024@164048.2559 sht9mm2d9capl7nve6ctlgjsig Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1642.00.2'
20241024@164048.2687 sht9mm2d9capl7nve6ctlgjsig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.2706 sht9mm2d9capl7nve6ctlgjsig Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241024@164048.2732 sht9mm2d9capl7nve6ctlgjsig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.2748 sht9mm2d9capl7nve6ctlgjsig Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241024@164048.2758 sht9mm2d9capl7nve6ctlgjsig Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241024@164048.2770 sht9mm2d9capl7nve6ctlgjsig Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400526200a'
20241024@164048.2783 sht9mm2d9capl7nve6ctlgjsig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.2797 sht9mm2d9capl7nve6ctlgjsig Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241024@164048.2843 sht9mm2d9capl7nve6ctlgjsig Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut671a696710671a6a8043','aut671a619978671a6a800a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241024@164048.2848 sht9mm2d9capl7nve6ctlgjsig Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.2863 sht9mm2d9capl7nve6ctlgjsig Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241024@164048.2893 sht9mm2d9capl7nve6ctlgjsig Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut671a696710671a6a8043',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut671a619978671a6a800a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241024@164048.3129 sht9mm2d9capl7nve6ctlgjsig Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut671a619978671a6a800a','2407019','wait',39,'adm09112754980.682000002')
20241024@164048.3209 sht9mm2d9capl7nve6ctlgjsig Query : use flama_phc
20241024@164048.3212 sht9mm2d9capl7nve6ctlgjsig Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241024@164048.3286 sht9mm2d9capl7nve6ctlgjsig Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2908';
20241024@164048.3319 sht9mm2d9capl7nve6ctlgjsig Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2908';
20241024@164048.3370 sht9mm2d9capl7nve6ctlgjsig Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2908';
20241024@164048.3398 sht9mm2d9capl7nve6ctlgjsig Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2908';
20241024@164048.3977 uijelv8cdunibjdvin5ih2vdob Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241024@164048.3988 uijelv8cdunibjdvin5ih2vdob Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241024@164048.4047 uijelv8cdunibjdvin5ih2vdob Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2909';
20241024@164048.4105 uijelv8cdunibjdvin5ih2vdob Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2909';
20241024@164048.4167 uijelv8cdunibjdvin5ih2vdob Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2909';
20241024@164048.4196 uijelv8cdunibjdvin5ih2vdob Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2909';
20241024@164048.4248 uijelv8cdunibjdvin5ih2vdob Query : use flama_phc
20241024@164048.4251 uijelv8cdunibjdvin5ih2vdob Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241024@164048.4318 uijelv8cdunibjdvin5ih2vdob Query : use flama_phc
20241024@164048.4320 uijelv8cdunibjdvin5ih2vdob Query : select no, estab,szadrsdesc from szadrs where u_coddest=3145
20241024@164048.4404 uijelv8cdunibjdvin5ih2vdob Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20241024@164048.4425 uijelv8cdunibjdvin5ih2vdob Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407021 and bi.ref ='324.1642.00.2' and bi.lordem =1
20241024@164048.4737 uijelv8cdunibjdvin5ih2vdob Query : use flama_phc
20241024@164048.4740 uijelv8cdunibjdvin5ih2vdob Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241024@164048.4771 uijelv8cdunibjdvin5ih2vdob Query : use flama_phc
20241024@164048.4774 uijelv8cdunibjdvin5ih2vdob Query : select top 1 1 valor from td where td.ndoc = 39
20241024@164048.4804 uijelv8cdunibjdvin5ih2vdob Query : use flama_phc
20241024@164048.4806 uijelv8cdunibjdvin5ih2vdob 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')
20241024@164048.4834 uijelv8cdunibjdvin5ih2vdob 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
20241024@164048.4869 uijelv8cdunibjdvin5ih2vdob Query : use flama_phc
20241024@164048.4872 uijelv8cdunibjdvin5ih2vdob Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241024@164048.4904 uijelv8cdunibjdvin5ih2vdob Query : use flama_phc
20241024@164048.4907 uijelv8cdunibjdvin5ih2vdob Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241024@164048.4939 uijelv8cdunibjdvin5ih2vdob Query : use flama_phc
20241024@164048.4942 uijelv8cdunibjdvin5ih2vdob Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241024@164048.4982 uijelv8cdunibjdvin5ih2vdob Query : use flama_phc
20241024@164048.4985 uijelv8cdunibjdvin5ih2vdob Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - caldas da rainha'
20241024@164048.5031 uijelv8cdunibjdvin5ih2vdob Query : use flama_phc
20241024@164048.5034 uijelv8cdunibjdvin5ih2vdob Query : select 1 valor from td where ndoc = 39
20241024@164048.5047 uijelv8cdunibjdvin5ih2vdob Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241024@164048.5061 uijelv8cdunibjdvin5ih2vdob Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.5078 uijelv8cdunibjdvin5ih2vdob Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241024@164048.5097 uijelv8cdunibjdvin5ih2vdob Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.5112 uijelv8cdunibjdvin5ih2vdob Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241024@164048.5140 uijelv8cdunibjdvin5ih2vdob Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.5154 uijelv8cdunibjdvin5ih2vdob Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241024@164048.5171 uijelv8cdunibjdvin5ih2vdob Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241024@164048.5235 uijelv8cdunibjdvin5ih2vdob Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241024@164048.5247 uijelv8cdunibjdvin5ih2vdob Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.5263 uijelv8cdunibjdvin5ih2vdob Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241024@164048.5278 uijelv8cdunibjdvin5ih2vdob Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut671a667631671a6a807e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241024@164048.5439 uijelv8cdunibjdvin5ih2vdob Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.5456 uijelv8cdunibjdvin5ih2vdob Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241024@164048.5487 uijelv8cdunibjdvin5ih2vdob Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241024@164048.5499 uijelv8cdunibjdvin5ih2vdob Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241024@164048.5510 uijelv8cdunibjdvin5ih2vdob Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241024@164048.5521 uijelv8cdunibjdvin5ih2vdob Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241024@164048.5532 uijelv8cdunibjdvin5ih2vdob Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241024@164048.5544 uijelv8cdunibjdvin5ih2vdob Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241024@164048.5555 uijelv8cdunibjdvin5ih2vdob Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut671a667631671a6a807e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241024@164048.5763 uijelv8cdunibjdvin5ih2vdob Query : select top 1 fno valor from wsftdata order by fno desc
20241024@164048.5787 uijelv8cdunibjdvin5ih2vdob Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.5802 uijelv8cdunibjdvin5ih2vdob Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241024@164048.5825 uijelv8cdunibjdvin5ih2vdob Query : select 'normal' from dummy
20241024@164048.5840 uijelv8cdunibjdvin5ih2vdob Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut671a667631671a6a807e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1494,101621,0,'2024-10-24',39,'euro',0,0,2024 ,?,?)
20241024@164048.6232 uijelv8cdunibjdvin5ih2vdob Query : use flama_phc
20241024@164048.6258 uijelv8cdunibjdvin5ih2vdob Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20241024@164048.6476 uijelv8cdunibjdvin5ih2vdob Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1642.00.2'
20241024@164048.6489 uijelv8cdunibjdvin5ih2vdob Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.6505 uijelv8cdunibjdvin5ih2vdob Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241024@164048.6530 uijelv8cdunibjdvin5ih2vdob Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.6544 uijelv8cdunibjdvin5ih2vdob Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241024@164048.6552 uijelv8cdunibjdvin5ih2vdob Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241024@164048.6564 uijelv8cdunibjdvin5ih2vdob Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400526200a'
20241024@164048.6576 uijelv8cdunibjdvin5ih2vdob Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.6590 uijelv8cdunibjdvin5ih2vdob Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241024@164048.6601 uijelv8cdunibjdvin5ih2vdob Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut671a608508671a6a80a0','aut671a667631671a6a807e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241024@164048.6605 uijelv8cdunibjdvin5ih2vdob Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.6620 uijelv8cdunibjdvin5ih2vdob Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241024@164048.6647 uijelv8cdunibjdvin5ih2vdob Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut671a608508671a6a80a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut671a667631671a6a807e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241024@164048.6897 uijelv8cdunibjdvin5ih2vdob Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut671a667631671a6a807e','2407021','wait',39,'adm09112754980.682000002')
20241024@164048.6969 uijelv8cdunibjdvin5ih2vdob Query : use flama_phc
20241024@164048.6972 uijelv8cdunibjdvin5ih2vdob Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241024@164048.7007 uijelv8cdunibjdvin5ih2vdob Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2909';
20241024@164048.7041 uijelv8cdunibjdvin5ih2vdob Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2909';
20241024@164048.7090 uijelv8cdunibjdvin5ih2vdob Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2909';
20241024@164048.7117 uijelv8cdunibjdvin5ih2vdob Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2909';
20241024@164048.7960 ogg9502cmao3ghak15o98euhk5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241024@164048.7971 ogg9502cmao3ghak15o98euhk5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241024@164048.8032 ogg9502cmao3ghak15o98euhk5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2910';
20241024@164048.8094 ogg9502cmao3ghak15o98euhk5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2910';
20241024@164048.8153 ogg9502cmao3ghak15o98euhk5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2910';
20241024@164048.8189 ogg9502cmao3ghak15o98euhk5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2910';
20241024@164048.8245 ogg9502cmao3ghak15o98euhk5 Query : use flama_phc
20241024@164048.8248 ogg9502cmao3ghak15o98euhk5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241024@164048.8348 ogg9502cmao3ghak15o98euhk5 Query : use flama_phc
20241024@164048.8389 ogg9502cmao3ghak15o98euhk5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=68
20241024@164048.8531 ogg9502cmao3ghak15o98euhk5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20241024@164048.8553 ogg9502cmao3ghak15o98euhk5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2070 and bo.obrano = 2407022 and bi.ref ='324.1642.00.2' and bi.lordem =1
20241024@164048.8917 ogg9502cmao3ghak15o98euhk5 Query : use flama_phc
20241024@164048.8920 ogg9502cmao3ghak15o98euhk5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241024@164048.8955 ogg9502cmao3ghak15o98euhk5 Query : use flama_phc
20241024@164048.8958 ogg9502cmao3ghak15o98euhk5 Query : select top 1 1 valor from td where td.ndoc = 39
20241024@164048.8995 ogg9502cmao3ghak15o98euhk5 Query : use flama_phc
20241024@164048.8998 ogg9502cmao3ghak15o98euhk5 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')
20241024@164048.9028 ogg9502cmao3ghak15o98euhk5 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
20241024@164048.9066 ogg9502cmao3ghak15o98euhk5 Query : use flama_phc
20241024@164048.9069 ogg9502cmao3ghak15o98euhk5 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241024@164048.9134 ogg9502cmao3ghak15o98euhk5 Query : use flama_phc
20241024@164048.9137 ogg9502cmao3ghak15o98euhk5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241024@164048.9172 ogg9502cmao3ghak15o98euhk5 Query : use flama_phc
20241024@164048.9175 ogg9502cmao3ghak15o98euhk5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241024@164048.9218 ogg9502cmao3ghak15o98euhk5 Query : use flama_phc
20241024@164048.9221 ogg9502cmao3ghak15o98euhk5 Query : select szadrsstamp valor from szadrs where szadrsdesc='joaquim oliveira mendes,lda jom'
20241024@164048.9270 ogg9502cmao3ghak15o98euhk5 Query : use flama_phc
20241024@164048.9273 ogg9502cmao3ghak15o98euhk5 Query : select 1 valor from td where ndoc = 39
20241024@164048.9285 ogg9502cmao3ghak15o98euhk5 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241024@164048.9299 ogg9502cmao3ghak15o98euhk5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.9314 ogg9502cmao3ghak15o98euhk5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241024@164048.9332 ogg9502cmao3ghak15o98euhk5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.9347 ogg9502cmao3ghak15o98euhk5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241024@164048.9375 ogg9502cmao3ghak15o98euhk5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.9389 ogg9502cmao3ghak15o98euhk5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241024@164048.9402 ogg9502cmao3ghak15o98euhk5 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241024@164048.9464 ogg9502cmao3ghak15o98euhk5 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241024@164048.9477 ogg9502cmao3ghak15o98euhk5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.9491 ogg9502cmao3ghak15o98euhk5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241024@164048.9505 ogg9502cmao3ghak15o98euhk5 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut671a664346671a6a80e5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241024@164048.9677 ogg9502cmao3ghak15o98euhk5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164048.9694 ogg9502cmao3ghak15o98euhk5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241024@164048.9726 ogg9502cmao3ghak15o98euhk5 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241024@164048.9738 ogg9502cmao3ghak15o98euhk5 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241024@164048.9749 ogg9502cmao3ghak15o98euhk5 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241024@164048.9760 ogg9502cmao3ghak15o98euhk5 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241024@164048.9773 ogg9502cmao3ghak15o98euhk5 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241024@164048.9784 ogg9502cmao3ghak15o98euhk5 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241024@164048.9795 ogg9502cmao3ghak15o98euhk5 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut671a664346671a6a80e5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241024@164049.5000 ogg9502cmao3ghak15o98euhk5 Query : select top 1 fno valor from wsftdata order by fno desc
20241024@164049.7600 ogg9502cmao3ghak15o98euhk5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164049.9200 ogg9502cmao3ghak15o98euhk5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241024@164049.1140 ogg9502cmao3ghak15o98euhk5 Query : select 'normal' from dummy
20241024@164049.1280 ogg9502cmao3ghak15o98euhk5 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut671a664346671a6a80e5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1495,101621,0,'2024-10-24',39,'euro',0,0,2024 ,?,?)
20241024@164049.4000 ogg9502cmao3ghak15o98euhk5 Query : use flama_phc
20241024@164049.4030 ogg9502cmao3ghak15o98euhk5 Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20241024@164049.4240 ogg9502cmao3ghak15o98euhk5 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1642.00.2'
20241024@164049.4370 ogg9502cmao3ghak15o98euhk5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164049.4530 ogg9502cmao3ghak15o98euhk5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241024@164049.4780 ogg9502cmao3ghak15o98euhk5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164049.4930 ogg9502cmao3ghak15o98euhk5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241024@164049.5020 ogg9502cmao3ghak15o98euhk5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241024@164049.5130 ogg9502cmao3ghak15o98euhk5 Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400526200a'
20241024@164049.5250 ogg9502cmao3ghak15o98euhk5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241024@164049.5390 ogg9502cmao3ghak15o98euhk5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241024@164049.5500 ogg9502cmao3ghak15o98euhk5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut671a627140671a6a810c','aut671a664346671a6a80e5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241024@164049.5540 ogg9502cmao3ghak15o98euhk5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
