20240828@182219.6105 017ea60vuns1ucq7ap1j21sber INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20240828@182219.6105 017ea60vuns1ucq7ap1j21sber Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182219.6117 017ea60vuns1ucq7ap1j21sber Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf56774566cf5ccb94','aut66cf55134266cf5ccb79' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182219.6121 017ea60vuns1ucq7ap1j21sber Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182219.6135 017ea60vuns1ucq7ap1j21sber Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182219.6161 017ea60vuns1ucq7ap1j21sber Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf56774566cf5ccb94',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66cf55134266cf5ccb79' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240828@182219.6416 017ea60vuns1ucq7ap1j21sber Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182219.6431 017ea60vuns1ucq7ap1j21sber Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182219.6456 017ea60vuns1ucq7ap1j21sber Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182219.6470 017ea60vuns1ucq7ap1j21sber Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182219.6478 017ea60vuns1ucq7ap1j21sber Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182219.6490 017ea60vuns1ucq7ap1j21sber Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182219.6504 017ea60vuns1ucq7ap1j21sber Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182219.6515 017ea60vuns1ucq7ap1j21sber Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf50479566cf5ccb9e','aut66cf55134266cf5ccb79' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182219.6518 017ea60vuns1ucq7ap1j21sber Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182219.6533 017ea60vuns1ucq7ap1j21sber Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182219.6559 017ea60vuns1ucq7ap1j21sber Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cf50479566cf5ccb9e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cf55134266cf5ccb79' ,0,0 ,2,23.00,20000,?,?,?)
20240828@182219.6783 017ea60vuns1ucq7ap1j21sber Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66cf55134266cf5ccb79','2405601','wait',39,'adm09112754980.682000002')
20240828@182219.6852 017ea60vuns1ucq7ap1j21sber Query : use flama_phc
20240828@182219.6855 017ea60vuns1ucq7ap1j21sber Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240828@182219.6891 017ea60vuns1ucq7ap1j21sber Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1718';
20240828@182219.6919 017ea60vuns1ucq7ap1j21sber Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1718';
20240828@182219.6958 017ea60vuns1ucq7ap1j21sber Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1718';
20240828@182219.6982 017ea60vuns1ucq7ap1j21sber Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1718';
20240828@182219.7579 6oop00qs9njhd5e9doeea9uu7e Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240828@182219.7591 6oop00qs9njhd5e9doeea9uu7e Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240828@182219.7647 6oop00qs9njhd5e9doeea9uu7e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1719';
20240828@182219.7705 6oop00qs9njhd5e9doeea9uu7e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1719';
20240828@182219.7829 6oop00qs9njhd5e9doeea9uu7e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1719';
20240828@182219.7893 6oop00qs9njhd5e9doeea9uu7e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1719';
20240828@182219.8302 6oop00qs9njhd5e9doeea9uu7e Query : use flama_phc
20240828@182219.8307 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240828@182219.8703 6oop00qs9njhd5e9doeea9uu7e Query : use flama_phc
20240828@182219.8742 6oop00qs9njhd5e9doeea9uu7e Query : select no, estab,szadrsdesc from szadrs where u_coddest=743
20240828@182219.8872 6oop00qs9njhd5e9doeea9uu7e 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'
20240828@182219.9033 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405608 and bi.ref ='324.691.00.01' and bi.lordem =1
20240828@182219.9362 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '323.367.09.00'
20240828@182219.9780 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405608 and bi.ref ='323.367.09.00' and bi.lordem =2
20240828@182220.1780 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1667.00.1'
20240828@182220.3450 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405608 and bi.ref ='324.1667.00.1' and bi.lordem =3
20240828@182220.7200 6oop00qs9njhd5e9doeea9uu7e 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'
20240828@182220.9040 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405608 and bi.ref ='324.692.00.01' and bi.lordem =4
20240828@182220.1235 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '323.318.09.00'
20240828@182220.1392 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405608 and bi.ref ='323.318.09.00' and bi.lordem =5
20240828@182220.1715 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1675.00.2'
20240828@182220.1871 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405608 and bi.ref ='324.1675.00.2' and bi.lordem =6
20240828@182220.2211 6oop00qs9njhd5e9doeea9uu7e Query : use flama_phc
20240828@182220.2214 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240828@182220.2251 6oop00qs9njhd5e9doeea9uu7e Query : use flama_phc
20240828@182220.2254 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 1 valor from td where td.ndoc = 39
20240828@182220.2287 6oop00qs9njhd5e9doeea9uu7e Query : use flama_phc
20240828@182220.2292 6oop00qs9njhd5e9doeea9uu7e 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')
20240828@182220.2376 6oop00qs9njhd5e9doeea9uu7e 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
20240828@182220.2414 6oop00qs9njhd5e9doeea9uu7e Query : use flama_phc
20240828@182220.2418 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 ~inactivo valor from cl where no = '100497' and estab = 0 order by inactivo desc
20240828@182220.2553 6oop00qs9njhd5e9doeea9uu7e Query : use flama_phc
20240828@182220.2556 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240828@182220.2587 6oop00qs9njhd5e9doeea9uu7e Query : use flama_phc
20240828@182220.2590 6oop00qs9njhd5e9doeea9uu7e Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240828@182220.2633 6oop00qs9njhd5e9doeea9uu7e Query : use flama_phc
20240828@182220.2637 6oop00qs9njhd5e9doeea9uu7e Query : select szadrsstamp valor from szadrs where szadrsdesc='utilar-utilidades para o lar, lda.'
20240828@182220.2696 6oop00qs9njhd5e9doeea9uu7e Query : use flama_phc
20240828@182220.2703 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from td where ndoc = 39
20240828@182220.2725 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240828@182220.2739 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.2755 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240828@182220.2774 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.2804 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240828@182220.2831 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.2846 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240828@182220.2858 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240828@182220.2924 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240828@182220.2936 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.2950 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240828@182220.2965 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66cf58681266cf5ccc45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240828@182220.3258 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.3410 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240828@182220.3617 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240828@182220.3629 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240828@182220.3643 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240828@182220.3714 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240828@182220.3920 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240828@182220.3996 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240828@182220.4007 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66cf58681266cf5ccc45',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240828@182220.4269 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 fno valor from wsftdata order by fno desc
20240828@182220.4678 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.4697 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240828@182220.4742 6oop00qs9njhd5e9doeea9uu7e Query : select 'normal' from dummy
20240828@182220.4758 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66cf58681266cf5ccc45',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',515,100497,0,'2024-08-28',39,'euro',0,0,2024 ,?,?)
20240828@182220.6273 6oop00qs9njhd5e9doeea9uu7e Query : use flama_phc
20240828@182220.6276 6oop00qs9njhd5e9doeea9uu7e Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240828@182220.6299 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240828@182220.6520 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.6536 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182220.6562 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.6577 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182220.6586 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182220.6598 6oop00qs9njhd5e9doeea9uu7e Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240828@182220.6612 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.6626 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182220.6638 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf57590066cf5ccca1','aut66cf58681266cf5ccc45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182220.6642 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.6656 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182220.6684 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf57590066cf5ccca1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66cf58681266cf5ccc45' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240828@182220.6969 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.6999 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182220.7028 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.7043 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182220.7052 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182220.7066 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.7080 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182220.7092 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf57309866cf5cccac','aut66cf58681266cf5ccc45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182220.7096 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.7110 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182220.7149 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cf57309866cf5cccac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cf58681266cf5ccc45' ,0,0 ,2,23.00,20000,?,?,?)
20240828@182220.7402 6oop00qs9njhd5e9doeea9uu7e Query : use flama_phc
20240828@182220.7405 6oop00qs9njhd5e9doeea9uu7e Query : select st.usalote valor from st where st.ref = '323.367.09.00'
20240828@182220.7425 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '323.367.09.00'
20240828@182220.7583 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.7598 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182220.7623 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.7637 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182220.7645 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182220.7659 6oop00qs9njhd5e9doeea9uu7e Query : select sestamp valor from se where ref ='323.367.09.00' and lote = 'r2400053200a'
20240828@182220.7673 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.7687 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182220.7698 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf50246566cf5cccbb','aut66cf58681266cf5ccc45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182220.7702 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.7716 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182220.7743 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf50246566cf5cccbb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66cf58681266cf5ccc45' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240828@182220.7992 6oop00qs9njhd5e9doeea9uu7e Query : use flama_phc
20240828@182220.8003 6oop00qs9njhd5e9doeea9uu7e Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20240828@182220.8024 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1667.00.1'
20240828@182220.8175 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.8191 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182220.8216 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.8233 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182220.8241 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182220.8261 6oop00qs9njhd5e9doeea9uu7e Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2400065200a'
20240828@182220.8275 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.8291 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182220.8302 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf53720866cf5cccca','aut66cf58681266cf5ccc45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182220.8306 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.8321 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182220.8349 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf53720866cf5cccca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66cf58681266cf5ccc45' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240828@182220.8749 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.8766 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182220.8792 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.8807 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182220.8815 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182220.8838 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.8852 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182220.8864 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf57608866cf5cccd7','aut66cf58681266cf5ccc45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182220.8868 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.8882 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182220.8911 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cf57608866cf5cccd7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cf58681266cf5ccc45' ,0,0 ,2,23.00,60000,?,?,?)
20240828@182220.9168 6oop00qs9njhd5e9doeea9uu7e Query : use flama_phc
20240828@182220.9171 6oop00qs9njhd5e9doeea9uu7e Query : select st.usalote valor from st where st.ref = '324.692.00.01'
20240828@182220.9193 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240828@182220.9351 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.9369 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182220.9398 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.9415 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182220.9424 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182220.9438 6oop00qs9njhd5e9doeea9uu7e Query : select sestamp valor from se where ref ='324.692.00.01' and lote = 'r2400209100a'
20240828@182220.9453 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.9470 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182220.9486 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf51061966cf5ccce6','aut66cf58681266cf5ccc45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182220.9490 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.9506 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182220.9537 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf51061966cf5ccce6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66cf58681266cf5ccc45' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240828@182220.9816 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.9859 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182220.9885 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.9899 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182220.9917 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182220.9929 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.9943 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182220.9954 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf50441466cf5cccf2','aut66cf58681266cf5ccc45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182220.9958 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182220.9972 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182221.1600 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cf50441466cf5cccf2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cf58681266cf5ccc45' ,0,0 ,2,23.00,90000,?,?,?)
20240828@182221.3220 6oop00qs9njhd5e9doeea9uu7e Query : use flama_phc
20240828@182221.3240 6oop00qs9njhd5e9doeea9uu7e Query : select st.usalote valor from st where st.ref = '323.318.09.00'
20240828@182221.3470 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '323.318.09.00'
20240828@182221.8270 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182221.8440 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182221.1025 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182221.1040 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182221.1048 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182221.1306 6oop00qs9njhd5e9doeea9uu7e Query : select sestamp valor from se where ref ='323.318.09.00' and lote = 'r2400053200a'
20240828@182221.1431 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182221.1447 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182221.1458 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf54041266cf5ccd22','aut66cf58681266cf5ccc45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182221.1463 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182221.1651 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182221.1742 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf54041266cf5ccd22',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66cf58681266cf5ccc45' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20240828@182221.2040 6oop00qs9njhd5e9doeea9uu7e Query : use flama_phc
20240828@182221.2043 6oop00qs9njhd5e9doeea9uu7e Query : select st.usalote valor from st where st.ref = '324.1675.00.2'
20240828@182221.2062 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1675.00.2'
20240828@182221.2228 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182221.2243 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182221.2266 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182221.2285 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182221.2293 6oop00qs9njhd5e9doeea9uu7e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182221.2304 6oop00qs9njhd5e9doeea9uu7e Query : select sestamp valor from se where ref ='324.1675.00.2' and lote = 'r2200299200a'
20240828@182221.2318 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182221.2331 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182221.2342 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf59767766cf5ccd38','aut66cf58681266cf5ccc45' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182221.2345 6oop00qs9njhd5e9doeea9uu7e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182221.2358 6oop00qs9njhd5e9doeea9uu7e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182221.2385 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf59767766cf5ccd38',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66cf58681266cf5ccc45' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20240828@182221.2653 6oop00qs9njhd5e9doeea9uu7e Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66cf58681266cf5ccc45','2405608','wait',39,'adm09112754980.682000002')
20240828@182221.2727 6oop00qs9njhd5e9doeea9uu7e Query : use flama_phc
20240828@182221.2730 6oop00qs9njhd5e9doeea9uu7e Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240828@182221.2776 6oop00qs9njhd5e9doeea9uu7e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1719';
20240828@182221.2802 6oop00qs9njhd5e9doeea9uu7e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1719';
20240828@182221.2844 6oop00qs9njhd5e9doeea9uu7e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1719';
20240828@182221.2868 6oop00qs9njhd5e9doeea9uu7e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1719';
20240828@182221.3421 km00vggg243aqnp4puce2dg6t2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240828@182221.3432 km00vggg243aqnp4puce2dg6t2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240828@182221.3488 km00vggg243aqnp4puce2dg6t2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1720';
20240828@182221.3553 km00vggg243aqnp4puce2dg6t2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1720';
20240828@182221.3603 km00vggg243aqnp4puce2dg6t2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1720';
20240828@182221.3628 km00vggg243aqnp4puce2dg6t2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1720';
20240828@182221.3690 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182221.3693 km00vggg243aqnp4puce2dg6t2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240828@182221.3756 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182221.3760 km00vggg243aqnp4puce2dg6t2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=201
20240828@182221.3862 km00vggg243aqnp4puce2dg6t2 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'
20240828@182221.4034 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405614 and bi.ref ='324.1684.00.1' and bi.lordem =1
20240828@182221.4394 km00vggg243aqnp4puce2dg6t2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1676.00.1'
20240828@182221.4572 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405614 and bi.ref ='324.1676.00.1' and bi.lordem =2
20240828@182221.4904 km00vggg243aqnp4puce2dg6t2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1675.00.2'
20240828@182221.4924 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405614 and bi.ref ='324.1675.00.2' and bi.lordem =3
20240828@182221.5219 km00vggg243aqnp4puce2dg6t2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1608.00.1'
20240828@182221.5389 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405614 and bi.ref ='324.1608.00.1' and bi.lordem =4
20240828@182221.5922 km00vggg243aqnp4puce2dg6t2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1670.3015'
20240828@182221.6280 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405614 and bi.ref ='325.1670.3015' and bi.lordem =5
20240828@182221.7841 km00vggg243aqnp4puce2dg6t2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9006.00.1'
20240828@182221.8016 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405614 and bi.ref ='328.9006.00.1' and bi.lordem =6
20240828@182221.8805 km00vggg243aqnp4puce2dg6t2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9326.00.1'
20240828@182221.9273 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405614 and bi.ref ='328.9326.00.1' and bi.lordem =7
20240828@182221.9620 km00vggg243aqnp4puce2dg6t2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8253.00.1'
20240828@182221.9781 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405614 and bi.ref ='327.8253.00.1' and bi.lordem =8
20240828@182222.1280 km00vggg243aqnp4puce2dg6t2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8460.00.1'
20240828@182222.2900 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405614 and bi.ref ='327.8460.00.1' and bi.lordem =9
20240828@182222.6100 km00vggg243aqnp4puce2dg6t2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8460.00.1'
20240828@182222.6280 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405614 and bi.ref ='327.8460.00.1' and bi.lordem =9
20240828@182222.6440 km00vggg243aqnp4puce2dg6t2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8410.00.1'
20240828@182222.8210 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405614 and bi.ref ='327.8410.00.1' and bi.lordem =10
20240828@182222.1149 km00vggg243aqnp4puce2dg6t2 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'
20240828@182222.1305 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405614 and bi.ref ='324.1536.00.1' and bi.lordem =11
20240828@182222.1629 km00vggg243aqnp4puce2dg6t2 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'
20240828@182222.1649 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405614 and bi.ref ='324.1536.00.1' and bi.lordem =11
20240828@182222.1669 km00vggg243aqnp4puce2dg6t2 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'
20240828@182222.1689 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405614 and bi.ref ='324.691.00.01' and bi.lordem =12
20240828@182222.1979 km00vggg243aqnp4puce2dg6t2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4421.00.1'
20240828@182222.2142 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405614 and bi.ref ='324.4421.00.1' and bi.lordem =13
20240828@182222.2457 km00vggg243aqnp4puce2dg6t2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4723.00.2'
20240828@182222.2613 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405614 and bi.ref ='324.4723.00.2' and bi.lordem =14
20240828@182222.2931 km00vggg243aqnp4puce2dg6t2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4724.00.1'
20240828@182222.3081 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405614 and bi.ref ='324.4724.00.1' and bi.lordem =15
20240828@182222.3422 km00vggg243aqnp4puce2dg6t2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20240828@182222.3582 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405614 and bi.ref ='324.4521.00.1' and bi.lordem =16
20240828@182222.3888 km00vggg243aqnp4puce2dg6t2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4840.00.1'
20240828@182222.4028 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405614 and bi.ref ='324.4840.00.1' and bi.lordem =17
20240828@182222.4496 km00vggg243aqnp4puce2dg6t2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1884.00.1'
20240828@182222.4660 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405614 and bi.ref ='324.1884.00.1' and bi.lordem =18
20240828@182222.4983 km00vggg243aqnp4puce2dg6t2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20240828@182222.5213 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405614 and bi.ref ='324.1879.00.1' and bi.lordem =19
20240828@182222.5672 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182222.5674 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240828@182222.5706 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182222.5709 km00vggg243aqnp4puce2dg6t2 Query : select top 1 1 valor from td where td.ndoc = 39
20240828@182222.5739 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182222.5742 km00vggg243aqnp4puce2dg6t2 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')
20240828@182222.5768 km00vggg243aqnp4puce2dg6t2 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
20240828@182222.5804 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182222.5807 km00vggg243aqnp4puce2dg6t2 Query : select top 1 ~inactivo valor from cl where no = '100080' and estab = 0 order by inactivo desc
20240828@182222.5946 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182222.5948 km00vggg243aqnp4puce2dg6t2 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240828@182222.5977 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182222.5980 km00vggg243aqnp4puce2dg6t2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240828@182222.6022 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182222.6026 km00vggg243aqnp4puce2dg6t2 Query : select szadrsstamp valor from szadrs where szadrsdesc='sorefoz - electrod. e equipamentos, s.a.'
20240828@182222.6077 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182222.6080 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from td where ndoc = 39
20240828@182222.6091 km00vggg243aqnp4puce2dg6t2 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240828@182222.6105 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.6121 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240828@182222.6139 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.6153 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240828@182222.6183 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.6198 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240828@182222.6212 km00vggg243aqnp4puce2dg6t2 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240828@182222.6280 km00vggg243aqnp4puce2dg6t2 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240828@182222.6301 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.6316 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240828@182222.6333 km00vggg243aqnp4puce2dg6t2 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240828@182222.6508 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.6524 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240828@182222.6566 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240828@182222.6579 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240828@182222.6591 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240828@182222.6602 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240828@182222.6615 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240828@182222.6626 km00vggg243aqnp4puce2dg6t2 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240828@182222.6637 km00vggg243aqnp4puce2dg6t2 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66cf53147066cf5cce97',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240828@182222.6887 km00vggg243aqnp4puce2dg6t2 Query : select top 1 fno valor from wsftdata order by fno desc
20240828@182222.6912 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.6929 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240828@182222.6951 km00vggg243aqnp4puce2dg6t2 Query : select 'normal' from dummy
20240828@182222.6966 km00vggg243aqnp4puce2dg6t2 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66cf53147066cf5cce97',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',516,100080,0,'2024-08-28',39,'euro',0,0,2024 ,?,?)
20240828@182222.7256 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182222.7268 km00vggg243aqnp4puce2dg6t2 Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20240828@182222.7290 km00vggg243aqnp4puce2dg6t2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240828@182222.7440 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.7456 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182222.7483 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.7498 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182222.7507 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182222.7520 km00vggg243aqnp4puce2dg6t2 Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2301217200a'
20240828@182222.7534 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.7548 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182222.7569 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf50961066cf5cceb7','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182222.7573 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.7587 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182222.7618 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf50961066cf5cceb7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240828@182222.7865 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182222.7868 km00vggg243aqnp4puce2dg6t2 Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20240828@182222.7887 km00vggg243aqnp4puce2dg6t2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1676.00.1'
20240828@182222.8040 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.8055 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182222.8081 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.8095 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182222.8103 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182222.8115 km00vggg243aqnp4puce2dg6t2 Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2400173900a'
20240828@182222.8128 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.8141 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182222.8152 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf50419966cf5ccec6','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182222.8156 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.8172 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182222.8199 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf50419966cf5ccec6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240828@182222.8450 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182222.8453 km00vggg243aqnp4puce2dg6t2 Query : select st.usalote valor from st where st.ref = '324.1675.00.2'
20240828@182222.8472 km00vggg243aqnp4puce2dg6t2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1675.00.2'
20240828@182222.8486 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.8500 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182222.8525 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.8540 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182222.8548 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182222.8559 km00vggg243aqnp4puce2dg6t2 Query : select sestamp valor from se where ref ='324.1675.00.2' and lote = 'r2200299200a'
20240828@182222.8573 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.8587 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182222.8598 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf50033066cf5cced1','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182222.8602 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.8616 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182222.8652 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf50033066cf5cced1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240828@182222.8916 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182222.8919 km00vggg243aqnp4puce2dg6t2 Query : select st.usalote valor from st where st.ref = '324.1608.00.1'
20240828@182222.8938 km00vggg243aqnp4puce2dg6t2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1608.00.1'
20240828@182222.9096 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.9111 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182222.9186 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.9330 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182222.9444 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182222.9557 km00vggg243aqnp4puce2dg6t2 Query : select sestamp valor from se where ref ='324.1608.00.1' and lote = 'r2100202100a'
20240828@182222.9580 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.9648 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182222.9660 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf50994166cf5ccee9','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182222.9704 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182222.9746 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182222.9775 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf50994166cf5ccee9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240828@182223.3900 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182223.4100 km00vggg243aqnp4puce2dg6t2 Query : select st.usalote valor from st where st.ref = '325.1670.3015'
20240828@182223.7300 km00vggg243aqnp4puce2dg6t2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '325.1670.3015'
20240828@182223.2610 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.2770 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.3010 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.1002 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.1452 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182223.2242 km00vggg243aqnp4puce2dg6t2 Query : select sestamp valor from se where ref ='325.1670.3015' and lote = 'r2301133100a'
20240828@182223.2256 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.2274 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.2285 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf51411466cf5ccf37','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182223.2290 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.2304 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.2331 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf51411466cf5ccf37',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240828@182223.2600 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182223.2603 km00vggg243aqnp4puce2dg6t2 Query : select st.usalote valor from st where st.ref = '328.9006.00.1'
20240828@182223.2622 km00vggg243aqnp4puce2dg6t2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.9006.00.1'
20240828@182223.2791 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.2806 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.2831 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.2844 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.2852 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182223.2865 km00vggg243aqnp4puce2dg6t2 Query : select sestamp valor from se where ref ='328.9006.00.1' and lote = 'r2300691200a'
20240828@182223.2878 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.2891 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.2902 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf51028666cf5ccf46','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182223.2906 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.2920 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.2955 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf51028666cf5ccf46',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240828@182223.3230 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.3247 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.3273 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.3287 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.3296 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182223.3309 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.3339 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.3350 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf56837466cf5ccf50','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182223.3355 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.3372 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.3399 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cf56837466cf5ccf50',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,70000,?,?,?)
20240828@182223.3671 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182223.3675 km00vggg243aqnp4puce2dg6t2 Query : select st.usalote valor from st where st.ref = '328.9326.00.1'
20240828@182223.3697 km00vggg243aqnp4puce2dg6t2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9326.00.1'
20240828@182223.3848 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.3866 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.3892 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.3906 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.3915 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182223.3927 km00vggg243aqnp4puce2dg6t2 Query : select sestamp valor from se where ref ='328.9326.00.1' and lote = 'r2300691100a'
20240828@182223.3940 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.3955 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.3977 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf53001366cf5ccf60','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182223.3982 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.3996 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.4024 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf53001366cf5ccf60',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20240828@182223.4484 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.4515 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.4540 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.4555 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.4563 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182223.4575 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.4589 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.4601 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf52129266cf5ccf6f','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182223.4606 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.4620 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.4647 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cf52129266cf5ccf6f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,100000,?,?,?)
20240828@182223.4916 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182223.4919 km00vggg243aqnp4puce2dg6t2 Query : select st.usalote valor from st where st.ref = '327.8253.00.1'
20240828@182223.4939 km00vggg243aqnp4puce2dg6t2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8253.00.1'
20240828@182223.5090 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.5106 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.5131 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.5145 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.5154 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182223.5166 km00vggg243aqnp4puce2dg6t2 Query : select sestamp valor from se where ref ='327.8253.00.1' and lote = 'r2400072300a'
20240828@182223.5179 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.5193 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.5204 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf53398066cf5ccf7e','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182223.5208 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.5222 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.5261 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf53398066cf5ccf7e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20240828@182223.5519 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.5534 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.5560 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.5574 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.5592 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182223.5605 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.5620 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.5632 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf51935266cf5ccf88','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182223.5636 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.5650 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.5678 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cf51935266cf5ccf88',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,130000,?,?,?)
20240828@182223.5931 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182223.5934 km00vggg243aqnp4puce2dg6t2 Query : select st.usalote valor from st where st.ref = '327.8460.00.1'
20240828@182223.5954 km00vggg243aqnp4puce2dg6t2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8460.00.1'
20240828@182223.6106 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.6123 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.6148 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.6164 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.6172 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182223.6184 km00vggg243aqnp4puce2dg6t2 Query : select sestamp valor from se where ref ='327.8460.00.1' and lote = 'r2300002100a'
20240828@182223.6208 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.6223 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.6235 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf55050466cf5ccf97','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182223.6239 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.6254 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.6282 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf55050466cf5ccf97',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,150000,?,?,?,?,?)
20240828@182223.6537 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.6552 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.6589 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.6604 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.6612 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182223.6625 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.6638 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.6650 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf52447466cf5ccfa1','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182223.6653 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.6668 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.6696 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cf52447466cf5ccfa1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,160000,?,?,?)
20240828@182223.6934 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182223.6937 km00vggg243aqnp4puce2dg6t2 Query : select st.usalote valor from st where st.ref = '327.8460.00.1'
20240828@182223.6956 km00vggg243aqnp4puce2dg6t2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8460.00.1'
20240828@182223.6969 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.6986 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.7027 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.7040 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.7049 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182223.7062 km00vggg243aqnp4puce2dg6t2 Query : select sestamp valor from se where ref ='327.8460.00.1' and lote = 'r2300002100a'
20240828@182223.7074 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.7088 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.7098 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf53627366cf5ccfac','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182223.7102 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.7119 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.7158 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf53627366cf5ccfac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,180000,?,?,?,?,?)
20240828@182223.7580 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.7596 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.7621 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.7635 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.7643 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182223.7656 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.7670 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.7681 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf56818766cf5ccfba','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182223.7685 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.7699 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.7726 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cf56818766cf5ccfba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,190000,?,?,?)
20240828@182223.7997 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182223.8000 km00vggg243aqnp4puce2dg6t2 Query : select st.usalote valor from st where st.ref = '327.8410.00.1'
20240828@182223.8020 km00vggg243aqnp4puce2dg6t2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8410.00.1'
20240828@182223.9338 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.9355 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.9447 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.9463 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.9471 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182223.9502 km00vggg243aqnp4puce2dg6t2 Query : select sestamp valor from se where ref ='327.8410.00.1' and lote = 'r2301152200a'
20240828@182223.9515 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.9529 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.9540 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf57477566cf5ccfe8','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182223.9544 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.9557 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.9587 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf57477566cf5ccfe8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,210000,?,?,?,?,?)
20240828@182223.9888 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.9903 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182223.9928 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.9942 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.9950 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182223.9962 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182223.9976 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182223.9987 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf54256066cf5ccff3','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182223.9991 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.5000 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.3100 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cf54256066cf5ccff3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,220000,?,?,?)
20240828@182224.2690 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182224.2720 km00vggg243aqnp4puce2dg6t2 Query : select st.usalote valor from st where st.ref = '324.1536.00.1'
20240828@182224.2930 km00vggg243aqnp4puce2dg6t2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240828@182224.4500 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.4660 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.4900 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.5040 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.5120 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182224.5240 km00vggg243aqnp4puce2dg6t2 Query : select sestamp valor from se where ref ='324.1536.00.1' and lote = 'r2100240100a'
20240828@182224.5370 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.5500 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.5710 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf58429366cf5cd00d','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182224.5750 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.5890 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.6170 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf58429366cf5cd00d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,240000,?,?,?,?,?)
20240828@182224.8740 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182224.8770 km00vggg243aqnp4puce2dg6t2 Query : select st.usalote valor from st where st.ref = '324.1536.00.1'
20240828@182224.8950 km00vggg243aqnp4puce2dg6t2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240828@182224.9160 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.9300 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.9560 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.9700 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.9770 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182224.9890 km00vggg243aqnp4puce2dg6t2 Query : select sestamp valor from se where ref ='324.1536.00.1' and lote = 'r2100240100a'
20240828@182224.1001 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.1015 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.1026 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf56447266cf5cd018','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182224.1030 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.1043 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.1071 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf56447266cf5cd018',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20240828@182224.1316 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182224.1319 km00vggg243aqnp4puce2dg6t2 Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240828@182224.1337 km00vggg243aqnp4puce2dg6t2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240828@182224.1350 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.1366 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.1391 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.1405 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.1413 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182224.1443 km00vggg243aqnp4puce2dg6t2 Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240828@182224.1456 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.1471 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.1482 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf55101366cf5cd023','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182224.1485 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.1500 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.1526 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf55101366cf5cd023',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,260000,?,?,?,?,?)
20240828@182224.1782 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.1796 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.1822 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.1836 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.1844 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182224.1855 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.1870 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.1880 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf51394366cf5cd02d','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182224.1884 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.1898 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.1924 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cf51394366cf5cd02d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,270000,?,?,?)
20240828@182224.2166 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182224.2169 km00vggg243aqnp4puce2dg6t2 Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20240828@182224.2199 km00vggg243aqnp4puce2dg6t2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.4421.00.1'
20240828@182224.2352 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.2367 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.2393 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.2407 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.2415 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182224.2426 km00vggg243aqnp4puce2dg6t2 Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2100324100a'
20240828@182224.2447 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.2461 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.2473 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf54287566cf5cd03b','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182224.2478 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.2492 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.2519 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf54287566cf5cd03b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,290000,?,?,?,?,?)
20240828@182224.2788 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182224.2791 km00vggg243aqnp4puce2dg6t2 Query : select st.usalote valor from st where st.ref = '324.4723.00.2'
20240828@182224.2810 km00vggg243aqnp4puce2dg6t2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.4723.00.2'
20240828@182224.2958 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.2974 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.2999 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.3014 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.3032 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182224.3044 km00vggg243aqnp4puce2dg6t2 Query : select sestamp valor from se where ref ='324.4723.00.2' and lote = 'r2200682200a'
20240828@182224.3057 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.3071 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.3082 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf53367066cf5cd04a','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182224.3086 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.3100 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.3127 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf53367066cf5cd04a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',9.000 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,300000,?,?,?,?,?)
20240828@182224.3417 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182224.3421 km00vggg243aqnp4puce2dg6t2 Query : select st.usalote valor from st where st.ref = '324.4724.00.1'
20240828@182224.3440 km00vggg243aqnp4puce2dg6t2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.4724.00.1'
20240828@182224.3614 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.3630 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.3653 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.3667 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.3675 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182224.3687 km00vggg243aqnp4puce2dg6t2 Query : select sestamp valor from se where ref ='324.4724.00.1' and lote = 'r2200085150a'
20240828@182224.3699 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.3713 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.3724 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf55514266cf5cd05a','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182224.3728 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.3742 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.3780 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf55514266cf5cd05a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,310000,?,?,?,?,?)
20240828@182224.4137 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182224.4140 km00vggg243aqnp4puce2dg6t2 Query : select st.usalote valor from st where st.ref = '324.4521.00.1'
20240828@182224.4159 km00vggg243aqnp4puce2dg6t2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4521.00.1'
20240828@182224.4489 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.4504 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.4531 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.4544 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.4552 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182224.4564 km00vggg243aqnp4puce2dg6t2 Query : select sestamp valor from se where ref ='324.4521.00.1' and lote = 'r2400052200a'
20240828@182224.4577 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.4591 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.4602 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf55726366cf5cd06f','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182224.4606 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.4622 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.4648 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf55726366cf5cd06f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,320000,?,?,?,?,?)
20240828@182224.4914 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182224.4917 km00vggg243aqnp4puce2dg6t2 Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20240828@182224.4936 km00vggg243aqnp4puce2dg6t2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4840.00.1'
20240828@182224.5087 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.5102 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.5127 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.5140 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.5148 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182224.5160 km00vggg243aqnp4puce2dg6t2 Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2400064200a'
20240828@182224.5173 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.5187 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.5207 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf59559866cf5cd07e','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182224.5211 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.5225 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.5319 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf59559866cf5cd07e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,330000,?,?,?,?,?)
20240828@182224.5584 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182224.5587 km00vggg243aqnp4puce2dg6t2 Query : select st.usalote valor from st where st.ref = '324.1884.00.1'
20240828@182224.5606 km00vggg243aqnp4puce2dg6t2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1884.00.1'
20240828@182224.5769 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.5785 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.5809 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.5822 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.5831 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182224.5842 km00vggg243aqnp4puce2dg6t2 Query : select sestamp valor from se where ref ='324.1884.00.1' and lote = 'r2301208100a'
20240828@182224.5855 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.5869 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.5880 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf58454466cf5cd08e','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182224.5884 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.5898 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.5924 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf58454466cf5cd08e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,340000,?,?,?,?,?)
20240828@182224.6187 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.6201 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.6225 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.6240 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.6249 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182224.6261 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.6276 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.6287 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf50945366cf5cd098','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182224.6291 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.6305 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.6333 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cf50945366cf5cd098',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,350000,?,?,?)
20240828@182224.6625 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182224.6628 km00vggg243aqnp4puce2dg6t2 Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20240828@182224.6649 km00vggg243aqnp4puce2dg6t2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.1879.00.1'
20240828@182224.6880 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.6898 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.6924 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.6939 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.6947 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182224.6961 km00vggg243aqnp4puce2dg6t2 Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2300643200a'
20240828@182224.6985 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.7000 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.7012 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf53593866cf5cd0aa','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182224.7017 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.7031 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.7060 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66cf53593866cf5cd0aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,370000,?,?,?,?,?)
20240828@182224.7344 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.7371 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.7399 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.7415 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.7423 km00vggg243aqnp4puce2dg6t2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240828@182224.7436 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.7451 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240828@182224.7464 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66cf50880366cf5cd0b5','aut66cf53147066cf5cce97' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240828@182224.7468 km00vggg243aqnp4puce2dg6t2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240828@182224.7483 km00vggg243aqnp4puce2dg6t2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240828@182224.7512 km00vggg243aqnp4puce2dg6t2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66cf50880366cf5cd0b5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66cf53147066cf5cce97' ,0,0 ,2,23.00,380000,?,?,?)
20240828@182224.7773 km00vggg243aqnp4puce2dg6t2 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66cf53147066cf5cce97','2405614','wait',39,'adm09112754980.682000002')
20240828@182224.7851 km00vggg243aqnp4puce2dg6t2 Query : use flama_phc
20240828@182224.7855 km00vggg243aqnp4puce2dg6t2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240828@182224.7886 km00vggg243aqnp4puce2dg6t2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1720';
20240828@182224.7915 km00vggg243aqnp4puce2dg6t2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1720';
20240828@182224.7958 km00vggg243aqnp4puce2dg6t2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1720';
20240828@182224.7981 km00vggg243aqnp4puce2dg6t2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1720';
20240828@183611.3440 qdmijsq5u7di581iq5vecbb89l Query : use flama_phc
20240828@183611.3446 qdmijsq5u7di581iq5vecbb89l Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240828@183611.3587 qdmijsq5u7di581iq5vecbb89l Query : use flama_phc
20240828@183611.3590 qdmijsq5u7di581iq5vecbb89l Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240828@191909.9707 qg5dis60i85i9upn6lnu3lh3gi Query : use flama_phc
20240828@191909.9711 qg5dis60i85i9upn6lnu3lh3gi Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240828@191909.9807 qg5dis60i85i9upn6lnu3lh3gi Query : use flama_phc
20240828@191909.9810 qg5dis60i85i9upn6lnu3lh3gi Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240828@193610.3990 rdenvjs8h996sokmn2uril43o8 Query : use flama_phc
20240828@193610.4040 rdenvjs8h996sokmn2uril43o8 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240828@193610.5180 rdenvjs8h996sokmn2uril43o8 Query : use flama_phc
20240828@193610.5220 rdenvjs8h996sokmn2uril43o8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240828@201915.2749 595eakm4em47h3be25bvr2gqov Query : use flama_phc
20240828@201915.2754 595eakm4em47h3be25bvr2gqov Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240828@201915.2847 595eakm4em47h3be25bvr2gqov Query : use flama_phc
20240828@201915.2851 595eakm4em47h3be25bvr2gqov Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240828@203614.8889 2it4nafkfq1c21drot9un4srpb Query : use flama_phc
20240828@203614.8895 2it4nafkfq1c21drot9un4srpb Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240828@203614.8996 2it4nafkfq1c21drot9un4srpb Query : use flama_phc
20240828@203614.9002 2it4nafkfq1c21drot9un4srpb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240828@211909.9740 7q670mumlpkch52696v5e8su9v Query : use flama_phc
20240828@211909.9745 7q670mumlpkch52696v5e8su9v Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240828@211909.9835 7q670mumlpkch52696v5e8su9v Query : use flama_phc
20240828@211909.9838 7q670mumlpkch52696v5e8su9v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240828@213610.1624 26qtt95pb3173j0hffc37tbjf2 Query : use flama_phc
20240828@213610.1629 26qtt95pb3173j0hffc37tbjf2 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240828@213610.1725 26qtt95pb3173j0hffc37tbjf2 Query : use flama_phc
20240828@213610.1729 26qtt95pb3173j0hffc37tbjf2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240828@221911.3658 6jd5m12hd0r2stj4iivl0sb4jf Query : use flama_phc
20240828@221911.3665 6jd5m12hd0r2stj4iivl0sb4jf Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240828@221911.3766 6jd5m12hd0r2stj4iivl0sb4jf Query : use flama_phc
20240828@221911.3770 6jd5m12hd0r2stj4iivl0sb4jf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240828@223024.4981 pu41lobbp8gj0nm5soorue6ju5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240828@223024.4994 pu41lobbp8gj0nm5soorue6ju5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240828@223024.5049 pu41lobbp8gj0nm5soorue6ju5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1721';
20240828@223024.5107 pu41lobbp8gj0nm5soorue6ju5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1721';
20240828@223024.5161 pu41lobbp8gj0nm5soorue6ju5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1721';
20240828@223024.5189 pu41lobbp8gj0nm5soorue6ju5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1721';
20240828@223024.5450 dlf8mrr4t6hamh1k7ncppld3m3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240828@223024.5463 dlf8mrr4t6hamh1k7ncppld3m3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240828@223024.5525 dlf8mrr4t6hamh1k7ncppld3m3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1722';
20240828@223024.5579 dlf8mrr4t6hamh1k7ncppld3m3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1722';
20240828@223024.5632 dlf8mrr4t6hamh1k7ncppld3m3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1722';
20240828@223024.5659 dlf8mrr4t6hamh1k7ncppld3m3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1722';
20240828@223030.8125 pu41lobbp8gj0nm5soorue6ju5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240828@223030.8137 pu41lobbp8gj0nm5soorue6ju5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240828@223030.8193 pu41lobbp8gj0nm5soorue6ju5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1723';
20240828@223030.8243 pu41lobbp8gj0nm5soorue6ju5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1723';
20240828@223030.8292 pu41lobbp8gj0nm5soorue6ju5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1723';
20240828@223030.8316 pu41lobbp8gj0nm5soorue6ju5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1723';
20240828@223611.5819 8u1u9qti73ucdl72tuc3g8ui92 Query : use flama_phc
20240828@223611.5823 8u1u9qti73ucdl72tuc3g8ui92 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240828@223611.5930 8u1u9qti73ucdl72tuc3g8ui92 Query : use flama_phc
20240828@223611.5934 8u1u9qti73ucdl72tuc3g8ui92 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240828@231911.5682 c1q0g0j1lieqoga9tdoa48a9bd Query : use flama_phc
20240828@231911.5723 c1q0g0j1lieqoga9tdoa48a9bd Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240828@231911.5969 c1q0g0j1lieqoga9tdoa48a9bd Query : use flama_phc
20240828@231911.5974 c1q0g0j1lieqoga9tdoa48a9bd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240828@233611.5157 a26k4j5qctjuav6tr1v3dctnag Query : use flama_phc
20240828@233611.5162 a26k4j5qctjuav6tr1v3dctnag Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240828@233611.5254 a26k4j5qctjuav6tr1v3dctnag Query : use flama_phc
20240828@233611.5258 a26k4j5qctjuav6tr1v3dctnag Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@071912.8679 dgd49rmnckkc3cqn7ugrr7h5fl Query : use flama_phc
20240829@071912.8683 dgd49rmnckkc3cqn7ugrr7h5fl Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@071912.8830 dgd49rmnckkc3cqn7ugrr7h5fl Query : use flama_phc
20240829@071912.8834 dgd49rmnckkc3cqn7ugrr7h5fl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@073645.3641 kjqgvpj3kbp2vei2ff6rnrgr2e Query : use flama_phc
20240829@073645.3646 kjqgvpj3kbp2vei2ff6rnrgr2e Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@073645.3737 kjqgvpj3kbp2vei2ff6rnrgr2e Query : use flama_phc
20240829@073645.3742 kjqgvpj3kbp2vei2ff6rnrgr2e Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@081909.3237 3k48ut1s2b6ioe39u48o5oqsef Query : use flama_phc
20240829@081909.3242 3k48ut1s2b6ioe39u48o5oqsef Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@081909.5097 3k48ut1s2b6ioe39u48o5oqsef Query : use flama_phc
20240829@081909.5100 3k48ut1s2b6ioe39u48o5oqsef Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@083609.3744 t61b4jt7v7ikeg9ho3fr5kfpu6 Query : use flama_phc
20240829@083609.3749 t61b4jt7v7ikeg9ho3fr5kfpu6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@083609.3890 t61b4jt7v7ikeg9ho3fr5kfpu6 Query : use flama_phc
20240829@083609.3895 t61b4jt7v7ikeg9ho3fr5kfpu6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@091918.9400 8ib0agv0cf1jp0br6o57njm0dp Query : use flama_phc
20240829@091918.9405 8ib0agv0cf1jp0br6o57njm0dp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@091918.9539 8ib0agv0cf1jp0br6o57njm0dp Query : use flama_phc
20240829@091918.9543 8ib0agv0cf1jp0br6o57njm0dp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@093619.4123 a1mn4376ojjrjhc70dr1u34hee Query : use flama_phc
20240829@093619.4127 a1mn4376ojjrjhc70dr1u34hee Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@093619.4237 a1mn4376ojjrjhc70dr1u34hee Query : use flama_phc
20240829@093619.4249 a1mn4376ojjrjhc70dr1u34hee Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@095354.6080 n0unhht8u99p6etoi65vrifevm Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240829@095354.6410 n0unhht8u99p6etoi65vrifevm Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240829@095354.8640 n0unhht8u99p6etoi65vrifevm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1724';
20240829@095354.9300 n0unhht8u99p6etoi65vrifevm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1724';
20240829@095354.1002 n0unhht8u99p6etoi65vrifevm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1724';
20240829@095354.1033 n0unhht8u99p6etoi65vrifevm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1724';
20240829@095354.1096 n0unhht8u99p6etoi65vrifevm Query : use flama_phc
20240829@095354.1101 n0unhht8u99p6etoi65vrifevm Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240829@095354.1220 n0unhht8u99p6etoi65vrifevm Query : use flama_phc
20240829@095354.1224 n0unhht8u99p6etoi65vrifevm Query : select no, estab,szadrsdesc from szadrs where u_coddest=4544
20240829@095354.1313 n0unhht8u99p6etoi65vrifevm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2031.00.1'
20240829@095354.1564 n0unhht8u99p6etoi65vrifevm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240829@095354.1809 n0unhht8u99p6etoi65vrifevm Query : use flama_phc
20240829@095354.1827 n0unhht8u99p6etoi65vrifevm Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240829@095354.2126 n0unhht8u99p6etoi65vrifevm Query : use flama_phc
20240829@095354.2143 n0unhht8u99p6etoi65vrifevm Query : select top 1 1 valor from td where td.ndoc = 39
20240829@095354.2255 n0unhht8u99p6etoi65vrifevm Query : use flama_phc
20240829@095354.2259 n0unhht8u99p6etoi65vrifevm 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')
20240829@095354.2459 n0unhht8u99p6etoi65vrifevm 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
20240829@095354.2814 n0unhht8u99p6etoi65vrifevm Query : use flama_phc
20240829@095354.2817 n0unhht8u99p6etoi65vrifevm Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240829@095354.2945 n0unhht8u99p6etoi65vrifevm Query : use flama_phc
20240829@095354.2949 n0unhht8u99p6etoi65vrifevm Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240829@095354.3072 n0unhht8u99p6etoi65vrifevm Query : use flama_phc
20240829@095354.3077 n0unhht8u99p6etoi65vrifevm Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240829@095354.3161 n0unhht8u99p6etoi65vrifevm Query : use flama_phc
20240829@095354.3165 n0unhht8u99p6etoi65vrifevm Query : select szadrsstamp valor from szadrs where szadrsdesc='jom covilhÃ'
20240829@095354.3251 n0unhht8u99p6etoi65vrifevm Query : use flama_phc
20240829@095354.3255 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from td where ndoc = 39
20240829@095354.3343 n0unhht8u99p6etoi65vrifevm Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240829@095354.3425 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095354.4017 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@095354.4142 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095354.4180 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@095354.4256 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095354.4275 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@095354.4301 n0unhht8u99p6etoi65vrifevm Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@095354.4697 n0unhht8u99p6etoi65vrifevm Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@095354.4944 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095354.4978 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@095354.5102 n0unhht8u99p6etoi65vrifevm Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d033367566d0372269' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240829@095354.5438 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095354.5459 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@095354.5529 n0unhht8u99p6etoi65vrifevm Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240829@095354.5656 n0unhht8u99p6etoi65vrifevm Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240829@095354.5921 n0unhht8u99p6etoi65vrifevm Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240829@095354.6023 n0unhht8u99p6etoi65vrifevm Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240829@095354.6158 n0unhht8u99p6etoi65vrifevm Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240829@095354.6256 n0unhht8u99p6etoi65vrifevm Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240829@095354.6391 n0unhht8u99p6etoi65vrifevm Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d033367566d0372269',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240829@095354.6918 n0unhht8u99p6etoi65vrifevm Query : select top 1 fno valor from wsftdata order by fno desc
20240829@095354.7104 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095354.7137 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@095354.7198 n0unhht8u99p6etoi65vrifevm Query : select 'normal' from dummy
20240829@095354.7262 n0unhht8u99p6etoi65vrifevm Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d033367566d0372269',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',517,101621,0,'2024-08-29',39,'euro',0,0,2024 ,?,?)
20240829@095354.7954 n0unhht8u99p6etoi65vrifevm Query : use flama_phc
20240829@095354.7990 n0unhht8u99p6etoi65vrifevm Query : select st.usalote valor from st where st.ref = '324.2031.00.1'
20240829@095354.8110 n0unhht8u99p6etoi65vrifevm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2031.00.1'
20240829@095354.8262 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095354.8280 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@095354.8312 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095354.8344 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@095354.8356 n0unhht8u99p6etoi65vrifevm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@095354.8417 n0unhht8u99p6etoi65vrifevm Query : select sestamp valor from se where ref ='324.2031.00.1' and lote = 'r2100232100a'
20240829@095354.8607 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095354.8625 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@095354.8640 n0unhht8u99p6etoi65vrifevm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d030100666d03722d2','aut66d033367566d0372269' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@095354.8718 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095354.8737 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@095354.8798 n0unhht8u99p6etoi65vrifevm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d030100666d03722d2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66d033367566d0372269' ,0,0 ,2,23.00,10000,?,?,?,?)
20240829@095354.9275 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095354.9302 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@095354.9337 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095354.9357 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@095354.9366 n0unhht8u99p6etoi65vrifevm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@095354.9385 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095354.9404 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@095354.9418 n0unhht8u99p6etoi65vrifevm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d031354166d03722e5','aut66d033367566d0372269' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@095354.9423 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095354.9440 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@095354.9477 n0unhht8u99p6etoi65vrifevm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d031354166d03722e5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d033367566d0372269' ,0,0 ,2,23.00,20000,?,?,?)
20240829@095354.9764 n0unhht8u99p6etoi65vrifevm Query : use flama_phc
20240829@095354.9776 n0unhht8u99p6etoi65vrifevm Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240829@095354.9943 n0unhht8u99p6etoi65vrifevm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.646.00.01'
20240829@095355.1590 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095355.1920 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@095355.2430 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095355.2740 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@095355.2980 n0unhht8u99p6etoi65vrifevm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@095355.3240 n0unhht8u99p6etoi65vrifevm Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240829@095355.3540 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095355.5220 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@095355.5390 n0unhht8u99p6etoi65vrifevm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d039318666d0372308','aut66d033367566d0372269' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@095355.5440 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095355.5670 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@095355.6010 n0unhht8u99p6etoi65vrifevm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut66d039318666d0372308',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d033367566d0372269' ,0,0 ,2,23.00,40000,?,?,?,?)
20240829@095355.8960 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095355.9210 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@095355.9560 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095355.9830 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@095355.1009 n0unhht8u99p6etoi65vrifevm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@095355.1190 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095355.1211 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@095355.1277 n0unhht8u99p6etoi65vrifevm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d033987066d037231d','aut66d033367566d0372269' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@095355.1289 n0unhht8u99p6etoi65vrifevm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@095355.1375 n0unhht8u99p6etoi65vrifevm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@095355.1447 n0unhht8u99p6etoi65vrifevm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d033987066d037231d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d033367566d0372269' ,0,0 ,2,23.00,50000,?,?,?)
20240829@095355.1770 n0unhht8u99p6etoi65vrifevm Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d033367566d0372269','2405615','wait',39,'adm09112754980.682000002')
20240829@095355.1930 n0unhht8u99p6etoi65vrifevm Query : use flama_phc
20240829@095355.1938 n0unhht8u99p6etoi65vrifevm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@095355.1978 n0unhht8u99p6etoi65vrifevm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1724';
20240829@095355.2034 n0unhht8u99p6etoi65vrifevm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1724';
20240829@095355.2198 n0unhht8u99p6etoi65vrifevm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1724';
20240829@095355.2240 n0unhht8u99p6etoi65vrifevm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1724';
20240829@101921.2331 k0lin78i6a11ccjp2jarnlt2fi Query : use flama_phc
20240829@101921.2336 k0lin78i6a11ccjp2jarnlt2fi Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@101921.2448 k0lin78i6a11ccjp2jarnlt2fi Query : use flama_phc
20240829@101921.2451 k0lin78i6a11ccjp2jarnlt2fi Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@103621.5630 oupfkguc2raeerbe1g2e4fpclf Query : use flama_phc
20240829@103621.5680 oupfkguc2raeerbe1g2e4fpclf Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@103621.1128 oupfkguc2raeerbe1g2e4fpclf Query : use flama_phc
20240829@103621.1133 oupfkguc2raeerbe1g2e4fpclf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@111914.5306 qkdkj8s7otp7gijhps6tnnc8bi Query : use flama_phc
20240829@111914.5313 qkdkj8s7otp7gijhps6tnnc8bi Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@111914.5406 qkdkj8s7otp7gijhps6tnnc8bi Query : use flama_phc
20240829@111914.5410 qkdkj8s7otp7gijhps6tnnc8bi Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@113614.5774 rq64k3ith3k2lqe62usl3snel2 Query : use flama_phc
20240829@113614.5779 rq64k3ith3k2lqe62usl3snel2 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@113614.6124 rq64k3ith3k2lqe62usl3snel2 Query : use flama_phc
20240829@113614.6162 rq64k3ith3k2lqe62usl3snel2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@121914.7762 jbpifhm8btn9n2q8n7dn0g1r33 Query : use flama_phc
20240829@121914.7767 jbpifhm8btn9n2q8n7dn0g1r33 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@121914.7854 jbpifhm8btn9n2q8n7dn0g1r33 Query : use flama_phc
20240829@121914.7857 jbpifhm8btn9n2q8n7dn0g1r33 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@123615.3867 u8m3kmek69br9e0cecrnhses74 Query : use flama_phc
20240829@123615.3872 u8m3kmek69br9e0cecrnhses74 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@123615.3968 u8m3kmek69br9e0cecrnhses74 Query : use flama_phc
20240829@123615.3972 u8m3kmek69br9e0cecrnhses74 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@131911.9556 1ngq14emeraro36ok1vt9luoed Query : use flama_phc
20240829@131911.9561 1ngq14emeraro36ok1vt9luoed Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@131911.9654 1ngq14emeraro36ok1vt9luoed Query : use flama_phc
20240829@131911.9658 1ngq14emeraro36ok1vt9luoed Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@133612.1710 2nnil2em2fmr3324cd51pb9e4d Query : use flama_phc
20240829@133612.1714 2nnil2em2fmr3324cd51pb9e4d Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@133612.1795 2nnil2em2fmr3324cd51pb9e4d Query : use flama_phc
20240829@133612.1798 2nnil2em2fmr3324cd51pb9e4d Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@141915.6494 ut40rdi44vougt2m8f32of0t63 Query : use flama_phc
20240829@141915.6498 ut40rdi44vougt2m8f32of0t63 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@141915.6593 ut40rdi44vougt2m8f32of0t63 Query : use flama_phc
20240829@141915.6597 ut40rdi44vougt2m8f32of0t63 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@143616.2430 pspjk6nee63brkg4et9q6bo5qh Query : use flama_phc
20240829@143616.2480 pspjk6nee63brkg4et9q6bo5qh Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@143616.3440 pspjk6nee63brkg4et9q6bo5qh Query : use flama_phc
20240829@143616.3480 pspjk6nee63brkg4et9q6bo5qh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@151913.5351 khpkr3a6dmo4fsjf9un6bsfcca Query : use flama_phc
20240829@151913.5356 khpkr3a6dmo4fsjf9un6bsfcca Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@151913.5453 khpkr3a6dmo4fsjf9un6bsfcca Query : use flama_phc
20240829@151913.5457 khpkr3a6dmo4fsjf9un6bsfcca Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@153613.3627 o60t9m6pv8c7kih7von8ve6frq Query : use flama_phc
20240829@153613.3632 o60t9m6pv8c7kih7von8ve6frq Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@153613.3766 o60t9m6pv8c7kih7von8ve6frq Query : use flama_phc
20240829@153613.3770 o60t9m6pv8c7kih7von8ve6frq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@161910.8198 hkpd1jesog9r2k8e0b856hno88 Query : use flama_phc
20240829@161910.8203 hkpd1jesog9r2k8e0b856hno88 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@161910.8378 hkpd1jesog9r2k8e0b856hno88 Query : use flama_phc
20240829@161910.8382 hkpd1jesog9r2k8e0b856hno88 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@163610.6792 eopdo53doajov2oo07otjkgjq6 Query : use flama_phc
20240829@163610.6797 eopdo53doajov2oo07otjkgjq6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@163610.6897 eopdo53doajov2oo07otjkgjq6 Query : use flama_phc
20240829@163610.6901 eopdo53doajov2oo07otjkgjq6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@171911.8715 s38q82n0hpqvbh8c254e15qfn3 Query : use flama_phc
20240829@171911.8720 s38q82n0hpqvbh8c254e15qfn3 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@171911.8856 s38q82n0hpqvbh8c254e15qfn3 Query : use flama_phc
20240829@171911.8861 s38q82n0hpqvbh8c254e15qfn3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@173611.9514 jir1c3e7svv6ed8kslch8j4hok Query : use flama_phc
20240829@173611.9520 jir1c3e7svv6ed8kslch8j4hok Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@173611.9617 jir1c3e7svv6ed8kslch8j4hok Query : use flama_phc
20240829@173611.9622 jir1c3e7svv6ed8kslch8j4hok Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@181413.7254 0ibe4up645mljm9jf44viabh7b Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240829@181413.7288 0ibe4up645mljm9jf44viabh7b Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240829@181413.7477 0ibe4up645mljm9jf44viabh7b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1725';
20240829@181413.7537 0ibe4up645mljm9jf44viabh7b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1725';
20240829@181413.7641 0ibe4up645mljm9jf44viabh7b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1725';
20240829@181413.7699 0ibe4up645mljm9jf44viabh7b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1725';
20240829@181413.7756 0ibe4up645mljm9jf44viabh7b Query : use flama_phc
20240829@181413.7763 0ibe4up645mljm9jf44viabh7b Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240829@181413.8047 0ibe4up645mljm9jf44viabh7b Query : use flama_phc
20240829@181413.8052 0ibe4up645mljm9jf44viabh7b Query : select no, estab,szadrsdesc from szadrs where u_coddest=2211
20240829@181413.8156 0ibe4up645mljm9jf44viabh7b 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'
20240829@181413.8325 0ibe4up645mljm9jf44viabh7b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405616 and bi.ref ='324.1536.00.1' and bi.lordem =1
20240829@181413.8661 0ibe4up645mljm9jf44viabh7b 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'
20240829@181413.8840 0ibe4up645mljm9jf44viabh7b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405616 and bi.ref ='324.1670.00.1' and bi.lordem =2
20240829@181413.9166 0ibe4up645mljm9jf44viabh7b Query : use flama_phc
20240829@181413.9170 0ibe4up645mljm9jf44viabh7b Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240829@181413.9385 0ibe4up645mljm9jf44viabh7b Query : use flama_phc
20240829@181413.9390 0ibe4up645mljm9jf44viabh7b Query : select top 1 1 valor from td where td.ndoc = 39
20240829@181413.9489 0ibe4up645mljm9jf44viabh7b Query : use flama_phc
20240829@181413.9493 0ibe4up645mljm9jf44viabh7b 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')
20240829@181413.9582 0ibe4up645mljm9jf44viabh7b 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
20240829@181413.9735 0ibe4up645mljm9jf44viabh7b Query : use flama_phc
20240829@181413.9739 0ibe4up645mljm9jf44viabh7b Query : select top 1 ~inactivo valor from cl where no = '101313' and estab = 0 order by inactivo desc
20240829@181413.9865 0ibe4up645mljm9jf44viabh7b Query : use flama_phc
20240829@181413.9869 0ibe4up645mljm9jf44viabh7b Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240829@181413.9974 0ibe4up645mljm9jf44viabh7b Query : use flama_phc
20240829@181413.9978 0ibe4up645mljm9jf44viabh7b Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240829@181414.5800 0ibe4up645mljm9jf44viabh7b Query : use flama_phc
20240829@181414.6100 0ibe4up645mljm9jf44viabh7b Query : select szadrsstamp valor from szadrs where szadrsdesc='m.miranda electrodomÉsticos, lda.'
20240829@181414.1100 0ibe4up645mljm9jf44viabh7b Query : use flama_phc
20240829@181414.1130 0ibe4up645mljm9jf44viabh7b Query : select 1 valor from td where ndoc = 39
20240829@181414.1870 0ibe4up645mljm9jf44viabh7b Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240829@181414.2530 0ibe4up645mljm9jf44viabh7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181414.5400 0ibe4up645mljm9jf44viabh7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181414.6220 0ibe4up645mljm9jf44viabh7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181414.6370 0ibe4up645mljm9jf44viabh7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181414.6690 0ibe4up645mljm9jf44viabh7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181414.6860 0ibe4up645mljm9jf44viabh7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181414.7010 0ibe4up645mljm9jf44viabh7b Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181414.9800 0ibe4up645mljm9jf44viabh7b Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181414.1096 0ibe4up645mljm9jf44viabh7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181414.1113 0ibe4up645mljm9jf44viabh7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181414.1157 0ibe4up645mljm9jf44viabh7b Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d0a3007666d0ac6611' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240829@181414.1494 0ibe4up645mljm9jf44viabh7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181414.1514 0ibe4up645mljm9jf44viabh7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181414.1552 0ibe4up645mljm9jf44viabh7b Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240829@181414.1653 0ibe4up645mljm9jf44viabh7b Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240829@181414.1737 0ibe4up645mljm9jf44viabh7b Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240829@181414.1815 0ibe4up645mljm9jf44viabh7b Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240829@181414.1891 0ibe4up645mljm9jf44viabh7b Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240829@181414.1991 0ibe4up645mljm9jf44viabh7b Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240829@181414.2083 0ibe4up645mljm9jf44viabh7b Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d0a3007666d0ac6611',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240829@181414.2644 0ibe4up645mljm9jf44viabh7b Query : select top 1 fno valor from wsftdata order by fno desc
20240829@181414.2897 0ibe4up645mljm9jf44viabh7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181414.2918 0ibe4up645mljm9jf44viabh7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181414.2950 0ibe4up645mljm9jf44viabh7b Query : select 'normal' from dummy
20240829@181414.3009 0ibe4up645mljm9jf44viabh7b Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d0a3007666d0ac6611',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',518,101313,0,'2024-08-29',39,'euro',0,0,2024 ,?,?)
20240829@181414.3675 0ibe4up645mljm9jf44viabh7b Query : use flama_phc
20240829@181414.3704 0ibe4up645mljm9jf44viabh7b Query : select st.usalote valor from st where st.ref = '324.1536.00.1'
20240829@181414.3953 0ibe4up645mljm9jf44viabh7b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240829@181414.4108 0ibe4up645mljm9jf44viabh7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181414.4125 0ibe4up645mljm9jf44viabh7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181414.4196 0ibe4up645mljm9jf44viabh7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181414.4213 0ibe4up645mljm9jf44viabh7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181414.4224 0ibe4up645mljm9jf44viabh7b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181414.4265 0ibe4up645mljm9jf44viabh7b Query : select sestamp valor from se where ref ='324.1536.00.1' and lote = 'r2100240100a'
20240829@181414.4334 0ibe4up645mljm9jf44viabh7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181414.4351 0ibe4up645mljm9jf44viabh7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181414.4365 0ibe4up645mljm9jf44viabh7b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a3130766d0ac6669','aut66d0a3007666d0ac6611' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181414.4424 0ibe4up645mljm9jf44viabh7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181414.4441 0ibe4up645mljm9jf44viabh7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181414.4473 0ibe4up645mljm9jf44viabh7b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a3130766d0ac6669',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66d0a3007666d0ac6611' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240829@181414.6026 0ibe4up645mljm9jf44viabh7b Query : use flama_phc
20240829@181414.6030 0ibe4up645mljm9jf44viabh7b Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20240829@181414.6053 0ibe4up645mljm9jf44viabh7b Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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'
20240829@181414.6208 0ibe4up645mljm9jf44viabh7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181414.6226 0ibe4up645mljm9jf44viabh7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181414.6256 0ibe4up645mljm9jf44viabh7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181414.6272 0ibe4up645mljm9jf44viabh7b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181414.6282 0ibe4up645mljm9jf44viabh7b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181414.6297 0ibe4up645mljm9jf44viabh7b Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2301213200a'
20240829@181414.6313 0ibe4up645mljm9jf44viabh7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181414.6330 0ibe4up645mljm9jf44viabh7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181414.6344 0ibe4up645mljm9jf44viabh7b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a2538666d0ac669a','aut66d0a3007666d0ac6611' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181414.6350 0ibe4up645mljm9jf44viabh7b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181414.6367 0ibe4up645mljm9jf44viabh7b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181414.6400 0ibe4up645mljm9jf44viabh7b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a2538666d0ac669a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66d0a3007666d0ac6611' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240829@181414.6694 0ibe4up645mljm9jf44viabh7b Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d0a3007666d0ac6611','2405616','wait',39,'adm09112754980.682000002')
20240829@181414.6799 0ibe4up645mljm9jf44viabh7b Query : use flama_phc
20240829@181414.6803 0ibe4up645mljm9jf44viabh7b Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@181414.6848 0ibe4up645mljm9jf44viabh7b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1725';
20240829@181414.6879 0ibe4up645mljm9jf44viabh7b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1725';
20240829@181414.6918 0ibe4up645mljm9jf44viabh7b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1725';
20240829@181414.6945 0ibe4up645mljm9jf44viabh7b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1725';
20240829@181414.7587 v92ioh8salbt2gbikkb81qr2fv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240829@181414.7600 v92ioh8salbt2gbikkb81qr2fv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240829@181414.7665 v92ioh8salbt2gbikkb81qr2fv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1726';
20240829@181414.7722 v92ioh8salbt2gbikkb81qr2fv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1726';
20240829@181414.7782 v92ioh8salbt2gbikkb81qr2fv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1726';
20240829@181414.7813 v92ioh8salbt2gbikkb81qr2fv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1726';
20240829@181414.7877 v92ioh8salbt2gbikkb81qr2fv Query : use flama_phc
20240829@181414.7881 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240829@181414.7976 v92ioh8salbt2gbikkb81qr2fv Query : use flama_phc
20240829@181414.8020 v92ioh8salbt2gbikkb81qr2fv Query : select no, estab,szadrsdesc from szadrs where u_coddest=2794
20240829@181414.8182 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.945.00.01'
20240829@181414.8486 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405617 and bi.ref ='324.945.00.01' and bi.lordem =1
20240829@181414.8896 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.01'
20240829@181414.9064 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405617 and bi.ref ='324.719.00.01' and bi.lordem =2
20240829@181414.9400 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.946.00.01'
20240829@181414.9576 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405617 and bi.ref ='324.946.00.01' and bi.lordem =3
20240829@181415.2600 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20240829@181415.1910 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405617 and bi.ref ='324.948.00.01' and bi.lordem =4
20240829@181415.5130 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.988.00.01'
20240829@181415.6810 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405617 and bi.ref ='324.988.00.01' and bi.lordem =5
20240829@181415.1044 v92ioh8salbt2gbikkb81qr2fv Query : use flama_phc
20240829@181415.1047 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240829@181415.1084 v92ioh8salbt2gbikkb81qr2fv Query : use flama_phc
20240829@181415.1088 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 1 valor from td where td.ndoc = 39
20240829@181415.1119 v92ioh8salbt2gbikkb81qr2fv Query : use flama_phc
20240829@181415.1123 v92ioh8salbt2gbikkb81qr2fv 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')
20240829@181415.1159 v92ioh8salbt2gbikkb81qr2fv 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
20240829@181415.1197 v92ioh8salbt2gbikkb81qr2fv Query : use flama_phc
20240829@181415.1200 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 ~inactivo valor from cl where no = '102573' and estab = 0 order by inactivo desc
20240829@181415.1331 v92ioh8salbt2gbikkb81qr2fv Query : use flama_phc
20240829@181415.1336 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240829@181415.1369 v92ioh8salbt2gbikkb81qr2fv Query : use flama_phc
20240829@181415.1373 v92ioh8salbt2gbikkb81qr2fv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240829@181415.1416 v92ioh8salbt2gbikkb81qr2fv Query : use flama_phc
20240829@181415.1420 v92ioh8salbt2gbikkb81qr2fv Query : select szadrsstamp valor from szadrs where szadrsdesc='novocasiÃo, lda- entrega'
20240829@181415.1471 v92ioh8salbt2gbikkb81qr2fv Query : use flama_phc
20240829@181415.1474 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from td where ndoc = 39
20240829@181415.1487 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240829@181415.1503 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.1521 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181415.1541 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.1557 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181415.1588 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.1605 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181415.1618 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181415.1690 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181415.1705 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.1721 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181415.1739 v92ioh8salbt2gbikkb81qr2fv Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d0a4221066d0ac6727' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240829@181415.1921 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.1940 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181415.1977 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240829@181415.1991 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240829@181415.2006 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240829@181415.2021 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240829@181415.2035 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240829@181415.2050 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240829@181415.2063 v92ioh8salbt2gbikkb81qr2fv Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d0a4221066d0ac6727',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240829@181415.2315 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 fno valor from wsftdata order by fno desc
20240829@181415.2336 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.2419 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181415.2446 v92ioh8salbt2gbikkb81qr2fv Query : select 'normal' from dummy
20240829@181415.2462 v92ioh8salbt2gbikkb81qr2fv Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d0a4221066d0ac6727',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',519,102573,0,'2024-08-29',39,'euro',0,0,2024 ,?,?)
20240829@181415.2759 v92ioh8salbt2gbikkb81qr2fv Query : use flama_phc
20240829@181415.2762 v92ioh8salbt2gbikkb81qr2fv Query : select st.usalote valor from st where st.ref = '324.945.00.01'
20240829@181415.2787 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.945.00.01'
20240829@181415.2938 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.2957 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181415.2985 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.3000 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181415.3010 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181415.3023 v92ioh8salbt2gbikkb81qr2fv Query : select sestamp valor from se where ref ='324.945.00.01' and lote = 'r2200799100a'
20240829@181415.3039 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.3056 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181415.3069 v92ioh8salbt2gbikkb81qr2fv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a2933966d0ac674a','aut66d0a4221066d0ac6727' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181415.3074 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.3091 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181415.3123 v92ioh8salbt2gbikkb81qr2fv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a2933966d0ac674a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d0a4221066d0ac6727' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240829@181415.3387 v92ioh8salbt2gbikkb81qr2fv Query : use flama_phc
20240829@181415.3413 v92ioh8salbt2gbikkb81qr2fv Query : select st.usalote valor from st where st.ref = '324.719.00.01'
20240829@181415.3474 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.719.00.01'
20240829@181415.3737 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.3827 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181415.3857 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.3875 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181415.3885 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181415.3898 v92ioh8salbt2gbikkb81qr2fv Query : select sestamp valor from se where ref ='324.719.00.01' and lote = 'r2300383300a'
20240829@181415.3921 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.3937 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181415.3951 v92ioh8salbt2gbikkb81qr2fv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a2340166d0ac675f','aut66d0a4221066d0ac6727' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181415.3956 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.3973 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181415.4005 v92ioh8salbt2gbikkb81qr2fv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a2340166d0ac675f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66d0a4221066d0ac6727' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240829@181415.4287 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.4304 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181415.4331 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.4347 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181415.4356 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181415.4368 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.4383 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181415.4396 v92ioh8salbt2gbikkb81qr2fv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a9260466d0ac676a','aut66d0a4221066d0ac6727' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181415.4400 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.4416 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181415.4446 v92ioh8salbt2gbikkb81qr2fv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d0a9260466d0ac676a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d0a4221066d0ac6727' ,0,0 ,2,23.00,30000,?,?,?)
20240829@181415.4706 v92ioh8salbt2gbikkb81qr2fv Query : use flama_phc
20240829@181415.4709 v92ioh8salbt2gbikkb81qr2fv Query : select st.usalote valor from st where st.ref = '324.946.00.01'
20240829@181415.5916 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.946.00.01'
20240829@181415.6076 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.6095 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181415.6126 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.6144 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181415.6155 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181415.6170 v92ioh8salbt2gbikkb81qr2fv Query : select sestamp valor from se where ref ='324.946.00.01' and lote = 'r2300941200a'
20240829@181415.6186 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.6203 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181415.6216 v92ioh8salbt2gbikkb81qr2fv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a1884366d0ac6797','aut66d0a4221066d0ac6727' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181415.6221 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.6238 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181415.6271 v92ioh8salbt2gbikkb81qr2fv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a1884366d0ac6797',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d0a4221066d0ac6727' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240829@181415.6537 v92ioh8salbt2gbikkb81qr2fv Query : use flama_phc
20240829@181415.6540 v92ioh8salbt2gbikkb81qr2fv Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20240829@181415.6564 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.948.00.01'
20240829@181415.6727 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.6745 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181415.6774 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.6791 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181415.6801 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181415.6817 v92ioh8salbt2gbikkb81qr2fv Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2301091200a'
20240829@181415.6833 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.6850 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181415.6864 v92ioh8salbt2gbikkb81qr2fv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a4701766d0ac67a6','aut66d0a4221066d0ac6727' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181415.6869 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.6888 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181415.6922 v92ioh8salbt2gbikkb81qr2fv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a4701766d0ac67a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d0a4221066d0ac6727' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240829@181415.7199 v92ioh8salbt2gbikkb81qr2fv Query : use flama_phc
20240829@181415.7203 v92ioh8salbt2gbikkb81qr2fv Query : select st.usalote valor from st where st.ref = '324.988.00.01'
20240829@181415.7227 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.988.00.01'
20240829@181415.7382 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.7400 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181415.7453 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.7473 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181415.7483 v92ioh8salbt2gbikkb81qr2fv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181415.7497 v92ioh8salbt2gbikkb81qr2fv Query : select sestamp valor from se where ref ='324.988.00.01' and lote = 'r2400410200a'
20240829@181415.7514 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.7530 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181415.7543 v92ioh8salbt2gbikkb81qr2fv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a2645266d0ac67b7','aut66d0a4221066d0ac6727' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181415.7548 v92ioh8salbt2gbikkb81qr2fv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181415.7565 v92ioh8salbt2gbikkb81qr2fv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181415.7598 v92ioh8salbt2gbikkb81qr2fv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a2645266d0ac67b7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d0a4221066d0ac6727' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240829@181415.7871 v92ioh8salbt2gbikkb81qr2fv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d0a4221066d0ac6727','2405617','wait',39,'adm09112754980.682000002')
20240829@181415.7950 v92ioh8salbt2gbikkb81qr2fv Query : use flama_phc
20240829@181415.7954 v92ioh8salbt2gbikkb81qr2fv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@181415.7989 v92ioh8salbt2gbikkb81qr2fv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1726';
20240829@181415.8019 v92ioh8salbt2gbikkb81qr2fv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1726';
20240829@181415.8061 v92ioh8salbt2gbikkb81qr2fv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1726';
20240829@181415.8086 v92ioh8salbt2gbikkb81qr2fv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1726';
20240829@181415.8651 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240829@181415.8664 tjjnf9e8s9lvv97qm1rkqklj8q Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240829@181415.8761 tjjnf9e8s9lvv97qm1rkqklj8q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1727';
20240829@181415.8814 tjjnf9e8s9lvv97qm1rkqklj8q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1727';
20240829@181415.8867 tjjnf9e8s9lvv97qm1rkqklj8q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1727';
20240829@181415.8894 tjjnf9e8s9lvv97qm1rkqklj8q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1727';
20240829@181415.8944 tjjnf9e8s9lvv97qm1rkqklj8q Query : use flama_phc
20240829@181415.8948 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240829@181415.9074 tjjnf9e8s9lvv97qm1rkqklj8q Query : use flama_phc
20240829@181415.9077 tjjnf9e8s9lvv97qm1rkqklj8q Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240829@181415.9160 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20240829@181415.9325 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405618 and bi.ref ='327.8261.00.1' and bi.lordem =1
20240829@181415.9670 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20240829@181415.9693 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405618 and bi.ref ='327.8261.00.1' and bi.lordem =1
20240829@181415.9712 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20240829@181415.9733 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405618 and bi.ref ='327.8261.00.1' and bi.lordem =1
20240829@181415.9751 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20240829@181415.9772 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405618 and bi.ref ='327.8261.00.1' and bi.lordem =1
20240829@181415.9790 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20240829@181415.9813 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405618 and bi.ref ='327.8261.00.1' and bi.lordem =1
20240829@181415.9831 tjjnf9e8s9lvv97qm1rkqklj8q Query : use flama_phc
20240829@181415.9834 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240829@181415.9869 tjjnf9e8s9lvv97qm1rkqklj8q Query : use flama_phc
20240829@181415.9873 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 1 valor from td where td.ndoc = 39
20240829@181415.9907 tjjnf9e8s9lvv97qm1rkqklj8q Query : use flama_phc
20240829@181415.9911 tjjnf9e8s9lvv97qm1rkqklj8q 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')
20240829@181415.9941 tjjnf9e8s9lvv97qm1rkqklj8q 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
20240829@181415.9979 tjjnf9e8s9lvv97qm1rkqklj8q Query : use flama_phc
20240829@181415.9983 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20240829@181416.1370 tjjnf9e8s9lvv97qm1rkqklj8q Query : use flama_phc
20240829@181416.1400 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240829@181416.1740 tjjnf9e8s9lvv97qm1rkqklj8q Query : use flama_phc
20240829@181416.1770 tjjnf9e8s9lvv97qm1rkqklj8q Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240829@181416.2190 tjjnf9e8s9lvv97qm1rkqklj8q Query : use flama_phc
20240829@181416.2230 tjjnf9e8s9lvv97qm1rkqklj8q Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20240829@181416.2750 tjjnf9e8s9lvv97qm1rkqklj8q Query : use flama_phc
20240829@181416.2790 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from td where ndoc = 39
20240829@181416.2930 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240829@181416.3100 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.3280 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181416.3500 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.3670 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181416.4020 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.4180 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181416.4370 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181416.5140 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181416.5290 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.5460 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181416.5660 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d0a9199466d0ac680a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240829@181416.7510 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.7690 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181416.8050 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240829@181416.8180 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240829@181416.8310 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240829@181416.8440 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240829@181416.8560 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240829@181416.8700 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240829@181416.8830 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d0a9199466d0ac680a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240829@181416.1133 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 fno valor from wsftdata order by fno desc
20240829@181416.1155 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.1172 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181416.1197 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 'normal' from dummy
20240829@181416.1213 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d0a9199466d0ac680a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',520,101597,0,'2024-08-29',39,'euro',0,0,2024 ,?,?)
20240829@181416.1518 tjjnf9e8s9lvv97qm1rkqklj8q Query : use flama_phc
20240829@181416.1522 tjjnf9e8s9lvv97qm1rkqklj8q Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20240829@181416.1548 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8261.00.1'
20240829@181416.1704 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.1722 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181416.1753 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.1769 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181416.1779 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181416.1794 tjjnf9e8s9lvv97qm1rkqklj8q Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2400078200a'
20240829@181416.1811 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.1828 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181416.1841 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a7905066d0ac682c','aut66d0a9199466d0ac680a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181416.1846 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.1861 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181416.1894 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a7905066d0ac682c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d0a9199466d0ac680a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240829@181416.2201 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.2219 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181416.2250 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.2269 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181416.2278 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181416.2293 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.2311 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181416.2324 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a6798666d0ac6837','aut66d0a9199466d0ac680a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181416.2330 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.2346 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181416.2381 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d0a6798666d0ac6837',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d0a9199466d0ac680a' ,0,0 ,2,23.00,20000,?,?,?)
20240829@181416.2642 tjjnf9e8s9lvv97qm1rkqklj8q Query : use flama_phc
20240829@181416.2646 tjjnf9e8s9lvv97qm1rkqklj8q Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20240829@181416.2669 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8261.00.1'
20240829@181416.2685 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.2703 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181416.2733 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.2749 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181416.2760 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181416.2775 tjjnf9e8s9lvv97qm1rkqklj8q Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2400078200a'
20240829@181416.2789 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.2805 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181416.2818 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a4176766d0ac6844','aut66d0a9199466d0ac680a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181416.2824 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.2839 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181416.2891 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a4176766d0ac6844',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d0a9199466d0ac680a' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240829@181416.3217 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.3238 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181416.3267 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.3284 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181416.3294 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181416.3310 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.3328 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181416.3341 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a1853266d0ac6850','aut66d0a9199466d0ac680a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181416.3346 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.3363 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181416.3396 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d0a1853266d0ac6850',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d0a9199466d0ac680a' ,0,0 ,2,23.00,50000,?,?,?)
20240829@181416.3671 tjjnf9e8s9lvv97qm1rkqklj8q Query : use flama_phc
20240829@181416.3674 tjjnf9e8s9lvv97qm1rkqklj8q Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20240829@181416.3696 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8261.00.1'
20240829@181416.3713 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.3730 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181416.3758 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.3773 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181416.3783 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181416.3796 tjjnf9e8s9lvv97qm1rkqklj8q Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2400078200a'
20240829@181416.3810 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.3826 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181416.3839 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a4593966d0ac685d','aut66d0a9199466d0ac680a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181416.3844 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.3859 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181416.3891 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a4593966d0ac685d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d0a9199466d0ac680a' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240829@181416.4242 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.4282 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181416.4361 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.4378 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181416.4388 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181416.4404 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.4420 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181416.4433 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a7334766d0ac686b','aut66d0a9199466d0ac680a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181416.4438 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.5614 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181416.5649 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d0a7334766d0ac686b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d0a9199466d0ac680a' ,0,0 ,2,23.00,80000,?,?,?)
20240829@181416.5909 tjjnf9e8s9lvv97qm1rkqklj8q Query : use flama_phc
20240829@181416.5913 tjjnf9e8s9lvv97qm1rkqklj8q Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20240829@181416.5935 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8261.00.1'
20240829@181416.5953 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.5971 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181416.6000 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.6016 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181416.6026 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181416.6041 tjjnf9e8s9lvv97qm1rkqklj8q Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2400078200a'
20240829@181416.6056 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.6072 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181416.6087 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a4223966d0ac6893','aut66d0a9199466d0ac680a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181416.6091 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.6107 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181416.6141 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a4223966d0ac6893',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66d0a9199466d0ac680a' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240829@181416.6417 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.6438 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181416.6468 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.6484 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181416.6496 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181416.6509 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.6525 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181416.6538 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a0945766d0ac689e','aut66d0a9199466d0ac680a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181416.6543 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.6560 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181416.6592 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d0a0945766d0ac689e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d0a9199466d0ac680a' ,0,0 ,2,23.00,110000,?,?,?)
20240829@181416.6898 tjjnf9e8s9lvv97qm1rkqklj8q Query : use flama_phc
20240829@181416.6901 tjjnf9e8s9lvv97qm1rkqklj8q Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20240829@181416.6922 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '327.8261.00.1'
20240829@181416.7001 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.7020 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181416.7051 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.7066 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181416.7076 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181416.7091 tjjnf9e8s9lvv97qm1rkqklj8q Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2400078200a'
20240829@181416.7106 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.7124 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181416.7138 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a0145066d0ac68ad','aut66d0a9199466d0ac680a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181416.7143 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.7160 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181416.7193 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a0145066d0ac68ad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66d0a9199466d0ac680a' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240829@181416.7461 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.7478 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181416.7507 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.7524 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181416.7533 tjjnf9e8s9lvv97qm1rkqklj8q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181416.7547 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.7563 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181416.7577 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a3537466d0ac68b8','aut66d0a9199466d0ac680a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181416.7589 tjjnf9e8s9lvv97qm1rkqklj8q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181416.7605 tjjnf9e8s9lvv97qm1rkqklj8q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181416.7636 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d0a3537466d0ac68b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d0a9199466d0ac680a' ,0,0 ,2,23.00,140000,?,?,?)
20240829@181416.7971 tjjnf9e8s9lvv97qm1rkqklj8q Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d0a9199466d0ac680a','2405618','wait',39,'adm09112754980.682000002')
20240829@181416.8056 tjjnf9e8s9lvv97qm1rkqklj8q Query : use flama_phc
20240829@181416.8060 tjjnf9e8s9lvv97qm1rkqklj8q Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@181416.8104 tjjnf9e8s9lvv97qm1rkqklj8q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1727';
20240829@181416.8135 tjjnf9e8s9lvv97qm1rkqklj8q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1727';
20240829@181416.8176 tjjnf9e8s9lvv97qm1rkqklj8q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1727';
20240829@181416.8203 tjjnf9e8s9lvv97qm1rkqklj8q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1727';
20240829@181416.8821 odutjp0teaodjolvulcmn8t369 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240829@181416.8834 odutjp0teaodjolvulcmn8t369 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240829@181416.8893 odutjp0teaodjolvulcmn8t369 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1728';
20240829@181416.8950 odutjp0teaodjolvulcmn8t369 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1728';
20240829@181416.9002 odutjp0teaodjolvulcmn8t369 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1728';
20240829@181416.9031 odutjp0teaodjolvulcmn8t369 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1728';
20240829@181416.9081 odutjp0teaodjolvulcmn8t369 Query : use flama_phc
20240829@181416.9085 odutjp0teaodjolvulcmn8t369 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240829@181416.9162 odutjp0teaodjolvulcmn8t369 Query : use flama_phc
20240829@181416.9166 odutjp0teaodjolvulcmn8t369 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240829@181416.9258 odutjp0teaodjolvulcmn8t369 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20240829@181416.9441 odutjp0teaodjolvulcmn8t369 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405619 and bi.ref ='324.2907.00.1' and bi.lordem =1
20240829@181416.9793 odutjp0teaodjolvulcmn8t369 Query : use flama_phc
20240829@181416.9797 odutjp0teaodjolvulcmn8t369 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240829@181416.9832 odutjp0teaodjolvulcmn8t369 Query : use flama_phc
20240829@181416.9835 odutjp0teaodjolvulcmn8t369 Query : select top 1 1 valor from td where td.ndoc = 39
20240829@181416.9874 odutjp0teaodjolvulcmn8t369 Query : use flama_phc
20240829@181416.9878 odutjp0teaodjolvulcmn8t369 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')
20240829@181416.9910 odutjp0teaodjolvulcmn8t369 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
20240829@181416.9947 odutjp0teaodjolvulcmn8t369 Query : use flama_phc
20240829@181416.9951 odutjp0teaodjolvulcmn8t369 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240829@181417.9100 odutjp0teaodjolvulcmn8t369 Query : use flama_phc
20240829@181417.9400 odutjp0teaodjolvulcmn8t369 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240829@181417.1340 odutjp0teaodjolvulcmn8t369 Query : use flama_phc
20240829@181417.1570 odutjp0teaodjolvulcmn8t369 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240829@181417.2190 odutjp0teaodjolvulcmn8t369 Query : use flama_phc
20240829@181417.2220 odutjp0teaodjolvulcmn8t369 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240829@181417.2830 odutjp0teaodjolvulcmn8t369 Query : use flama_phc
20240829@181417.2860 odutjp0teaodjolvulcmn8t369 Query : select 1 valor from td where ndoc = 39
20240829@181417.3000 odutjp0teaodjolvulcmn8t369 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240829@181417.3170 odutjp0teaodjolvulcmn8t369 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.3360 odutjp0teaodjolvulcmn8t369 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181417.3580 odutjp0teaodjolvulcmn8t369 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.3750 odutjp0teaodjolvulcmn8t369 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181417.4070 odutjp0teaodjolvulcmn8t369 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.4250 odutjp0teaodjolvulcmn8t369 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181417.4440 odutjp0teaodjolvulcmn8t369 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181417.5160 odutjp0teaodjolvulcmn8t369 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181417.5320 odutjp0teaodjolvulcmn8t369 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.5500 odutjp0teaodjolvulcmn8t369 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181417.5690 odutjp0teaodjolvulcmn8t369 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d0a2958066d0ac690a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240829@181417.8370 odutjp0teaodjolvulcmn8t369 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.8570 odutjp0teaodjolvulcmn8t369 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181417.8980 odutjp0teaodjolvulcmn8t369 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240829@181417.9140 odutjp0teaodjolvulcmn8t369 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240829@181417.9310 odutjp0teaodjolvulcmn8t369 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240829@181417.9480 odutjp0teaodjolvulcmn8t369 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240829@181417.9630 odutjp0teaodjolvulcmn8t369 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240829@181417.9800 odutjp0teaodjolvulcmn8t369 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240829@181417.9960 odutjp0teaodjolvulcmn8t369 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d0a2958066d0ac690a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240829@181417.1288 odutjp0teaodjolvulcmn8t369 Query : select top 1 fno valor from wsftdata order by fno desc
20240829@181417.1314 odutjp0teaodjolvulcmn8t369 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.1336 odutjp0teaodjolvulcmn8t369 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181417.1362 odutjp0teaodjolvulcmn8t369 Query : select 'normal' from dummy
20240829@181417.1382 odutjp0teaodjolvulcmn8t369 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d0a2958066d0ac690a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',521,100810,0,'2024-08-29',39,'euro',0,0,2024 ,?,?)
20240829@181417.1743 odutjp0teaodjolvulcmn8t369 Query : use flama_phc
20240829@181417.1747 odutjp0teaodjolvulcmn8t369 Query : select st.usalote valor from st where st.ref = '324.2907.00.1'
20240829@181417.1773 odutjp0teaodjolvulcmn8t369 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2907.00.1'
20240829@181417.1942 odutjp0teaodjolvulcmn8t369 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.1961 odutjp0teaodjolvulcmn8t369 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181417.1991 odutjp0teaodjolvulcmn8t369 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.2010 odutjp0teaodjolvulcmn8t369 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181417.2021 odutjp0teaodjolvulcmn8t369 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181417.2037 odutjp0teaodjolvulcmn8t369 Query : select sestamp valor from se where ref ='324.2907.00.1' and lote = 'r2400091200a'
20240829@181417.2057 odutjp0teaodjolvulcmn8t369 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.2075 odutjp0teaodjolvulcmn8t369 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181417.2091 odutjp0teaodjolvulcmn8t369 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a6188466d0ac6932','aut66d0a2958066d0ac690a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181417.2107 odutjp0teaodjolvulcmn8t369 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.2125 odutjp0teaodjolvulcmn8t369 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181417.2160 odutjp0teaodjolvulcmn8t369 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a6188466d0ac6932',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',100.000 ,'aut66d0a2958066d0ac690a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240829@181417.2453 odutjp0teaodjolvulcmn8t369 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d0a2958066d0ac690a','2405619','wait',39,'adm09112754980.682000002')
20240829@181417.2538 odutjp0teaodjolvulcmn8t369 Query : use flama_phc
20240829@181417.2542 odutjp0teaodjolvulcmn8t369 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@181417.2576 odutjp0teaodjolvulcmn8t369 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1728';
20240829@181417.2608 odutjp0teaodjolvulcmn8t369 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1728';
20240829@181417.3868 odutjp0teaodjolvulcmn8t369 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1728';
20240829@181417.3904 odutjp0teaodjolvulcmn8t369 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1728';
20240829@181417.4698 qd93hvcf7h9ubaovcjsu1510j1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240829@181417.4711 qd93hvcf7h9ubaovcjsu1510j1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240829@181417.4774 qd93hvcf7h9ubaovcjsu1510j1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1729';
20240829@181417.4833 qd93hvcf7h9ubaovcjsu1510j1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1729';
20240829@181417.4891 qd93hvcf7h9ubaovcjsu1510j1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1729';
20240829@181417.4922 qd93hvcf7h9ubaovcjsu1510j1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1729';
20240829@181417.4975 qd93hvcf7h9ubaovcjsu1510j1 Query : use flama_phc
20240829@181417.4979 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240829@181417.5093 qd93hvcf7h9ubaovcjsu1510j1 Query : use flama_phc
20240829@181417.5098 qd93hvcf7h9ubaovcjsu1510j1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240829@181417.5158 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20240829@181417.5181 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405620 and bi.ref ='324.2907.00.1' and bi.lordem =1
20240829@181417.5701 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20240829@181417.5727 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405620 and bi.ref ='324.2907.00.1' and bi.lordem =1
20240829@181417.5747 qd93hvcf7h9ubaovcjsu1510j1 Query : use flama_phc
20240829@181417.5752 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240829@181417.5790 qd93hvcf7h9ubaovcjsu1510j1 Query : use flama_phc
20240829@181417.5794 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 1 valor from td where td.ndoc = 39
20240829@181417.5832 qd93hvcf7h9ubaovcjsu1510j1 Query : use flama_phc
20240829@181417.5835 qd93hvcf7h9ubaovcjsu1510j1 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')
20240829@181417.5868 qd93hvcf7h9ubaovcjsu1510j1 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
20240829@181417.5907 qd93hvcf7h9ubaovcjsu1510j1 Query : use flama_phc
20240829@181417.5910 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240829@181417.5946 qd93hvcf7h9ubaovcjsu1510j1 Query : use flama_phc
20240829@181417.5950 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240829@181417.5985 qd93hvcf7h9ubaovcjsu1510j1 Query : use flama_phc
20240829@181417.5989 qd93hvcf7h9ubaovcjsu1510j1 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240829@181417.6033 qd93hvcf7h9ubaovcjsu1510j1 Query : use flama_phc
20240829@181417.6037 qd93hvcf7h9ubaovcjsu1510j1 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240829@181417.6089 qd93hvcf7h9ubaovcjsu1510j1 Query : use flama_phc
20240829@181417.6094 qd93hvcf7h9ubaovcjsu1510j1 Query : select 1 valor from td where ndoc = 39
20240829@181417.6109 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240829@181417.6127 qd93hvcf7h9ubaovcjsu1510j1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.6149 qd93hvcf7h9ubaovcjsu1510j1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181417.6172 qd93hvcf7h9ubaovcjsu1510j1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.6192 qd93hvcf7h9ubaovcjsu1510j1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181417.6228 qd93hvcf7h9ubaovcjsu1510j1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.6245 qd93hvcf7h9ubaovcjsu1510j1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181417.6262 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181417.6367 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181417.6384 qd93hvcf7h9ubaovcjsu1510j1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.6444 qd93hvcf7h9ubaovcjsu1510j1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181417.6462 qd93hvcf7h9ubaovcjsu1510j1 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d0a4186066d0ac6998' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240829@181417.6766 qd93hvcf7h9ubaovcjsu1510j1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.6789 qd93hvcf7h9ubaovcjsu1510j1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181417.6831 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240829@181417.6846 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240829@181417.6861 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240829@181417.6876 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240829@181417.6890 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240829@181417.6906 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240829@181417.6920 qd93hvcf7h9ubaovcjsu1510j1 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d0a4186066d0ac6998',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240829@181417.7272 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 fno valor from wsftdata order by fno desc
20240829@181417.7296 qd93hvcf7h9ubaovcjsu1510j1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.7317 qd93hvcf7h9ubaovcjsu1510j1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181417.7348 qd93hvcf7h9ubaovcjsu1510j1 Query : select 'normal' from dummy
20240829@181417.7367 qd93hvcf7h9ubaovcjsu1510j1 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d0a4186066d0ac6998',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',522,100810,0,'2024-08-29',39,'euro',0,0,2024 ,?,?)
20240829@181417.7680 qd93hvcf7h9ubaovcjsu1510j1 Query : use flama_phc
20240829@181417.7684 qd93hvcf7h9ubaovcjsu1510j1 Query : select st.usalote valor from st where st.ref = '324.2907.00.1'
20240829@181417.7708 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2907.00.1'
20240829@181417.7724 qd93hvcf7h9ubaovcjsu1510j1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.7741 qd93hvcf7h9ubaovcjsu1510j1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181417.7769 qd93hvcf7h9ubaovcjsu1510j1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.7785 qd93hvcf7h9ubaovcjsu1510j1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181417.7795 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181417.7809 qd93hvcf7h9ubaovcjsu1510j1 Query : select sestamp valor from se where ref ='324.2907.00.1' and lote = 'r2400091200a'
20240829@181417.7824 qd93hvcf7h9ubaovcjsu1510j1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.7842 qd93hvcf7h9ubaovcjsu1510j1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181417.7855 qd93hvcf7h9ubaovcjsu1510j1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a5981166d0ac69bf','aut66d0a4186066d0ac6998' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181417.7861 qd93hvcf7h9ubaovcjsu1510j1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.7878 qd93hvcf7h9ubaovcjsu1510j1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181417.7912 qd93hvcf7h9ubaovcjsu1510j1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a5981166d0ac69bf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',52.000 ,'aut66d0a4186066d0ac6998' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240829@181417.8186 qd93hvcf7h9ubaovcjsu1510j1 Query : use flama_phc
20240829@181417.8189 qd93hvcf7h9ubaovcjsu1510j1 Query : select st.usalote valor from st where st.ref = '324.2907.00.1'
20240829@181417.8211 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2907.00.1'
20240829@181417.8226 qd93hvcf7h9ubaovcjsu1510j1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.8244 qd93hvcf7h9ubaovcjsu1510j1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181417.8273 qd93hvcf7h9ubaovcjsu1510j1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.8290 qd93hvcf7h9ubaovcjsu1510j1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181417.8303 qd93hvcf7h9ubaovcjsu1510j1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181417.8317 qd93hvcf7h9ubaovcjsu1510j1 Query : select sestamp valor from se where ref ='324.2907.00.1' and lote = 'r2400091200a'
20240829@181417.8330 qd93hvcf7h9ubaovcjsu1510j1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.8346 qd93hvcf7h9ubaovcjsu1510j1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181417.8358 qd93hvcf7h9ubaovcjsu1510j1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a7931266d0ac69cb','aut66d0a4186066d0ac6998' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181417.8363 qd93hvcf7h9ubaovcjsu1510j1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181417.8381 qd93hvcf7h9ubaovcjsu1510j1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181417.8416 qd93hvcf7h9ubaovcjsu1510j1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a7931266d0ac69cb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66d0a4186066d0ac6998' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240829@181417.8719 qd93hvcf7h9ubaovcjsu1510j1 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d0a4186066d0ac6998','2405620','wait',39,'adm09112754980.682000002')
20240829@181417.8793 qd93hvcf7h9ubaovcjsu1510j1 Query : use flama_phc
20240829@181417.8797 qd93hvcf7h9ubaovcjsu1510j1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@181417.8830 qd93hvcf7h9ubaovcjsu1510j1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1729';
20240829@181417.8860 qd93hvcf7h9ubaovcjsu1510j1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1729';
20240829@181417.8900 qd93hvcf7h9ubaovcjsu1510j1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1729';
20240829@181417.8925 qd93hvcf7h9ubaovcjsu1510j1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1729';
20240829@181417.9465 oeqhr67msjl3p44taa5c7bjrjs Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240829@181417.9477 oeqhr67msjl3p44taa5c7bjrjs Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240829@181417.9540 oeqhr67msjl3p44taa5c7bjrjs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1730';
20240829@181417.9601 oeqhr67msjl3p44taa5c7bjrjs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1730';
20240829@181417.9653 oeqhr67msjl3p44taa5c7bjrjs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1730';
20240829@181417.9679 oeqhr67msjl3p44taa5c7bjrjs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1730';
20240829@181417.9728 oeqhr67msjl3p44taa5c7bjrjs Query : use flama_phc
20240829@181417.9732 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240829@181417.9800 oeqhr67msjl3p44taa5c7bjrjs Query : use flama_phc
20240829@181417.9803 oeqhr67msjl3p44taa5c7bjrjs Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240829@181417.9847 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20240829@181417.9869 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405621 and bi.ref ='324.948.00.01' and bi.lordem =1
20240829@181418.2620 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20240829@181418.2860 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405621 and bi.ref ='324.948.00.01' and bi.lordem =1
20240829@181418.3030 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20240829@181418.3250 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405621 and bi.ref ='324.948.00.01' and bi.lordem =1
20240829@181418.3430 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20240829@181418.3640 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405621 and bi.ref ='324.948.00.01' and bi.lordem =1
20240829@181418.3840 oeqhr67msjl3p44taa5c7bjrjs Query : use flama_phc
20240829@181418.3870 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240829@181418.4230 oeqhr67msjl3p44taa5c7bjrjs Query : use flama_phc
20240829@181418.4260 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 1 valor from td where td.ndoc = 39
20240829@181418.4610 oeqhr67msjl3p44taa5c7bjrjs Query : use flama_phc
20240829@181418.4640 oeqhr67msjl3p44taa5c7bjrjs 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')
20240829@181418.4970 oeqhr67msjl3p44taa5c7bjrjs 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
20240829@181418.5360 oeqhr67msjl3p44taa5c7bjrjs Query : use flama_phc
20240829@181418.5390 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240829@181418.5750 oeqhr67msjl3p44taa5c7bjrjs Query : use flama_phc
20240829@181418.5780 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240829@181418.6140 oeqhr67msjl3p44taa5c7bjrjs Query : use flama_phc
20240829@181418.6170 oeqhr67msjl3p44taa5c7bjrjs Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240829@181418.6580 oeqhr67msjl3p44taa5c7bjrjs Query : use flama_phc
20240829@181418.6620 oeqhr67msjl3p44taa5c7bjrjs Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240829@181418.7120 oeqhr67msjl3p44taa5c7bjrjs Query : use flama_phc
20240829@181418.7160 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from td where ndoc = 39
20240829@181418.7310 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240829@181418.7470 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.7670 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181418.7890 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.8050 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181418.8380 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.8550 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181418.8690 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181418.9430 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181418.9570 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.9740 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181418.9950 oeqhr67msjl3p44taa5c7bjrjs Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d0a6383266d0ac6a15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240829@181418.1195 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.1216 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181418.1259 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240829@181418.1273 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240829@181418.1287 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240829@181418.1302 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240829@181418.1318 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240829@181418.1336 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240829@181418.1350 oeqhr67msjl3p44taa5c7bjrjs Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d0a6383266d0ac6a15',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240829@181418.1610 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 fno valor from wsftdata order by fno desc
20240829@181418.1630 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.1649 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181418.1674 oeqhr67msjl3p44taa5c7bjrjs Query : select 'normal' from dummy
20240829@181418.1718 oeqhr67msjl3p44taa5c7bjrjs Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d0a6383266d0ac6a15',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',523,100810,0,'2024-08-29',39,'euro',0,0,2024 ,?,?)
20240829@181418.2038 oeqhr67msjl3p44taa5c7bjrjs Query : use flama_phc
20240829@181418.2041 oeqhr67msjl3p44taa5c7bjrjs Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20240829@181418.2066 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.948.00.01'
20240829@181418.2080 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.2097 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181418.2127 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.2144 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181418.2155 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181418.2168 oeqhr67msjl3p44taa5c7bjrjs Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2301091200a'
20240829@181418.2183 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.2199 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181418.2212 oeqhr67msjl3p44taa5c7bjrjs Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a2186066d0ac6a35','aut66d0a6383266d0ac6a15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181418.2217 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.2234 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181418.2266 oeqhr67msjl3p44taa5c7bjrjs Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a2186066d0ac6a35',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66d0a6383266d0ac6a15' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240829@181418.2541 oeqhr67msjl3p44taa5c7bjrjs Query : use flama_phc
20240829@181418.2545 oeqhr67msjl3p44taa5c7bjrjs Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20240829@181418.2576 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.948.00.01'
20240829@181418.2592 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.2611 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181418.2640 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.2658 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181418.2668 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181418.2682 oeqhr67msjl3p44taa5c7bjrjs Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2301091200a'
20240829@181418.2700 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.2717 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181418.2732 oeqhr67msjl3p44taa5c7bjrjs Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a3807166d0ac6a41','aut66d0a6383266d0ac6a15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181418.2737 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.2755 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181418.2789 oeqhr67msjl3p44taa5c7bjrjs Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a3807166d0ac6a41',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66d0a6383266d0ac6a15' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240829@181418.3066 oeqhr67msjl3p44taa5c7bjrjs Query : use flama_phc
20240829@181418.3069 oeqhr67msjl3p44taa5c7bjrjs Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20240829@181418.3093 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.948.00.01'
20240829@181418.3108 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.3126 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181418.3155 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.3173 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181418.3183 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181418.3199 oeqhr67msjl3p44taa5c7bjrjs Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2301091200a'
20240829@181418.3215 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.3230 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181418.3243 oeqhr67msjl3p44taa5c7bjrjs Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a7510266d0ac6a4e','aut66d0a6383266d0ac6a15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181418.3248 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.3264 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181418.3297 oeqhr67msjl3p44taa5c7bjrjs Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a7510266d0ac6a4e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut66d0a6383266d0ac6a15' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240829@181418.3661 oeqhr67msjl3p44taa5c7bjrjs Query : use flama_phc
20240829@181418.3664 oeqhr67msjl3p44taa5c7bjrjs Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20240829@181418.3688 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.948.00.01'
20240829@181418.3703 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.3722 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181418.3752 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.3768 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181418.3778 oeqhr67msjl3p44taa5c7bjrjs Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181418.3791 oeqhr67msjl3p44taa5c7bjrjs Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2301091200a'
20240829@181418.3805 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.3822 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181418.3835 oeqhr67msjl3p44taa5c7bjrjs Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a7444066d0ac6a5c','aut66d0a6383266d0ac6a15' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181418.3840 oeqhr67msjl3p44taa5c7bjrjs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.3855 oeqhr67msjl3p44taa5c7bjrjs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181418.3890 oeqhr67msjl3p44taa5c7bjrjs Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a7444066d0ac6a5c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut66d0a6383266d0ac6a15' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240829@181418.4149 oeqhr67msjl3p44taa5c7bjrjs Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d0a6383266d0ac6a15','2405621','wait',39,'adm09112754980.682000002')
20240829@181418.4227 oeqhr67msjl3p44taa5c7bjrjs Query : use flama_phc
20240829@181418.4231 oeqhr67msjl3p44taa5c7bjrjs Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@181418.4264 oeqhr67msjl3p44taa5c7bjrjs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1730';
20240829@181418.4294 oeqhr67msjl3p44taa5c7bjrjs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1730';
20240829@181418.4334 oeqhr67msjl3p44taa5c7bjrjs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1730';
20240829@181418.4359 oeqhr67msjl3p44taa5c7bjrjs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1730';
20240829@181418.6740 rbb5nrv8jv9dkluu2e7glg8264 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240829@181418.6769 rbb5nrv8jv9dkluu2e7glg8264 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240829@181418.6826 rbb5nrv8jv9dkluu2e7glg8264 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1731';
20240829@181418.7100 rbb5nrv8jv9dkluu2e7glg8264 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1731';
20240829@181418.7323 rbb5nrv8jv9dkluu2e7glg8264 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1731';
20240829@181418.7487 rbb5nrv8jv9dkluu2e7glg8264 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1731';
20240829@181418.7551 rbb5nrv8jv9dkluu2e7glg8264 Query : use flama_phc
20240829@181418.7555 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240829@181418.7623 rbb5nrv8jv9dkluu2e7glg8264 Query : use flama_phc
20240829@181418.7627 rbb5nrv8jv9dkluu2e7glg8264 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240829@181418.7686 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20240829@181418.7709 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405622 and bi.ref ='324.948.00.01' and bi.lordem =1
20240829@181418.8419 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20240829@181418.8488 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405622 and bi.ref ='324.948.00.01' and bi.lordem =1
20240829@181418.8618 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20240829@181418.8641 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405622 and bi.ref ='324.948.00.01' and bi.lordem =1
20240829@181418.8662 rbb5nrv8jv9dkluu2e7glg8264 Query : use flama_phc
20240829@181418.8666 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240829@181418.8704 rbb5nrv8jv9dkluu2e7glg8264 Query : use flama_phc
20240829@181418.8708 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 1 valor from td where td.ndoc = 39
20240829@181418.8741 rbb5nrv8jv9dkluu2e7glg8264 Query : use flama_phc
20240829@181418.8745 rbb5nrv8jv9dkluu2e7glg8264 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')
20240829@181418.8779 rbb5nrv8jv9dkluu2e7glg8264 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
20240829@181418.8819 rbb5nrv8jv9dkluu2e7glg8264 Query : use flama_phc
20240829@181418.8823 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240829@181418.8856 rbb5nrv8jv9dkluu2e7glg8264 Query : use flama_phc
20240829@181418.8859 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240829@181418.8895 rbb5nrv8jv9dkluu2e7glg8264 Query : use flama_phc
20240829@181418.8900 rbb5nrv8jv9dkluu2e7glg8264 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240829@181418.8946 rbb5nrv8jv9dkluu2e7glg8264 Query : use flama_phc
20240829@181418.8950 rbb5nrv8jv9dkluu2e7glg8264 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240829@181418.9001 rbb5nrv8jv9dkluu2e7glg8264 Query : use flama_phc
20240829@181418.9005 rbb5nrv8jv9dkluu2e7glg8264 Query : select 1 valor from td where ndoc = 39
20240829@181418.9021 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240829@181418.9040 rbb5nrv8jv9dkluu2e7glg8264 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.9061 rbb5nrv8jv9dkluu2e7glg8264 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181418.9084 rbb5nrv8jv9dkluu2e7glg8264 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.9103 rbb5nrv8jv9dkluu2e7glg8264 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181418.9139 rbb5nrv8jv9dkluu2e7glg8264 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.9159 rbb5nrv8jv9dkluu2e7glg8264 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181418.9175 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181418.9318 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181418.9335 rbb5nrv8jv9dkluu2e7glg8264 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181418.9356 rbb5nrv8jv9dkluu2e7glg8264 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181419.7130 rbb5nrv8jv9dkluu2e7glg8264 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d0a5253566d0ac6ae0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240829@181419.9730 rbb5nrv8jv9dkluu2e7glg8264 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.9940 rbb5nrv8jv9dkluu2e7glg8264 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181419.1031 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240829@181419.1045 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240829@181419.1058 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240829@181419.1072 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240829@181419.1085 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240829@181419.1098 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240829@181419.1111 rbb5nrv8jv9dkluu2e7glg8264 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d0a5253566d0ac6ae0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240829@181419.1470 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 fno valor from wsftdata order by fno desc
20240829@181419.1494 rbb5nrv8jv9dkluu2e7glg8264 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.1513 rbb5nrv8jv9dkluu2e7glg8264 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181419.1538 rbb5nrv8jv9dkluu2e7glg8264 Query : select 'normal' from dummy
20240829@181419.1555 rbb5nrv8jv9dkluu2e7glg8264 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d0a5253566d0ac6ae0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',524,100810,0,'2024-08-29',39,'euro',0,0,2024 ,?,?)
20240829@181419.1916 rbb5nrv8jv9dkluu2e7glg8264 Query : use flama_phc
20240829@181419.1919 rbb5nrv8jv9dkluu2e7glg8264 Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20240829@181419.1943 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.948.00.01'
20240829@181419.1959 rbb5nrv8jv9dkluu2e7glg8264 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.1978 rbb5nrv8jv9dkluu2e7glg8264 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181419.2007 rbb5nrv8jv9dkluu2e7glg8264 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.2022 rbb5nrv8jv9dkluu2e7glg8264 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181419.2030 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181419.2042 rbb5nrv8jv9dkluu2e7glg8264 Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2301091200a'
20240829@181419.2055 rbb5nrv8jv9dkluu2e7glg8264 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.2068 rbb5nrv8jv9dkluu2e7glg8264 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181419.2080 rbb5nrv8jv9dkluu2e7glg8264 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a1533966d0ac6b32','aut66d0a5253566d0ac6ae0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181419.2097 rbb5nrv8jv9dkluu2e7glg8264 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.2113 rbb5nrv8jv9dkluu2e7glg8264 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181419.2143 rbb5nrv8jv9dkluu2e7glg8264 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a1533966d0ac6b32',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut66d0a5253566d0ac6ae0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240829@181419.2508 rbb5nrv8jv9dkluu2e7glg8264 Query : use flama_phc
20240829@181419.2512 rbb5nrv8jv9dkluu2e7glg8264 Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20240829@181419.2532 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.948.00.01'
20240829@181419.2546 rbb5nrv8jv9dkluu2e7glg8264 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.2563 rbb5nrv8jv9dkluu2e7glg8264 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181419.2587 rbb5nrv8jv9dkluu2e7glg8264 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.2602 rbb5nrv8jv9dkluu2e7glg8264 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181419.2610 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181419.2623 rbb5nrv8jv9dkluu2e7glg8264 Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2301091200a'
20240829@181419.2636 rbb5nrv8jv9dkluu2e7glg8264 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.2650 rbb5nrv8jv9dkluu2e7glg8264 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181419.2661 rbb5nrv8jv9dkluu2e7glg8264 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a8865566d0ac6b40','aut66d0a5253566d0ac6ae0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181419.2666 rbb5nrv8jv9dkluu2e7glg8264 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.2680 rbb5nrv8jv9dkluu2e7glg8264 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181419.2708 rbb5nrv8jv9dkluu2e7glg8264 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a8865566d0ac6b40',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut66d0a5253566d0ac6ae0' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240829@181419.2978 rbb5nrv8jv9dkluu2e7glg8264 Query : use flama_phc
20240829@181419.2981 rbb5nrv8jv9dkluu2e7glg8264 Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20240829@181419.3001 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.948.00.01'
20240829@181419.3016 rbb5nrv8jv9dkluu2e7glg8264 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.3032 rbb5nrv8jv9dkluu2e7glg8264 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181419.3056 rbb5nrv8jv9dkluu2e7glg8264 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.3071 rbb5nrv8jv9dkluu2e7glg8264 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181419.3079 rbb5nrv8jv9dkluu2e7glg8264 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181419.3091 rbb5nrv8jv9dkluu2e7glg8264 Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2301091200a'
20240829@181419.3103 rbb5nrv8jv9dkluu2e7glg8264 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.3117 rbb5nrv8jv9dkluu2e7glg8264 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181419.3128 rbb5nrv8jv9dkluu2e7glg8264 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a1253366d0ac6b4b','aut66d0a5253566d0ac6ae0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181419.3133 rbb5nrv8jv9dkluu2e7glg8264 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.3147 rbb5nrv8jv9dkluu2e7glg8264 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181419.3175 rbb5nrv8jv9dkluu2e7glg8264 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a1253366d0ac6b4b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',42.000 ,'aut66d0a5253566d0ac6ae0' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240829@181419.3444 rbb5nrv8jv9dkluu2e7glg8264 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d0a5253566d0ac6ae0','2405622','wait',39,'adm09112754980.682000002')
20240829@181419.3521 rbb5nrv8jv9dkluu2e7glg8264 Query : use flama_phc
20240829@181419.3525 rbb5nrv8jv9dkluu2e7glg8264 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@181419.3617 rbb5nrv8jv9dkluu2e7glg8264 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1731';
20240829@181419.3867 rbb5nrv8jv9dkluu2e7glg8264 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1731';
20240829@181419.4110 rbb5nrv8jv9dkluu2e7glg8264 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1731';
20240829@181419.4145 rbb5nrv8jv9dkluu2e7glg8264 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1731';
20240829@181419.4977 2k95gr3685supffn1gofs04hpf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240829@181419.4989 2k95gr3685supffn1gofs04hpf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240829@181419.5038 2k95gr3685supffn1gofs04hpf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1732';
20240829@181419.5089 2k95gr3685supffn1gofs04hpf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1732';
20240829@181419.5139 2k95gr3685supffn1gofs04hpf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1732';
20240829@181419.5161 2k95gr3685supffn1gofs04hpf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1732';
20240829@181419.5207 2k95gr3685supffn1gofs04hpf Query : use flama_phc
20240829@181419.5210 2k95gr3685supffn1gofs04hpf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240829@181419.5272 2k95gr3685supffn1gofs04hpf Query : use flama_phc
20240829@181419.5275 2k95gr3685supffn1gofs04hpf Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240829@181419.5313 2k95gr3685supffn1gofs04hpf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.2'
20240829@181419.5492 2k95gr3685supffn1gofs04hpf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405623 and bi.ref ='324.2231.00.2' and bi.lordem =1
20240829@181419.5881 2k95gr3685supffn1gofs04hpf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.2'
20240829@181419.5902 2k95gr3685supffn1gofs04hpf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405623 and bi.ref ='324.2231.00.2' and bi.lordem =1
20240829@181419.5918 2k95gr3685supffn1gofs04hpf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.2'
20240829@181419.5937 2k95gr3685supffn1gofs04hpf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405623 and bi.ref ='324.2231.00.2' and bi.lordem =1
20240829@181419.5954 2k95gr3685supffn1gofs04hpf Query : use flama_phc
20240829@181419.5957 2k95gr3685supffn1gofs04hpf Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240829@181419.5996 2k95gr3685supffn1gofs04hpf Query : use flama_phc
20240829@181419.5999 2k95gr3685supffn1gofs04hpf Query : select top 1 1 valor from td where td.ndoc = 39
20240829@181419.6029 2k95gr3685supffn1gofs04hpf Query : use flama_phc
20240829@181419.6032 2k95gr3685supffn1gofs04hpf 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')
20240829@181419.6058 2k95gr3685supffn1gofs04hpf 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
20240829@181419.6094 2k95gr3685supffn1gofs04hpf Query : use flama_phc
20240829@181419.6097 2k95gr3685supffn1gofs04hpf Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240829@181419.6126 2k95gr3685supffn1gofs04hpf Query : use flama_phc
20240829@181419.6128 2k95gr3685supffn1gofs04hpf Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240829@181419.6162 2k95gr3685supffn1gofs04hpf Query : use flama_phc
20240829@181419.6165 2k95gr3685supffn1gofs04hpf Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240829@181419.6205 2k95gr3685supffn1gofs04hpf Query : use flama_phc
20240829@181419.6208 2k95gr3685supffn1gofs04hpf Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240829@181419.6251 2k95gr3685supffn1gofs04hpf Query : use flama_phc
20240829@181419.6254 2k95gr3685supffn1gofs04hpf Query : select 1 valor from td where ndoc = 39
20240829@181419.6265 2k95gr3685supffn1gofs04hpf Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240829@181419.6278 2k95gr3685supffn1gofs04hpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.6295 2k95gr3685supffn1gofs04hpf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181419.6313 2k95gr3685supffn1gofs04hpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.6328 2k95gr3685supffn1gofs04hpf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181419.6358 2k95gr3685supffn1gofs04hpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.6372 2k95gr3685supffn1gofs04hpf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181419.6386 2k95gr3685supffn1gofs04hpf Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181419.6459 2k95gr3685supffn1gofs04hpf Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181419.6472 2k95gr3685supffn1gofs04hpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.6487 2k95gr3685supffn1gofs04hpf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181419.6502 2k95gr3685supffn1gofs04hpf Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d0a0960266d0ac6b9b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240829@181419.6690 2k95gr3685supffn1gofs04hpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.6708 2k95gr3685supffn1gofs04hpf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181419.6741 2k95gr3685supffn1gofs04hpf Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240829@181419.6753 2k95gr3685supffn1gofs04hpf Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240829@181419.6765 2k95gr3685supffn1gofs04hpf Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240829@181419.6778 2k95gr3685supffn1gofs04hpf Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240829@181419.6790 2k95gr3685supffn1gofs04hpf Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240829@181419.6801 2k95gr3685supffn1gofs04hpf Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240829@181419.6812 2k95gr3685supffn1gofs04hpf Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d0a0960266d0ac6b9b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240829@181419.7068 2k95gr3685supffn1gofs04hpf Query : select top 1 fno valor from wsftdata order by fno desc
20240829@181419.7089 2k95gr3685supffn1gofs04hpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.7104 2k95gr3685supffn1gofs04hpf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181419.7126 2k95gr3685supffn1gofs04hpf Query : select 'normal' from dummy
20240829@181419.7140 2k95gr3685supffn1gofs04hpf Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d0a0960266d0ac6b9b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',525,100810,0,'2024-08-29',39,'euro',0,0,2024 ,?,?)
20240829@181419.7480 2k95gr3685supffn1gofs04hpf Query : use flama_phc
20240829@181419.7484 2k95gr3685supffn1gofs04hpf Query : select st.usalote valor from st where st.ref = '324.2231.00.2'
20240829@181419.7507 2k95gr3685supffn1gofs04hpf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2231.00.2'
20240829@181419.7665 2k95gr3685supffn1gofs04hpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.7681 2k95gr3685supffn1gofs04hpf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181419.7706 2k95gr3685supffn1gofs04hpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.7723 2k95gr3685supffn1gofs04hpf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181419.7731 2k95gr3685supffn1gofs04hpf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181419.7743 2k95gr3685supffn1gofs04hpf Query : select sestamp valor from se where ref ='324.2231.00.2' and lote = 'r2300389200a'
20240829@181419.7753 2k95gr3685supffn1gofs04hpf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181419.7767 2k95gr3685supffn1gofs04hpf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181419.7779 2k95gr3685supffn1gofs04hpf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a7805766d0ac6bbd','aut66d0a0960266d0ac6b9b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181419.7797 2k95gr3685supffn1gofs04hpf Query : use flama_phc
20240829@181419.7800 2k95gr3685supffn1gofs04hpf Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240829@181419.7878 2k95gr3685supffn1gofs04hpf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1732';
20240829@181419.7907 2k95gr3685supffn1gofs04hpf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1732';
20240829@181420.2880 kvcj38b6s81uguab5v6beremea Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240829@181420.2990 kvcj38b6s81uguab5v6beremea Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240829@181420.4000 kvcj38b6s81uguab5v6beremea Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1733';
20240829@181420.6950 kvcj38b6s81uguab5v6beremea Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1733';
20240829@181420.8840 kvcj38b6s81uguab5v6beremea Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1733';
20240829@181420.9130 kvcj38b6s81uguab5v6beremea Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1733';
20240829@181420.9690 kvcj38b6s81uguab5v6beremea Query : use flama_phc
20240829@181420.9730 kvcj38b6s81uguab5v6beremea Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240829@181420.1276 kvcj38b6s81uguab5v6beremea Query : use flama_phc
20240829@181420.1319 kvcj38b6s81uguab5v6beremea Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240829@181420.1466 kvcj38b6s81uguab5v6beremea Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.2'
20240829@181420.1575 kvcj38b6s81uguab5v6beremea Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405624 and bi.ref ='324.2231.00.2' and bi.lordem =1
20240829@181420.2083 kvcj38b6s81uguab5v6beremea Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2231.00.2'
20240829@181420.2104 kvcj38b6s81uguab5v6beremea Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405624 and bi.ref ='324.2231.00.2' and bi.lordem =1
20240829@181420.2122 kvcj38b6s81uguab5v6beremea Query : use flama_phc
20240829@181420.2127 kvcj38b6s81uguab5v6beremea Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240829@181420.2161 kvcj38b6s81uguab5v6beremea Query : use flama_phc
20240829@181420.2164 kvcj38b6s81uguab5v6beremea Query : select top 1 1 valor from td where td.ndoc = 39
20240829@181420.2194 kvcj38b6s81uguab5v6beremea Query : use flama_phc
20240829@181420.2196 kvcj38b6s81uguab5v6beremea 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')
20240829@181420.2224 kvcj38b6s81uguab5v6beremea 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
20240829@181420.2260 kvcj38b6s81uguab5v6beremea Query : use flama_phc
20240829@181420.2263 kvcj38b6s81uguab5v6beremea Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240829@181420.2293 kvcj38b6s81uguab5v6beremea Query : use flama_phc
20240829@181420.2295 kvcj38b6s81uguab5v6beremea Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240829@181420.2324 kvcj38b6s81uguab5v6beremea Query : use flama_phc
20240829@181420.2327 kvcj38b6s81uguab5v6beremea Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240829@181420.2365 kvcj38b6s81uguab5v6beremea Query : use flama_phc
20240829@181420.2368 kvcj38b6s81uguab5v6beremea Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240829@181420.2413 kvcj38b6s81uguab5v6beremea Query : use flama_phc
20240829@181420.2416 kvcj38b6s81uguab5v6beremea Query : select 1 valor from td where ndoc = 39
20240829@181420.2428 kvcj38b6s81uguab5v6beremea Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240829@181420.2444 kvcj38b6s81uguab5v6beremea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181420.2461 kvcj38b6s81uguab5v6beremea Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181420.2480 kvcj38b6s81uguab5v6beremea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181420.2495 kvcj38b6s81uguab5v6beremea Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181420.2523 kvcj38b6s81uguab5v6beremea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181420.2537 kvcj38b6s81uguab5v6beremea Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181420.2549 kvcj38b6s81uguab5v6beremea Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181420.2617 kvcj38b6s81uguab5v6beremea Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181420.2631 kvcj38b6s81uguab5v6beremea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181420.2646 kvcj38b6s81uguab5v6beremea Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181420.2662 kvcj38b6s81uguab5v6beremea Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d0a4880366d0ac6c3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240829@181420.2851 kvcj38b6s81uguab5v6beremea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181420.2868 kvcj38b6s81uguab5v6beremea Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181420.2906 kvcj38b6s81uguab5v6beremea Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240829@181420.2919 kvcj38b6s81uguab5v6beremea Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240829@181420.2934 kvcj38b6s81uguab5v6beremea Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240829@181420.2947 kvcj38b6s81uguab5v6beremea Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240829@181420.2959 kvcj38b6s81uguab5v6beremea Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240829@181420.2971 kvcj38b6s81uguab5v6beremea Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240829@181420.2983 kvcj38b6s81uguab5v6beremea Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d0a4880366d0ac6c3e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240829@181420.3236 kvcj38b6s81uguab5v6beremea Query : select top 1 fno valor from wsftdata order by fno desc
20240829@181420.3260 kvcj38b6s81uguab5v6beremea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181420.3277 kvcj38b6s81uguab5v6beremea Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181420.3301 kvcj38b6s81uguab5v6beremea Query : select 'normal' from dummy
20240829@181420.3316 kvcj38b6s81uguab5v6beremea Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d0a4880366d0ac6c3e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',525,100810,0,'2024-08-29',39,'euro',0,0,2024 ,?,?)
20240829@181420.3616 kvcj38b6s81uguab5v6beremea Query : use flama_phc
20240829@181420.3619 kvcj38b6s81uguab5v6beremea Query : select st.usalote valor from st where st.ref = '324.2231.00.2'
20240829@181420.3642 kvcj38b6s81uguab5v6beremea Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.2231.00.2'
20240829@181420.3657 kvcj38b6s81uguab5v6beremea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181420.3674 kvcj38b6s81uguab5v6beremea Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181420.3700 kvcj38b6s81uguab5v6beremea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181420.3714 kvcj38b6s81uguab5v6beremea Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181420.3723 kvcj38b6s81uguab5v6beremea Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181420.3736 kvcj38b6s81uguab5v6beremea Query : select sestamp valor from se where ref ='324.2231.00.2' and lote = 'r2300389200a'
20240829@181420.3745 kvcj38b6s81uguab5v6beremea Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181420.3759 kvcj38b6s81uguab5v6beremea Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181420.3772 kvcj38b6s81uguab5v6beremea Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a8525366d0ac6c5b','aut66d0a4880366d0ac6c3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181420.3790 kvcj38b6s81uguab5v6beremea Query : use flama_phc
20240829@181420.3793 kvcj38b6s81uguab5v6beremea Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20240829@181420.3824 kvcj38b6s81uguab5v6beremea Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1733';
20240829@181420.3852 kvcj38b6s81uguab5v6beremea Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1733';
20240829@181420.4725 sgcql9v3bv83rcogeeh3gjnl1n Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240829@181420.4737 sgcql9v3bv83rcogeeh3gjnl1n Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240829@181420.4788 sgcql9v3bv83rcogeeh3gjnl1n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1734';
20240829@181420.4841 sgcql9v3bv83rcogeeh3gjnl1n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1734';
20240829@181420.4891 sgcql9v3bv83rcogeeh3gjnl1n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1734';
20240829@181420.4915 sgcql9v3bv83rcogeeh3gjnl1n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1734';
20240829@181420.4960 sgcql9v3bv83rcogeeh3gjnl1n Query : use flama_phc
20240829@181420.4963 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240829@181420.5027 sgcql9v3bv83rcogeeh3gjnl1n Query : use flama_phc
20240829@181420.5030 sgcql9v3bv83rcogeeh3gjnl1n Query : select no, estab,szadrsdesc from szadrs where u_coddest=3155
20240829@181420.5116 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20240829@181420.5285 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405625 and bi.ref ='324.4521.00.1' and bi.lordem =1
20240829@181420.5695 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20240829@181420.5953 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405625 and bi.ref ='324.1646.00.1' and bi.lordem =2
20240829@181420.6580 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.938.00.01'
20240829@181420.6812 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405625 and bi.ref ='324.938.00.01' and bi.lordem =3
20240829@181420.7131 sgcql9v3bv83rcogeeh3gjnl1n Query : use flama_phc
20240829@181420.7136 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240829@181420.7167 sgcql9v3bv83rcogeeh3gjnl1n Query : use flama_phc
20240829@181420.7170 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 1 valor from td where td.ndoc = 39
20240829@181420.7200 sgcql9v3bv83rcogeeh3gjnl1n Query : use flama_phc
20240829@181420.7203 sgcql9v3bv83rcogeeh3gjnl1n 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')
20240829@181420.7230 sgcql9v3bv83rcogeeh3gjnl1n 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
20240829@181420.7264 sgcql9v3bv83rcogeeh3gjnl1n Query : use flama_phc
20240829@181420.7267 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 ~inactivo valor from cl where no = '101176' and estab = 0 order by inactivo desc
20240829@181420.7389 sgcql9v3bv83rcogeeh3gjnl1n Query : use flama_phc
20240829@181420.7392 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240829@181420.7423 sgcql9v3bv83rcogeeh3gjnl1n Query : use flama_phc
20240829@181420.7426 sgcql9v3bv83rcogeeh3gjnl1n Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240829@181420.7463 sgcql9v3bv83rcogeeh3gjnl1n Query : use flama_phc
20240829@181420.7466 sgcql9v3bv83rcogeeh3gjnl1n Query : select szadrsstamp valor from szadrs where szadrsdesc='soares & filhos, lda.-entrega'
20240829@181420.8651 sgcql9v3bv83rcogeeh3gjnl1n Query : use flama_phc
20240829@181420.8655 sgcql9v3bv83rcogeeh3gjnl1n Query : select 1 valor from td where ndoc = 39
20240829@181420.8668 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240829@181420.8682 sgcql9v3bv83rcogeeh3gjnl1n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181420.8698 sgcql9v3bv83rcogeeh3gjnl1n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181420.8716 sgcql9v3bv83rcogeeh3gjnl1n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181420.8730 sgcql9v3bv83rcogeeh3gjnl1n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181420.8756 sgcql9v3bv83rcogeeh3gjnl1n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181420.8769 sgcql9v3bv83rcogeeh3gjnl1n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181420.8781 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181420.8852 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181420.8864 sgcql9v3bv83rcogeeh3gjnl1n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181420.8878 sgcql9v3bv83rcogeeh3gjnl1n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181420.8893 sgcql9v3bv83rcogeeh3gjnl1n Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d0a8480366d0ac6cd6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240829@181420.9078 sgcql9v3bv83rcogeeh3gjnl1n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181420.9096 sgcql9v3bv83rcogeeh3gjnl1n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181420.9131 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240829@181420.9142 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240829@181420.9154 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240829@181420.9165 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240829@181420.9177 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240829@181420.9191 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240829@181420.9202 sgcql9v3bv83rcogeeh3gjnl1n Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d0a8480366d0ac6cd6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240829@181420.9446 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 fno valor from wsftdata order by fno desc
20240829@181420.9467 sgcql9v3bv83rcogeeh3gjnl1n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181420.9483 sgcql9v3bv83rcogeeh3gjnl1n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181420.9507 sgcql9v3bv83rcogeeh3gjnl1n Query : select 'normal' from dummy
20240829@181420.9541 sgcql9v3bv83rcogeeh3gjnl1n Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d0a8480366d0ac6cd6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',525,101176,0,'2024-08-29',39,'euro',0,0,2024 ,?,?)
20240829@181420.9889 sgcql9v3bv83rcogeeh3gjnl1n Query : use flama_phc
20240829@181420.9893 sgcql9v3bv83rcogeeh3gjnl1n Query : select st.usalote valor from st where st.ref = '324.4521.00.1'
20240829@181420.9921 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4521.00.1'
20240829@181421.8400 sgcql9v3bv83rcogeeh3gjnl1n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.1040 sgcql9v3bv83rcogeeh3gjnl1n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181421.1340 sgcql9v3bv83rcogeeh3gjnl1n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.1500 sgcql9v3bv83rcogeeh3gjnl1n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181421.1600 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181421.1740 sgcql9v3bv83rcogeeh3gjnl1n Query : select sestamp valor from se where ref ='324.4521.00.1' and lote = 'r2400052200a'
20240829@181421.1890 sgcql9v3bv83rcogeeh3gjnl1n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.2050 sgcql9v3bv83rcogeeh3gjnl1n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181421.2190 sgcql9v3bv83rcogeeh3gjnl1n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a1279466d0ac6d04','aut66d0a8480366d0ac6cd6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181421.2230 sgcql9v3bv83rcogeeh3gjnl1n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.2390 sgcql9v3bv83rcogeeh3gjnl1n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181421.2710 sgcql9v3bv83rcogeeh3gjnl1n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a1279466d0ac6d04',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d0a8480366d0ac6cd6' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240829@181421.5780 sgcql9v3bv83rcogeeh3gjnl1n Query : use flama_phc
20240829@181421.5820 sgcql9v3bv83rcogeeh3gjnl1n Query : select st.usalote valor from st where st.ref = '324.1646.00.1'
20240829@181421.6040 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1646.00.1'
20240829@181421.8540 sgcql9v3bv83rcogeeh3gjnl1n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.8710 sgcql9v3bv83rcogeeh3gjnl1n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181421.8960 sgcql9v3bv83rcogeeh3gjnl1n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.9090 sgcql9v3bv83rcogeeh3gjnl1n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181421.9170 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181421.9290 sgcql9v3bv83rcogeeh3gjnl1n Query : select sestamp valor from se where ref ='324.1646.00.1' and lote = 'r2100904100a'
20240829@181421.9770 sgcql9v3bv83rcogeeh3gjnl1n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.9920 sgcql9v3bv83rcogeeh3gjnl1n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181421.1004 sgcql9v3bv83rcogeeh3gjnl1n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a5890866d0ac6d17','aut66d0a8480366d0ac6cd6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181421.1008 sgcql9v3bv83rcogeeh3gjnl1n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.1022 sgcql9v3bv83rcogeeh3gjnl1n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181421.1051 sgcql9v3bv83rcogeeh3gjnl1n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a5890866d0ac6d17',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66d0a8480366d0ac6cd6' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240829@181421.1310 sgcql9v3bv83rcogeeh3gjnl1n Query : use flama_phc
20240829@181421.1313 sgcql9v3bv83rcogeeh3gjnl1n Query : select st.usalote valor from st where st.ref = '324.938.00.01'
20240829@181421.1333 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.938.00.01'
20240829@181421.1488 sgcql9v3bv83rcogeeh3gjnl1n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.1504 sgcql9v3bv83rcogeeh3gjnl1n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181421.1528 sgcql9v3bv83rcogeeh3gjnl1n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.1542 sgcql9v3bv83rcogeeh3gjnl1n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181421.1551 sgcql9v3bv83rcogeeh3gjnl1n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181421.1562 sgcql9v3bv83rcogeeh3gjnl1n Query : select sestamp valor from se where ref ='324.938.00.01' and lote = 'r2301371100a'
20240829@181421.1575 sgcql9v3bv83rcogeeh3gjnl1n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.1589 sgcql9v3bv83rcogeeh3gjnl1n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181421.1601 sgcql9v3bv83rcogeeh3gjnl1n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a6292466d0ac6d26','aut66d0a8480366d0ac6cd6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181421.1605 sgcql9v3bv83rcogeeh3gjnl1n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.1618 sgcql9v3bv83rcogeeh3gjnl1n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181421.1646 sgcql9v3bv83rcogeeh3gjnl1n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a6292466d0ac6d26',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66d0a8480366d0ac6cd6' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240829@181421.1922 sgcql9v3bv83rcogeeh3gjnl1n Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d0a8480366d0ac6cd6','2405625','wait',39,'adm09112754980.682000002')
20240829@181421.1992 sgcql9v3bv83rcogeeh3gjnl1n Query : use flama_phc
20240829@181421.1995 sgcql9v3bv83rcogeeh3gjnl1n Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@181421.2025 sgcql9v3bv83rcogeeh3gjnl1n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1734';
20240829@181421.2053 sgcql9v3bv83rcogeeh3gjnl1n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1734';
20240829@181421.2090 sgcql9v3bv83rcogeeh3gjnl1n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1734';
20240829@181421.2113 sgcql9v3bv83rcogeeh3gjnl1n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1734';
20240829@181421.3030 ijch827temn1fsikiquiu1gvtt Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240829@181421.3042 ijch827temn1fsikiquiu1gvtt Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240829@181421.3096 ijch827temn1fsikiquiu1gvtt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1735';
20240829@181421.3149 ijch827temn1fsikiquiu1gvtt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1735';
20240829@181421.3200 ijch827temn1fsikiquiu1gvtt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1735';
20240829@181421.3222 ijch827temn1fsikiquiu1gvtt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1735';
20240829@181421.3268 ijch827temn1fsikiquiu1gvtt Query : use flama_phc
20240829@181421.3271 ijch827temn1fsikiquiu1gvtt Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240829@181421.3333 ijch827temn1fsikiquiu1gvtt Query : use flama_phc
20240829@181421.3336 ijch827temn1fsikiquiu1gvtt Query : select no, estab,szadrsdesc from szadrs where u_coddest=2410
20240829@181421.3420 ijch827temn1fsikiquiu1gvtt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4005.00.2'
20240829@181421.3667 ijch827temn1fsikiquiu1gvtt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405633 and bi.ref ='304.4005.00.2' and bi.lordem =1
20240829@181421.4270 ijch827temn1fsikiquiu1gvtt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20240829@181421.4571 ijch827temn1fsikiquiu1gvtt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405633 and bi.ref ='324.658.00.01' and bi.lordem =2
20240829@181421.5051 ijch827temn1fsikiquiu1gvtt Query : use flama_phc
20240829@181421.5054 ijch827temn1fsikiquiu1gvtt Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240829@181421.5087 ijch827temn1fsikiquiu1gvtt Query : use flama_phc
20240829@181421.5090 ijch827temn1fsikiquiu1gvtt Query : select top 1 1 valor from td where td.ndoc = 39
20240829@181421.5120 ijch827temn1fsikiquiu1gvtt Query : use flama_phc
20240829@181421.5123 ijch827temn1fsikiquiu1gvtt 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')
20240829@181421.5154 ijch827temn1fsikiquiu1gvtt 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
20240829@181421.5191 ijch827temn1fsikiquiu1gvtt Query : use flama_phc
20240829@181421.5193 ijch827temn1fsikiquiu1gvtt Query : select top 1 ~inactivo valor from cl where no = '102553' and estab = 0 order by inactivo desc
20240829@181421.5330 ijch827temn1fsikiquiu1gvtt Query : use flama_phc
20240829@181421.5334 ijch827temn1fsikiquiu1gvtt Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240829@181421.5369 ijch827temn1fsikiquiu1gvtt Query : use flama_phc
20240829@181421.5373 ijch827temn1fsikiquiu1gvtt Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240829@181421.5415 ijch827temn1fsikiquiu1gvtt Query : use flama_phc
20240829@181421.5419 ijch827temn1fsikiquiu1gvtt Query : select szadrsstamp valor from szadrs where szadrsdesc='tanqueluz - importaÇÃo, exportaÇÃo e comÉrcio de materi'
20240829@181421.5473 ijch827temn1fsikiquiu1gvtt Query : use flama_phc
20240829@181421.5476 ijch827temn1fsikiquiu1gvtt Query : select 1 valor from td where ndoc = 39
20240829@181421.5491 ijch827temn1fsikiquiu1gvtt Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240829@181421.5507 ijch827temn1fsikiquiu1gvtt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.5537 ijch827temn1fsikiquiu1gvtt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181421.5561 ijch827temn1fsikiquiu1gvtt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.5579 ijch827temn1fsikiquiu1gvtt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181421.5611 ijch827temn1fsikiquiu1gvtt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.5627 ijch827temn1fsikiquiu1gvtt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181421.5640 ijch827temn1fsikiquiu1gvtt Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181421.5716 ijch827temn1fsikiquiu1gvtt Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240829@181421.6883 ijch827temn1fsikiquiu1gvtt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.6901 ijch827temn1fsikiquiu1gvtt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240829@181421.6918 ijch827temn1fsikiquiu1gvtt Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d0a9078966d0ac6d89' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240829@181421.7100 ijch827temn1fsikiquiu1gvtt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.7117 ijch827temn1fsikiquiu1gvtt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240829@181421.7151 ijch827temn1fsikiquiu1gvtt Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240829@181421.7163 ijch827temn1fsikiquiu1gvtt Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240829@181421.7176 ijch827temn1fsikiquiu1gvtt Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240829@181421.7188 ijch827temn1fsikiquiu1gvtt Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240829@181421.7200 ijch827temn1fsikiquiu1gvtt Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240829@181421.7212 ijch827temn1fsikiquiu1gvtt Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240829@181421.7224 ijch827temn1fsikiquiu1gvtt Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d0a9078966d0ac6d89',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240829@181421.7481 ijch827temn1fsikiquiu1gvtt Query : select top 1 fno valor from wsftdata order by fno desc
20240829@181421.7501 ijch827temn1fsikiquiu1gvtt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.7519 ijch827temn1fsikiquiu1gvtt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240829@181421.7542 ijch827temn1fsikiquiu1gvtt Query : select 'normal' from dummy
20240829@181421.7558 ijch827temn1fsikiquiu1gvtt Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d0a9078966d0ac6d89',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',526,102553,0,'2024-08-29',39,'euro',0,0,2024 ,?,?)
20240829@181421.7886 ijch827temn1fsikiquiu1gvtt Query : use flama_phc
20240829@181421.7889 ijch827temn1fsikiquiu1gvtt Query : select st.usalote valor from st where st.ref = '304.4005.00.2'
20240829@181421.7915 ijch827temn1fsikiquiu1gvtt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.4005.00.2'
20240829@181421.8133 ijch827temn1fsikiquiu1gvtt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.8149 ijch827temn1fsikiquiu1gvtt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181421.8176 ijch827temn1fsikiquiu1gvtt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.8190 ijch827temn1fsikiquiu1gvtt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181421.8199 ijch827temn1fsikiquiu1gvtt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181421.8211 ijch827temn1fsikiquiu1gvtt Query : select sestamp valor from se where ref ='304.4005.00.2' and lote = '211257'
20240829@181421.8225 ijch827temn1fsikiquiu1gvtt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.8239 ijch827temn1fsikiquiu1gvtt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181421.8251 ijch827temn1fsikiquiu1gvtt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a3026166d0ac6dc8','aut66d0a9078966d0ac6d89' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181421.8256 ijch827temn1fsikiquiu1gvtt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.8270 ijch827temn1fsikiquiu1gvtt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181421.8298 ijch827temn1fsikiquiu1gvtt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a3026166d0ac6dc8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66d0a9078966d0ac6d89' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240829@181421.8633 ijch827temn1fsikiquiu1gvtt Query : use flama_phc
20240829@181421.8655 ijch827temn1fsikiquiu1gvtt Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20240829@181421.8680 ijch827temn1fsikiquiu1gvtt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.658.00.01'
20240829@181421.8901 ijch827temn1fsikiquiu1gvtt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.8917 ijch827temn1fsikiquiu1gvtt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181421.8944 ijch827temn1fsikiquiu1gvtt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.8958 ijch827temn1fsikiquiu1gvtt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181421.8967 ijch827temn1fsikiquiu1gvtt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181421.8980 ijch827temn1fsikiquiu1gvtt Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2300819200a'
20240829@181421.8993 ijch827temn1fsikiquiu1gvtt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.9009 ijch827temn1fsikiquiu1gvtt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181421.9023 ijch827temn1fsikiquiu1gvtt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a0599866d0ac6ddb','aut66d0a9078966d0ac6d89' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181421.9028 ijch827temn1fsikiquiu1gvtt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.9042 ijch827temn1fsikiquiu1gvtt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181421.9074 ijch827temn1fsikiquiu1gvtt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d0a0599866d0ac6ddb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66d0a9078966d0ac6d89' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240829@181421.9366 ijch827temn1fsikiquiu1gvtt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.9386 ijch827temn1fsikiquiu1gvtt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181421.9422 ijch827temn1fsikiquiu1gvtt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.9437 ijch827temn1fsikiquiu1gvtt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181421.9446 ijch827temn1fsikiquiu1gvtt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@181421.9458 ijch827temn1fsikiquiu1gvtt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.9472 ijch827temn1fsikiquiu1gvtt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240829@181421.9484 ijch827temn1fsikiquiu1gvtt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0a9301166d0ac6de6','aut66d0a9078966d0ac6d89' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240829@181421.9488 ijch827temn1fsikiquiu1gvtt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@181421.9502 ijch827temn1fsikiquiu1gvtt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240829@181421.9536 ijch827temn1fsikiquiu1gvtt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66d0a9301166d0ac6de6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66d0a9078966d0ac6d89' ,0,0 ,2,23.00,30000,?,?,?)
20240829@181421.9831 ijch827temn1fsikiquiu1gvtt Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66d0a9078966d0ac6d89','2405633','wait',39,'adm09112754980.682000002')
20240829@181421.9901 ijch827temn1fsikiquiu1gvtt Query : use flama_phc
20240829@181421.9905 ijch827temn1fsikiquiu1gvtt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@181421.9935 ijch827temn1fsikiquiu1gvtt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1735';
20240829@181421.9963 ijch827temn1fsikiquiu1gvtt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1735';
20240829@181422.2000 ijch827temn1fsikiquiu1gvtt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1735';
20240829@181422.2600 ijch827temn1fsikiquiu1gvtt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1735';
20240829@181912.6509 4tc3f3khdp2qgt2ssssnota70q Query : use flama_phc
20240829@181912.6515 4tc3f3khdp2qgt2ssssnota70q Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@181912.6620 4tc3f3khdp2qgt2ssssnota70q Query : use flama_phc
20240829@181912.6624 4tc3f3khdp2qgt2ssssnota70q Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@183612.5145 783nvoj94310097ttrak6sknbu Query : use flama_phc
20240829@183612.5149 783nvoj94310097ttrak6sknbu Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@183612.5252 783nvoj94310097ttrak6sknbu Query : use flama_phc
20240829@183612.5256 783nvoj94310097ttrak6sknbu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@191913.3181 rs89iol8trkfa0qi1l0p3vdjlv Query : use flama_phc
20240829@191913.3186 rs89iol8trkfa0qi1l0p3vdjlv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@191913.3284 rs89iol8trkfa0qi1l0p3vdjlv Query : use flama_phc
20240829@191913.3289 rs89iol8trkfa0qi1l0p3vdjlv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@192821.5273 4sfjm5j5d9u3mrevo78a6o6cqq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240829@192821.5286 4sfjm5j5d9u3mrevo78a6o6cqq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240829@192821.5353 4sfjm5j5d9u3mrevo78a6o6cqq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1736';
20240829@192821.5429 4sfjm5j5d9u3mrevo78a6o6cqq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1736';
20240829@192821.5493 4sfjm5j5d9u3mrevo78a6o6cqq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1736';
20240829@192821.5520 4sfjm5j5d9u3mrevo78a6o6cqq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1736';
20240829@192821.5569 4sfjm5j5d9u3mrevo78a6o6cqq Query : use flama_phc
20240829@192821.5573 4sfjm5j5d9u3mrevo78a6o6cqq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240829@192821.5645 4sfjm5j5d9u3mrevo78a6o6cqq Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.681.00.01'
20240829@192821.5775 4sfjm5j5d9u3mrevo78a6o6cqq 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 = 2400225 and bi.ref ='324.681.00.01' and bi.lordem =20000
20240829@192821.7133 4sfjm5j5d9u3mrevo78a6o6cqq 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 = 'cps24022845138,510000002 ' 
20240829@192821.7461 4sfjm5j5d9u3mrevo78a6o6cqq Query : use flama_phc
20240829@192821.7465 4sfjm5j5d9u3mrevo78a6o6cqq Query : select top 1 1 valor from ts where ts.ndos = 61
20240829@192821.7566 4sfjm5j5d9u3mrevo78a6o6cqq Query : use flama_phc
20240829@192821.7569 4sfjm5j5d9u3mrevo78a6o6cqq 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')
20240829@192821.7600 4sfjm5j5d9u3mrevo78a6o6cqq 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
20240829@192821.7919 4sfjm5j5d9u3mrevo78a6o6cqq Query : use flama_phc
20240829@192821.7922 4sfjm5j5d9u3mrevo78a6o6cqq Query : select top 1 ~inactivo valor from fl where no = '202090' and estab = 00 order by inactivo desc
20240829@192821.8072 4sfjm5j5d9u3mrevo78a6o6cqq Query : use flama_phc
20240829@192821.8076 4sfjm5j5d9u3mrevo78a6o6cqq Query : select 1 valor from ts where ndos = 61
20240829@192821.8156 4sfjm5j5d9u3mrevo78a6o6cqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@192821.8175 4sfjm5j5d9u3mrevo78a6o6cqq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20240829@192821.8188 4sfjm5j5d9u3mrevo78a6o6cqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@192821.8204 4sfjm5j5d9u3mrevo78a6o6cqq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20240829@192821.8215 4sfjm5j5d9u3mrevo78a6o6cqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@192821.8231 4sfjm5j5d9u3mrevo78a6o6cqq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20240829@192821.8241 4sfjm5j5d9u3mrevo78a6o6cqq 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
20240829@192821.8376 4sfjm5j5d9u3mrevo78a6o6cqq Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240829@192821.8479 4sfjm5j5d9u3mrevo78a6o6cqq Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240829@192821.8499 4sfjm5j5d9u3mrevo78a6o6cqq Query : use flama_phc
20240829@192821.8507 4sfjm5j5d9u3mrevo78a6o6cqq Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202090' and estab=00
20240829@192821.8597 4sfjm5j5d9u3mrevo78a6o6cqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@192821.8616 4sfjm5j5d9u3mrevo78a6o6cqq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20240829@192821.8632 4sfjm5j5d9u3mrevo78a6o6cqq Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0b3965966d0bdc5cf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240829@192821.8707 4sfjm5j5d9u3mrevo78a6o6cqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@192821.8724 4sfjm5j5d9u3mrevo78a6o6cqq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20240829@192821.8740 4sfjm5j5d9u3mrevo78a6o6cqq Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0b3965966d0bdc5cf','--','bo',7.8031578947368421052 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240829@192821.9055 4sfjm5j5d9u3mrevo78a6o6cqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@192821.9135 4sfjm5j5d9u3mrevo78a6o6cqq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20240829@192821.9151 4sfjm5j5d9u3mrevo78a6o6cqq 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 ('aut66d0b3965966d0bdc5cf','guia r. fornecedor','2024-08-29',61,2402403,?,?,?,?,?,?,?,?,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')
20240829@192821.9855 4sfjm5j5d9u3mrevo78a6o6cqq Query : use flama_phc
20240829@192821.9859 4sfjm5j5d9u3mrevo78a6o6cqq Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20240829@192821.9891 4sfjm5j5d9u3mrevo78a6o6cqq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.681.00.01'
20240829@192822.5400 4sfjm5j5d9u3mrevo78a6o6cqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@192822.7300 4sfjm5j5d9u3mrevo78a6o6cqq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20240829@192822.8900 4sfjm5j5d9u3mrevo78a6o6cqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@192822.1050 4sfjm5j5d9u3mrevo78a6o6cqq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20240829@192822.1170 4sfjm5j5d9u3mrevo78a6o6cqq Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400225200a'
20240829@192822.1390 4sfjm5j5d9u3mrevo78a6o6cqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@192822.1590 4sfjm5j5d9u3mrevo78a6o6cqq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20240829@192822.1690 4sfjm5j5d9u3mrevo78a6o6cqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@192822.1860 4sfjm5j5d9u3mrevo78a6o6cqq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20240829@192822.2010 4sfjm5j5d9u3mrevo78a6o6cqq Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d0b3243866d0bdc604',?,?,'20240829',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20240829@192822.7600 4sfjm5j5d9u3mrevo78a6o6cqq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240829@192822.7870 4sfjm5j5d9u3mrevo78a6o6cqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@192822.8060 4sfjm5j5d9u3mrevo78a6o6cqq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20240829@192822.8220 4sfjm5j5d9u3mrevo78a6o6cqq Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66d0b9692266d0bdc613','aut66d0b3965966d0bdc5cf',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 = 'aut66d0b3965966d0bdc5cf'
20240829@192822.1008 4sfjm5j5d9u3mrevo78a6o6cqq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240829@192822.1027 4sfjm5j5d9u3mrevo78a6o6cqq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20240829@192822.1057 4sfjm5j5d9u3mrevo78a6o6cqq 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 'aut66d0b9692266d0bdc613',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1030, 1030*.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 ,19,19*200.48,19,19*200.48 ,0,0,'un ','' ,bo.marcada,1 ,19*1030,19*1030*200.48 ,24.939000,24.939000*200.48 ,24.939000,24.939000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,19,19*200.48,19*1030,19*1030*200.48,'cps24022845138,510000002 ',148.26,148.26*1030,148.26,148.26*1030,?,?,?,4 from bo bo where bo.bostamp = 'aut66d0b3965966d0bdc5cf'
20240829@192828.8756 4sfjm5j5d9u3mrevo78a6o6cqq Query : use flama_phc
20240829@192828.8760 4sfjm5j5d9u3mrevo78a6o6cqq Query : declare @bostamp varchar(25) = 'aut66d0b3965966d0bdc5cf' ,@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 
20240829@192836.7797 4sfjm5j5d9u3mrevo78a6o6cqq Query : use flama_phc
20240829@192836.7800 4sfjm5j5d9u3mrevo78a6o6cqq Query : select 1 valor from bo where bo.bostamp = 'aut66d0b3965966d0bdc5cf'
20240829@192836.8057 4sfjm5j5d9u3mrevo78a6o6cqq 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) = 'aut66d0b3965966d0bdc5cf' 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 
20240829@192837.5550 4sfjm5j5d9u3mrevo78a6o6cqq Query : use flama_phc
20240829@192837.5590 4sfjm5j5d9u3mrevo78a6o6cqq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@192837.6180 4sfjm5j5d9u3mrevo78a6o6cqq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1736';
20240829@192837.6600 4sfjm5j5d9u3mrevo78a6o6cqq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1736';
20240829@193613.2988 2b3suv92eob2np0nupdqs3r4p2 Query : use flama_phc
20240829@193613.2992 2b3suv92eob2np0nupdqs3r4p2 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@193613.3094 2b3suv92eob2np0nupdqs3r4p2 Query : use flama_phc
20240829@193613.3098 2b3suv92eob2np0nupdqs3r4p2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@201913.4389 7ca5tqgde6mi5mn2hgu0oimjti Query : use flama_phc
20240829@201913.4394 7ca5tqgde6mi5mn2hgu0oimjti Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@201913.4487 7ca5tqgde6mi5mn2hgu0oimjti Query : use flama_phc
20240829@201913.4490 7ca5tqgde6mi5mn2hgu0oimjti Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@203613.1149 gqs0a2vh7pifq2729bniuf5p7m Query : use flama_phc
20240829@203613.1153 gqs0a2vh7pifq2729bniuf5p7m Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@203613.1237 gqs0a2vh7pifq2729bniuf5p7m Query : use flama_phc
20240829@203613.1240 gqs0a2vh7pifq2729bniuf5p7m Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@211912.5324 d2idrt9913851gbtieclnjetvc Query : use flama_phc
20240829@211912.5328 d2idrt9913851gbtieclnjetvc Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@211912.5423 d2idrt9913851gbtieclnjetvc Query : use flama_phc
20240829@211912.5426 d2idrt9913851gbtieclnjetvc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@213612.4035 tnmgrt4bvqbgfeel7in94r4u6f Query : use flama_phc
20240829@213612.4039 tnmgrt4bvqbgfeel7in94r4u6f Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@213612.4170 tnmgrt4bvqbgfeel7in94r4u6f Query : use flama_phc
20240829@213612.4195 tnmgrt4bvqbgfeel7in94r4u6f Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@221914.6391 kor7s53dqq4ktq5lvus5d6ao4e Query : use flama_phc
20240829@221914.6395 kor7s53dqq4ktq5lvus5d6ao4e Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@221914.6494 kor7s53dqq4ktq5lvus5d6ao4e Query : use flama_phc
20240829@221914.6498 kor7s53dqq4ktq5lvus5d6ao4e Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@223614.8011 8pvoa2ko01ke81642tubuov0kg Query : use flama_phc
20240829@223614.8017 8pvoa2ko01ke81642tubuov0kg Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@223614.8124 8pvoa2ko01ke81642tubuov0kg Query : use flama_phc
20240829@223614.8128 8pvoa2ko01ke81642tubuov0kg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@231912.4960 cmr8tf1dtm19m58giie31347q4 Query : use flama_phc
20240829@231912.4968 cmr8tf1dtm19m58giie31347q4 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@231912.5111 cmr8tf1dtm19m58giie31347q4 Query : use flama_phc
20240829@231912.5115 cmr8tf1dtm19m58giie31347q4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240829@233612.4014 h9mid2a0o2gdgd0etqpsoljhqp Query : use flama_phc
20240829@233612.4019 h9mid2a0o2gdgd0etqpsoljhqp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240829@233612.4233 h9mid2a0o2gdgd0etqpsoljhqp Query : use flama_phc
20240829@233612.4279 h9mid2a0o2gdgd0etqpsoljhqp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240830@071911.3040 5fne2q96cduj905k8e0np36sbe Query : use flama_phc
20240830@071911.3350 5fne2q96cduj905k8e0np36sbe Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240830@071911.6250 5fne2q96cduj905k8e0np36sbe Query : use flama_phc
20240830@071911.6290 5fne2q96cduj905k8e0np36sbe Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240830@073610.9962 iq11p3e7a9d24uc91atlnrn765 Query : use flama_phc
20240830@073610.9967 iq11p3e7a9d24uc91atlnrn765 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240830@073611.8900 iq11p3e7a9d24uc91atlnrn765 Query : use flama_phc
20240830@073611.9200 iq11p3e7a9d24uc91atlnrn765 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240830@080229.7977 otr1c96c283hoilj5q8m7dbr38 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240830@080229.8110 otr1c96c283hoilj5q8m7dbr38 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240830@080229.9136 otr1c96c283hoilj5q8m7dbr38 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1737';
20240830@080229.9503 otr1c96c283hoilj5q8m7dbr38 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1737';
20240830@080230.4360 otr1c96c283hoilj5q8m7dbr38 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1737';
20240830@080230.1981 otr1c96c283hoilj5q8m7dbr38 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1737';
20240830@080230.2430 otr1c96c283hoilj5q8m7dbr38 Query : use flama_phc
20240830@080230.2472 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240830@080230.2871 otr1c96c283hoilj5q8m7dbr38 Query : use flama_phc
20240830@080230.2911 otr1c96c283hoilj5q8m7dbr38 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2915
20240830@080230.3677 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.946.00.01'
20240830@080230.4111 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.946.00.01' and bi.lordem =1
20240830@080230.4502 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.711.00.01'
20240830@080230.4678 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.711.00.01' and bi.lordem =2
20240830@080230.5011 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20240830@080230.5181 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.736.00.01' and bi.lordem =3
20240830@080230.5518 otr1c96c283hoilj5q8m7dbr38 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'
20240830@080230.5694 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.1824.00.1' and bi.lordem =4
20240830@080230.6067 otr1c96c283hoilj5q8m7dbr38 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'
20240830@080230.6091 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.1824.00.1' and bi.lordem =4
20240830@080230.6109 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240830@080230.6275 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.4970.00.1' and bi.lordem =5
20240830@080230.6620 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.966.00.01'
20240830@080230.6788 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.966.00.01' and bi.lordem =6
20240830@080230.7132 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.670.00.01'
20240830@080230.7345 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.670.00.01' and bi.lordem =7
20240830@080230.7705 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.969.00.01'
20240830@080230.7891 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.969.00.01' and bi.lordem =8
20240830@080230.8234 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20240830@080230.8443 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.2224.00.1' and bi.lordem =9
20240830@080230.8804 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20240830@080230.8977 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.4521.00.1' and bi.lordem =10
20240830@080230.9318 otr1c96c283hoilj5q8m7dbr38 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'
20240830@080230.9487 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.5343.00.1' and bi.lordem =11
20240830@080230.9830 otr1c96c283hoilj5q8m7dbr38 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'
20240830@080230.9998 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.1684.00.1' and bi.lordem =12
20240830@080231.4170 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5342.00.1'
20240830@080231.5840 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.5342.00.1' and bi.lordem =13
20240830@080231.9210 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5342.00.1'
20240830@080231.9450 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.5342.00.1' and bi.lordem =13
20240830@080231.9640 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1884.00.1'
20240830@080231.1229 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.1884.00.1' and bi.lordem =14
20240830@080231.1805 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240830@080231.2030 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.1816.00.1' and bi.lordem =15
20240830@080231.2738 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240830@080231.3006 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.1816.00.1' and bi.lordem =15
20240830@080231.3028 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20240830@080231.3206 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.1805.00.1' and bi.lordem =16
20240830@080231.3629 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20240830@080231.3653 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.1805.00.1' and bi.lordem =16
20240830@080231.3672 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.945.00.01'
20240830@080231.3849 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.945.00.01' and bi.lordem =17
20240830@080231.4187 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.939.00.01'
20240830@080231.4356 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.939.00.01' and bi.lordem =18
20240830@080231.4848 otr1c96c283hoilj5q8m7dbr38 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'
20240830@080231.5032 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.691.00.01' and bi.lordem =19
20240830@080231.5359 otr1c96c283hoilj5q8m7dbr38 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'
20240830@080231.5382 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.691.00.01' and bi.lordem =19
20240830@080231.5400 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.958.00.01'
20240830@080231.5567 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2056 and bo.obrano = 2405627 and bi.ref ='324.958.00.01' and bi.lordem =20
20240830@080231.5919 otr1c96c283hoilj5q8m7dbr38 Query : use flama_phc
20240830@080231.5924 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240830@080231.6149 otr1c96c283hoilj5q8m7dbr38 Query : use flama_phc
20240830@080231.6153 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 1 valor from td where td.ndoc = 39
20240830@080231.6277 otr1c96c283hoilj5q8m7dbr38 Query : use flama_phc
20240830@080231.6281 otr1c96c283hoilj5q8m7dbr38 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')
20240830@080231.6358 otr1c96c283hoilj5q8m7dbr38 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
20240830@080231.6547 otr1c96c283hoilj5q8m7dbr38 Query : use flama_phc
20240830@080231.6552 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20240830@080231.6697 otr1c96c283hoilj5q8m7dbr38 Query : use flama_phc
20240830@080231.6701 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240830@080231.6800 otr1c96c283hoilj5q8m7dbr38 Query : use flama_phc
20240830@080231.6803 otr1c96c283hoilj5q8m7dbr38 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240830@080231.6883 otr1c96c283hoilj5q8m7dbr38 Query : use flama_phc
20240830@080231.6886 otr1c96c283hoilj5q8m7dbr38 Query : select szadrsstamp valor from szadrs where szadrsdesc='vitoriadis, s.l.'
20240830@080231.6939 otr1c96c283hoilj5q8m7dbr38 Query : use flama_phc
20240830@080231.6942 otr1c96c283hoilj5q8m7dbr38 Query : select 1 valor from td where ndoc = 39
20240830@080231.7025 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240830@080231.7099 otr1c96c283hoilj5q8m7dbr38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240830@080231.7399 otr1c96c283hoilj5q8m7dbr38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240830@080231.7481 otr1c96c283hoilj5q8m7dbr38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240830@080231.7500 otr1c96c283hoilj5q8m7dbr38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240830@080231.7532 otr1c96c283hoilj5q8m7dbr38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240830@080231.7548 otr1c96c283hoilj5q8m7dbr38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240830@080231.7563 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240830@080231.7893 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240830@080231.8001 otr1c96c283hoilj5q8m7dbr38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240830@080231.8019 otr1c96c283hoilj5q8m7dbr38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240830@080231.8063 otr1c96c283hoilj5q8m7dbr38 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66d165158066d16e87b8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240830@080231.8425 otr1c96c283hoilj5q8m7dbr38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240830@080231.8447 otr1c96c283hoilj5q8m7dbr38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240830@080231.8487 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240830@080231.8625 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240830@080231.8756 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240830@080231.8861 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240830@080231.8955 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240830@080231.9047 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240830@080231.9139 otr1c96c283hoilj5q8m7dbr38 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66d165158066d16e87b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240830@080231.9716 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 fno valor from wsftdata order by fno desc
20240830@080231.9813 otr1c96c283hoilj5q8m7dbr38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240830@080231.9834 otr1c96c283hoilj5q8m7dbr38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240830@080231.9860 otr1c96c283hoilj5q8m7dbr38 Query : select 'normal' from dummy
20240830@080231.9910 otr1c96c283hoilj5q8m7dbr38 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66d165158066d16e87b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',527,200500,0,'2024-08-30',39,'euro',0,0,2024 ,?,?)
20240830@080232.6910 otr1c96c283hoilj5q8m7dbr38 Query : use flama_phc
20240830@080232.6940 otr1c96c283hoilj5q8m7dbr38 Query : select st.usalote valor from st where st.ref = '324.946.00.01'
20240830@080232.1060 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.946.00.01'
20240830@080232.1585 otr1c96c283hoilj5q8m7dbr38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240830@080232.1606 otr1c96c283hoilj5q8m7dbr38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240830@080232.1636 otr1c96c283hoilj5q8m7dbr38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240830@080232.1653 otr1c96c283hoilj5q8m7dbr38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240830@080232.1663 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240830@080232.1707 otr1c96c283hoilj5q8m7dbr38 Query : select sestamp valor from se where ref ='324.946.00.01' and lote = 'r2300941200a'
20240830@080232.1776 otr1c96c283hoilj5q8m7dbr38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240830@080232.1793 otr1c96c283hoilj5q8m7dbr38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240830@080232.1808 otr1c96c283hoilj5q8m7dbr38 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d164375266d16e882b','aut66d165158066d16e87b8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240830@080232.1878 otr1c96c283hoilj5q8m7dbr38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240830@080232.1896 otr1c96c283hoilj5q8m7dbr38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240830@080232.1929 otr1c96c283hoilj5q8m7dbr38 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d164375266d16e882b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66d165158066d16e87b8' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240830@080232.2397 otr1c96c283hoilj5q8m7dbr38 Query : use flama_phc
20240830@080232.2401 otr1c96c283hoilj5q8m7dbr38 Query : select st.usalote valor from st where st.ref = '324.711.00.01'
20240830@080232.2425 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.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.711.00.01'
20240830@080232.2591 otr1c96c283hoilj5q8m7dbr38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240830@080232.2611 otr1c96c283hoilj5q8m7dbr38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240830@080232.2640 otr1c96c283hoilj5q8m7dbr38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240830@080232.2656 otr1c96c283hoilj5q8m7dbr38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240830@080232.2666 otr1c96c283hoilj5q8m7dbr38 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240830@080232.2679 otr1c96c283hoilj5q8m7dbr38 Query : select sestamp valor from se where ref ='324.711.00.01' and lote = 'r2301222100a'
20240830@080232.2702 otr1c96c283hoilj5q8m7dbr38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240830@080232.2720 otr1c96c283hoilj5q8m7dbr38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240830@080232.2735 otr1c96c283hoilj5q8m7dbr38 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66d165975066d16e8841','aut66d165158066d16e87b8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240830@080232.2739 otr1c96c283hoilj5q8m7dbr38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240830@080232.2757 otr1c96c283hoilj5q8m7dbr38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240830@080232.2808 otr1c96c283hoilj5q8m7dbr38 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66d165975066d16e8841',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66d165158066d16e87b8' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240830@080232.3091 otr1c96c283hoilj5q8m7dbr38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
