20240822@181641.7695 2e6q0ikd2ohbu9q6r8fotigeph Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240822@181641.7710 2e6q0ikd2ohbu9q6r8fotigeph Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240822@181641.7724 2e6q0ikd2ohbu9q6r8fotigeph Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240822@181641.7738 2e6q0ikd2ohbu9q6r8fotigeph Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240822@181641.7753 2e6q0ikd2ohbu9q6r8fotigeph Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240822@181641.7767 2e6q0ikd2ohbu9q6r8fotigeph Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66c770979866c77279b1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240822@181641.8065 2e6q0ikd2ohbu9q6r8fotigeph Query : select top 1 fno valor from wsftdata order by fno desc
20240822@181641.8088 2e6q0ikd2ohbu9q6r8fotigeph Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181641.8109 2e6q0ikd2ohbu9q6r8fotigeph Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181641.8138 2e6q0ikd2ohbu9q6r8fotigeph Query : select 'normal' from dummy
20240822@181641.8156 2e6q0ikd2ohbu9q6r8fotigeph Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66c770979866c77279b1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',429,100810,0,'2024-08-22',39,'euro',0,0,2024 ,?,?)
20240822@181641.8483 2e6q0ikd2ohbu9q6r8fotigeph Query : use flama_phc
20240822@181641.8488 2e6q0ikd2ohbu9q6r8fotigeph Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20240822@181641.8515 2e6q0ikd2ohbu9q6r8fotigeph 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'
20240822@181641.8679 2e6q0ikd2ohbu9q6r8fotigeph Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181641.8700 2e6q0ikd2ohbu9q6r8fotigeph Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181641.8730 2e6q0ikd2ohbu9q6r8fotigeph Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181641.8748 2e6q0ikd2ohbu9q6r8fotigeph Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181641.8759 2e6q0ikd2ohbu9q6r8fotigeph Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181641.8775 2e6q0ikd2ohbu9q6r8fotigeph Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2301091200a'
20240822@181641.8818 2e6q0ikd2ohbu9q6r8fotigeph Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181641.8838 2e6q0ikd2ohbu9q6r8fotigeph Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181641.8852 2e6q0ikd2ohbu9q6r8fotigeph Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c770038366c77279d7','aut66c770979866c77279b1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181641.8857 2e6q0ikd2ohbu9q6r8fotigeph Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181641.8875 2e6q0ikd2ohbu9q6r8fotigeph Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181641.8910 2e6q0ikd2ohbu9q6r8fotigeph Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c770038366c77279d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66c770979866c77279b1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240822@181641.9199 2e6q0ikd2ohbu9q6r8fotigeph Query : use flama_phc
20240822@181641.9202 2e6q0ikd2ohbu9q6r8fotigeph Query : select st.usalote valor from st where st.ref = '324.948.00.01'
20240822@181641.9225 2e6q0ikd2ohbu9q6r8fotigeph 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'
20240822@181641.9242 2e6q0ikd2ohbu9q6r8fotigeph Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181641.9261 2e6q0ikd2ohbu9q6r8fotigeph Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181641.9291 2e6q0ikd2ohbu9q6r8fotigeph Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181641.9309 2e6q0ikd2ohbu9q6r8fotigeph Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181641.9320 2e6q0ikd2ohbu9q6r8fotigeph Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181641.9337 2e6q0ikd2ohbu9q6r8fotigeph Query : select sestamp valor from se where ref ='324.948.00.01' and lote = 'r2301091200a'
20240822@181641.9353 2e6q0ikd2ohbu9q6r8fotigeph Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181641.9371 2e6q0ikd2ohbu9q6r8fotigeph Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181641.9385 2e6q0ikd2ohbu9q6r8fotigeph Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c777979966c77279e4','aut66c770979866c77279b1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181641.9390 2e6q0ikd2ohbu9q6r8fotigeph Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181641.9408 2e6q0ikd2ohbu9q6r8fotigeph Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181641.9450 2e6q0ikd2ohbu9q6r8fotigeph Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c777979966c77279e4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut66c770979866c77279b1' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240822@181641.9731 2e6q0ikd2ohbu9q6r8fotigeph Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66c770979866c77279b1','2405482','wait',39,'adm09112754980.682000002')
20240822@181641.9810 2e6q0ikd2ohbu9q6r8fotigeph Query : use flama_phc
20240822@181641.9815 2e6q0ikd2ohbu9q6r8fotigeph Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240822@181641.9851 2e6q0ikd2ohbu9q6r8fotigeph Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1626';
20240822@181641.9881 2e6q0ikd2ohbu9q6r8fotigeph Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1626';
20240822@181641.9923 2e6q0ikd2ohbu9q6r8fotigeph Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1626';
20240822@181641.9949 2e6q0ikd2ohbu9q6r8fotigeph Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1626';
20240822@181642.4490 j0fsojcvecnut61mke14n2kh92 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240822@181642.4600 j0fsojcvecnut61mke14n2kh92 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240822@181642.5170 j0fsojcvecnut61mke14n2kh92 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1627';
20240822@181642.5790 j0fsojcvecnut61mke14n2kh92 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1627';
20240822@181642.6340 j0fsojcvecnut61mke14n2kh92 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1627';
20240822@181642.6630 j0fsojcvecnut61mke14n2kh92 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1627';
20240822@181642.7140 j0fsojcvecnut61mke14n2kh92 Query : use flama_phc
20240822@181642.7180 j0fsojcvecnut61mke14n2kh92 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240822@181642.7930 j0fsojcvecnut61mke14n2kh92 Query : use flama_phc
20240822@181642.7970 j0fsojcvecnut61mke14n2kh92 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240822@181642.8410 j0fsojcvecnut61mke14n2kh92 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'
20240822@181642.1035 j0fsojcvecnut61mke14n2kh92 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405490 and bi.ref ='324.1670.00.1' and bi.lordem =1
20240822@181642.1395 j0fsojcvecnut61mke14n2kh92 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1578.00.1'
20240822@181642.1592 j0fsojcvecnut61mke14n2kh92 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405490 and bi.ref ='324.1578.00.1' and bi.lordem =2
20240822@181642.1945 j0fsojcvecnut61mke14n2kh92 Query : use flama_phc
20240822@181642.1950 j0fsojcvecnut61mke14n2kh92 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240822@181642.1989 j0fsojcvecnut61mke14n2kh92 Query : use flama_phc
20240822@181642.1993 j0fsojcvecnut61mke14n2kh92 Query : select top 1 1 valor from td where td.ndoc = 39
20240822@181642.2027 j0fsojcvecnut61mke14n2kh92 Query : use flama_phc
20240822@181642.2030 j0fsojcvecnut61mke14n2kh92 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')
20240822@181642.2064 j0fsojcvecnut61mke14n2kh92 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
20240822@181642.2104 j0fsojcvecnut61mke14n2kh92 Query : use flama_phc
20240822@181642.2107 j0fsojcvecnut61mke14n2kh92 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240822@181642.2145 j0fsojcvecnut61mke14n2kh92 Query : use flama_phc
20240822@181642.2149 j0fsojcvecnut61mke14n2kh92 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240822@181642.2184 j0fsojcvecnut61mke14n2kh92 Query : use flama_phc
20240822@181642.2188 j0fsojcvecnut61mke14n2kh92 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240822@181642.2234 j0fsojcvecnut61mke14n2kh92 Query : use flama_phc
20240822@181642.2238 j0fsojcvecnut61mke14n2kh92 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240822@181642.2290 j0fsojcvecnut61mke14n2kh92 Query : use flama_phc
20240822@181642.2294 j0fsojcvecnut61mke14n2kh92 Query : select 1 valor from td where ndoc = 39
20240822@181642.2309 j0fsojcvecnut61mke14n2kh92 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240822@181642.2327 j0fsojcvecnut61mke14n2kh92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181642.2348 j0fsojcvecnut61mke14n2kh92 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181642.2372 j0fsojcvecnut61mke14n2kh92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181642.2390 j0fsojcvecnut61mke14n2kh92 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181642.2425 j0fsojcvecnut61mke14n2kh92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181642.2443 j0fsojcvecnut61mke14n2kh92 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181642.2459 j0fsojcvecnut61mke14n2kh92 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181642.2533 j0fsojcvecnut61mke14n2kh92 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181642.2550 j0fsojcvecnut61mke14n2kh92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181642.2575 j0fsojcvecnut61mke14n2kh92 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181642.2596 j0fsojcvecnut61mke14n2kh92 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66c779697766c7727a3c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240822@181642.2785 j0fsojcvecnut61mke14n2kh92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181642.2809 j0fsojcvecnut61mke14n2kh92 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181642.2852 j0fsojcvecnut61mke14n2kh92 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240822@181642.2870 j0fsojcvecnut61mke14n2kh92 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240822@181642.2886 j0fsojcvecnut61mke14n2kh92 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240822@181642.2901 j0fsojcvecnut61mke14n2kh92 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240822@181642.2917 j0fsojcvecnut61mke14n2kh92 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240822@181642.2933 j0fsojcvecnut61mke14n2kh92 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240822@181642.2949 j0fsojcvecnut61mke14n2kh92 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66c779697766c7727a3c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240822@181642.3235 j0fsojcvecnut61mke14n2kh92 Query : select top 1 fno valor from wsftdata order by fno desc
20240822@181642.3256 j0fsojcvecnut61mke14n2kh92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181642.3276 j0fsojcvecnut61mke14n2kh92 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181642.3303 j0fsojcvecnut61mke14n2kh92 Query : select 'normal' from dummy
20240822@181642.3323 j0fsojcvecnut61mke14n2kh92 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66c779697766c7727a3c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',430,100810,0,'2024-08-22',39,'euro',0,0,2024 ,?,?)
20240822@181642.3639 j0fsojcvecnut61mke14n2kh92 Query : use flama_phc
20240822@181642.3643 j0fsojcvecnut61mke14n2kh92 Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20240822@181642.3669 j0fsojcvecnut61mke14n2kh92 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'
20240822@181642.3832 j0fsojcvecnut61mke14n2kh92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181642.3851 j0fsojcvecnut61mke14n2kh92 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181642.3912 j0fsojcvecnut61mke14n2kh92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181642.3929 j0fsojcvecnut61mke14n2kh92 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181642.3941 j0fsojcvecnut61mke14n2kh92 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181642.3957 j0fsojcvecnut61mke14n2kh92 Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2301213200a'
20240822@181642.3976 j0fsojcvecnut61mke14n2kh92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181642.3993 j0fsojcvecnut61mke14n2kh92 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181642.4008 j0fsojcvecnut61mke14n2kh92 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c773547766c7727a61','aut66c779697766c7727a3c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181642.4013 j0fsojcvecnut61mke14n2kh92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181642.4030 j0fsojcvecnut61mke14n2kh92 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181642.4066 j0fsojcvecnut61mke14n2kh92 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c773547766c7727a61',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66c779697766c7727a3c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240822@181642.5466 j0fsojcvecnut61mke14n2kh92 Query : use flama_phc
20240822@181642.5471 j0fsojcvecnut61mke14n2kh92 Query : select st.usalote valor from st where st.ref = '324.1578.00.1'
20240822@181642.5499 j0fsojcvecnut61mke14n2kh92 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1578.00.1'
20240822@181642.5666 j0fsojcvecnut61mke14n2kh92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181642.5686 j0fsojcvecnut61mke14n2kh92 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181642.5720 j0fsojcvecnut61mke14n2kh92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181642.5740 j0fsojcvecnut61mke14n2kh92 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181642.5869 j0fsojcvecnut61mke14n2kh92 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181642.5938 j0fsojcvecnut61mke14n2kh92 Query : select sestamp valor from se where ref ='324.1578.00.1' and lote = 'r2100121100a'
20240822@181642.5963 j0fsojcvecnut61mke14n2kh92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181642.5984 j0fsojcvecnut61mke14n2kh92 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181642.6004 j0fsojcvecnut61mke14n2kh92 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c779210266c7727a91','aut66c779697766c7727a3c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181642.6009 j0fsojcvecnut61mke14n2kh92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181642.6039 j0fsojcvecnut61mke14n2kh92 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181642.6076 j0fsojcvecnut61mke14n2kh92 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c779210266c7727a91',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66c779697766c7727a3c' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240822@181642.6368 j0fsojcvecnut61mke14n2kh92 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66c779697766c7727a3c','2405490','wait',39,'adm09112754980.682000002')
20240822@181642.6471 j0fsojcvecnut61mke14n2kh92 Query : use flama_phc
20240822@181642.6476 j0fsojcvecnut61mke14n2kh92 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240822@181642.6516 j0fsojcvecnut61mke14n2kh92 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1627';
20240822@181642.6570 j0fsojcvecnut61mke14n2kh92 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1627';
20240822@181642.6611 j0fsojcvecnut61mke14n2kh92 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1627';
20240822@181642.6640 j0fsojcvecnut61mke14n2kh92 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1627';
20240822@181642.7158 nsops1v3aslkpv46itg7q7hhjh Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240822@181642.7174 nsops1v3aslkpv46itg7q7hhjh Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240822@181642.7230 nsops1v3aslkpv46itg7q7hhjh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1628';
20240822@181642.7287 nsops1v3aslkpv46itg7q7hhjh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1628';
20240822@181642.7339 nsops1v3aslkpv46itg7q7hhjh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1628';
20240822@181642.7365 nsops1v3aslkpv46itg7q7hhjh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1628';
20240822@181642.7415 nsops1v3aslkpv46itg7q7hhjh Query : use flama_phc
20240822@181642.7419 nsops1v3aslkpv46itg7q7hhjh Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240822@181642.7487 nsops1v3aslkpv46itg7q7hhjh Query : use flama_phc
20240822@181642.7490 nsops1v3aslkpv46itg7q7hhjh Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240822@181642.7533 nsops1v3aslkpv46itg7q7hhjh 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'
20240822@181642.7702 nsops1v3aslkpv46itg7q7hhjh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405491 and bi.ref ='324.1684.00.1' and bi.lordem =1
20240822@181642.8098 nsops1v3aslkpv46itg7q7hhjh Query : use flama_phc
20240822@181642.8102 nsops1v3aslkpv46itg7q7hhjh Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240822@181642.8212 nsops1v3aslkpv46itg7q7hhjh Query : use flama_phc
20240822@181642.8216 nsops1v3aslkpv46itg7q7hhjh Query : select top 1 1 valor from td where td.ndoc = 39
20240822@181642.8468 nsops1v3aslkpv46itg7q7hhjh Query : use flama_phc
20240822@181642.8500 nsops1v3aslkpv46itg7q7hhjh 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')
20240822@181642.8574 nsops1v3aslkpv46itg7q7hhjh 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
20240822@181642.8664 nsops1v3aslkpv46itg7q7hhjh Query : use flama_phc
20240822@181642.8679 nsops1v3aslkpv46itg7q7hhjh Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240822@181642.8839 nsops1v3aslkpv46itg7q7hhjh Query : use flama_phc
20240822@181642.8892 nsops1v3aslkpv46itg7q7hhjh Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240822@181642.9022 nsops1v3aslkpv46itg7q7hhjh Query : use flama_phc
20240822@181642.9028 nsops1v3aslkpv46itg7q7hhjh Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240822@181642.9118 nsops1v3aslkpv46itg7q7hhjh Query : use flama_phc
20240822@181642.9123 nsops1v3aslkpv46itg7q7hhjh Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240822@181642.9174 nsops1v3aslkpv46itg7q7hhjh Query : use flama_phc
20240822@181642.9177 nsops1v3aslkpv46itg7q7hhjh Query : select 1 valor from td where ndoc = 39
20240822@181642.9218 nsops1v3aslkpv46itg7q7hhjh Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240822@181642.9234 nsops1v3aslkpv46itg7q7hhjh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181642.9253 nsops1v3aslkpv46itg7q7hhjh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181642.9277 nsops1v3aslkpv46itg7q7hhjh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181642.9293 nsops1v3aslkpv46itg7q7hhjh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181642.9325 nsops1v3aslkpv46itg7q7hhjh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181642.9343 nsops1v3aslkpv46itg7q7hhjh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181642.9358 nsops1v3aslkpv46itg7q7hhjh Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181642.9452 nsops1v3aslkpv46itg7q7hhjh Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181642.9471 nsops1v3aslkpv46itg7q7hhjh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181642.9493 nsops1v3aslkpv46itg7q7hhjh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181642.9511 nsops1v3aslkpv46itg7q7hhjh Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66c779937366c7727ae4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240822@181642.9730 nsops1v3aslkpv46itg7q7hhjh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181642.9751 nsops1v3aslkpv46itg7q7hhjh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181642.9792 nsops1v3aslkpv46itg7q7hhjh Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240822@181642.9808 nsops1v3aslkpv46itg7q7hhjh Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240822@181642.9824 nsops1v3aslkpv46itg7q7hhjh Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240822@181642.9838 nsops1v3aslkpv46itg7q7hhjh Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240822@181642.9852 nsops1v3aslkpv46itg7q7hhjh Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240822@181642.9867 nsops1v3aslkpv46itg7q7hhjh Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240822@181642.9880 nsops1v3aslkpv46itg7q7hhjh Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66c779937366c7727ae4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240822@181643.1420 nsops1v3aslkpv46itg7q7hhjh Query : select top 1 fno valor from wsftdata order by fno desc
20240822@181643.1600 nsops1v3aslkpv46itg7q7hhjh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.1780 nsops1v3aslkpv46itg7q7hhjh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181643.2040 nsops1v3aslkpv46itg7q7hhjh Query : select 'normal' from dummy
20240822@181643.2220 nsops1v3aslkpv46itg7q7hhjh Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66c779937366c7727ae4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',431,100810,0,'2024-08-22',39,'euro',0,0,2024 ,?,?)
20240822@181643.5370 nsops1v3aslkpv46itg7q7hhjh Query : use flama_phc
20240822@181643.5410 nsops1v3aslkpv46itg7q7hhjh Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20240822@181643.5690 nsops1v3aslkpv46itg7q7hhjh 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'
20240822@181643.7290 nsops1v3aslkpv46itg7q7hhjh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.7480 nsops1v3aslkpv46itg7q7hhjh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181643.7790 nsops1v3aslkpv46itg7q7hhjh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.7960 nsops1v3aslkpv46itg7q7hhjh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181643.8060 nsops1v3aslkpv46itg7q7hhjh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181643.8200 nsops1v3aslkpv46itg7q7hhjh Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2301217200a'
20240822@181643.8360 nsops1v3aslkpv46itg7q7hhjh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.8510 nsops1v3aslkpv46itg7q7hhjh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181643.8650 nsops1v3aslkpv46itg7q7hhjh Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c775817066c7727b14','aut66c779937366c7727ae4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181643.8700 nsops1v3aslkpv46itg7q7hhjh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.8880 nsops1v3aslkpv46itg7q7hhjh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181643.9220 nsops1v3aslkpv46itg7q7hhjh Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c775817066c7727b14',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66c779937366c7727ae4' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240822@181643.1376 nsops1v3aslkpv46itg7q7hhjh Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66c779937366c7727ae4','2405491','wait',39,'adm09112754980.682000002')
20240822@181643.1543 nsops1v3aslkpv46itg7q7hhjh Query : use flama_phc
20240822@181643.1548 nsops1v3aslkpv46itg7q7hhjh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240822@181643.1581 nsops1v3aslkpv46itg7q7hhjh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1628';
20240822@181643.1614 nsops1v3aslkpv46itg7q7hhjh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1628';
20240822@181643.1655 nsops1v3aslkpv46itg7q7hhjh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1628';
20240822@181643.1682 nsops1v3aslkpv46itg7q7hhjh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1628';
20240822@181643.2165 piqv77o4vlnro9634p558m7qb9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240822@181643.2177 piqv77o4vlnro9634p558m7qb9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240822@181643.2235 piqv77o4vlnro9634p558m7qb9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1629';
20240822@181643.2295 piqv77o4vlnro9634p558m7qb9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1629';
20240822@181643.2346 piqv77o4vlnro9634p558m7qb9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1629';
20240822@181643.2375 piqv77o4vlnro9634p558m7qb9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1629';
20240822@181643.2423 piqv77o4vlnro9634p558m7qb9 Query : use flama_phc
20240822@181643.2427 piqv77o4vlnro9634p558m7qb9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240822@181643.2499 piqv77o4vlnro9634p558m7qb9 Query : use flama_phc
20240822@181643.2502 piqv77o4vlnro9634p558m7qb9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=8548
20240822@181643.2609 piqv77o4vlnro9634p558m7qb9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5396.00.1'
20240822@181643.2779 piqv77o4vlnro9634p558m7qb9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405494 and bi.ref ='324.5396.00.1' and bi.lordem =1
20240822@181643.3124 piqv77o4vlnro9634p558m7qb9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240822@181643.3339 piqv77o4vlnro9634p558m7qb9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405494 and bi.ref ='324.1832.00.2' and bi.lordem =3
20240822@181643.4690 piqv77o4vlnro9634p558m7qb9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240822@181643.4714 piqv77o4vlnro9634p558m7qb9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405494 and bi.ref ='324.1832.00.2' and bi.lordem =4
20240822@181643.5059 piqv77o4vlnro9634p558m7qb9 Query : use flama_phc
20240822@181643.5063 piqv77o4vlnro9634p558m7qb9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240822@181643.5099 piqv77o4vlnro9634p558m7qb9 Query : use flama_phc
20240822@181643.5102 piqv77o4vlnro9634p558m7qb9 Query : select top 1 1 valor from td where td.ndoc = 39
20240822@181643.5135 piqv77o4vlnro9634p558m7qb9 Query : use flama_phc
20240822@181643.5138 piqv77o4vlnro9634p558m7qb9 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')
20240822@181643.5171 piqv77o4vlnro9634p558m7qb9 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
20240822@181643.5210 piqv77o4vlnro9634p558m7qb9 Query : use flama_phc
20240822@181643.5221 piqv77o4vlnro9634p558m7qb9 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240822@181643.5358 piqv77o4vlnro9634p558m7qb9 Query : use flama_phc
20240822@181643.5362 piqv77o4vlnro9634p558m7qb9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240822@181643.5396 piqv77o4vlnro9634p558m7qb9 Query : use flama_phc
20240822@181643.5399 piqv77o4vlnro9634p558m7qb9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240822@181643.5444 piqv77o4vlnro9634p558m7qb9 Query : use flama_phc
20240822@181643.5448 piqv77o4vlnro9634p558m7qb9 Query : select szadrsstamp valor from szadrs where szadrsdesc='jom- maia ( nova loja)'
20240822@181643.5504 piqv77o4vlnro9634p558m7qb9 Query : use flama_phc
20240822@181643.5508 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from td where ndoc = 39
20240822@181643.5523 piqv77o4vlnro9634p558m7qb9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240822@181643.5541 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.5562 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181643.5591 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.5615 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181643.5654 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.5672 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181643.5688 piqv77o4vlnro9634p558m7qb9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181643.5763 piqv77o4vlnro9634p558m7qb9 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181643.5780 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.5801 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181643.5822 piqv77o4vlnro9634p558m7qb9 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66c772239166c7727b8a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240822@181643.6028 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.6058 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181643.6101 piqv77o4vlnro9634p558m7qb9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240822@181643.6117 piqv77o4vlnro9634p558m7qb9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240822@181643.6131 piqv77o4vlnro9634p558m7qb9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240822@181643.6144 piqv77o4vlnro9634p558m7qb9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240822@181643.6159 piqv77o4vlnro9634p558m7qb9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240822@181643.6175 piqv77o4vlnro9634p558m7qb9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240822@181643.6191 piqv77o4vlnro9634p558m7qb9 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66c772239166c7727b8a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240822@181643.6465 piqv77o4vlnro9634p558m7qb9 Query : select top 1 fno valor from wsftdata order by fno desc
20240822@181643.6485 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.6505 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181643.6530 piqv77o4vlnro9634p558m7qb9 Query : select 'normal' from dummy
20240822@181643.6553 piqv77o4vlnro9634p558m7qb9 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66c772239166c7727b8a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',432,101621,0,'2024-08-22',39,'euro',0,0,2024 ,?,?)
20240822@181643.6872 piqv77o4vlnro9634p558m7qb9 Query : use flama_phc
20240822@181643.6876 piqv77o4vlnro9634p558m7qb9 Query : select st.usalote valor from st where st.ref = '324.5396.00.1'
20240822@181643.6905 piqv77o4vlnro9634p558m7qb9 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.5396.00.1'
20240822@181643.7061 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.7080 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181643.7110 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.7127 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181643.7136 piqv77o4vlnro9634p558m7qb9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181643.7150 piqv77o4vlnro9634p558m7qb9 Query : select sestamp valor from se where ref ='324.5396.00.1' and lote = 'r2300840100a'
20240822@181643.7174 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.7191 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181643.7206 piqv77o4vlnro9634p558m7qb9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c778574766c7727baf','aut66c772239166c7727b8a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181643.7210 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.7227 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181643.7260 piqv77o4vlnro9634p558m7qb9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c778574766c7727baf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66c772239166c7727b8a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240822@181643.7562 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.7580 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181643.7608 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.7624 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181643.7635 piqv77o4vlnro9634p558m7qb9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181643.7650 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.7669 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181643.7684 piqv77o4vlnro9634p558m7qb9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c776556266c7727bba','aut66c772239166c7727b8a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181643.7693 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.7711 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181643.7743 piqv77o4vlnro9634p558m7qb9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c776556266c7727bba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c772239166c7727b8a' ,0,0 ,2,23.00,20000,?,?,?)
20240822@181643.8011 piqv77o4vlnro9634p558m7qb9 Query : use flama_phc
20240822@181643.8015 piqv77o4vlnro9634p558m7qb9 Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240822@181643.8040 piqv77o4vlnro9634p558m7qb9 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.1832.00.2'
20240822@181643.8203 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.8221 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181643.8254 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.8273 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181643.8284 piqv77o4vlnro9634p558m7qb9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181643.8300 piqv77o4vlnro9634p558m7qb9 Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301271100a'
20240822@181643.8316 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.8333 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181643.8348 piqv77o4vlnro9634p558m7qb9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c778220366c7727bcb','aut66c772239166c7727b8a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181643.8352 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.8370 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181643.8403 piqv77o4vlnro9634p558m7qb9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c778220366c7727bcb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66c772239166c7727b8a' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240822@181643.8685 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.8705 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181643.8737 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.8756 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181643.8767 piqv77o4vlnro9634p558m7qb9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181643.8781 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.8820 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181643.8836 piqv77o4vlnro9634p558m7qb9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c778057566c7727bd6','aut66c772239166c7727b8a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181643.8843 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.8863 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181643.8897 piqv77o4vlnro9634p558m7qb9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c778057566c7727bd6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c772239166c7727b8a' ,0,0 ,2,23.00,50000,?,?,?)
20240822@181643.9170 piqv77o4vlnro9634p558m7qb9 Query : use flama_phc
20240822@181643.9174 piqv77o4vlnro9634p558m7qb9 Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240822@181643.9197 piqv77o4vlnro9634p558m7qb9 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.1832.00.2'
20240822@181643.9216 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.9235 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181643.9265 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.9283 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181643.9293 piqv77o4vlnro9634p558m7qb9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181643.9308 piqv77o4vlnro9634p558m7qb9 Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301271100a'
20240822@181643.9323 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.9342 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181643.9356 piqv77o4vlnro9634p558m7qb9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c772962566c7727be3','aut66c772239166c7727b8a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181643.9361 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.9379 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181643.9414 piqv77o4vlnro9634p558m7qb9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c772962566c7727be3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66c772239166c7727b8a' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240822@181643.9692 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.9712 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181643.9742 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.9762 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181643.9773 piqv77o4vlnro9634p558m7qb9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181643.9789 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.9806 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181643.9820 piqv77o4vlnro9634p558m7qb9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c778781366c7727bef','aut66c772239166c7727b8a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181643.9831 piqv77o4vlnro9634p558m7qb9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181643.9849 piqv77o4vlnro9634p558m7qb9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181643.9881 piqv77o4vlnro9634p558m7qb9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c778781366c7727bef',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c772239166c7727b8a' ,0,0 ,2,23.00,80000,?,?,?)
20240822@181644.1680 piqv77o4vlnro9634p558m7qb9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66c772239166c7727b8a','2405494','wait',39,'adm09112754980.682000002')
20240822@181644.2530 piqv77o4vlnro9634p558m7qb9 Query : use flama_phc
20240822@181644.2570 piqv77o4vlnro9634p558m7qb9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240822@181644.2900 piqv77o4vlnro9634p558m7qb9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1629';
20240822@181644.3190 piqv77o4vlnro9634p558m7qb9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1629';
20240822@181644.3600 piqv77o4vlnro9634p558m7qb9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1629';
20240822@181644.3880 piqv77o4vlnro9634p558m7qb9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1629';
20240822@181644.1760 gl72l9arklnv35kelf39838m61 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240822@181644.1772 gl72l9arklnv35kelf39838m61 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240822@181644.1829 gl72l9arklnv35kelf39838m61 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1630';
20240822@181644.1886 gl72l9arklnv35kelf39838m61 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1630';
20240822@181644.1940 gl72l9arklnv35kelf39838m61 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1630';
20240822@181644.1967 gl72l9arklnv35kelf39838m61 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1630';
20240822@181644.2018 gl72l9arklnv35kelf39838m61 Query : use flama_phc
20240822@181644.2023 gl72l9arklnv35kelf39838m61 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240822@181644.2093 gl72l9arklnv35kelf39838m61 Query : use flama_phc
20240822@181644.2097 gl72l9arklnv35kelf39838m61 Query : select no, estab,szadrsdesc from szadrs where u_coddest=886
20240822@181644.2232 gl72l9arklnv35kelf39838m61 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5396.00.1'
20240822@181644.2255 gl72l9arklnv35kelf39838m61 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405495 and bi.ref ='324.5396.00.1' and bi.lordem =1
20240822@181644.2597 gl72l9arklnv35kelf39838m61 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'
20240822@181644.2761 gl72l9arklnv35kelf39838m61 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405495 and bi.ref ='324.646.00.01' and bi.lordem =3
20240822@181644.3112 gl72l9arklnv35kelf39838m61 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'
20240822@181644.3135 gl72l9arklnv35kelf39838m61 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405495 and bi.ref ='324.646.00.01' and bi.lordem =4
20240822@181644.3466 gl72l9arklnv35kelf39838m61 Query : use flama_phc
20240822@181644.3470 gl72l9arklnv35kelf39838m61 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240822@181644.3506 gl72l9arklnv35kelf39838m61 Query : use flama_phc
20240822@181644.3510 gl72l9arklnv35kelf39838m61 Query : select top 1 1 valor from td where td.ndoc = 39
20240822@181644.3549 gl72l9arklnv35kelf39838m61 Query : use flama_phc
20240822@181644.3553 gl72l9arklnv35kelf39838m61 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')
20240822@181644.3585 gl72l9arklnv35kelf39838m61 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
20240822@181644.3625 gl72l9arklnv35kelf39838m61 Query : use flama_phc
20240822@181644.3629 gl72l9arklnv35kelf39838m61 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240822@181644.3661 gl72l9arklnv35kelf39838m61 Query : use flama_phc
20240822@181644.3664 gl72l9arklnv35kelf39838m61 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240822@181644.3697 gl72l9arklnv35kelf39838m61 Query : use flama_phc
20240822@181644.3701 gl72l9arklnv35kelf39838m61 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240822@181644.3745 gl72l9arklnv35kelf39838m61 Query : use flama_phc
20240822@181644.3749 gl72l9arklnv35kelf39838m61 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda coimbra'
20240822@181644.3802 gl72l9arklnv35kelf39838m61 Query : use flama_phc
20240822@181644.3805 gl72l9arklnv35kelf39838m61 Query : select 1 valor from td where ndoc = 39
20240822@181644.3819 gl72l9arklnv35kelf39838m61 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240822@181644.3836 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.3856 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181644.3881 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.3898 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181644.3934 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.3950 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181644.3965 gl72l9arklnv35kelf39838m61 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181644.4037 gl72l9arklnv35kelf39838m61 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181644.4052 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.4070 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181644.4093 gl72l9arklnv35kelf39838m61 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66c772347866c7727c60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240822@181644.4295 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.4315 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181644.4354 gl72l9arklnv35kelf39838m61 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240822@181644.4369 gl72l9arklnv35kelf39838m61 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240822@181644.4382 gl72l9arklnv35kelf39838m61 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240822@181644.4396 gl72l9arklnv35kelf39838m61 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240822@181644.4411 gl72l9arklnv35kelf39838m61 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240822@181644.4427 gl72l9arklnv35kelf39838m61 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240822@181644.4441 gl72l9arklnv35kelf39838m61 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66c772347866c7727c60',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240822@181644.4705 gl72l9arklnv35kelf39838m61 Query : select top 1 fno valor from wsftdata order by fno desc
20240822@181644.4728 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.4748 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181644.4774 gl72l9arklnv35kelf39838m61 Query : select 'normal' from dummy
20240822@181644.4792 gl72l9arklnv35kelf39838m61 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66c772347866c7727c60',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',433,101621,0,'2024-08-22',39,'euro',0,0,2024 ,?,?)
20240822@181644.5130 gl72l9arklnv35kelf39838m61 Query : use flama_phc
20240822@181644.5133 gl72l9arklnv35kelf39838m61 Query : select st.usalote valor from st where st.ref = '324.5396.00.1'
20240822@181644.5156 gl72l9arklnv35kelf39838m61 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.5396.00.1'
20240822@181644.5173 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.5211 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181644.5242 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.5260 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181644.5270 gl72l9arklnv35kelf39838m61 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181644.5286 gl72l9arklnv35kelf39838m61 Query : select sestamp valor from se where ref ='324.5396.00.1' and lote = 'r2300840100a'
20240822@181644.5302 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.5320 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181644.5336 gl72l9arklnv35kelf39838m61 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c777258766c7727c81','aut66c772347866c7727c60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181644.5341 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.5359 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181644.5393 gl72l9arklnv35kelf39838m61 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c777258766c7727c81',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66c772347866c7727c60' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240822@181644.5679 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.5701 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181644.5733 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.5752 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181644.5763 gl72l9arklnv35kelf39838m61 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181644.5780 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.5797 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181644.5811 gl72l9arklnv35kelf39838m61 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c772101366c7727c8d','aut66c772347866c7727c60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181644.5817 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.5835 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181644.5867 gl72l9arklnv35kelf39838m61 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c772101366c7727c8d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c772347866c7727c60' ,0,0 ,2,23.00,20000,?,?,?)
20240822@181644.6147 gl72l9arklnv35kelf39838m61 Query : use flama_phc
20240822@181644.6150 gl72l9arklnv35kelf39838m61 Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240822@181644.6347 gl72l9arklnv35kelf39838m61 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'
20240822@181644.6521 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.6541 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181644.6571 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.6588 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181644.6602 gl72l9arklnv35kelf39838m61 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181644.6621 gl72l9arklnv35kelf39838m61 Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240822@181644.6683 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.6700 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181644.6715 gl72l9arklnv35kelf39838m61 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c772209766c7727ca3','aut66c772347866c7727c60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181644.6720 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.6736 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181644.6771 gl72l9arklnv35kelf39838m61 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c772209766c7727ca3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66c772347866c7727c60' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240822@181644.7076 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.7096 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181644.7126 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.7142 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181644.7152 gl72l9arklnv35kelf39838m61 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181644.7167 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.7185 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181644.7199 gl72l9arklnv35kelf39838m61 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c779590866c7727cae','aut66c772347866c7727c60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181644.7203 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.7219 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181644.7251 gl72l9arklnv35kelf39838m61 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c779590866c7727cae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c772347866c7727c60' ,0,0 ,2,23.00,50000,?,?,?)
20240822@181644.7526 gl72l9arklnv35kelf39838m61 Query : use flama_phc
20240822@181644.7529 gl72l9arklnv35kelf39838m61 Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240822@181644.7553 gl72l9arklnv35kelf39838m61 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'
20240822@181644.7569 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.7587 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181644.7617 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.7634 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181644.7644 gl72l9arklnv35kelf39838m61 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181644.7659 gl72l9arklnv35kelf39838m61 Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240822@181644.7696 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.7715 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181644.7729 gl72l9arklnv35kelf39838m61 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c776560166c7727cbb','aut66c772347866c7727c60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181644.7734 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.7751 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181644.7783 gl72l9arklnv35kelf39838m61 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c776560166c7727cbb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66c772347866c7727c60' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240822@181644.8104 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.8126 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181644.8161 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.8177 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181644.8188 gl72l9arklnv35kelf39838m61 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181644.8202 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.8219 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181644.8232 gl72l9arklnv35kelf39838m61 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c776895266c7727cc8','aut66c772347866c7727c60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181644.8237 gl72l9arklnv35kelf39838m61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181644.8255 gl72l9arklnv35kelf39838m61 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181644.8287 gl72l9arklnv35kelf39838m61 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c776895266c7727cc8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c772347866c7727c60' ,0,0 ,2,23.00,80000,?,?,?)
20240822@181644.8562 gl72l9arklnv35kelf39838m61 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66c772347866c7727c60','2405495','wait',39,'adm09112754980.682000002')
20240822@181644.8639 gl72l9arklnv35kelf39838m61 Query : use flama_phc
20240822@181644.8644 gl72l9arklnv35kelf39838m61 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240822@181644.8678 gl72l9arklnv35kelf39838m61 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1630';
20240822@181644.8711 gl72l9arklnv35kelf39838m61 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1630';
20240822@181644.8753 gl72l9arklnv35kelf39838m61 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1630';
20240822@181644.8780 gl72l9arklnv35kelf39838m61 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1630';
20240822@181644.9302 gmjqt4pkc6262q58g2rqrig78n Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240822@181644.9314 gmjqt4pkc6262q58g2rqrig78n Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240822@181644.9367 gmjqt4pkc6262q58g2rqrig78n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1631';
20240822@181644.9426 gmjqt4pkc6262q58g2rqrig78n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1631';
20240822@181644.9478 gmjqt4pkc6262q58g2rqrig78n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1631';
20240822@181644.9505 gmjqt4pkc6262q58g2rqrig78n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1631';
20240822@181644.9555 gmjqt4pkc6262q58g2rqrig78n Query : use flama_phc
20240822@181644.9558 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240822@181644.9628 gmjqt4pkc6262q58g2rqrig78n Query : use flama_phc
20240822@181644.9632 gmjqt4pkc6262q58g2rqrig78n Query : select no, estab,szadrsdesc from szadrs where u_coddest=1498
20240822@181644.9718 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5396.00.1'
20240822@181644.9740 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405496 and bi.ref ='324.5396.00.1' and bi.lordem =1
20240822@181645.8600 gmjqt4pkc6262q58g2rqrig78n 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'
20240822@181645.1100 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405496 and bi.ref ='324.646.00.01' and bi.lordem =3
20240822@181645.4550 gmjqt4pkc6262q58g2rqrig78n 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'
20240822@181645.4770 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405496 and bi.ref ='324.646.00.01' and bi.lordem =4
20240822@181645.8800 gmjqt4pkc6262q58g2rqrig78n Query : use flama_phc
20240822@181645.8830 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240822@181645.9200 gmjqt4pkc6262q58g2rqrig78n Query : use flama_phc
20240822@181645.9240 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 1 valor from td where td.ndoc = 39
20240822@181645.9580 gmjqt4pkc6262q58g2rqrig78n Query : use flama_phc
20240822@181645.9620 gmjqt4pkc6262q58g2rqrig78n 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')
20240822@181645.9930 gmjqt4pkc6262q58g2rqrig78n 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
20240822@181645.1031 gmjqt4pkc6262q58g2rqrig78n Query : use flama_phc
20240822@181645.1035 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240822@181645.1068 gmjqt4pkc6262q58g2rqrig78n Query : use flama_phc
20240822@181645.1071 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240822@181645.1105 gmjqt4pkc6262q58g2rqrig78n Query : use flama_phc
20240822@181645.1110 gmjqt4pkc6262q58g2rqrig78n Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240822@181645.1152 gmjqt4pkc6262q58g2rqrig78n Query : use flama_phc
20240822@181645.1156 gmjqt4pkc6262q58g2rqrig78n Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - viseu'
20240822@181645.1206 gmjqt4pkc6262q58g2rqrig78n Query : use flama_phc
20240822@181645.1210 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from td where ndoc = 39
20240822@181645.1225 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240822@181645.1243 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.1263 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181645.1297 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.1314 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181645.1350 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.1369 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181645.1383 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181645.1456 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181645.1472 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.1490 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181645.1508 gmjqt4pkc6262q58g2rqrig78n Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66c779435466c7727d21' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240822@181645.1702 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.1724 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181645.1765 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240822@181645.1781 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240822@181645.1794 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240822@181645.1809 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240822@181645.1826 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240822@181645.1845 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240822@181645.1862 gmjqt4pkc6262q58g2rqrig78n Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66c779435466c7727d21',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240822@181645.2147 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 fno valor from wsftdata order by fno desc
20240822@181645.2169 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.2190 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181645.2226 gmjqt4pkc6262q58g2rqrig78n Query : select 'normal' from dummy
20240822@181645.2246 gmjqt4pkc6262q58g2rqrig78n Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66c779435466c7727d21',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',434,101621,0,'2024-08-22',39,'euro',0,0,2024 ,?,?)
20240822@181645.2574 gmjqt4pkc6262q58g2rqrig78n Query : use flama_phc
20240822@181645.2577 gmjqt4pkc6262q58g2rqrig78n Query : select st.usalote valor from st where st.ref = '324.5396.00.1'
20240822@181645.2603 gmjqt4pkc6262q58g2rqrig78n 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.5396.00.1'
20240822@181645.2620 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.2640 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181645.2669 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.2687 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181645.2697 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181645.2714 gmjqt4pkc6262q58g2rqrig78n Query : select sestamp valor from se where ref ='324.5396.00.1' and lote = 'r2300840100a'
20240822@181645.2729 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.2746 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181645.2760 gmjqt4pkc6262q58g2rqrig78n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c772742366c7727d42','aut66c779435466c7727d21' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181645.2765 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.2783 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181645.2819 gmjqt4pkc6262q58g2rqrig78n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c772742366c7727d42',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66c779435466c7727d21' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240822@181645.3104 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.3123 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181645.3155 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.3173 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181645.3184 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181645.3200 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.3218 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181645.3231 gmjqt4pkc6262q58g2rqrig78n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c772472866c7727d4e','aut66c779435466c7727d21' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181645.3236 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.3254 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181645.3288 gmjqt4pkc6262q58g2rqrig78n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c772472866c7727d4e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c779435466c7727d21' ,0,0 ,2,23.00,20000,?,?,?)
20240822@181645.3561 gmjqt4pkc6262q58g2rqrig78n Query : use flama_phc
20240822@181645.3565 gmjqt4pkc6262q58g2rqrig78n Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240822@181645.3588 gmjqt4pkc6262q58g2rqrig78n 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'
20240822@181645.3605 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.3623 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181645.3654 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.3672 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181645.3683 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181645.3699 gmjqt4pkc6262q58g2rqrig78n Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240822@181645.3716 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.3734 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181645.3748 gmjqt4pkc6262q58g2rqrig78n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c777644966c7727d5a','aut66c779435466c7727d21' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181645.3753 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.3771 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181645.3805 gmjqt4pkc6262q58g2rqrig78n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c777644966c7727d5a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66c779435466c7727d21' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240822@181645.4096 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.4118 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181645.4147 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.4166 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181645.4177 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181645.4194 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.4211 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181645.4225 gmjqt4pkc6262q58g2rqrig78n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c778384866c7727d66','aut66c779435466c7727d21' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181645.4230 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.4250 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181645.4302 gmjqt4pkc6262q58g2rqrig78n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c778384866c7727d66',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c779435466c7727d21' ,0,0 ,2,23.00,50000,?,?,?)
20240822@181645.4597 gmjqt4pkc6262q58g2rqrig78n Query : use flama_phc
20240822@181645.4601 gmjqt4pkc6262q58g2rqrig78n Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240822@181645.4624 gmjqt4pkc6262q58g2rqrig78n 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'
20240822@181645.4643 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.4662 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181645.4693 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.4713 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181645.4723 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181645.4738 gmjqt4pkc6262q58g2rqrig78n Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240822@181645.4755 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.4771 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181645.4786 gmjqt4pkc6262q58g2rqrig78n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c777405366c7727d74','aut66c779435466c7727d21' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181645.4792 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.4811 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181645.4844 gmjqt4pkc6262q58g2rqrig78n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c777405366c7727d74',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66c779435466c7727d21' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240822@181645.5145 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.5181 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181645.5223 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.5242 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181645.5253 gmjqt4pkc6262q58g2rqrig78n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181645.5269 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.5289 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181645.5313 gmjqt4pkc6262q58g2rqrig78n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c774748266c7727d80','aut66c779435466c7727d21' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181645.5318 gmjqt4pkc6262q58g2rqrig78n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181645.5338 gmjqt4pkc6262q58g2rqrig78n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181645.5381 gmjqt4pkc6262q58g2rqrig78n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c774748266c7727d80',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c779435466c7727d21' ,0,0 ,2,23.00,80000,?,?,?)
20240822@181645.5663 gmjqt4pkc6262q58g2rqrig78n Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66c779435466c7727d21','2405496','wait',39,'adm09112754980.682000002')
20240822@181645.5744 gmjqt4pkc6262q58g2rqrig78n Query : use flama_phc
20240822@181645.5747 gmjqt4pkc6262q58g2rqrig78n Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240822@181645.5782 gmjqt4pkc6262q58g2rqrig78n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1631';
20240822@181645.5810 gmjqt4pkc6262q58g2rqrig78n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1631';
20240822@181645.5849 gmjqt4pkc6262q58g2rqrig78n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1631';
20240822@181645.5876 gmjqt4pkc6262q58g2rqrig78n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1631';
20240822@181645.7810 4d4d2jcob53klcal529u3rhohl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240822@181645.7830 4d4d2jcob53klcal529u3rhohl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240822@181645.7890 4d4d2jcob53klcal529u3rhohl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1632';
20240822@181645.7944 4d4d2jcob53klcal529u3rhohl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1632';
20240822@181645.7993 4d4d2jcob53klcal529u3rhohl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1632';
20240822@181645.8019 4d4d2jcob53klcal529u3rhohl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1632';
20240822@181645.8064 4d4d2jcob53klcal529u3rhohl Query : use flama_phc
20240822@181645.8068 4d4d2jcob53klcal529u3rhohl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240822@181645.8294 4d4d2jcob53klcal529u3rhohl Query : use flama_phc
20240822@181645.8299 4d4d2jcob53klcal529u3rhohl Query : select no, estab,szadrsdesc from szadrs where u_coddest=6855
20240822@181645.8386 4d4d2jcob53klcal529u3rhohl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5396.00.1'
20240822@181645.8409 4d4d2jcob53klcal529u3rhohl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405497 and bi.ref ='324.5396.00.1' and bi.lordem =1
20240822@181645.8779 4d4d2jcob53klcal529u3rhohl 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'
20240822@181645.8955 4d4d2jcob53klcal529u3rhohl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405497 and bi.ref ='324.691.00.01' and bi.lordem =3
20240822@181645.9311 4d4d2jcob53klcal529u3rhohl 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'
20240822@181645.9332 4d4d2jcob53klcal529u3rhohl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405497 and bi.ref ='324.691.00.01' and bi.lordem =4
20240822@181645.9735 4d4d2jcob53klcal529u3rhohl Query : use flama_phc
20240822@181645.9739 4d4d2jcob53klcal529u3rhohl Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240822@181645.9773 4d4d2jcob53klcal529u3rhohl Query : use flama_phc
20240822@181645.9776 4d4d2jcob53klcal529u3rhohl Query : select top 1 1 valor from td where td.ndoc = 39
20240822@181645.9809 4d4d2jcob53klcal529u3rhohl Query : use flama_phc
20240822@181645.9813 4d4d2jcob53klcal529u3rhohl 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')
20240822@181645.9844 4d4d2jcob53klcal529u3rhohl 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
20240822@181645.9883 4d4d2jcob53klcal529u3rhohl Query : use flama_phc
20240822@181645.9886 4d4d2jcob53klcal529u3rhohl Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240822@181645.9924 4d4d2jcob53klcal529u3rhohl Query : use flama_phc
20240822@181645.9927 4d4d2jcob53klcal529u3rhohl Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240822@181645.9959 4d4d2jcob53klcal529u3rhohl Query : use flama_phc
20240822@181645.9963 4d4d2jcob53klcal529u3rhohl Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240822@181646.7000 4d4d2jcob53klcal529u3rhohl Query : use flama_phc
20240822@181646.1000 4d4d2jcob53klcal529u3rhohl Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - montijo nova'
20240822@181646.5700 4d4d2jcob53klcal529u3rhohl Query : use flama_phc
20240822@181646.6000 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from td where ndoc = 39
20240822@181646.7300 4d4d2jcob53klcal529u3rhohl Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240822@181646.8900 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.1070 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181646.1280 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.1430 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181646.1740 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.1900 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181646.2030 4d4d2jcob53klcal529u3rhohl Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181646.2790 4d4d2jcob53klcal529u3rhohl Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181646.2930 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.3110 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181646.3280 4d4d2jcob53klcal529u3rhohl Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66c779619266c7727e04' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240822@181646.5510 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.5720 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181646.6070 4d4d2jcob53klcal529u3rhohl Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240822@181646.6190 4d4d2jcob53klcal529u3rhohl Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240822@181646.6320 4d4d2jcob53klcal529u3rhohl Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240822@181646.6440 4d4d2jcob53klcal529u3rhohl Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240822@181646.6580 4d4d2jcob53klcal529u3rhohl Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240822@181646.6690 4d4d2jcob53klcal529u3rhohl Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240822@181646.6880 4d4d2jcob53klcal529u3rhohl Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66c779619266c7727e04',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240822@181646.9610 4d4d2jcob53klcal529u3rhohl Query : select top 1 fno valor from wsftdata order by fno desc
20240822@181646.9820 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.1001 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181646.1024 4d4d2jcob53klcal529u3rhohl Query : select 'normal' from dummy
20240822@181646.1042 4d4d2jcob53klcal529u3rhohl Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66c779619266c7727e04',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',435,101621,0,'2024-08-22',39,'euro',0,0,2024 ,?,?)
20240822@181646.1371 4d4d2jcob53klcal529u3rhohl Query : use flama_phc
20240822@181646.1374 4d4d2jcob53klcal529u3rhohl Query : select st.usalote valor from st where st.ref = '324.5396.00.1'
20240822@181646.1400 4d4d2jcob53klcal529u3rhohl 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.5396.00.1'
20240822@181646.1416 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.1632 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181646.1665 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.1685 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181646.1695 4d4d2jcob53klcal529u3rhohl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181646.1709 4d4d2jcob53klcal529u3rhohl Query : select sestamp valor from se where ref ='324.5396.00.1' and lote = 'r2300840100a'
20240822@181646.1722 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.1739 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181646.1751 4d4d2jcob53klcal529u3rhohl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c776490666c7727e2a','aut66c779619266c7727e04' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181646.1757 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.1773 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181646.1803 4d4d2jcob53klcal529u3rhohl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c776490666c7727e2a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66c779619266c7727e04' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240822@181646.2141 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.2161 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181646.2199 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.2214 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181646.2223 4d4d2jcob53klcal529u3rhohl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181646.2236 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.2251 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181646.2263 4d4d2jcob53klcal529u3rhohl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c770272166c7727e36','aut66c779619266c7727e04' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181646.2267 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.2282 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181646.2314 4d4d2jcob53klcal529u3rhohl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c770272166c7727e36',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c779619266c7727e04' ,0,0 ,2,23.00,20000,?,?,?)
20240822@181646.2604 4d4d2jcob53klcal529u3rhohl Query : use flama_phc
20240822@181646.2607 4d4d2jcob53klcal529u3rhohl Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240822@181646.2628 4d4d2jcob53klcal529u3rhohl 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'
20240822@181646.2794 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.2811 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181646.2838 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.2859 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181646.2867 4d4d2jcob53klcal529u3rhohl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181646.2887 4d4d2jcob53klcal529u3rhohl Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240822@181646.2901 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.2916 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181646.2928 4d4d2jcob53klcal529u3rhohl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c776622166c7727e46','aut66c779619266c7727e04' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181646.2933 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.2948 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181646.2976 4d4d2jcob53klcal529u3rhohl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c776622166c7727e46',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66c779619266c7727e04' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240822@181646.3268 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.3286 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181646.3313 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.3327 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181646.3335 4d4d2jcob53klcal529u3rhohl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181646.3348 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.3362 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181646.3374 4d4d2jcob53klcal529u3rhohl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c778194766c7727e51','aut66c779619266c7727e04' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181646.3378 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.3393 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181646.3421 4d4d2jcob53klcal529u3rhohl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c778194766c7727e51',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c779619266c7727e04' ,0,0 ,2,23.00,50000,?,?,?)
20240822@181646.3697 4d4d2jcob53klcal529u3rhohl Query : use flama_phc
20240822@181646.3700 4d4d2jcob53klcal529u3rhohl Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240822@181646.3720 4d4d2jcob53klcal529u3rhohl 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'
20240822@181646.3734 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.3750 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181646.3776 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.3791 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181646.3800 4d4d2jcob53klcal529u3rhohl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181646.3812 4d4d2jcob53klcal529u3rhohl Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240822@181646.3825 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.3839 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181646.3851 4d4d2jcob53klcal529u3rhohl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c778943466c7727e5d','aut66c779619266c7727e04' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181646.3855 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.3870 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181646.3899 4d4d2jcob53klcal529u3rhohl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c778943466c7727e5d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66c779619266c7727e04' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240822@181646.4189 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.4208 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181646.4234 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.4250 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181646.4259 4d4d2jcob53klcal529u3rhohl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181646.4271 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.4286 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181646.4299 4d4d2jcob53klcal529u3rhohl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c773119566c7727e68','aut66c779619266c7727e04' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181646.4303 4d4d2jcob53klcal529u3rhohl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.4318 4d4d2jcob53klcal529u3rhohl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181646.4349 4d4d2jcob53klcal529u3rhohl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c773119566c7727e68',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c779619266c7727e04' ,0,0 ,2,23.00,80000,?,?,?)
20240822@181646.4665 4d4d2jcob53klcal529u3rhohl Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66c779619266c7727e04','2405497','wait',39,'adm09112754980.682000002')
20240822@181646.4741 4d4d2jcob53klcal529u3rhohl Query : use flama_phc
20240822@181646.4744 4d4d2jcob53klcal529u3rhohl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240822@181646.4774 4d4d2jcob53klcal529u3rhohl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1632';
20240822@181646.4801 4d4d2jcob53klcal529u3rhohl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1632';
20240822@181646.4838 4d4d2jcob53klcal529u3rhohl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1632';
20240822@181646.4863 4d4d2jcob53klcal529u3rhohl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1632';
20240822@181646.5371 e8ad4p0lkngbgin1frnfp31p5g Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240822@181646.5382 e8ad4p0lkngbgin1frnfp31p5g Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240822@181646.5433 e8ad4p0lkngbgin1frnfp31p5g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1633';
20240822@181646.5489 e8ad4p0lkngbgin1frnfp31p5g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1633';
20240822@181646.5540 e8ad4p0lkngbgin1frnfp31p5g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1633';
20240822@181646.5566 e8ad4p0lkngbgin1frnfp31p5g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1633';
20240822@181646.5613 e8ad4p0lkngbgin1frnfp31p5g Query : use flama_phc
20240822@181646.5616 e8ad4p0lkngbgin1frnfp31p5g Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240822@181646.5682 e8ad4p0lkngbgin1frnfp31p5g Query : use flama_phc
20240822@181646.5686 e8ad4p0lkngbgin1frnfp31p5g Query : select no, estab,szadrsdesc from szadrs where u_coddest=3080
20240822@181646.5772 e8ad4p0lkngbgin1frnfp31p5g 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'
20240822@181646.5792 e8ad4p0lkngbgin1frnfp31p5g Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405498 and bi.ref ='324.691.00.01' and bi.lordem =1
20240822@181646.6848 e8ad4p0lkngbgin1frnfp31p5g 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'
20240822@181646.7044 e8ad4p0lkngbgin1frnfp31p5g Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405498 and bi.ref ='324.691.00.01' and bi.lordem =2
20240822@181646.7860 e8ad4p0lkngbgin1frnfp31p5g Query : use flama_phc
20240822@181646.7865 e8ad4p0lkngbgin1frnfp31p5g Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240822@181646.7905 e8ad4p0lkngbgin1frnfp31p5g Query : use flama_phc
20240822@181646.7909 e8ad4p0lkngbgin1frnfp31p5g Query : select top 1 1 valor from td where td.ndoc = 39
20240822@181646.7942 e8ad4p0lkngbgin1frnfp31p5g Query : use flama_phc
20240822@181646.7945 e8ad4p0lkngbgin1frnfp31p5g 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')
20240822@181646.7976 e8ad4p0lkngbgin1frnfp31p5g 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
20240822@181646.8023 e8ad4p0lkngbgin1frnfp31p5g Query : use flama_phc
20240822@181646.8026 e8ad4p0lkngbgin1frnfp31p5g Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240822@181646.8083 e8ad4p0lkngbgin1frnfp31p5g Query : use flama_phc
20240822@181646.8086 e8ad4p0lkngbgin1frnfp31p5g Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240822@181646.8119 e8ad4p0lkngbgin1frnfp31p5g Query : use flama_phc
20240822@181646.8122 e8ad4p0lkngbgin1frnfp31p5g Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240822@181646.8164 e8ad4p0lkngbgin1frnfp31p5g Query : use flama_phc
20240822@181646.8167 e8ad4p0lkngbgin1frnfp31p5g Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda- barcelos entrega'
20240822@181646.8219 e8ad4p0lkngbgin1frnfp31p5g Query : use flama_phc
20240822@181646.8222 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from td where ndoc = 39
20240822@181646.8236 e8ad4p0lkngbgin1frnfp31p5g Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240822@181646.8251 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.8268 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181646.8288 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.8305 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181646.8362 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.8397 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181646.8411 e8ad4p0lkngbgin1frnfp31p5g Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181646.8482 e8ad4p0lkngbgin1frnfp31p5g Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181646.8497 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.8513 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181646.8570 e8ad4p0lkngbgin1frnfp31p5g Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66c774403866c7727ecd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240822@181646.8777 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.8797 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181646.8833 e8ad4p0lkngbgin1frnfp31p5g Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240822@181646.8845 e8ad4p0lkngbgin1frnfp31p5g Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240822@181646.8858 e8ad4p0lkngbgin1frnfp31p5g Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240822@181646.8870 e8ad4p0lkngbgin1frnfp31p5g Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240822@181646.8882 e8ad4p0lkngbgin1frnfp31p5g Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240822@181646.8895 e8ad4p0lkngbgin1frnfp31p5g Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240822@181646.8907 e8ad4p0lkngbgin1frnfp31p5g Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66c774403866c7727ecd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240822@181646.9195 e8ad4p0lkngbgin1frnfp31p5g Query : select top 1 fno valor from wsftdata order by fno desc
20240822@181646.9215 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.9234 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181646.9257 e8ad4p0lkngbgin1frnfp31p5g Query : select 'normal' from dummy
20240822@181646.9272 e8ad4p0lkngbgin1frnfp31p5g Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66c774403866c7727ecd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',436,101621,0,'2024-08-22',39,'euro',0,0,2024 ,?,?)
20240822@181646.9600 e8ad4p0lkngbgin1frnfp31p5g Query : use flama_phc
20240822@181646.9604 e8ad4p0lkngbgin1frnfp31p5g Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240822@181646.9635 e8ad4p0lkngbgin1frnfp31p5g 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'
20240822@181646.9650 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.9668 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181646.9693 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.9708 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181646.9717 e8ad4p0lkngbgin1frnfp31p5g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181646.9729 e8ad4p0lkngbgin1frnfp31p5g Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240822@181646.9744 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.9760 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181646.9772 e8ad4p0lkngbgin1frnfp31p5g Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c773818866c7727eed','aut66c774403866c7727ecd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181646.9777 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181646.9793 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181646.9823 e8ad4p0lkngbgin1frnfp31p5g Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c773818866c7727eed',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66c774403866c7727ecd' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240822@181647.1690 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.1900 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181647.2170 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.2330 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181647.2430 e8ad4p0lkngbgin1frnfp31p5g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181647.2560 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.2700 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181647.2830 e8ad4p0lkngbgin1frnfp31p5g Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c770903466c7727f06','aut66c774403866c7727ecd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181647.2870 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.3030 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181647.3330 e8ad4p0lkngbgin1frnfp31p5g Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c770903466c7727f06',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c774403866c7727ecd' ,0,0 ,2,23.00,20000,?,?,?)
20240822@181647.6260 e8ad4p0lkngbgin1frnfp31p5g Query : use flama_phc
20240822@181647.6290 e8ad4p0lkngbgin1frnfp31p5g Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240822@181647.6500 e8ad4p0lkngbgin1frnfp31p5g 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'
20240822@181647.6660 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.6820 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181647.7120 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.7270 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181647.7360 e8ad4p0lkngbgin1frnfp31p5g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181647.7490 e8ad4p0lkngbgin1frnfp31p5g Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240822@181647.7620 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.7770 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181647.7890 e8ad4p0lkngbgin1frnfp31p5g Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c779065966c7727f12','aut66c774403866c7727ecd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181647.7940 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.8100 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181647.8390 e8ad4p0lkngbgin1frnfp31p5g Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c779065966c7727f12',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66c774403866c7727ecd' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240822@181647.1124 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.1142 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181647.1171 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.1188 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181647.1197 e8ad4p0lkngbgin1frnfp31p5g Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181647.1214 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.1229 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181647.1242 e8ad4p0lkngbgin1frnfp31p5g Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c779665966c7727f1d','aut66c774403866c7727ecd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181647.1246 e8ad4p0lkngbgin1frnfp31p5g Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.1261 e8ad4p0lkngbgin1frnfp31p5g Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181647.1291 e8ad4p0lkngbgin1frnfp31p5g Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c779665966c7727f1d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c774403866c7727ecd' ,0,0 ,2,23.00,50000,?,?,?)
20240822@181647.1567 e8ad4p0lkngbgin1frnfp31p5g Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66c774403866c7727ecd','2405498','wait',39,'adm09112754980.682000002')
20240822@181647.1638 e8ad4p0lkngbgin1frnfp31p5g Query : use flama_phc
20240822@181647.1642 e8ad4p0lkngbgin1frnfp31p5g Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240822@181647.1673 e8ad4p0lkngbgin1frnfp31p5g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1633';
20240822@181647.1701 e8ad4p0lkngbgin1frnfp31p5g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1633';
20240822@181647.1739 e8ad4p0lkngbgin1frnfp31p5g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1633';
20240822@181647.1763 e8ad4p0lkngbgin1frnfp31p5g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1633';
20240822@181647.2260 v6q7t3sat6hrvck39gr5i0fpcs Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240822@181647.2272 v6q7t3sat6hrvck39gr5i0fpcs Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240822@181647.2322 v6q7t3sat6hrvck39gr5i0fpcs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1634';
20240822@181647.2376 v6q7t3sat6hrvck39gr5i0fpcs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1634';
20240822@181647.2424 v6q7t3sat6hrvck39gr5i0fpcs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1634';
20240822@181647.2448 v6q7t3sat6hrvck39gr5i0fpcs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1634';
20240822@181647.2493 v6q7t3sat6hrvck39gr5i0fpcs Query : use flama_phc
20240822@181647.2496 v6q7t3sat6hrvck39gr5i0fpcs Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240822@181647.2611 v6q7t3sat6hrvck39gr5i0fpcs Query : use flama_phc
20240822@181647.2615 v6q7t3sat6hrvck39gr5i0fpcs Query : select no, estab,szadrsdesc from szadrs where u_coddest=2632
20240822@181647.2706 v6q7t3sat6hrvck39gr5i0fpcs 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'
20240822@181647.2727 v6q7t3sat6hrvck39gr5i0fpcs Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405499 and bi.ref ='324.691.00.01' and bi.lordem =1
20240822@181647.3106 v6q7t3sat6hrvck39gr5i0fpcs 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'
20240822@181647.3127 v6q7t3sat6hrvck39gr5i0fpcs Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2054 and bo.obrano = 2405499 and bi.ref ='324.691.00.01' and bi.lordem =2
20240822@181647.3486 v6q7t3sat6hrvck39gr5i0fpcs Query : use flama_phc
20240822@181647.3490 v6q7t3sat6hrvck39gr5i0fpcs Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240822@181647.3522 v6q7t3sat6hrvck39gr5i0fpcs Query : use flama_phc
20240822@181647.3525 v6q7t3sat6hrvck39gr5i0fpcs Query : select top 1 1 valor from td where td.ndoc = 39
20240822@181647.3555 v6q7t3sat6hrvck39gr5i0fpcs Query : use flama_phc
20240822@181647.3558 v6q7t3sat6hrvck39gr5i0fpcs 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')
20240822@181647.3589 v6q7t3sat6hrvck39gr5i0fpcs 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
20240822@181647.3630 v6q7t3sat6hrvck39gr5i0fpcs Query : use flama_phc
20240822@181647.3633 v6q7t3sat6hrvck39gr5i0fpcs Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240822@181647.3663 v6q7t3sat6hrvck39gr5i0fpcs Query : use flama_phc
20240822@181647.3666 v6q7t3sat6hrvck39gr5i0fpcs Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240822@181647.3697 v6q7t3sat6hrvck39gr5i0fpcs Query : use flama_phc
20240822@181647.3700 v6q7t3sat6hrvck39gr5i0fpcs Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240822@181647.3742 v6q7t3sat6hrvck39gr5i0fpcs Query : use flama_phc
20240822@181647.3745 v6q7t3sat6hrvck39gr5i0fpcs Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda- braganÇa'
20240822@181647.3791 v6q7t3sat6hrvck39gr5i0fpcs Query : use flama_phc
20240822@181647.3794 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from td where ndoc = 39
20240822@181647.3808 v6q7t3sat6hrvck39gr5i0fpcs Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240822@181647.3823 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.3841 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181647.3861 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.3877 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181647.3911 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.3933 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181647.3947 v6q7t3sat6hrvck39gr5i0fpcs Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181647.4019 v6q7t3sat6hrvck39gr5i0fpcs Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181647.4042 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.4060 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181647.4077 v6q7t3sat6hrvck39gr5i0fpcs Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66c770355966c7727f60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240822@181647.4272 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.5436 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181647.5472 v6q7t3sat6hrvck39gr5i0fpcs Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240822@181647.5484 v6q7t3sat6hrvck39gr5i0fpcs Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240822@181647.5497 v6q7t3sat6hrvck39gr5i0fpcs Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240822@181647.5510 v6q7t3sat6hrvck39gr5i0fpcs Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240822@181647.5521 v6q7t3sat6hrvck39gr5i0fpcs Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240822@181647.5535 v6q7t3sat6hrvck39gr5i0fpcs Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240822@181647.5547 v6q7t3sat6hrvck39gr5i0fpcs Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66c770355966c7727f60',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240822@181647.5808 v6q7t3sat6hrvck39gr5i0fpcs Query : select top 1 fno valor from wsftdata order by fno desc
20240822@181647.5828 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.5847 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181647.5871 v6q7t3sat6hrvck39gr5i0fpcs Query : select 'normal' from dummy
20240822@181647.5887 v6q7t3sat6hrvck39gr5i0fpcs Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66c770355966c7727f60',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',437,101621,0,'2024-08-22',39,'euro',0,0,2024 ,?,?)
20240822@181647.6225 v6q7t3sat6hrvck39gr5i0fpcs Query : use flama_phc
20240822@181647.6229 v6q7t3sat6hrvck39gr5i0fpcs Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240822@181647.6254 v6q7t3sat6hrvck39gr5i0fpcs 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'
20240822@181647.6279 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.6295 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181647.6328 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.6343 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181647.6352 v6q7t3sat6hrvck39gr5i0fpcs Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181647.6364 v6q7t3sat6hrvck39gr5i0fpcs Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240822@181647.6377 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.6418 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181647.6431 v6q7t3sat6hrvck39gr5i0fpcs Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c777486966c7727f9b','aut66c770355966c7727f60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181647.6436 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.6450 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181647.6477 v6q7t3sat6hrvck39gr5i0fpcs Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c777486966c7727f9b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66c770355966c7727f60' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240822@181647.6768 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.6786 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181647.6817 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.6832 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181647.6840 v6q7t3sat6hrvck39gr5i0fpcs Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181647.6853 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.6873 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181647.6891 v6q7t3sat6hrvck39gr5i0fpcs Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c774037566c7727fa7','aut66c770355966c7727f60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181647.6896 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.6911 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181647.6939 v6q7t3sat6hrvck39gr5i0fpcs Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c774037566c7727fa7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c770355966c7727f60' ,0,0 ,2,23.00,20000,?,?,?)
20240822@181647.7220 v6q7t3sat6hrvck39gr5i0fpcs Query : use flama_phc
20240822@181647.7224 v6q7t3sat6hrvck39gr5i0fpcs Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240822@181647.7244 v6q7t3sat6hrvck39gr5i0fpcs 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'
20240822@181647.7259 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.7275 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181647.7301 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.7316 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181647.7324 v6q7t3sat6hrvck39gr5i0fpcs Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181647.7337 v6q7t3sat6hrvck39gr5i0fpcs Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400209200a'
20240822@181647.7350 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.7364 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181647.7375 v6q7t3sat6hrvck39gr5i0fpcs Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c770029266c7727fb3','aut66c770355966c7727f60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181647.7380 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.7394 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181647.7421 v6q7t3sat6hrvck39gr5i0fpcs Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c770029266c7727fb3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66c770355966c7727f60' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240822@181647.7726 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.7744 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181647.7770 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.7784 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181647.7837 v6q7t3sat6hrvck39gr5i0fpcs Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181647.7851 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.7869 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181647.7881 v6q7t3sat6hrvck39gr5i0fpcs Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c777465066c7727fbf','aut66c770355966c7727f60' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181647.7886 v6q7t3sat6hrvck39gr5i0fpcs Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181647.7900 v6q7t3sat6hrvck39gr5i0fpcs Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181647.7928 v6q7t3sat6hrvck39gr5i0fpcs Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c777465066c7727fbf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c770355966c7727f60' ,0,0 ,2,23.00,50000,?,?,?)
20240822@181647.8198 v6q7t3sat6hrvck39gr5i0fpcs Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66c770355966c7727f60','2405499','wait',39,'adm09112754980.682000002')
20240822@181647.8293 v6q7t3sat6hrvck39gr5i0fpcs Query : use flama_phc
20240822@181647.8330 v6q7t3sat6hrvck39gr5i0fpcs Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240822@181647.8374 v6q7t3sat6hrvck39gr5i0fpcs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1634';
20240822@181647.8427 v6q7t3sat6hrvck39gr5i0fpcs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1634';
20240822@181647.8495 v6q7t3sat6hrvck39gr5i0fpcs Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1634';
20240822@181647.8544 v6q7t3sat6hrvck39gr5i0fpcs Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1634';
20240822@181647.9088 uhav63tbcco7hesefv0dj84nt5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240822@181647.9102 uhav63tbcco7hesefv0dj84nt5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240822@181647.9191 uhav63tbcco7hesefv0dj84nt5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1635';
20240822@181647.9247 uhav63tbcco7hesefv0dj84nt5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1635';
20240822@181647.9327 uhav63tbcco7hesefv0dj84nt5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1635';
20240822@181647.9356 uhav63tbcco7hesefv0dj84nt5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1635';
20240822@181647.9466 uhav63tbcco7hesefv0dj84nt5 Query : use flama_phc
20240822@181647.9603 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240822@181648.6810 uhav63tbcco7hesefv0dj84nt5 Query : use flama_phc
20240822@181648.6850 uhav63tbcco7hesefv0dj84nt5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=909
20240822@181648.8070 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240822@181648.8270 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405500 and bi.ref ='324.1832.00.2' and bi.lordem =1
20240822@181648.1294 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240822@181648.1494 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405500 and bi.ref ='324.1831.00.2' and bi.lordem =2
20240822@181648.1955 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240822@181648.1978 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405500 and bi.ref ='324.1831.00.2' and bi.lordem =3
20240822@181648.2404 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20240822@181648.2616 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405500 and bi.ref ='324.1833.00.2' and bi.lordem =4
20240822@181648.3042 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20240822@181648.3063 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405500 and bi.ref ='324.1833.00.2' and bi.lordem =5
20240822@181648.3670 uhav63tbcco7hesefv0dj84nt5 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'
20240822@181648.3875 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405500 and bi.ref ='324.2031.00.1' and bi.lordem =6
20240822@181648.4319 uhav63tbcco7hesefv0dj84nt5 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'
20240822@181648.4343 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405500 and bi.ref ='324.646.00.01' and bi.lordem =7
20240822@181648.4816 uhav63tbcco7hesefv0dj84nt5 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'
20240822@181648.4838 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405500 and bi.ref ='324.646.00.01' and bi.lordem =8
20240822@181648.5331 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240822@181648.5358 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405500 and bi.ref ='324.1832.00.2' and bi.lordem =9
20240822@181648.5815 uhav63tbcco7hesefv0dj84nt5 Query : use flama_phc
20240822@181648.5829 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240822@181648.5911 uhav63tbcco7hesefv0dj84nt5 Query : use flama_phc
20240822@181648.5919 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 1 valor from td where td.ndoc = 39
20240822@181648.5972 uhav63tbcco7hesefv0dj84nt5 Query : use flama_phc
20240822@181648.5975 uhav63tbcco7hesefv0dj84nt5 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')
20240822@181648.7696 uhav63tbcco7hesefv0dj84nt5 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
20240822@181648.7924 uhav63tbcco7hesefv0dj84nt5 Query : use flama_phc
20240822@181648.7928 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240822@181648.7970 uhav63tbcco7hesefv0dj84nt5 Query : use flama_phc
20240822@181648.7973 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240822@181648.8655 uhav63tbcco7hesefv0dj84nt5 Query : use flama_phc
20240822@181648.8661 uhav63tbcco7hesefv0dj84nt5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240822@181648.8704 uhav63tbcco7hesefv0dj84nt5 Query : use flama_phc
20240822@181648.8707 uhav63tbcco7hesefv0dj84nt5 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - ovar'
20240822@181648.8773 uhav63tbcco7hesefv0dj84nt5 Query : use flama_phc
20240822@181648.8776 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from td where ndoc = 39
20240822@181648.8790 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240822@181648.8805 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181648.8822 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181648.8843 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181648.8858 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181648.8918 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181648.8933 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181648.8946 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181648.9051 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181648.9065 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181648.9080 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181648.9096 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66c772537166c77280da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240822@181648.9335 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181648.9355 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181648.9388 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240822@181648.9449 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240822@181648.9462 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240822@181648.9474 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240822@181648.9488 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240822@181648.9500 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240822@181648.9512 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66c772537166c77280da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240822@181648.9859 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 fno valor from wsftdata order by fno desc
20240822@181648.9897 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181648.9914 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181648.9940 uhav63tbcco7hesefv0dj84nt5 Query : select 'normal' from dummy
20240822@181648.9956 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66c772537166c77280da',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',438,101621,0,'2024-08-22',39,'euro',0,0,2024 ,?,?)
20240822@181649.3650 uhav63tbcco7hesefv0dj84nt5 Query : use flama_phc
20240822@181649.3690 uhav63tbcco7hesefv0dj84nt5 Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240822@181649.3940 uhav63tbcco7hesefv0dj84nt5 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.1832.00.2'
20240822@181649.4110 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.4650 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.4940 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.5100 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.5190 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181649.5330 uhav63tbcco7hesefv0dj84nt5 Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301271100a'
20240822@181649.5480 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.5960 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.6090 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c776739066c772810d','aut66c772537166c77280da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181649.6130 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.6310 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.6650 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c776739066c772810d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66c772537166c77280da' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240822@181649.1113 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.1132 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.1163 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.1179 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.1190 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181649.1248 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.1264 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.1276 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c776383866c772811e','aut66c772537166c77280da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181649.1281 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.1299 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.1331 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c776383866c772811e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c772537166c77280da' ,0,0 ,2,23.00,20000,?,?,?)
20240822@181649.1703 uhav63tbcco7hesefv0dj84nt5 Query : use flama_phc
20240822@181649.1707 uhav63tbcco7hesefv0dj84nt5 Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240822@181649.1789 uhav63tbcco7hesefv0dj84nt5 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.1831.00.2'
20240822@181649.2784 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.2804 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.2832 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.2847 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.2859 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181649.2872 uhav63tbcco7hesefv0dj84nt5 Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240822@181649.2920 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.2937 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.2949 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c777972566c7728147','aut66c772537166c77280da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181649.2953 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.2968 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.2998 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c777972566c7728147',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66c772537166c77280da' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240822@181649.3472 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.3491 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.3522 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.3593 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.3602 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181649.3614 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.3629 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.3641 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c774549566c7728158','aut66c772537166c77280da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181649.3646 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.3660 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.3712 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c774549566c7728158',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c772537166c77280da' ,0,0 ,2,23.00,50000,?,?,?)
20240822@181649.4085 uhav63tbcco7hesefv0dj84nt5 Query : use flama_phc
20240822@181649.4088 uhav63tbcco7hesefv0dj84nt5 Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240822@181649.4119 uhav63tbcco7hesefv0dj84nt5 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.1831.00.2'
20240822@181649.4133 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.4171 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.4203 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.4218 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.4227 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181649.4240 uhav63tbcco7hesefv0dj84nt5 Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240822@181649.4253 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.4270 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.4282 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c776901066c7728167','aut66c772537166c77280da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181649.4286 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.4303 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.4333 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c776901066c7728167',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66c772537166c77280da' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240822@181649.4610 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.4627 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.4661 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.4677 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.4685 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181649.4699 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.4713 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.4725 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c770309966c7728172','aut66c772537166c77280da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181649.4729 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.4745 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.4779 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c770309966c7728172',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c772537166c77280da' ,0,0 ,2,23.00,80000,?,?,?)
20240822@181649.5063 uhav63tbcco7hesefv0dj84nt5 Query : use flama_phc
20240822@181649.5067 uhav63tbcco7hesefv0dj84nt5 Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20240822@181649.5088 uhav63tbcco7hesefv0dj84nt5 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.1833.00.2'
20240822@181649.5283 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.6750 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.6782 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.6799 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.6808 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181649.6823 uhav63tbcco7hesefv0dj84nt5 Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2301257100a'
20240822@181649.6840 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.6857 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.6870 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c770405366c77281a6','aut66c772537166c77280da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181649.6874 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.6891 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.6922 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c770405366c77281a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66c772537166c77280da' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240822@181649.7204 uhav63tbcco7hesefv0dj84nt5 Query : use flama_phc
20240822@181649.7208 uhav63tbcco7hesefv0dj84nt5 Query : select st.usalote valor from st where st.ref = '324.1833.00.2'
20240822@181649.7230 uhav63tbcco7hesefv0dj84nt5 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.1833.00.2'
20240822@181649.7245 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.7263 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.7298 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.7335 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.7351 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181649.7364 uhav63tbcco7hesefv0dj84nt5 Query : select sestamp valor from se where ref ='324.1833.00.2' and lote = 'r2301257100a'
20240822@181649.7377 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.7392 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.7405 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c770616366c77281b4','aut66c772537166c77280da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181649.7410 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.7425 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.7466 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c770616366c77281b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66c772537166c77280da' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20240822@181649.7747 uhav63tbcco7hesefv0dj84nt5 Query : use flama_phc
20240822@181649.7750 uhav63tbcco7hesefv0dj84nt5 Query : select st.usalote valor from st where st.ref = '324.2031.00.1'
20240822@181649.7772 uhav63tbcco7hesefv0dj84nt5 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'
20240822@181649.8614 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.8634 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.8663 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.8682 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.8693 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181649.8706 uhav63tbcco7hesefv0dj84nt5 Query : select sestamp valor from se where ref ='324.2031.00.1' and lote = 'r2100232100a'
20240822@181649.8721 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.8737 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.8750 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c775920766c77281d4','aut66c772537166c77280da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181649.8754 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.8769 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.8800 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c775920766c77281d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66c772537166c77280da' ,0,0 ,2,23.00,120000,?,?,?,?,?)
20240822@181649.9116 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.9133 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.9161 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.9176 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.9185 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181649.9199 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.9214 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.9228 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c775268866c77281e0','aut66c772537166c77280da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181649.9233 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.9248 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.9281 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c775268866c77281e0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c772537166c77280da' ,0,0 ,2,23.00,130000,?,?,?)
20240822@181649.9559 uhav63tbcco7hesefv0dj84nt5 Query : use flama_phc
20240822@181649.9562 uhav63tbcco7hesefv0dj84nt5 Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240822@181649.9583 uhav63tbcco7hesefv0dj84nt5 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'
20240822@181649.9597 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.9615 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.9649 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.9665 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.9674 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181649.9686 uhav63tbcco7hesefv0dj84nt5 Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240822@181649.9699 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.9714 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181649.9726 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c778126266c77281ec','aut66c772537166c77280da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181649.9731 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181649.9749 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181649.9783 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c778126266c77281ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66c772537166c77280da' ,0,0 ,2,23.00,150000,?,?,?,?,?)
20240822@181650.6700 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.8400 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181650.1120 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.1270 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181650.1360 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181650.1500 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.1650 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181650.1780 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c770421866c7728203','aut66c772537166c77280da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181650.1820 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.1970 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181650.2270 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c770421866c7728203',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c772537166c77280da' ,0,0 ,2,23.00,160000,?,?,?)
20240822@181650.5190 uhav63tbcco7hesefv0dj84nt5 Query : use flama_phc
20240822@181650.5220 uhav63tbcco7hesefv0dj84nt5 Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240822@181650.5440 uhav63tbcco7hesefv0dj84nt5 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'
20240822@181650.5580 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.5760 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181650.6030 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.6190 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181650.6280 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181650.6410 uhav63tbcco7hesefv0dj84nt5 Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240822@181650.6540 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.6690 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181650.6810 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c773942266c772820f','aut66c772537166c77280da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181650.6850 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.7020 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181650.7360 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c773942266c772820f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66c772537166c77280da' ,0,0 ,2,23.00,180000,?,?,?,?,?)
20240822@181650.1023 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.1043 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181650.1075 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.1091 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181650.1100 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181650.1113 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.1129 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181650.1142 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c774351566c772821b','aut66c772537166c77280da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181650.1147 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.1162 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181650.1194 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c774351566c772821b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c772537166c77280da' ,0,0 ,2,23.00,190000,?,?,?)
20240822@181650.1472 uhav63tbcco7hesefv0dj84nt5 Query : use flama_phc
20240822@181650.1475 uhav63tbcco7hesefv0dj84nt5 Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240822@181650.1497 uhav63tbcco7hesefv0dj84nt5 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.1832.00.2'
20240822@181650.1512 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.1529 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181650.1557 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.1577 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181650.1587 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181650.1602 uhav63tbcco7hesefv0dj84nt5 Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301271100a'
20240822@181650.1619 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.1636 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181650.1650 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c774382266c7728227','aut66c772537166c77280da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181650.1655 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.1697 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181650.1734 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c774382266c7728227',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66c772537166c77280da' ,0,0 ,2,23.00,210000,?,?,?,?,?)
20240822@181650.2023 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.2040 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181650.2069 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.2085 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181650.2095 uhav63tbcco7hesefv0dj84nt5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181650.2108 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.2131 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181650.2143 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c776667966c7728233','aut66c772537166c77280da' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181650.2148 uhav63tbcco7hesefv0dj84nt5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.2164 uhav63tbcco7hesefv0dj84nt5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181650.2202 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c776667966c7728233',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c772537166c77280da' ,0,0 ,2,23.00,220000,?,?,?)
20240822@181650.2511 uhav63tbcco7hesefv0dj84nt5 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66c772537166c77280da','2405500','wait',39,'adm09112754980.682000002')
20240822@181650.2584 uhav63tbcco7hesefv0dj84nt5 Query : use flama_phc
20240822@181650.2588 uhav63tbcco7hesefv0dj84nt5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240822@181650.2618 uhav63tbcco7hesefv0dj84nt5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1635';
20240822@181650.2646 uhav63tbcco7hesefv0dj84nt5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1635';
20240822@181650.3003 uhav63tbcco7hesefv0dj84nt5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1635';
20240822@181650.3358 uhav63tbcco7hesefv0dj84nt5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1635';
20240822@181650.4798 jub7gjpfcbvttourftbnsssprt Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240822@181650.4809 jub7gjpfcbvttourftbnsssprt Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240822@181650.4865 jub7gjpfcbvttourftbnsssprt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1636';
20240822@181650.4922 jub7gjpfcbvttourftbnsssprt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1636';
20240822@181650.4973 jub7gjpfcbvttourftbnsssprt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1636';
20240822@181650.5007 jub7gjpfcbvttourftbnsssprt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1636';
20240822@181650.5054 jub7gjpfcbvttourftbnsssprt Query : use flama_phc
20240822@181650.5058 jub7gjpfcbvttourftbnsssprt Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240822@181650.5125 jub7gjpfcbvttourftbnsssprt Query : use flama_phc
20240822@181650.5128 jub7gjpfcbvttourftbnsssprt Query : select no, estab,szadrsdesc from szadrs where u_coddest=4500
20240822@181650.5217 jub7gjpfcbvttourftbnsssprt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240822@181650.5238 jub7gjpfcbvttourftbnsssprt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405501 and bi.ref ='324.1832.00.2' and bi.lordem =1
20240822@181650.5610 jub7gjpfcbvttourftbnsssprt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240822@181650.5632 jub7gjpfcbvttourftbnsssprt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405501 and bi.ref ='324.1832.00.2' and bi.lordem =2
20240822@181650.5972 jub7gjpfcbvttourftbnsssprt 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'
20240822@181650.5994 jub7gjpfcbvttourftbnsssprt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405501 and bi.ref ='324.2031.00.1' and bi.lordem =3
20240822@181650.6396 jub7gjpfcbvttourftbnsssprt Query : use flama_phc
20240822@181650.6400 jub7gjpfcbvttourftbnsssprt Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240822@181650.6438 jub7gjpfcbvttourftbnsssprt Query : use flama_phc
20240822@181650.6441 jub7gjpfcbvttourftbnsssprt Query : select top 1 1 valor from td where td.ndoc = 39
20240822@181650.6489 jub7gjpfcbvttourftbnsssprt Query : use flama_phc
20240822@181650.6492 jub7gjpfcbvttourftbnsssprt 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')
20240822@181650.6522 jub7gjpfcbvttourftbnsssprt 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
20240822@181650.6560 jub7gjpfcbvttourftbnsssprt Query : use flama_phc
20240822@181650.6564 jub7gjpfcbvttourftbnsssprt Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240822@181650.6596 jub7gjpfcbvttourftbnsssprt Query : use flama_phc
20240822@181650.6600 jub7gjpfcbvttourftbnsssprt Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240822@181650.6634 jub7gjpfcbvttourftbnsssprt Query : use flama_phc
20240822@181650.6638 jub7gjpfcbvttourftbnsssprt Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240822@181650.6680 jub7gjpfcbvttourftbnsssprt Query : use flama_phc
20240822@181650.6683 jub7gjpfcbvttourftbnsssprt Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - portimão'
20240822@181650.6735 jub7gjpfcbvttourftbnsssprt Query : use flama_phc
20240822@181650.6739 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from td where ndoc = 39
20240822@181650.6759 jub7gjpfcbvttourftbnsssprt Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240822@181650.6777 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.6797 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181650.6820 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.6837 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181650.6871 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.6894 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181650.6910 jub7gjpfcbvttourftbnsssprt Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181650.6987 jub7gjpfcbvttourftbnsssprt Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181650.7007 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.7024 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181650.7041 jub7gjpfcbvttourftbnsssprt Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66c778908166c77282a8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240822@181650.7238 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.7259 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181650.7296 jub7gjpfcbvttourftbnsssprt Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240822@181650.7309 jub7gjpfcbvttourftbnsssprt Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240822@181650.7321 jub7gjpfcbvttourftbnsssprt Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240822@181650.7333 jub7gjpfcbvttourftbnsssprt Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240822@181650.7345 jub7gjpfcbvttourftbnsssprt Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240822@181650.7357 jub7gjpfcbvttourftbnsssprt Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240822@181650.7369 jub7gjpfcbvttourftbnsssprt Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66c778908166c77282a8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240822@181650.7862 jub7gjpfcbvttourftbnsssprt Query : select top 1 fno valor from wsftdata order by fno desc
20240822@181650.8523 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.8593 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181650.8620 jub7gjpfcbvttourftbnsssprt Query : select 'normal' from dummy
20240822@181650.8636 jub7gjpfcbvttourftbnsssprt Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66c778908166c77282a8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',439,101621,0,'2024-08-22',39,'euro',0,0,2024 ,?,?)
20240822@181650.8989 jub7gjpfcbvttourftbnsssprt Query : use flama_phc
20240822@181650.8993 jub7gjpfcbvttourftbnsssprt Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240822@181650.9017 jub7gjpfcbvttourftbnsssprt 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.1832.00.2'
20240822@181650.9057 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.9075 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181650.9108 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.9123 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181650.9132 jub7gjpfcbvttourftbnsssprt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181650.9145 jub7gjpfcbvttourftbnsssprt Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301271100a'
20240822@181650.9159 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.9176 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181650.9189 jub7gjpfcbvttourftbnsssprt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c778056166c77282df','aut66c778908166c77282a8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181650.9194 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.9212 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181650.9245 jub7gjpfcbvttourftbnsssprt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c778056166c77282df',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66c778908166c77282a8' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240822@181650.9575 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.9595 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181650.9623 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.9639 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181650.9653 jub7gjpfcbvttourftbnsssprt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181650.9669 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.9684 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181650.9696 jub7gjpfcbvttourftbnsssprt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c775597366c77282ec','aut66c778908166c77282a8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181650.9701 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181650.9716 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181650.9746 jub7gjpfcbvttourftbnsssprt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c775597366c77282ec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c778908166c77282a8' ,0,0 ,2,23.00,20000,?,?,?)
20240822@181651.4500 jub7gjpfcbvttourftbnsssprt Query : use flama_phc
20240822@181651.4800 jub7gjpfcbvttourftbnsssprt Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240822@181651.6900 jub7gjpfcbvttourftbnsssprt 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.1832.00.2'
20240822@181651.8500 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181651.1070 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181651.1340 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181651.1490 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181651.1580 jub7gjpfcbvttourftbnsssprt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181651.1710 jub7gjpfcbvttourftbnsssprt Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301271100a'
20240822@181651.1850 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181651.2010 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181651.2130 jub7gjpfcbvttourftbnsssprt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c779556466c7728304','aut66c778908166c77282a8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181651.2180 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181651.2340 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181651.2800 jub7gjpfcbvttourftbnsssprt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c779556466c7728304',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66c778908166c77282a8' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240822@181651.5740 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181651.5920 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181651.6210 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181651.6370 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181651.6450 jub7gjpfcbvttourftbnsssprt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181651.6590 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181651.6750 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181651.6870 jub7gjpfcbvttourftbnsssprt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c774226166c7728310','aut66c778908166c77282a8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181651.6930 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181651.7090 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181651.7430 jub7gjpfcbvttourftbnsssprt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c774226166c7728310',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c778908166c77282a8' ,0,0 ,2,23.00,50000,?,?,?)
20240822@181651.1040 jub7gjpfcbvttourftbnsssprt Query : use flama_phc
20240822@181651.1044 jub7gjpfcbvttourftbnsssprt Query : select st.usalote valor from st where st.ref = '324.2031.00.1'
20240822@181651.1066 jub7gjpfcbvttourftbnsssprt 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'
20240822@181651.1081 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181651.2371 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181651.2404 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181651.2422 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181651.2432 jub7gjpfcbvttourftbnsssprt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181651.2446 jub7gjpfcbvttourftbnsssprt Query : select sestamp valor from se where ref ='324.2031.00.1' and lote = 'r2100232100a'
20240822@181651.2461 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181651.2476 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181651.2489 jub7gjpfcbvttourftbnsssprt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c773181666c772833c','aut66c778908166c77282a8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181651.2494 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181651.2510 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181651.2541 jub7gjpfcbvttourftbnsssprt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c773181666c772833c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66c778908166c77282a8' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240822@181651.2824 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181651.2844 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181651.2875 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181651.2892 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181651.2902 jub7gjpfcbvttourftbnsssprt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181651.2915 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181651.2932 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181651.2946 jub7gjpfcbvttourftbnsssprt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c771168266c7728347','aut66c778908166c77282a8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181651.2950 jub7gjpfcbvttourftbnsssprt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181651.2966 jub7gjpfcbvttourftbnsssprt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181651.2998 jub7gjpfcbvttourftbnsssprt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c771168266c7728347',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c778908166c77282a8' ,0,0 ,2,23.00,80000,?,?,?)
20240822@181651.3278 jub7gjpfcbvttourftbnsssprt Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66c778908166c77282a8','2405501','wait',39,'adm09112754980.682000002')
20240822@181651.3989 jub7gjpfcbvttourftbnsssprt Query : use flama_phc
20240822@181651.3993 jub7gjpfcbvttourftbnsssprt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240822@181651.4023 jub7gjpfcbvttourftbnsssprt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1636';
20240822@181651.4055 jub7gjpfcbvttourftbnsssprt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1636';
20240822@181651.4094 jub7gjpfcbvttourftbnsssprt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1636';
20240822@181651.4121 jub7gjpfcbvttourftbnsssprt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1636';
20240822@181726.8584 citbn0fqnsrsfnl4h2cgmj2u70 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240822@181726.8597 citbn0fqnsrsfnl4h2cgmj2u70 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240822@181726.8659 citbn0fqnsrsfnl4h2cgmj2u70 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1637';
20240822@181726.8727 citbn0fqnsrsfnl4h2cgmj2u70 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1637';
20240822@181726.8782 citbn0fqnsrsfnl4h2cgmj2u70 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1637';
20240822@181726.8809 citbn0fqnsrsfnl4h2cgmj2u70 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1637';
20240822@181726.8859 citbn0fqnsrsfnl4h2cgmj2u70 Query : use flama_phc
20240822@181726.8863 citbn0fqnsrsfnl4h2cgmj2u70 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240822@181726.8933 citbn0fqnsrsfnl4h2cgmj2u70 Query : use flama_phc
20240822@181726.8936 citbn0fqnsrsfnl4h2cgmj2u70 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240822@181726.8982 citbn0fqnsrsfnl4h2cgmj2u70 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '326.595.00.01'
20240822@181726.9189 citbn0fqnsrsfnl4h2cgmj2u70 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405502 and bi.ref ='326.595.00.01' and bi.lordem =1
20240822@181726.9520 citbn0fqnsrsfnl4h2cgmj2u70 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '326.595.00.01'
20240822@181726.9559 citbn0fqnsrsfnl4h2cgmj2u70 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405502 and bi.ref ='326.595.00.01' and bi.lordem =1
20240822@181726.9579 citbn0fqnsrsfnl4h2cgmj2u70 Query : use flama_phc
20240822@181726.9583 citbn0fqnsrsfnl4h2cgmj2u70 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240822@181726.9621 citbn0fqnsrsfnl4h2cgmj2u70 Query : use flama_phc
20240822@181726.9625 citbn0fqnsrsfnl4h2cgmj2u70 Query : select top 1 1 valor from td where td.ndoc = 39
20240822@181726.9658 citbn0fqnsrsfnl4h2cgmj2u70 Query : use flama_phc
20240822@181726.9661 citbn0fqnsrsfnl4h2cgmj2u70 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')
20240822@181726.9693 citbn0fqnsrsfnl4h2cgmj2u70 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
20240822@181726.9733 citbn0fqnsrsfnl4h2cgmj2u70 Query : use flama_phc
20240822@181726.9737 citbn0fqnsrsfnl4h2cgmj2u70 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240822@181726.9773 citbn0fqnsrsfnl4h2cgmj2u70 Query : use flama_phc
20240822@181726.9776 citbn0fqnsrsfnl4h2cgmj2u70 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240822@181726.9812 citbn0fqnsrsfnl4h2cgmj2u70 Query : use flama_phc
20240822@181726.9815 citbn0fqnsrsfnl4h2cgmj2u70 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240822@181726.9860 citbn0fqnsrsfnl4h2cgmj2u70 Query : use flama_phc
20240822@181726.9864 citbn0fqnsrsfnl4h2cgmj2u70 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240822@181726.9916 citbn0fqnsrsfnl4h2cgmj2u70 Query : use flama_phc
20240822@181726.9920 citbn0fqnsrsfnl4h2cgmj2u70 Query : select 1 valor from td where ndoc = 39
20240822@181726.9936 citbn0fqnsrsfnl4h2cgmj2u70 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240822@181726.9954 citbn0fqnsrsfnl4h2cgmj2u70 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181726.9974 citbn0fqnsrsfnl4h2cgmj2u70 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181726.9998 citbn0fqnsrsfnl4h2cgmj2u70 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.1800 citbn0fqnsrsfnl4h2cgmj2u70 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181727.5500 citbn0fqnsrsfnl4h2cgmj2u70 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.7400 citbn0fqnsrsfnl4h2cgmj2u70 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181727.8900 citbn0fqnsrsfnl4h2cgmj2u70 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181727.1620 citbn0fqnsrsfnl4h2cgmj2u70 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181727.1770 citbn0fqnsrsfnl4h2cgmj2u70 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.1960 citbn0fqnsrsfnl4h2cgmj2u70 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181727.2150 citbn0fqnsrsfnl4h2cgmj2u70 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66c778846166c772a702' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240822@181727.4220 citbn0fqnsrsfnl4h2cgmj2u70 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.4430 citbn0fqnsrsfnl4h2cgmj2u70 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181727.4840 citbn0fqnsrsfnl4h2cgmj2u70 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240822@181727.5000 citbn0fqnsrsfnl4h2cgmj2u70 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240822@181727.5170 citbn0fqnsrsfnl4h2cgmj2u70 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240822@181727.5330 citbn0fqnsrsfnl4h2cgmj2u70 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240822@181727.5500 citbn0fqnsrsfnl4h2cgmj2u70 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240822@181727.5680 citbn0fqnsrsfnl4h2cgmj2u70 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240822@181727.5820 citbn0fqnsrsfnl4h2cgmj2u70 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66c778846166c772a702',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240822@181727.8600 citbn0fqnsrsfnl4h2cgmj2u70 Query : select top 1 fno valor from wsftdata order by fno desc
20240822@181727.8820 citbn0fqnsrsfnl4h2cgmj2u70 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.9030 citbn0fqnsrsfnl4h2cgmj2u70 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181727.9310 citbn0fqnsrsfnl4h2cgmj2u70 Query : select 'normal' from dummy
20240822@181727.9500 citbn0fqnsrsfnl4h2cgmj2u70 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66c778846166c772a702',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',440,100810,0,'2024-08-22',39,'euro',0,0,2024 ,?,?)
20240822@181727.1323 citbn0fqnsrsfnl4h2cgmj2u70 Query : use flama_phc
20240822@181727.1327 citbn0fqnsrsfnl4h2cgmj2u70 Query : select st.usalote valor from st where st.ref = '326.595.00.01'
20240822@181727.1358 citbn0fqnsrsfnl4h2cgmj2u70 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 = '326.595.00.01'
20240822@181727.1555 citbn0fqnsrsfnl4h2cgmj2u70 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.1576 citbn0fqnsrsfnl4h2cgmj2u70 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181727.1610 citbn0fqnsrsfnl4h2cgmj2u70 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.1633 citbn0fqnsrsfnl4h2cgmj2u70 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181727.1644 citbn0fqnsrsfnl4h2cgmj2u70 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181727.1659 citbn0fqnsrsfnl4h2cgmj2u70 Query : select sestamp valor from se where ref ='326.595.00.01' and lote = 'r2301243100a'
20240822@181727.1676 citbn0fqnsrsfnl4h2cgmj2u70 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.1694 citbn0fqnsrsfnl4h2cgmj2u70 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181727.1708 citbn0fqnsrsfnl4h2cgmj2u70 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c774830566c772a728','aut66c778846166c772a702' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181727.1713 citbn0fqnsrsfnl4h2cgmj2u70 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.1731 citbn0fqnsrsfnl4h2cgmj2u70 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181727.1765 citbn0fqnsrsfnl4h2cgmj2u70 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c774830566c772a728',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66c778846166c772a702' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240822@181727.2044 citbn0fqnsrsfnl4h2cgmj2u70 Query : use flama_phc
20240822@181727.2047 citbn0fqnsrsfnl4h2cgmj2u70 Query : select st.usalote valor from st where st.ref = '326.595.00.01'
20240822@181727.2076 citbn0fqnsrsfnl4h2cgmj2u70 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 = '326.595.00.01'
20240822@181727.2095 citbn0fqnsrsfnl4h2cgmj2u70 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.2115 citbn0fqnsrsfnl4h2cgmj2u70 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181727.2147 citbn0fqnsrsfnl4h2cgmj2u70 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.2168 citbn0fqnsrsfnl4h2cgmj2u70 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181727.2178 citbn0fqnsrsfnl4h2cgmj2u70 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181727.2193 citbn0fqnsrsfnl4h2cgmj2u70 Query : select sestamp valor from se where ref ='326.595.00.01' and lote = 'r2301243100a'
20240822@181727.2209 citbn0fqnsrsfnl4h2cgmj2u70 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.2226 citbn0fqnsrsfnl4h2cgmj2u70 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181727.2243 citbn0fqnsrsfnl4h2cgmj2u70 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c778502666c772a735','aut66c778846166c772a702' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181727.2248 citbn0fqnsrsfnl4h2cgmj2u70 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.2267 citbn0fqnsrsfnl4h2cgmj2u70 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181727.2301 citbn0fqnsrsfnl4h2cgmj2u70 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c778502666c772a735',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66c778846166c772a702' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240822@181727.2617 citbn0fqnsrsfnl4h2cgmj2u70 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66c778846166c772a702','2405502','wait',39,'adm09112754980.682000002')
20240822@181727.2696 citbn0fqnsrsfnl4h2cgmj2u70 Query : use flama_phc
20240822@181727.2700 citbn0fqnsrsfnl4h2cgmj2u70 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240822@181727.2739 citbn0fqnsrsfnl4h2cgmj2u70 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1637';
20240822@181727.2769 citbn0fqnsrsfnl4h2cgmj2u70 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1637';
20240822@181727.4105 citbn0fqnsrsfnl4h2cgmj2u70 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1637';
20240822@181727.4140 citbn0fqnsrsfnl4h2cgmj2u70 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1637';
20240822@181727.4746 2r38le5cr424blcj6sro0ael02 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240822@181727.4758 2r38le5cr424blcj6sro0ael02 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240822@181727.4815 2r38le5cr424blcj6sro0ael02 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1638';
20240822@181727.4878 2r38le5cr424blcj6sro0ael02 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1638';
20240822@181727.4930 2r38le5cr424blcj6sro0ael02 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1638';
20240822@181727.4958 2r38le5cr424blcj6sro0ael02 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1638';
20240822@181727.5010 2r38le5cr424blcj6sro0ael02 Query : use flama_phc
20240822@181727.5014 2r38le5cr424blcj6sro0ael02 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240822@181727.5087 2r38le5cr424blcj6sro0ael02 Query : use flama_phc
20240822@181727.5090 2r38le5cr424blcj6sro0ael02 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4779
20240822@181727.5184 2r38le5cr424blcj6sro0ael02 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'
20240822@181727.5208 2r38le5cr424blcj6sro0ael02 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405503 and bi.ref ='324.2031.00.1' and bi.lordem =1
20240822@181727.5562 2r38le5cr424blcj6sro0ael02 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'
20240822@181727.5589 2r38le5cr424blcj6sro0ael02 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405503 and bi.ref ='324.4840.00.1' and bi.lordem =2
20240822@181727.5916 2r38le5cr424blcj6sro0ael02 Query : use flama_phc
20240822@181727.5921 2r38le5cr424blcj6sro0ael02 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240822@181727.5956 2r38le5cr424blcj6sro0ael02 Query : use flama_phc
20240822@181727.5960 2r38le5cr424blcj6sro0ael02 Query : select top 1 1 valor from td where td.ndoc = 39
20240822@181727.5995 2r38le5cr424blcj6sro0ael02 Query : use flama_phc
20240822@181727.6000 2r38le5cr424blcj6sro0ael02 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')
20240822@181727.6034 2r38le5cr424blcj6sro0ael02 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
20240822@181727.6073 2r38le5cr424blcj6sro0ael02 Query : use flama_phc
20240822@181727.6077 2r38le5cr424blcj6sro0ael02 Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20240822@181727.6224 2r38le5cr424blcj6sro0ael02 Query : use flama_phc
20240822@181727.6227 2r38le5cr424blcj6sro0ael02 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240822@181727.6261 2r38le5cr424blcj6sro0ael02 Query : use flama_phc
20240822@181727.6264 2r38le5cr424blcj6sro0ael02 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240822@181727.6313 2r38le5cr424blcj6sro0ael02 Query : use flama_phc
20240822@181727.6318 2r38le5cr424blcj6sro0ael02 Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alcochete'
20240822@181727.6370 2r38le5cr424blcj6sro0ael02 Query : use flama_phc
20240822@181727.6373 2r38le5cr424blcj6sro0ael02 Query : select 1 valor from td where ndoc = 39
20240822@181727.6392 2r38le5cr424blcj6sro0ael02 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240822@181727.6412 2r38le5cr424blcj6sro0ael02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.6437 2r38le5cr424blcj6sro0ael02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181727.6469 2r38le5cr424blcj6sro0ael02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.6487 2r38le5cr424blcj6sro0ael02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181727.6522 2r38le5cr424blcj6sro0ael02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.6540 2r38le5cr424blcj6sro0ael02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181727.6556 2r38le5cr424blcj6sro0ael02 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181727.6632 2r38le5cr424blcj6sro0ael02 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181727.6648 2r38le5cr424blcj6sro0ael02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.6671 2r38le5cr424blcj6sro0ael02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181727.6690 2r38le5cr424blcj6sro0ael02 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66c775582966c772a7a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240822@181727.6894 2r38le5cr424blcj6sro0ael02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.6917 2r38le5cr424blcj6sro0ael02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181727.6961 2r38le5cr424blcj6sro0ael02 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240822@181727.6980 2r38le5cr424blcj6sro0ael02 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240822@181727.6995 2r38le5cr424blcj6sro0ael02 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240822@181727.7012 2r38le5cr424blcj6sro0ael02 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240822@181727.7028 2r38le5cr424blcj6sro0ael02 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240822@181727.7043 2r38le5cr424blcj6sro0ael02 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240822@181727.7059 2r38le5cr424blcj6sro0ael02 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66c775582966c772a7a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240822@181727.7415 2r38le5cr424blcj6sro0ael02 Query : select top 1 fno valor from wsftdata order by fno desc
20240822@181727.7515 2r38le5cr424blcj6sro0ael02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.7536 2r38le5cr424blcj6sro0ael02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181727.7565 2r38le5cr424blcj6sro0ael02 Query : select 'normal' from dummy
20240822@181727.7583 2r38le5cr424blcj6sro0ael02 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66c775582966c772a7a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',441,101900,0,'2024-08-22',39,'euro',0,0,2024 ,?,?)
20240822@181727.7940 2r38le5cr424blcj6sro0ael02 Query : use flama_phc
20240822@181727.7943 2r38le5cr424blcj6sro0ael02 Query : select st.usalote valor from st where st.ref = '324.2031.00.1'
20240822@181727.7968 2r38le5cr424blcj6sro0ael02 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'
20240822@181727.7984 2r38le5cr424blcj6sro0ael02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.8003 2r38le5cr424blcj6sro0ael02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181727.8035 2r38le5cr424blcj6sro0ael02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.8053 2r38le5cr424blcj6sro0ael02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181727.8064 2r38le5cr424blcj6sro0ael02 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181727.8081 2r38le5cr424blcj6sro0ael02 Query : select sestamp valor from se where ref ='324.2031.00.1' and lote = 'r2100232100a'
20240822@181727.8100 2r38le5cr424blcj6sro0ael02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.8120 2r38le5cr424blcj6sro0ael02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181727.8133 2r38le5cr424blcj6sro0ael02 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c770938666c772a7c5','aut66c775582966c772a7a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181727.8138 2r38le5cr424blcj6sro0ael02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.8156 2r38le5cr424blcj6sro0ael02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181727.8193 2r38le5cr424blcj6sro0ael02 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c770938666c772a7c5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut66c775582966c772a7a0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240822@181727.8488 2r38le5cr424blcj6sro0ael02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.8506 2r38le5cr424blcj6sro0ael02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181727.8546 2r38le5cr424blcj6sro0ael02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.8562 2r38le5cr424blcj6sro0ael02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181727.8572 2r38le5cr424blcj6sro0ael02 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181727.8586 2r38le5cr424blcj6sro0ael02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.8603 2r38le5cr424blcj6sro0ael02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181727.8617 2r38le5cr424blcj6sro0ael02 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c770881066c772a7d1','aut66c775582966c772a7a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181727.8621 2r38le5cr424blcj6sro0ael02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.8637 2r38le5cr424blcj6sro0ael02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181727.8668 2r38le5cr424blcj6sro0ael02 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c770881066c772a7d1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c775582966c772a7a0' ,0,0 ,2,23.00,20000,?,?,?)
20240822@181727.8944 2r38le5cr424blcj6sro0ael02 Query : use flama_phc
20240822@181727.8948 2r38le5cr424blcj6sro0ael02 Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20240822@181727.8968 2r38le5cr424blcj6sro0ael02 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'
20240822@181727.8984 2r38le5cr424blcj6sro0ael02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.9005 2r38le5cr424blcj6sro0ael02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181727.9034 2r38le5cr424blcj6sro0ael02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.9050 2r38le5cr424blcj6sro0ael02 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181727.9059 2r38le5cr424blcj6sro0ael02 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181727.9072 2r38le5cr424blcj6sro0ael02 Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2400064200a'
20240822@181727.9085 2r38le5cr424blcj6sro0ael02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.9101 2r38le5cr424blcj6sro0ael02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181727.9117 2r38le5cr424blcj6sro0ael02 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c777048766c772a7dd','aut66c775582966c772a7a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181727.9121 2r38le5cr424blcj6sro0ael02 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181727.9137 2r38le5cr424blcj6sro0ael02 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181727.9169 2r38le5cr424blcj6sro0ael02 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c777048766c772a7dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut66c775582966c772a7a0' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240822@181727.9438 2r38le5cr424blcj6sro0ael02 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66c775582966c772a7a0','2405503','wait',39,'adm09112754980.682000002')
20240822@181727.9510 2r38le5cr424blcj6sro0ael02 Query : use flama_phc
20240822@181727.9513 2r38le5cr424blcj6sro0ael02 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240822@181727.9543 2r38le5cr424blcj6sro0ael02 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1638';
20240822@181727.9570 2r38le5cr424blcj6sro0ael02 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1638';
20240822@181727.9606 2r38le5cr424blcj6sro0ael02 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1638';
20240822@181727.9629 2r38le5cr424blcj6sro0ael02 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1638';
20240822@181728.9030 cnck2gicvq7ktp45tu647fi84a Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240822@181728.9140 cnck2gicvq7ktp45tu647fi84a Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240822@181728.9670 cnck2gicvq7ktp45tu647fi84a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1639';
20240822@181728.1030 cnck2gicvq7ktp45tu647fi84a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1639';
20240822@181728.1086 cnck2gicvq7ktp45tu647fi84a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1639';
20240822@181728.1113 cnck2gicvq7ktp45tu647fi84a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1639';
20240822@181728.1161 cnck2gicvq7ktp45tu647fi84a Query : use flama_phc
20240822@181728.1166 cnck2gicvq7ktp45tu647fi84a Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240822@181728.1234 cnck2gicvq7ktp45tu647fi84a Query : use flama_phc
20240822@181728.1238 cnck2gicvq7ktp45tu647fi84a Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240822@181728.1330 cnck2gicvq7ktp45tu647fi84a 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'
20240822@181728.1501 cnck2gicvq7ktp45tu647fi84a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405505 and bi.ref ='324.969.00.01' and bi.lordem =1
20240822@181728.1836 cnck2gicvq7ktp45tu647fi84a Query : use flama_phc
20240822@181728.1839 cnck2gicvq7ktp45tu647fi84a Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240822@181728.1894 cnck2gicvq7ktp45tu647fi84a Query : use flama_phc
20240822@181728.1899 cnck2gicvq7ktp45tu647fi84a Query : select top 1 1 valor from td where td.ndoc = 39
20240822@181728.1934 cnck2gicvq7ktp45tu647fi84a Query : use flama_phc
20240822@181728.1937 cnck2gicvq7ktp45tu647fi84a 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')
20240822@181728.1968 cnck2gicvq7ktp45tu647fi84a 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
20240822@181728.2007 cnck2gicvq7ktp45tu647fi84a Query : use flama_phc
20240822@181728.2010 cnck2gicvq7ktp45tu647fi84a Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20240822@181728.2153 cnck2gicvq7ktp45tu647fi84a Query : use flama_phc
20240822@181728.2157 cnck2gicvq7ktp45tu647fi84a Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240822@181728.2192 cnck2gicvq7ktp45tu647fi84a Query : use flama_phc
20240822@181728.2195 cnck2gicvq7ktp45tu647fi84a Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240822@181728.2236 cnck2gicvq7ktp45tu647fi84a Query : use flama_phc
20240822@181728.2240 cnck2gicvq7ktp45tu647fi84a Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20240822@181728.2289 cnck2gicvq7ktp45tu647fi84a Query : use flama_phc
20240822@181728.2292 cnck2gicvq7ktp45tu647fi84a Query : select 1 valor from td where ndoc = 39
20240822@181728.2308 cnck2gicvq7ktp45tu647fi84a Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240822@181728.2323 cnck2gicvq7ktp45tu647fi84a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.2342 cnck2gicvq7ktp45tu647fi84a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181728.2363 cnck2gicvq7ktp45tu647fi84a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.2381 cnck2gicvq7ktp45tu647fi84a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181728.2411 cnck2gicvq7ktp45tu647fi84a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.2427 cnck2gicvq7ktp45tu647fi84a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181728.2441 cnck2gicvq7ktp45tu647fi84a Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181728.2527 cnck2gicvq7ktp45tu647fi84a Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181728.2540 cnck2gicvq7ktp45tu647fi84a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.2556 cnck2gicvq7ktp45tu647fi84a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181728.2573 cnck2gicvq7ktp45tu647fi84a Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66c779235866c772a83b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240822@181728.2752 cnck2gicvq7ktp45tu647fi84a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.2770 cnck2gicvq7ktp45tu647fi84a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181728.2807 cnck2gicvq7ktp45tu647fi84a Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240822@181728.2819 cnck2gicvq7ktp45tu647fi84a Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240822@181728.2833 cnck2gicvq7ktp45tu647fi84a Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240822@181728.2845 cnck2gicvq7ktp45tu647fi84a Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240822@181728.2858 cnck2gicvq7ktp45tu647fi84a Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240822@181728.2874 cnck2gicvq7ktp45tu647fi84a Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240822@181728.2889 cnck2gicvq7ktp45tu647fi84a Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66c779235866c772a83b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240822@181728.3134 cnck2gicvq7ktp45tu647fi84a Query : select top 1 fno valor from wsftdata order by fno desc
20240822@181728.3153 cnck2gicvq7ktp45tu647fi84a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.3170 cnck2gicvq7ktp45tu647fi84a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181728.3202 cnck2gicvq7ktp45tu647fi84a Query : select 'normal' from dummy
20240822@181728.3218 cnck2gicvq7ktp45tu647fi84a Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66c779235866c772a83b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',442,101597,0,'2024-08-22',39,'euro',0,0,2024 ,?,?)
20240822@181728.3519 cnck2gicvq7ktp45tu647fi84a Query : use flama_phc
20240822@181728.3522 cnck2gicvq7ktp45tu647fi84a Query : select st.usalote valor from st where st.ref = '324.969.00.01'
20240822@181728.3546 cnck2gicvq7ktp45tu647fi84a Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.969.00.01'
20240822@181728.3698 cnck2gicvq7ktp45tu647fi84a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.3715 cnck2gicvq7ktp45tu647fi84a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181728.3747 cnck2gicvq7ktp45tu647fi84a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.3763 cnck2gicvq7ktp45tu647fi84a Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181728.3773 cnck2gicvq7ktp45tu647fi84a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181728.3787 cnck2gicvq7ktp45tu647fi84a Query : select sestamp valor from se where ref ='324.969.00.01' and lote = 'r2100601100a'
20240822@181728.3812 cnck2gicvq7ktp45tu647fi84a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.3828 cnck2gicvq7ktp45tu647fi84a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181728.3841 cnck2gicvq7ktp45tu647fi84a Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c775762866c772a85d','aut66c779235866c772a83b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181728.3846 cnck2gicvq7ktp45tu647fi84a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.3861 cnck2gicvq7ktp45tu647fi84a Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181728.3895 cnck2gicvq7ktp45tu647fi84a Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c775762866c772a85d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66c779235866c772a83b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240822@181728.4168 cnck2gicvq7ktp45tu647fi84a Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66c779235866c772a83b','2405505','wait',39,'adm09112754980.682000002')
20240822@181728.4245 cnck2gicvq7ktp45tu647fi84a Query : use flama_phc
20240822@181728.4249 cnck2gicvq7ktp45tu647fi84a Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240822@181728.4282 cnck2gicvq7ktp45tu647fi84a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1639';
20240822@181728.4313 cnck2gicvq7ktp45tu647fi84a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1639';
20240822@181728.4353 cnck2gicvq7ktp45tu647fi84a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1639';
20240822@181728.4379 cnck2gicvq7ktp45tu647fi84a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1639';
20240822@181728.4984 ra6v44npu6aarbrg4ajd62p7lm Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240822@181728.4997 ra6v44npu6aarbrg4ajd62p7lm Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240822@181728.5061 ra6v44npu6aarbrg4ajd62p7lm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1640';
20240822@181728.5120 ra6v44npu6aarbrg4ajd62p7lm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1640';
20240822@181728.5173 ra6v44npu6aarbrg4ajd62p7lm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1640';
20240822@181728.5208 ra6v44npu6aarbrg4ajd62p7lm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1640';
20240822@181728.5258 ra6v44npu6aarbrg4ajd62p7lm Query : use flama_phc
20240822@181728.5261 ra6v44npu6aarbrg4ajd62p7lm Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240822@181728.5330 ra6v44npu6aarbrg4ajd62p7lm Query : use flama_phc
20240822@181728.5334 ra6v44npu6aarbrg4ajd62p7lm Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240822@181728.5380 ra6v44npu6aarbrg4ajd62p7lm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4906.00.1'
20240822@181728.5578 ra6v44npu6aarbrg4ajd62p7lm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405506 and bi.ref ='324.4906.00.1' and bi.lordem =1
20240822@181728.5920 ra6v44npu6aarbrg4ajd62p7lm Query : use flama_phc
20240822@181728.5924 ra6v44npu6aarbrg4ajd62p7lm Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240822@181728.5964 ra6v44npu6aarbrg4ajd62p7lm Query : use flama_phc
20240822@181728.5968 ra6v44npu6aarbrg4ajd62p7lm Query : select top 1 1 valor from td where td.ndoc = 39
20240822@181728.6000 ra6v44npu6aarbrg4ajd62p7lm Query : use flama_phc
20240822@181728.6004 ra6v44npu6aarbrg4ajd62p7lm 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')
20240822@181728.6042 ra6v44npu6aarbrg4ajd62p7lm 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
20240822@181728.6088 ra6v44npu6aarbrg4ajd62p7lm Query : use flama_phc
20240822@181728.6093 ra6v44npu6aarbrg4ajd62p7lm Query : select top 1 ~inactivo valor from cl where no = '101597' and estab = 0 order by inactivo desc
20240822@181728.6127 ra6v44npu6aarbrg4ajd62p7lm Query : use flama_phc
20240822@181728.6131 ra6v44npu6aarbrg4ajd62p7lm Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240822@181728.6164 ra6v44npu6aarbrg4ajd62p7lm Query : use flama_phc
20240822@181728.6168 ra6v44npu6aarbrg4ajd62p7lm Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240822@181728.6212 ra6v44npu6aarbrg4ajd62p7lm Query : use flama_phc
20240822@181728.6216 ra6v44npu6aarbrg4ajd62p7lm Query : select szadrsstamp valor from szadrs where szadrsdesc='101597 - auchan retail portugal , sa'
20240822@181728.6272 ra6v44npu6aarbrg4ajd62p7lm Query : use flama_phc
20240822@181728.6275 ra6v44npu6aarbrg4ajd62p7lm Query : select 1 valor from td where ndoc = 39
20240822@181728.6289 ra6v44npu6aarbrg4ajd62p7lm Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240822@181728.6306 ra6v44npu6aarbrg4ajd62p7lm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.6329 ra6v44npu6aarbrg4ajd62p7lm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181728.6353 ra6v44npu6aarbrg4ajd62p7lm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.6370 ra6v44npu6aarbrg4ajd62p7lm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181728.6404 ra6v44npu6aarbrg4ajd62p7lm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.6422 ra6v44npu6aarbrg4ajd62p7lm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181728.6437 ra6v44npu6aarbrg4ajd62p7lm Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181728.6510 ra6v44npu6aarbrg4ajd62p7lm Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181728.6526 ra6v44npu6aarbrg4ajd62p7lm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.6545 ra6v44npu6aarbrg4ajd62p7lm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181728.6884 ra6v44npu6aarbrg4ajd62p7lm Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66c773558866c772a89d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240822@181728.7198 ra6v44npu6aarbrg4ajd62p7lm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.7318 ra6v44npu6aarbrg4ajd62p7lm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181728.8040 ra6v44npu6aarbrg4ajd62p7lm Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240822@181728.8054 ra6v44npu6aarbrg4ajd62p7lm Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240822@181728.8069 ra6v44npu6aarbrg4ajd62p7lm Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240822@181728.8086 ra6v44npu6aarbrg4ajd62p7lm Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240822@181728.8102 ra6v44npu6aarbrg4ajd62p7lm Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240822@181728.8115 ra6v44npu6aarbrg4ajd62p7lm Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240822@181728.8128 ra6v44npu6aarbrg4ajd62p7lm Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66c773558866c772a89d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240822@181728.8414 ra6v44npu6aarbrg4ajd62p7lm Query : select top 1 fno valor from wsftdata order by fno desc
20240822@181728.8435 ra6v44npu6aarbrg4ajd62p7lm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.8454 ra6v44npu6aarbrg4ajd62p7lm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181728.8480 ra6v44npu6aarbrg4ajd62p7lm Query : select 'normal' from dummy
20240822@181728.8498 ra6v44npu6aarbrg4ajd62p7lm Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66c773558866c772a89d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',443,101597,0,'2024-08-22',39,'euro',0,0,2024 ,?,?)
20240822@181728.8809 ra6v44npu6aarbrg4ajd62p7lm Query : use flama_phc
20240822@181728.8813 ra6v44npu6aarbrg4ajd62p7lm Query : select st.usalote valor from st where st.ref = '324.4906.00.1'
20240822@181728.8842 ra6v44npu6aarbrg4ajd62p7lm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4906.00.1'
20240822@181728.8997 ra6v44npu6aarbrg4ajd62p7lm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.9017 ra6v44npu6aarbrg4ajd62p7lm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181728.9047 ra6v44npu6aarbrg4ajd62p7lm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.9063 ra6v44npu6aarbrg4ajd62p7lm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181728.9074 ra6v44npu6aarbrg4ajd62p7lm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181728.9089 ra6v44npu6aarbrg4ajd62p7lm Query : select sestamp valor from se where ref ='324.4906.00.1' and lote = 'r2300207200a'
20240822@181728.9116 ra6v44npu6aarbrg4ajd62p7lm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.9133 ra6v44npu6aarbrg4ajd62p7lm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181728.9147 ra6v44npu6aarbrg4ajd62p7lm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c770694066c772a8de','aut66c773558866c772a89d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181728.9152 ra6v44npu6aarbrg4ajd62p7lm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.9170 ra6v44npu6aarbrg4ajd62p7lm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181728.9204 ra6v44npu6aarbrg4ajd62p7lm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c770694066c772a8de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66c773558866c772a89d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240822@181728.9481 ra6v44npu6aarbrg4ajd62p7lm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.9502 ra6v44npu6aarbrg4ajd62p7lm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181728.9533 ra6v44npu6aarbrg4ajd62p7lm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.9550 ra6v44npu6aarbrg4ajd62p7lm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181728.9561 ra6v44npu6aarbrg4ajd62p7lm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181728.9576 ra6v44npu6aarbrg4ajd62p7lm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.9594 ra6v44npu6aarbrg4ajd62p7lm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181728.9609 ra6v44npu6aarbrg4ajd62p7lm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c778097266c772a8e9','aut66c773558866c772a89d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181728.9613 ra6v44npu6aarbrg4ajd62p7lm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181728.9630 ra6v44npu6aarbrg4ajd62p7lm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181728.9664 ra6v44npu6aarbrg4ajd62p7lm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c778097266c772a8e9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c773558866c772a89d' ,0,0 ,2,23.00,20000,?,?,?)
20240822@181728.9932 ra6v44npu6aarbrg4ajd62p7lm Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66c773558866c772a89d','2405506','wait',39,'adm09112754980.682000002')
20240822@181729.9000 ra6v44npu6aarbrg4ajd62p7lm Query : use flama_phc
20240822@181729.1300 ra6v44npu6aarbrg4ajd62p7lm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240822@181729.4800 ra6v44npu6aarbrg4ajd62p7lm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1640';
20240822@181729.8000 ra6v44npu6aarbrg4ajd62p7lm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1640';
20240822@181729.1200 ra6v44npu6aarbrg4ajd62p7lm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1640';
20240822@181729.1500 ra6v44npu6aarbrg4ajd62p7lm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1640';
20240822@181729.6340 vp9p8qc9rdgbfil0df2s86p11n Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240822@181729.6460 vp9p8qc9rdgbfil0df2s86p11n Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240822@181729.7030 vp9p8qc9rdgbfil0df2s86p11n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1641';
20240822@181729.7630 vp9p8qc9rdgbfil0df2s86p11n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1641';
20240822@181729.8160 vp9p8qc9rdgbfil0df2s86p11n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1641';
20240822@181729.8410 vp9p8qc9rdgbfil0df2s86p11n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1641';
20240822@181729.8890 vp9p8qc9rdgbfil0df2s86p11n Query : use flama_phc
20240822@181729.8930 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240822@181729.9610 vp9p8qc9rdgbfil0df2s86p11n Query : use flama_phc
20240822@181729.9650 vp9p8qc9rdgbfil0df2s86p11n Query : select no, estab,szadrsdesc from szadrs where u_coddest=1474
20240822@181729.1056 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240822@181729.1080 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405507 and bi.ref ='324.1832.00.2' and bi.lordem =1
20240822@181729.1428 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240822@181729.1453 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405507 and bi.ref ='324.1832.00.2' and bi.lordem =2
20240822@181729.1783 vp9p8qc9rdgbfil0df2s86p11n 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'
20240822@181729.1809 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405507 and bi.ref ='324.2031.00.1' and bi.lordem =3
20240822@181729.2145 vp9p8qc9rdgbfil0df2s86p11n 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'
20240822@181729.2307 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405507 and bi.ref ='324.658.00.01' and bi.lordem =4
20240822@181729.2659 vp9p8qc9rdgbfil0df2s86p11n 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'
20240822@181729.2682 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405507 and bi.ref ='324.658.00.01' and bi.lordem =5
20240822@181729.3034 vp9p8qc9rdgbfil0df2s86p11n Query : use flama_phc
20240822@181729.3039 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240822@181729.3076 vp9p8qc9rdgbfil0df2s86p11n Query : use flama_phc
20240822@181729.3080 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 1 valor from td where td.ndoc = 39
20240822@181729.3115 vp9p8qc9rdgbfil0df2s86p11n Query : use flama_phc
20240822@181729.3119 vp9p8qc9rdgbfil0df2s86p11n 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')
20240822@181729.3152 vp9p8qc9rdgbfil0df2s86p11n 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
20240822@181729.3198 vp9p8qc9rdgbfil0df2s86p11n Query : use flama_phc
20240822@181729.3202 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240822@181729.3235 vp9p8qc9rdgbfil0df2s86p11n Query : use flama_phc
20240822@181729.3239 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240822@181729.3273 vp9p8qc9rdgbfil0df2s86p11n Query : use flama_phc
20240822@181729.3277 vp9p8qc9rdgbfil0df2s86p11n Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240822@181729.3322 vp9p8qc9rdgbfil0df2s86p11n Query : use flama_phc
20240822@181729.3326 vp9p8qc9rdgbfil0df2s86p11n Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - corroios'
20240822@181729.3379 vp9p8qc9rdgbfil0df2s86p11n Query : use flama_phc
20240822@181729.3382 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from td where ndoc = 39
20240822@181729.3398 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240822@181729.3415 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.3435 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181729.3459 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.3477 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181729.3510 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.3527 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181729.3542 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181729.3617 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181729.3633 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.3650 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181729.3669 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66c778903766c772a956' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240822@181729.3862 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.3885 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181729.4568 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240822@181729.5118 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240822@181729.5134 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240822@181729.5148 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240822@181729.5162 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240822@181729.5177 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240822@181729.5191 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66c778903766c772a956',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240822@181729.5453 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 fno valor from wsftdata order by fno desc
20240822@181729.5476 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.5496 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181729.5523 vp9p8qc9rdgbfil0df2s86p11n Query : select 'normal' from dummy
20240822@181729.5542 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66c778903766c772a956',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',444,101621,0,'2024-08-22',39,'euro',0,0,2024 ,?,?)
20240822@181729.5845 vp9p8qc9rdgbfil0df2s86p11n Query : use flama_phc
20240822@181729.5867 vp9p8qc9rdgbfil0df2s86p11n Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240822@181729.5891 vp9p8qc9rdgbfil0df2s86p11n 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.1832.00.2'
20240822@181729.5910 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.5929 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181729.5960 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.5976 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181729.5986 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181729.6001 vp9p8qc9rdgbfil0df2s86p11n Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301271100a'
20240822@181729.6016 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.6036 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181729.6050 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c776962966c772a992','aut66c778903766c772a956' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181729.6056 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.6075 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181729.6110 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c776962966c772a992',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66c778903766c772a956' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240822@181729.6392 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.6412 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181729.6444 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.6462 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181729.6473 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181729.6487 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.6508 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181729.6522 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c771797266c772a99e','aut66c778903766c772a956' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181729.6527 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.6546 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181729.6579 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c771797266c772a99e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c778903766c772a956' ,0,0 ,2,23.00,20000,?,?,?)
20240822@181729.6858 vp9p8qc9rdgbfil0df2s86p11n Query : use flama_phc
20240822@181729.6862 vp9p8qc9rdgbfil0df2s86p11n Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240822@181729.6927 vp9p8qc9rdgbfil0df2s86p11n 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.1832.00.2'
20240822@181729.6947 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.6968 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181729.7002 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.7021 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181729.7033 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181729.7049 vp9p8qc9rdgbfil0df2s86p11n Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301271100a'
20240822@181729.7069 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.7128 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181729.7149 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c777188866c772a9ac','aut66c778903766c772a956' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181729.7155 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.7174 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181729.7210 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c777188866c772a9ac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66c778903766c772a956' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240822@181729.7513 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.7533 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181729.7564 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.7582 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181729.7593 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181729.7609 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.7626 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181729.7640 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c778728966c772a9b9','aut66c778903766c772a956' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181729.7645 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.7662 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181729.7697 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c778728966c772a9b9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c778903766c772a956' ,0,0 ,2,23.00,50000,?,?,?)
20240822@181729.8050 vp9p8qc9rdgbfil0df2s86p11n Query : use flama_phc
20240822@181729.8092 vp9p8qc9rdgbfil0df2s86p11n Query : select st.usalote valor from st where st.ref = '324.2031.00.1'
20240822@181729.8156 vp9p8qc9rdgbfil0df2s86p11n 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'
20240822@181729.8174 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.8197 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181729.8231 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.8250 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181729.8260 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181729.8275 vp9p8qc9rdgbfil0df2s86p11n Query : select sestamp valor from se where ref ='324.2031.00.1' and lote = 'r2100232100a'
20240822@181729.8289 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.8306 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181729.8320 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c774084166c772a9ca','aut66c778903766c772a956' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181729.8325 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.8343 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181729.8377 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c774084166c772a9ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66c778903766c772a956' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240822@181729.8648 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.8667 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181729.8698 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.8715 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181729.8726 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181729.8741 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.8759 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181729.8773 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c773488966c772a9d5','aut66c778903766c772a956' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181729.8778 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.8797 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181729.8833 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c773488966c772a9d5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c778903766c772a956' ,0,0 ,2,23.00,80000,?,?,?)
20240822@181729.9116 vp9p8qc9rdgbfil0df2s86p11n Query : use flama_phc
20240822@181729.9120 vp9p8qc9rdgbfil0df2s86p11n Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20240822@181729.9143 vp9p8qc9rdgbfil0df2s86p11n 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'
20240822@181729.9302 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.9323 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181729.9366 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.9384 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181729.9398 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181729.9415 vp9p8qc9rdgbfil0df2s86p11n Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2300819200a'
20240822@181729.9432 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.9449 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181729.9464 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c772946866c772a9e6','aut66c778903766c772a956' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181729.9470 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.9488 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181729.9526 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c772946866c772a9e6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66c778903766c772a956' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240822@181729.9818 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.9839 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181729.9876 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.9895 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181729.9906 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181729.9922 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.9940 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181729.9954 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c776764166c772a9f2','aut66c778903766c772a956' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181729.9959 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181729.9979 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181730.1200 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c776764166c772a9f2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c778903766c772a956' ,0,0 ,2,23.00,110000,?,?,?)
20240822@181730.3010 vp9p8qc9rdgbfil0df2s86p11n Query : use flama_phc
20240822@181730.3050 vp9p8qc9rdgbfil0df2s86p11n Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20240822@181730.3270 vp9p8qc9rdgbfil0df2s86p11n 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'
20240822@181730.3440 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.3640 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181730.3970 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.4170 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181730.4280 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181730.4480 vp9p8qc9rdgbfil0df2s86p11n Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2300819200a'
20240822@181730.4650 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.4820 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181730.4970 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c774910766c772aa0b','aut66c778903766c772a956' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181730.5030 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.5210 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181730.5580 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c774910766c772aa0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66c778903766c772a956' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240822@181730.1694 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.1980 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181730.2012 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.2032 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181730.2044 vp9p8qc9rdgbfil0df2s86p11n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181730.2062 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.2081 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181730.2095 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c775717066c772aa32','aut66c778903766c772a956' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181730.2101 vp9p8qc9rdgbfil0df2s86p11n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.2120 vp9p8qc9rdgbfil0df2s86p11n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181730.2167 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c775717066c772aa32',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c778903766c772a956' ,0,0 ,2,23.00,140000,?,?,?)
20240822@181730.2520 vp9p8qc9rdgbfil0df2s86p11n Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66c778903766c772a956','2405507','wait',39,'adm09112754980.682000002')
20240822@181730.2603 vp9p8qc9rdgbfil0df2s86p11n Query : use flama_phc
20240822@181730.2607 vp9p8qc9rdgbfil0df2s86p11n Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240822@181730.2639 vp9p8qc9rdgbfil0df2s86p11n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1641';
20240822@181730.2670 vp9p8qc9rdgbfil0df2s86p11n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1641';
20240822@181730.2712 vp9p8qc9rdgbfil0df2s86p11n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1641';
20240822@181730.2739 vp9p8qc9rdgbfil0df2s86p11n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1641';
20240822@181730.3226 6883cqobgc7h4kn2d0gfhtm37b Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240822@181730.3239 6883cqobgc7h4kn2d0gfhtm37b Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240822@181730.3298 6883cqobgc7h4kn2d0gfhtm37b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1642';
20240822@181730.3360 6883cqobgc7h4kn2d0gfhtm37b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1642';
20240822@181730.3414 6883cqobgc7h4kn2d0gfhtm37b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1642';
20240822@181730.3440 6883cqobgc7h4kn2d0gfhtm37b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1642';
20240822@181730.3491 6883cqobgc7h4kn2d0gfhtm37b Query : use flama_phc
20240822@181730.3495 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240822@181730.3562 6883cqobgc7h4kn2d0gfhtm37b Query : use flama_phc
20240822@181730.3566 6883cqobgc7h4kn2d0gfhtm37b Query : select no, estab,szadrsdesc from szadrs where u_coddest=233
20240822@181730.3653 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240822@181730.3676 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405508 and bi.ref ='324.1832.00.2' and bi.lordem =1
20240822@181730.4124 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240822@181730.4146 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405508 and bi.ref ='324.1832.00.2' and bi.lordem =2
20240822@181730.4473 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240822@181730.4496 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405508 and bi.ref ='324.1831.00.2' and bi.lordem =3
20240822@181730.4836 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240822@181730.4860 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405508 and bi.ref ='324.1831.00.2' and bi.lordem =4
20240822@181730.5204 6883cqobgc7h4kn2d0gfhtm37b Query : use flama_phc
20240822@181730.5208 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240822@181730.5248 6883cqobgc7h4kn2d0gfhtm37b Query : use flama_phc
20240822@181730.5252 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 1 valor from td where td.ndoc = 39
20240822@181730.5284 6883cqobgc7h4kn2d0gfhtm37b Query : use flama_phc
20240822@181730.5288 6883cqobgc7h4kn2d0gfhtm37b 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')
20240822@181730.5320 6883cqobgc7h4kn2d0gfhtm37b 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
20240822@181730.5374 6883cqobgc7h4kn2d0gfhtm37b Query : use flama_phc
20240822@181730.5378 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240822@181730.5411 6883cqobgc7h4kn2d0gfhtm37b Query : use flama_phc
20240822@181730.5415 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240822@181730.5450 6883cqobgc7h4kn2d0gfhtm37b Query : use flama_phc
20240822@181730.5453 6883cqobgc7h4kn2d0gfhtm37b Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240822@181730.5500 6883cqobgc7h4kn2d0gfhtm37b Query : use flama_phc
20240822@181730.5504 6883cqobgc7h4kn2d0gfhtm37b Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - tudo para o seu lar'
20240822@181730.5557 6883cqobgc7h4kn2d0gfhtm37b Query : use flama_phc
20240822@181730.5560 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from td where ndoc = 39
20240822@181730.5577 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240822@181730.5595 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.5616 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181730.5644 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.5663 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181730.5703 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.5725 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181730.5741 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181730.5830 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181730.5845 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.5864 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181730.5883 6883cqobgc7h4kn2d0gfhtm37b Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66c779912466c772aa8c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240822@181730.6107 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.6131 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181730.6189 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240822@181730.6204 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240822@181730.6218 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240822@181730.6233 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240822@181730.6247 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240822@181730.6264 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240822@181730.6280 6883cqobgc7h4kn2d0gfhtm37b Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66c779912466c772aa8c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240822@181730.6616 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 fno valor from wsftdata order by fno desc
20240822@181730.6641 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.6663 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181730.6696 6883cqobgc7h4kn2d0gfhtm37b Query : select 'normal' from dummy
20240822@181730.6716 6883cqobgc7h4kn2d0gfhtm37b Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66c779912466c772aa8c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',445,101621,0,'2024-08-22',39,'euro',0,0,2024 ,?,?)
20240822@181730.7081 6883cqobgc7h4kn2d0gfhtm37b Query : use flama_phc
20240822@181730.7086 6883cqobgc7h4kn2d0gfhtm37b Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240822@181730.7115 6883cqobgc7h4kn2d0gfhtm37b 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.1832.00.2'
20240822@181730.7133 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.7159 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181730.7198 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.7222 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181730.7234 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181730.7250 6883cqobgc7h4kn2d0gfhtm37b Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301271100a'
20240822@181730.7269 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.7317 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181730.7334 6883cqobgc7h4kn2d0gfhtm37b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c773207166c772aab1','aut66c779912466c772aa8c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181730.7341 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.7364 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181730.7403 6883cqobgc7h4kn2d0gfhtm37b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c773207166c772aab1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66c779912466c772aa8c' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240822@181730.7710 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.7732 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181730.7762 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.7778 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181730.7788 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181730.7803 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.7820 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181730.7834 6883cqobgc7h4kn2d0gfhtm37b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c773588766c772aabe','aut66c779912466c772aa8c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181730.7840 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.7866 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181730.7898 6883cqobgc7h4kn2d0gfhtm37b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c773588766c772aabe',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c779912466c772aa8c' ,0,0 ,2,23.00,20000,?,?,?)
20240822@181730.8213 6883cqobgc7h4kn2d0gfhtm37b Query : use flama_phc
20240822@181730.8256 6883cqobgc7h4kn2d0gfhtm37b Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240822@181730.8365 6883cqobgc7h4kn2d0gfhtm37b 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.1832.00.2'
20240822@181730.8382 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.8402 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181730.8434 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.8451 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181730.8462 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181730.8477 6883cqobgc7h4kn2d0gfhtm37b Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301271100a'
20240822@181730.8492 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.8510 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181730.8526 6883cqobgc7h4kn2d0gfhtm37b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c774805066c772aacf','aut66c779912466c772aa8c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181730.8531 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.8550 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181730.8590 6883cqobgc7h4kn2d0gfhtm37b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c774805066c772aacf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66c779912466c772aa8c' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240822@181730.8882 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.8902 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181730.8943 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.8962 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181730.8973 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181730.8989 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.9010 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181730.9024 6883cqobgc7h4kn2d0gfhtm37b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c772165166c772aadb','aut66c779912466c772aa8c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181730.9030 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.9047 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181730.9081 6883cqobgc7h4kn2d0gfhtm37b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c772165166c772aadb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c779912466c772aa8c' ,0,0 ,2,23.00,50000,?,?,?)
20240822@181730.9373 6883cqobgc7h4kn2d0gfhtm37b Query : use flama_phc
20240822@181730.9376 6883cqobgc7h4kn2d0gfhtm37b Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240822@181730.9400 6883cqobgc7h4kn2d0gfhtm37b 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.1831.00.2'
20240822@181730.9416 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.9435 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181730.9468 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.9485 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181730.9497 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181730.9512 6883cqobgc7h4kn2d0gfhtm37b Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240822@181730.9527 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.9544 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181730.9559 6883cqobgc7h4kn2d0gfhtm37b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c777970566c772aae8','aut66c779912466c772aa8c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181730.9565 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181730.9583 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181730.9618 6883cqobgc7h4kn2d0gfhtm37b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c777970566c772aae8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66c779912466c772aa8c' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240822@181731.8750 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.8960 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181731.9280 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.9450 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181731.9560 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181731.9710 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.9900 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181731.1004 6883cqobgc7h4kn2d0gfhtm37b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c778026866c772ab17','aut66c779912466c772aa8c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181731.1008 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.1025 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181731.1061 6883cqobgc7h4kn2d0gfhtm37b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c778026866c772ab17',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c779912466c772aa8c' ,0,0 ,2,23.00,80000,?,?,?)
20240822@181731.1347 6883cqobgc7h4kn2d0gfhtm37b Query : use flama_phc
20240822@181731.1350 6883cqobgc7h4kn2d0gfhtm37b Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240822@181731.1376 6883cqobgc7h4kn2d0gfhtm37b 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.1831.00.2'
20240822@181731.1396 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.1442 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181731.1476 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.1495 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181731.1507 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181731.1522 6883cqobgc7h4kn2d0gfhtm37b Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240822@181731.1539 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.1556 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181731.1577 6883cqobgc7h4kn2d0gfhtm37b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c778796266c772ab25','aut66c779912466c772aa8c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181731.1582 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.1602 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181731.1641 6883cqobgc7h4kn2d0gfhtm37b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c778796266c772ab25',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66c779912466c772aa8c' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240822@181731.1937 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.1960 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181731.1991 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.2013 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181731.2026 6883cqobgc7h4kn2d0gfhtm37b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181731.2041 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.2058 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181731.2072 6883cqobgc7h4kn2d0gfhtm37b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c773307066c772ab31','aut66c779912466c772aa8c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181731.2077 6883cqobgc7h4kn2d0gfhtm37b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.2095 6883cqobgc7h4kn2d0gfhtm37b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181731.2128 6883cqobgc7h4kn2d0gfhtm37b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c773307066c772ab31',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c779912466c772aa8c' ,0,0 ,2,23.00,110000,?,?,?)
20240822@181731.2414 6883cqobgc7h4kn2d0gfhtm37b Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66c779912466c772aa8c','2405508','wait',39,'adm09112754980.682000002')
20240822@181731.2493 6883cqobgc7h4kn2d0gfhtm37b Query : use flama_phc
20240822@181731.2497 6883cqobgc7h4kn2d0gfhtm37b Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240822@181731.2533 6883cqobgc7h4kn2d0gfhtm37b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1642';
20240822@181731.2564 6883cqobgc7h4kn2d0gfhtm37b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1642';
20240822@181731.2603 6883cqobgc7h4kn2d0gfhtm37b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1642';
20240822@181731.2629 6883cqobgc7h4kn2d0gfhtm37b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1642';
20240822@181731.3117 81afoum1srpeu4kpmao4gh88j5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240822@181731.3128 81afoum1srpeu4kpmao4gh88j5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240822@181731.3184 81afoum1srpeu4kpmao4gh88j5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1643';
20240822@181731.3239 81afoum1srpeu4kpmao4gh88j5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1643';
20240822@181731.3291 81afoum1srpeu4kpmao4gh88j5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1643';
20240822@181731.3318 81afoum1srpeu4kpmao4gh88j5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1643';
20240822@181731.3389 81afoum1srpeu4kpmao4gh88j5 Query : use flama_phc
20240822@181731.3394 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240822@181731.3463 81afoum1srpeu4kpmao4gh88j5 Query : use flama_phc
20240822@181731.3466 81afoum1srpeu4kpmao4gh88j5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2014
20240822@181731.3553 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240822@181731.3575 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405509 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240822@181731.3930 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240822@181731.3954 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405509 and bi.ref ='324.1831.00.2' and bi.lordem =2
20240822@181731.4299 81afoum1srpeu4kpmao4gh88j5 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'
20240822@181731.4323 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405509 and bi.ref ='324.646.00.01' and bi.lordem =3
20240822@181731.4664 81afoum1srpeu4kpmao4gh88j5 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'
20240822@181731.4689 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405509 and bi.ref ='324.646.00.01' and bi.lordem =4
20240822@181731.5029 81afoum1srpeu4kpmao4gh88j5 Query : use flama_phc
20240822@181731.5033 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240822@181731.5069 81afoum1srpeu4kpmao4gh88j5 Query : use flama_phc
20240822@181731.5073 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 1 valor from td where td.ndoc = 39
20240822@181731.5123 81afoum1srpeu4kpmao4gh88j5 Query : use flama_phc
20240822@181731.5126 81afoum1srpeu4kpmao4gh88j5 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')
20240822@181731.5158 81afoum1srpeu4kpmao4gh88j5 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
20240822@181731.5200 81afoum1srpeu4kpmao4gh88j5 Query : use flama_phc
20240822@181731.5203 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240822@181731.5239 81afoum1srpeu4kpmao4gh88j5 Query : use flama_phc
20240822@181731.5242 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240822@181731.5278 81afoum1srpeu4kpmao4gh88j5 Query : use flama_phc
20240822@181731.5281 81afoum1srpeu4kpmao4gh88j5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240822@181731.5328 81afoum1srpeu4kpmao4gh88j5 Query : use flama_phc
20240822@181731.5332 81afoum1srpeu4kpmao4gh88j5 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - guarda'
20240822@181731.5391 81afoum1srpeu4kpmao4gh88j5 Query : use flama_phc
20240822@181731.5395 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from td where ndoc = 39
20240822@181731.5412 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240822@181731.5430 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.5451 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181731.5474 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.5491 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181731.5525 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.5543 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181731.5558 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181731.5632 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181731.5648 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.5667 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181731.5688 81afoum1srpeu4kpmao4gh88j5 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66c776436666c772ab87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240822@181731.5898 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.5920 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181731.5961 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240822@181731.5978 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240822@181731.5992 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240822@181731.6016 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240822@181731.6033 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240822@181731.6048 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240822@181731.6061 81afoum1srpeu4kpmao4gh88j5 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66c776436666c772ab87',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240822@181731.6341 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 fno valor from wsftdata order by fno desc
20240822@181731.6363 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.6382 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181731.6411 81afoum1srpeu4kpmao4gh88j5 Query : select 'normal' from dummy
20240822@181731.6454 81afoum1srpeu4kpmao4gh88j5 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66c776436666c772ab87',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',446,101621,0,'2024-08-22',39,'euro',0,0,2024 ,?,?)
20240822@181731.6843 81afoum1srpeu4kpmao4gh88j5 Query : use flama_phc
20240822@181731.6848 81afoum1srpeu4kpmao4gh88j5 Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240822@181731.6874 81afoum1srpeu4kpmao4gh88j5 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.1831.00.2'
20240822@181731.6894 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.6918 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181731.6953 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.6975 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181731.6986 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181731.7003 81afoum1srpeu4kpmao4gh88j5 Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240822@181731.7021 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.7043 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181731.7059 81afoum1srpeu4kpmao4gh88j5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c773980666c772abab','aut66c776436666c772ab87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181731.7065 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.7087 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181731.7132 81afoum1srpeu4kpmao4gh88j5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c773980666c772abab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66c776436666c772ab87' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240822@181731.7453 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.7474 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181731.7506 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.7525 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181731.7544 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181731.7559 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.7576 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181731.7591 81afoum1srpeu4kpmao4gh88j5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c778758466c772abb8','aut66c776436666c772ab87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181731.7596 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.7615 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181731.7649 81afoum1srpeu4kpmao4gh88j5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c778758466c772abb8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c776436666c772ab87' ,0,0 ,2,23.00,20000,?,?,?)
20240822@181731.7952 81afoum1srpeu4kpmao4gh88j5 Query : use flama_phc
20240822@181731.7955 81afoum1srpeu4kpmao4gh88j5 Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240822@181731.7981 81afoum1srpeu4kpmao4gh88j5 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.1831.00.2'
20240822@181731.8001 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.8022 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181731.8057 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.8076 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181731.8104 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181731.8120 81afoum1srpeu4kpmao4gh88j5 Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240822@181731.8142 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.8162 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181731.8176 81afoum1srpeu4kpmao4gh88j5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c771595766c772abc6','aut66c776436666c772ab87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181731.8182 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.8211 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181731.8249 81afoum1srpeu4kpmao4gh88j5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c771595766c772abc6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66c776436666c772ab87' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240822@181731.8731 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.8754 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181731.8790 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.8808 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181731.8821 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181731.8841 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.8859 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181731.8874 81afoum1srpeu4kpmao4gh88j5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c770318266c772abd7','aut66c776436666c772ab87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181731.8880 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.8899 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181731.8936 81afoum1srpeu4kpmao4gh88j5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c770318266c772abd7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c776436666c772ab87' ,0,0 ,2,23.00,50000,?,?,?)
20240822@181731.9226 81afoum1srpeu4kpmao4gh88j5 Query : use flama_phc
20240822@181731.9231 81afoum1srpeu4kpmao4gh88j5 Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240822@181731.9255 81afoum1srpeu4kpmao4gh88j5 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'
20240822@181731.9272 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.9292 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181731.9324 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.9342 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181731.9353 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181731.9366 81afoum1srpeu4kpmao4gh88j5 Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240822@181731.9383 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.9403 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181731.9418 81afoum1srpeu4kpmao4gh88j5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c770923066c772abe5','aut66c776436666c772ab87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181731.9425 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.9446 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181731.9485 81afoum1srpeu4kpmao4gh88j5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c770923066c772abe5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66c776436666c772ab87' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240822@181731.9776 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.9820 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181731.9852 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.9871 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181731.9907 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181731.9922 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.9942 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181731.9956 81afoum1srpeu4kpmao4gh88j5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c770583166c772abf2','aut66c776436666c772ab87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181731.9961 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181731.9980 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181732.1700 81afoum1srpeu4kpmao4gh88j5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c770583166c772abf2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c776436666c772ab87' ,0,0 ,2,23.00,80000,?,?,?)
20240822@181732.3010 81afoum1srpeu4kpmao4gh88j5 Query : use flama_phc
20240822@181732.3040 81afoum1srpeu4kpmao4gh88j5 Query : select st.usalote valor from st where st.ref = '324.646.00.01'
20240822@181732.3300 81afoum1srpeu4kpmao4gh88j5 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'
20240822@181732.3490 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.3800 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181732.4110 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.4280 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181732.4380 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181732.4540 81afoum1srpeu4kpmao4gh88j5 Query : select sestamp valor from se where ref ='324.646.00.01' and lote = 'r2400055100a'
20240822@181732.4700 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.4860 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181732.5010 81afoum1srpeu4kpmao4gh88j5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c772466466c772ac0b','aut66c776436666c772ab87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181732.5060 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.5250 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181732.5610 81afoum1srpeu4kpmao4gh88j5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c772466466c772ac0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66c776436666c772ab87' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240822@181732.8480 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.8680 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181732.9000 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.9170 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181732.9280 81afoum1srpeu4kpmao4gh88j5 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181732.9440 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.9630 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181732.9830 81afoum1srpeu4kpmao4gh88j5 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c770072666c772ac17','aut66c776436666c772ab87' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181732.9880 81afoum1srpeu4kpmao4gh88j5 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.1007 81afoum1srpeu4kpmao4gh88j5 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181732.1041 81afoum1srpeu4kpmao4gh88j5 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c770072666c772ac17',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c776436666c772ab87' ,0,0 ,2,23.00,110000,?,?,?)
20240822@181732.1343 81afoum1srpeu4kpmao4gh88j5 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66c776436666c772ab87','2405509','wait',39,'adm09112754980.682000002')
20240822@181732.1421 81afoum1srpeu4kpmao4gh88j5 Query : use flama_phc
20240822@181732.1425 81afoum1srpeu4kpmao4gh88j5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240822@181732.1463 81afoum1srpeu4kpmao4gh88j5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1643';
20240822@181732.1494 81afoum1srpeu4kpmao4gh88j5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1643';
20240822@181732.1533 81afoum1srpeu4kpmao4gh88j5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1643';
20240822@181732.1560 81afoum1srpeu4kpmao4gh88j5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1643';
20240822@181732.2903 9khun0kub2verlebga2bikn44q Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240822@181732.2917 9khun0kub2verlebga2bikn44q Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240822@181732.2997 9khun0kub2verlebga2bikn44q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1644';
20240822@181732.3057 9khun0kub2verlebga2bikn44q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1644';
20240822@181732.3110 9khun0kub2verlebga2bikn44q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1644';
20240822@181732.3137 9khun0kub2verlebga2bikn44q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1644';
20240822@181732.3217 9khun0kub2verlebga2bikn44q Query : use flama_phc
20240822@181732.3222 9khun0kub2verlebga2bikn44q Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240822@181732.3290 9khun0kub2verlebga2bikn44q Query : use flama_phc
20240822@181732.3294 9khun0kub2verlebga2bikn44q Query : select no, estab,szadrsdesc from szadrs where u_coddest=8301
20240822@181732.3382 9khun0kub2verlebga2bikn44q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240822@181732.3405 9khun0kub2verlebga2bikn44q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405510 and bi.ref ='324.1831.00.2' and bi.lordem =1
20240822@181732.3741 9khun0kub2verlebga2bikn44q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240822@181732.3763 9khun0kub2verlebga2bikn44q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405510 and bi.ref ='324.1831.00.2' and bi.lordem =2
20240822@181732.4102 9khun0kub2verlebga2bikn44q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240822@181732.4127 9khun0kub2verlebga2bikn44q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405510 and bi.ref ='324.1831.00.2' and bi.lordem =3
20240822@181732.4508 9khun0kub2verlebga2bikn44q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240822@181732.4533 9khun0kub2verlebga2bikn44q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405510 and bi.ref ='324.1831.00.2' and bi.lordem =3
20240822@181732.4589 9khun0kub2verlebga2bikn44q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240822@181732.4616 9khun0kub2verlebga2bikn44q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405510 and bi.ref ='324.1831.00.2' and bi.lordem =4
20240822@181732.4991 9khun0kub2verlebga2bikn44q Query : use flama_phc
20240822@181732.4995 9khun0kub2verlebga2bikn44q Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240822@181732.5031 9khun0kub2verlebga2bikn44q Query : use flama_phc
20240822@181732.5036 9khun0kub2verlebga2bikn44q Query : select top 1 1 valor from td where td.ndoc = 39
20240822@181732.5070 9khun0kub2verlebga2bikn44q Query : use flama_phc
20240822@181732.5075 9khun0kub2verlebga2bikn44q 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')
20240822@181732.5108 9khun0kub2verlebga2bikn44q 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
20240822@181732.5153 9khun0kub2verlebga2bikn44q Query : use flama_phc
20240822@181732.5163 9khun0kub2verlebga2bikn44q Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240822@181732.5197 9khun0kub2verlebga2bikn44q Query : use flama_phc
20240822@181732.5200 9khun0kub2verlebga2bikn44q Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240822@181732.5236 9khun0kub2verlebga2bikn44q Query : use flama_phc
20240822@181732.5240 9khun0kub2verlebga2bikn44q Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240822@181732.5288 9khun0kub2verlebga2bikn44q Query : use flama_phc
20240822@181732.5293 9khun0kub2verlebga2bikn44q Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - alverca'
20240822@181732.5348 9khun0kub2verlebga2bikn44q Query : use flama_phc
20240822@181732.5351 9khun0kub2verlebga2bikn44q Query : select 1 valor from td where ndoc = 39
20240822@181732.5369 9khun0kub2verlebga2bikn44q Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240822@181732.5385 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.5405 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181732.5428 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.5447 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181732.5481 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.5499 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181732.5513 9khun0kub2verlebga2bikn44q Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181732.5585 9khun0kub2verlebga2bikn44q Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181732.5602 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.5630 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181732.5649 9khun0kub2verlebga2bikn44q Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66c772872666c772ac86' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240822@181732.5839 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.5859 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181732.5899 9khun0kub2verlebga2bikn44q Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240822@181732.5914 9khun0kub2verlebga2bikn44q Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240822@181732.5929 9khun0kub2verlebga2bikn44q Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240822@181732.5944 9khun0kub2verlebga2bikn44q Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240822@181732.5959 9khun0kub2verlebga2bikn44q Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240822@181732.5974 9khun0kub2verlebga2bikn44q Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240822@181732.5987 9khun0kub2verlebga2bikn44q Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66c772872666c772ac86',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240822@181732.6261 9khun0kub2verlebga2bikn44q Query : select top 1 fno valor from wsftdata order by fno desc
20240822@181732.6286 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.6306 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181732.6340 9khun0kub2verlebga2bikn44q Query : select 'normal' from dummy
20240822@181732.6359 9khun0kub2verlebga2bikn44q Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66c772872666c772ac86',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',447,101621,0,'2024-08-22',39,'euro',0,0,2024 ,?,?)
20240822@181732.6715 9khun0kub2verlebga2bikn44q Query : use flama_phc
20240822@181732.6718 9khun0kub2verlebga2bikn44q Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240822@181732.6742 9khun0kub2verlebga2bikn44q 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.1831.00.2'
20240822@181732.6760 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.6785 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181732.6819 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.6837 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181732.6847 9khun0kub2verlebga2bikn44q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181732.6861 9khun0kub2verlebga2bikn44q Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240822@181732.6878 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.6897 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181732.6914 9khun0kub2verlebga2bikn44q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c779451866c772aca7','aut66c772872666c772ac86' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181732.6919 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.6937 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181732.6978 9khun0kub2verlebga2bikn44q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c779451866c772aca7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66c772872666c772ac86' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240822@181732.7284 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.7306 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181732.7366 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.7386 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181732.7397 9khun0kub2verlebga2bikn44q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181732.7412 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.7429 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181732.7444 9khun0kub2verlebga2bikn44q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c778472766c772acb4','aut66c772872666c772ac86' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181732.7449 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.7467 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181732.7503 9khun0kub2verlebga2bikn44q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c778472766c772acb4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c772872666c772ac86' ,0,0 ,2,23.00,20000,?,?,?)
20240822@181732.7786 9khun0kub2verlebga2bikn44q Query : use flama_phc
20240822@181732.7790 9khun0kub2verlebga2bikn44q Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240822@181732.7815 9khun0kub2verlebga2bikn44q 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.1831.00.2'
20240822@181732.7830 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.7849 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181732.7890 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.7909 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181732.7919 9khun0kub2verlebga2bikn44q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181732.7933 9khun0kub2verlebga2bikn44q Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240822@181732.7949 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.7968 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181732.7983 9khun0kub2verlebga2bikn44q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c776315966c772acc2','aut66c772872666c772ac86' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181732.7989 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.8015 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181732.8050 9khun0kub2verlebga2bikn44q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c776315966c772acc2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66c772872666c772ac86' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240822@181732.8365 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.8388 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181732.8420 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.8438 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181732.8448 9khun0kub2verlebga2bikn44q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181732.8464 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.8481 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181732.8495 9khun0kub2verlebga2bikn44q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c772210166c772acce','aut66c772872666c772ac86' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181732.8501 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.8518 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181732.8552 9khun0kub2verlebga2bikn44q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c772210166c772acce',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c772872666c772ac86' ,0,0 ,2,23.00,50000,?,?,?)
20240822@181732.8958 9khun0kub2verlebga2bikn44q Query : use flama_phc
20240822@181732.9000 9khun0kub2verlebga2bikn44q Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240822@181732.9029 9khun0kub2verlebga2bikn44q 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.1831.00.2'
20240822@181732.9046 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.9089 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181732.9123 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.9140 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181732.9150 9khun0kub2verlebga2bikn44q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181732.9164 9khun0kub2verlebga2bikn44q Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240822@181732.9181 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.9200 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181732.9216 9khun0kub2verlebga2bikn44q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c772576266c772ace0','aut66c772872666c772ac86' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181732.9221 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.9239 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181732.9274 9khun0kub2verlebga2bikn44q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c772576266c772ace0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66c772872666c772ac86' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240822@181732.9552 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.9572 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181732.9603 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.9621 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181732.9631 9khun0kub2verlebga2bikn44q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181732.9647 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.9665 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181732.9680 9khun0kub2verlebga2bikn44q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c775874766c772aceb','aut66c772872666c772ac86' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181732.9685 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181732.9704 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181732.9740 9khun0kub2verlebga2bikn44q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c775874766c772aceb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c772872666c772ac86' ,0,0 ,2,23.00,80000,?,?,?)
20240822@181733.2400 9khun0kub2verlebga2bikn44q Query : use flama_phc
20240822@181733.2800 9khun0kub2verlebga2bikn44q Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240822@181733.5300 9khun0kub2verlebga2bikn44q 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.1831.00.2'
20240822@181733.8500 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.1050 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181733.1360 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.1530 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181733.1640 9khun0kub2verlebga2bikn44q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181733.1850 9khun0kub2verlebga2bikn44q Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240822@181733.2030 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.2210 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181733.2350 9khun0kub2verlebga2bikn44q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c775001766c772ad04','aut66c772872666c772ac86' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181733.2400 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.2630 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181733.3000 9khun0kub2verlebga2bikn44q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c775001766c772ad04',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66c772872666c772ac86' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240822@181733.6140 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.6350 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181733.6740 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.6930 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181733.7040 9khun0kub2verlebga2bikn44q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181733.7190 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.7370 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181733.7510 9khun0kub2verlebga2bikn44q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c770850166c772ad11','aut66c772872666c772ac86' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181733.7560 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.7750 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181733.8200 9khun0kub2verlebga2bikn44q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c770850166c772ad11',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c772872666c772ac86' ,0,0 ,2,23.00,110000,?,?,?)
20240822@181733.1138 9khun0kub2verlebga2bikn44q Query : use flama_phc
20240822@181733.1142 9khun0kub2verlebga2bikn44q Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240822@181733.1170 9khun0kub2verlebga2bikn44q 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.1831.00.2'
20240822@181733.1188 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.1208 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181733.1245 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.1264 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181733.1286 9khun0kub2verlebga2bikn44q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181733.1300 9khun0kub2verlebga2bikn44q Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240822@181733.1316 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.1335 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181733.1355 9khun0kub2verlebga2bikn44q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c775649666c772ad20','aut66c772872666c772ac86' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181733.1361 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.1378 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181733.1415 9khun0kub2verlebga2bikn44q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66c775649666c772ad20',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66c772872666c772ac86' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240822@181733.1705 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.1727 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181733.1757 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.1776 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181733.1786 9khun0kub2verlebga2bikn44q Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240822@181733.1800 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.1817 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240822@181733.1831 9khun0kub2verlebga2bikn44q Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66c771613066c772ad2b','aut66c772872666c772ac86' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240822@181733.1836 9khun0kub2verlebga2bikn44q Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.1853 9khun0kub2verlebga2bikn44q Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240822@181733.1887 9khun0kub2verlebga2bikn44q Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66c771613066c772ad2b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66c772872666c772ac86' ,0,0 ,2,23.00,140000,?,?,?)
20240822@181733.2167 9khun0kub2verlebga2bikn44q Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66c772872666c772ac86','2405510','wait',39,'adm09112754980.682000002')
20240822@181733.2248 9khun0kub2verlebga2bikn44q Query : use flama_phc
20240822@181733.2252 9khun0kub2verlebga2bikn44q Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240822@181733.2286 9khun0kub2verlebga2bikn44q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1644';
20240822@181733.2316 9khun0kub2verlebga2bikn44q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1644';
20240822@181733.2354 9khun0kub2verlebga2bikn44q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1644';
20240822@181733.2381 9khun0kub2verlebga2bikn44q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1644';
20240822@181733.2905 an16ic1slsrqnjsfuj512shf47 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240822@181733.2917 an16ic1slsrqnjsfuj512shf47 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240822@181733.2986 an16ic1slsrqnjsfuj512shf47 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1645';
20240822@181733.3057 an16ic1slsrqnjsfuj512shf47 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1645';
20240822@181733.3111 an16ic1slsrqnjsfuj512shf47 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1645';
20240822@181733.3140 an16ic1slsrqnjsfuj512shf47 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1645';
20240822@181733.3189 an16ic1slsrqnjsfuj512shf47 Query : use flama_phc
20240822@181733.3194 an16ic1slsrqnjsfuj512shf47 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240822@181733.3264 an16ic1slsrqnjsfuj512shf47 Query : use flama_phc
20240822@181733.3268 an16ic1slsrqnjsfuj512shf47 Query : select no, estab,szadrsdesc from szadrs where u_coddest=7737
20240822@181733.3383 an16ic1slsrqnjsfuj512shf47 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'
20240822@181733.3413 an16ic1slsrqnjsfuj512shf47 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405511 and bi.ref ='324.2031.00.1' and bi.lordem =1
20240822@181733.3751 an16ic1slsrqnjsfuj512shf47 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'
20240822@181733.3797 an16ic1slsrqnjsfuj512shf47 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405511 and bi.ref ='324.646.00.01' and bi.lordem =2
20240822@181733.4144 an16ic1slsrqnjsfuj512shf47 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'
20240822@181733.4210 an16ic1slsrqnjsfuj512shf47 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2055 and bo.obrano = 2405511 and bi.ref ='324.646.00.01' and bi.lordem =3
20240822@181733.4568 an16ic1slsrqnjsfuj512shf47 Query : use flama_phc
20240822@181733.4572 an16ic1slsrqnjsfuj512shf47 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240822@181733.4607 an16ic1slsrqnjsfuj512shf47 Query : use flama_phc
20240822@181733.4611 an16ic1slsrqnjsfuj512shf47 Query : select top 1 1 valor from td where td.ndoc = 39
20240822@181733.4645 an16ic1slsrqnjsfuj512shf47 Query : use flama_phc
20240822@181733.4649 an16ic1slsrqnjsfuj512shf47 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')
20240822@181733.4680 an16ic1slsrqnjsfuj512shf47 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
20240822@181733.4719 an16ic1slsrqnjsfuj512shf47 Query : use flama_phc
20240822@181733.4723 an16ic1slsrqnjsfuj512shf47 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240822@181733.4755 an16ic1slsrqnjsfuj512shf47 Query : use flama_phc
20240822@181733.4758 an16ic1slsrqnjsfuj512shf47 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240822@181733.4799 an16ic1slsrqnjsfuj512shf47 Query : use flama_phc
20240822@181733.4810 an16ic1slsrqnjsfuj512shf47 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240822@181733.6106 an16ic1slsrqnjsfuj512shf47 Query : use flama_phc
20240822@181733.6112 an16ic1slsrqnjsfuj512shf47 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - loja da ponte'
20240822@181733.6183 an16ic1slsrqnjsfuj512shf47 Query : use flama_phc
20240822@181733.6186 an16ic1slsrqnjsfuj512shf47 Query : select 1 valor from td where ndoc = 39
20240822@181733.6208 an16ic1slsrqnjsfuj512shf47 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240822@181733.6248 an16ic1slsrqnjsfuj512shf47 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.6273 an16ic1slsrqnjsfuj512shf47 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181733.6299 an16ic1slsrqnjsfuj512shf47 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.6318 an16ic1slsrqnjsfuj512shf47 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181733.6373 an16ic1slsrqnjsfuj512shf47 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.6394 an16ic1slsrqnjsfuj512shf47 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181733.6414 an16ic1slsrqnjsfuj512shf47 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181733.6488 an16ic1slsrqnjsfuj512shf47 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240822@181733.6505 an16ic1slsrqnjsfuj512shf47 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.6525 an16ic1slsrqnjsfuj512shf47 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240822@181733.6546 an16ic1slsrqnjsfuj512shf47 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66c773937666c772ad9c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240822@181733.6795 an16ic1slsrqnjsfuj512shf47 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.6817 an16ic1slsrqnjsfuj512shf47 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240822@181733.6890 an16ic1slsrqnjsfuj512shf47 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240822@181733.6904 an16ic1slsrqnjsfuj512shf47 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240822@181733.6919 an16ic1slsrqnjsfuj512shf47 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240822@181733.6932 an16ic1slsrqnjsfuj512shf47 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240822@181733.6947 an16ic1slsrqnjsfuj512shf47 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240822@181733.6961 an16ic1slsrqnjsfuj512shf47 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240822@181733.6973 an16ic1slsrqnjsfuj512shf47 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66c773937666c772ad9c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240822@181733.7262 an16ic1slsrqnjsfuj512shf47 Query : select top 1 fno valor from wsftdata order by fno desc
20240822@181733.7281 an16ic1slsrqnjsfuj512shf47 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.7318 an16ic1slsrqnjsfuj512shf47 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240822@181733.7343 an16ic1slsrqnjsfuj512shf47 Query : select 'normal' from dummy
20240822@181733.7360 an16ic1slsrqnjsfuj512shf47 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66c773937666c772ad9c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',448,101621,0,'2024-08-22',39,'euro',0,0,2024 ,?,?)
20240822@181733.7671 an16ic1slsrqnjsfuj512shf47 Query : use flama_phc
20240822@181733.7674 an16ic1slsrqnjsfuj512shf47 Query : select st.usalote valor from st where st.ref = '324.2031.00.1'
20240822@181733.7698 an16ic1slsrqnjsfuj512shf47 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'
20240822@181733.7713 an16ic1slsrqnjsfuj512shf47 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240822@181733.7730 an16ic1slsrqnjsfuj512shf47 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
