20241219@134144.8386 47ork68g50qubq485nvr3th49i INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20241219@134144.8385 47ork68g50qubq485nvr3th49i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134144.8407 47ork68g50qubq485nvr3th49i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134144.8439 47ork68g50qubq485nvr3th49i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134144.8497 47ork68g50qubq485nvr3th49i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134144.8523 47ork68g50qubq485nvr3th49i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134144.8586 47ork68g50qubq485nvr3th49i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676429723067642298cf','aut676427110667642296a9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134144.8592 47ork68g50qubq485nvr3th49i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134144.8714 47ork68g50qubq485nvr3th49i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134144.8763 47ork68g50qubq485nvr3th49i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut676429723067642298cf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut676427110667642296a9' ,0,0 ,2,23.00,270000,?,?,?)
20241219@134144.9052 47ork68g50qubq485nvr3th49i Query : use flama_phc
20241219@134144.9058 47ork68g50qubq485nvr3th49i Query : select st.usalote valor from st where st.ref = '324.2366.00.1'
20241219@134144.9183 47ork68g50qubq485nvr3th49i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2366.00.1'
20241219@134144.9344 47ork68g50qubq485nvr3th49i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134144.9425 47ork68g50qubq485nvr3th49i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134144.9487 47ork68g50qubq485nvr3th49i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134144.9541 47ork68g50qubq485nvr3th49i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134144.9550 47ork68g50qubq485nvr3th49i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134144.9562 47ork68g50qubq485nvr3th49i Query : select sestamp valor from se where ref ='324.2366.00.1' and lote = 'r2400498100a'
20241219@134144.9576 47ork68g50qubq485nvr3th49i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134144.9591 47ork68g50qubq485nvr3th49i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134144.9647 47ork68g50qubq485nvr3th49i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676420246867642298e9','aut676427110667642296a9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134144.9679 47ork68g50qubq485nvr3th49i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134144.9703 47ork68g50qubq485nvr3th49i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134144.9773 47ork68g50qubq485nvr3th49i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676420246867642298e9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut676427110667642296a9' ,0,0 ,2,23.00,290000,?,?,?,?,?)
20241219@134145.6000 47ork68g50qubq485nvr3th49i Query : use flama_phc
20241219@134145.6400 47ork68g50qubq485nvr3th49i Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20241219@134145.8700 47ork68g50qubq485nvr3th49i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2330.00.1'
20241219@134145.2280 47ork68g50qubq485nvr3th49i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134145.2440 47ork68g50qubq485nvr3th49i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134145.3140 47ork68g50qubq485nvr3th49i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134145.3500 47ork68g50qubq485nvr3th49i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134145.3600 47ork68g50qubq485nvr3th49i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134145.3720 47ork68g50qubq485nvr3th49i Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r2100584800a'
20241219@134145.4700 47ork68g50qubq485nvr3th49i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134145.4900 47ork68g50qubq485nvr3th49i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134145.5020 47ork68g50qubq485nvr3th49i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764236893676422990b','aut676427110667642296a9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134145.5080 47ork68g50qubq485nvr3th49i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134145.5230 47ork68g50qubq485nvr3th49i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134145.6540 47ork68g50qubq485nvr3th49i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764236893676422990b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut676427110667642296a9' ,0,0 ,2,23.00,300000,?,?,?,?,?)
20241219@134145.1062 47ork68g50qubq485nvr3th49i Query : use flama_phc
20241219@134145.1067 47ork68g50qubq485nvr3th49i Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20241219@134145.1087 47ork68g50qubq485nvr3th49i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2330.00.1'
20241219@134145.1136 47ork68g50qubq485nvr3th49i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134145.1182 47ork68g50qubq485nvr3th49i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134145.1231 47ork68g50qubq485nvr3th49i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134145.1246 47ork68g50qubq485nvr3th49i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134145.1256 47ork68g50qubq485nvr3th49i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134145.1269 47ork68g50qubq485nvr3th49i Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r210058480'
20241219@134145.1279 47ork68g50qubq485nvr3th49i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134145.1323 47ork68g50qubq485nvr3th49i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134145.1336 47ork68g50qubq485nvr3th49i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764260046676422991f','aut676427110667642296a9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134145.1431 47ork68g50qubq485nvr3th49i Query : use flama_phc
20241219@134145.1434 47ork68g50qubq485nvr3th49i Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241219@134145.1569 47ork68g50qubq485nvr3th49i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4104';
20241219@134145.1617 47ork68g50qubq485nvr3th49i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4104';
20241219@134145.2276 8a6djdmn694shtopmcf893o80h Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@134145.2291 8a6djdmn694shtopmcf893o80h Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@134145.2436 8a6djdmn694shtopmcf893o80h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4105';
20241219@134145.2583 8a6djdmn694shtopmcf893o80h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4105';
20241219@134145.2667 8a6djdmn694shtopmcf893o80h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4105';
20241219@134145.2707 8a6djdmn694shtopmcf893o80h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4105';
20241219@134145.3269 8a6djdmn694shtopmcf893o80h Query : use flama_phc
20241219@134145.3330 8a6djdmn694shtopmcf893o80h Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@134145.3818 8a6djdmn694shtopmcf893o80h Query : use flama_phc
20241219@134145.3862 8a6djdmn694shtopmcf893o80h Query : select no, estab,szadrsdesc from szadrs where u_coddest=4804
20241219@134145.4373 8a6djdmn694shtopmcf893o80h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20241219@134145.4726 8a6djdmn694shtopmcf893o80h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408694 and bi.ref ='304.422.00.07' and bi.lordem =1
20241219@134145.5096 8a6djdmn694shtopmcf893o80h 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'
20241219@134145.5284 8a6djdmn694shtopmcf893o80h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408694 and bi.ref ='324.4840.00.1' and bi.lordem =2
20241219@134145.5706 8a6djdmn694shtopmcf893o80h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20241219@134145.5965 8a6djdmn694shtopmcf893o80h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408694 and bi.ref ='304.421.00.04' and bi.lordem =3
20241219@134145.6420 8a6djdmn694shtopmcf893o80h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20241219@134145.6604 8a6djdmn694shtopmcf893o80h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408694 and bi.ref ='324.4960.00.1' and bi.lordem =4
20241219@134145.7001 8a6djdmn694shtopmcf893o80h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2232.00.1'
20241219@134145.7173 8a6djdmn694shtopmcf893o80h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408694 and bi.ref ='324.2232.00.1' and bi.lordem =5
20241219@134145.7552 8a6djdmn694shtopmcf893o80h Query : use flama_phc
20241219@134145.7565 8a6djdmn694shtopmcf893o80h Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@134145.7618 8a6djdmn694shtopmcf893o80h Query : use flama_phc
20241219@134145.7623 8a6djdmn694shtopmcf893o80h Query : select top 1 1 valor from td where td.ndoc = 39
20241219@134145.7657 8a6djdmn694shtopmcf893o80h Query : use flama_phc
20241219@134145.7660 8a6djdmn694shtopmcf893o80h 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')
20241219@134145.7698 8a6djdmn694shtopmcf893o80h 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
20241219@134145.7748 8a6djdmn694shtopmcf893o80h Query : use flama_phc
20241219@134145.7770 8a6djdmn694shtopmcf893o80h Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20241219@134145.7930 8a6djdmn694shtopmcf893o80h Query : use flama_phc
20241219@134145.7933 8a6djdmn694shtopmcf893o80h Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@134145.8005 8a6djdmn694shtopmcf893o80h Query : use flama_phc
20241219@134145.8008 8a6djdmn694shtopmcf893o80h Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@134145.8093 8a6djdmn694shtopmcf893o80h Query : use flama_phc
20241219@134145.8109 8a6djdmn694shtopmcf893o80h Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alfena n/p'
20241219@134145.8164 8a6djdmn694shtopmcf893o80h Query : use flama_phc
20241219@134145.8167 8a6djdmn694shtopmcf893o80h Query : select 1 valor from td where ndoc = 39
20241219@134145.8189 8a6djdmn694shtopmcf893o80h Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@134145.8253 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134145.8285 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134145.8331 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134145.8346 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134145.8384 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134145.8402 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134145.8451 8a6djdmn694shtopmcf893o80h Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134145.8528 8a6djdmn694shtopmcf893o80h Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134145.8546 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134145.8567 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134145.8624 8a6djdmn694shtopmcf893o80h Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut676424253567642299ce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@134145.8800 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134145.8856 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134145.8887 8a6djdmn694shtopmcf893o80h Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@134145.8912 8a6djdmn694shtopmcf893o80h Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@134145.8923 8a6djdmn694shtopmcf893o80h Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@134145.8942 8a6djdmn694shtopmcf893o80h Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@134145.8967 8a6djdmn694shtopmcf893o80h Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@134145.8979 8a6djdmn694shtopmcf893o80h Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@134145.8999 8a6djdmn694shtopmcf893o80h Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut676424253567642299ce',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@134145.9265 8a6djdmn694shtopmcf893o80h Query : select top 1 fno valor from wsftdata order by fno desc
20241219@134145.9329 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134145.9384 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134145.9412 8a6djdmn694shtopmcf893o80h Query : select 'normal' from dummy
20241219@134146.4350 8a6djdmn694shtopmcf893o80h Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut676424253567642299ce',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2562,101900,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@134146.9160 8a6djdmn694shtopmcf893o80h Query : use flama_phc
20241219@134146.9200 8a6djdmn694shtopmcf893o80h Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20241219@134146.9450 8a6djdmn694shtopmcf893o80h Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20241219@134146.1085 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.1194 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134146.1223 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.1288 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134146.1297 8a6djdmn694shtopmcf893o80h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134146.1311 8a6djdmn694shtopmcf893o80h Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '241228'
20241219@134146.1347 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.1395 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134146.1409 8a6djdmn694shtopmcf893o80h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642057386764229a20','aut676424253567642299ce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134146.1414 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.1432 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134146.1491 8a6djdmn694shtopmcf893o80h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642057386764229a20',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut676424253567642299ce' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@134146.1757 8a6djdmn694shtopmcf893o80h Query : use flama_phc
20241219@134146.1822 8a6djdmn694shtopmcf893o80h Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20241219@134146.1849 8a6djdmn694shtopmcf893o80h Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241219@134146.2087 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.2104 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134146.2594 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.2935 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134146.2982 8a6djdmn694shtopmcf893o80h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134146.2997 8a6djdmn694shtopmcf893o80h Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2400064200a'
20241219@134146.3194 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.3219 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134146.3235 8a6djdmn694shtopmcf893o80h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642845786764229a4d','aut676424253567642299ce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134146.3241 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.3259 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134146.3352 8a6djdmn694shtopmcf893o80h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642845786764229a4d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut676424253567642299ce' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@134146.3680 8a6djdmn694shtopmcf893o80h Query : use flama_phc
20241219@134146.3683 8a6djdmn694shtopmcf893o80h Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20241219@134146.3705 8a6djdmn694shtopmcf893o80h Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20241219@134146.3868 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.3890 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134146.3915 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.3952 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134146.3979 8a6djdmn694shtopmcf893o80h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134146.4015 8a6djdmn694shtopmcf893o80h Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '241670'
20241219@134146.4028 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.4075 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134146.4086 8a6djdmn694shtopmcf893o80h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642965786764229a62','aut676424253567642299ce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134146.4091 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.4105 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134146.4148 8a6djdmn694shtopmcf893o80h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642965786764229a62',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',28.000 ,'aut676424253567642299ce' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241219@134146.4451 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.4479 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134146.4511 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.4547 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134146.4556 8a6djdmn694shtopmcf893o80h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134146.4568 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.4606 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134146.4625 8a6djdmn694shtopmcf893o80h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642410476764229a6f','aut676424253567642299ce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134146.4631 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.4649 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134146.4854 8a6djdmn694shtopmcf893o80h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67642410476764229a6f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut676424253567642299ce' ,0,0 ,2,23.00,40000,?,?,?)
20241219@134146.5118 8a6djdmn694shtopmcf893o80h Query : use flama_phc
20241219@134146.5128 8a6djdmn694shtopmcf893o80h Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20241219@134146.5191 8a6djdmn694shtopmcf893o80h Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4960.00.1'
20241219@134146.5330 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.5346 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134146.5377 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.5391 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134146.5403 8a6djdmn694shtopmcf893o80h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134146.5463 8a6djdmn694shtopmcf893o80h Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20241219@134146.5490 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.5506 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134146.5558 8a6djdmn694shtopmcf893o80h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642541466764229a86','aut676424253567642299ce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134146.5563 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.5577 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134146.5612 8a6djdmn694shtopmcf893o80h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642541466764229a86',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut676424253567642299ce' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241219@134146.5888 8a6djdmn694shtopmcf893o80h Query : use flama_phc
20241219@134146.5891 8a6djdmn694shtopmcf893o80h Query : select st.usalote valor from st where st.ref = '324.2232.00.1'
20241219@134146.5948 8a6djdmn694shtopmcf893o80h Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2232.00.1'
20241219@134146.6096 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.6116 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134146.6142 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.6158 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134146.6167 8a6djdmn694shtopmcf893o80h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134146.6179 8a6djdmn694shtopmcf893o80h Query : select sestamp valor from se where ref ='324.2232.00.1' and lote = 'r2400241100a'
20241219@134146.6233 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.6261 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134146.6277 8a6djdmn694shtopmcf893o80h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642608896764229a98','aut676424253567642299ce' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134146.6286 8a6djdmn694shtopmcf893o80h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134146.6317 8a6djdmn694shtopmcf893o80h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134146.6456 8a6djdmn694shtopmcf893o80h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642608896764229a98',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut676424253567642299ce' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241219@134146.6750 8a6djdmn694shtopmcf893o80h Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut676424253567642299ce','2408694','wait',39,'adm09112754980.682000002')
20241219@134146.6857 8a6djdmn694shtopmcf893o80h Query : use flama_phc
20241219@134146.6860 8a6djdmn694shtopmcf893o80h Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@134146.6890 8a6djdmn694shtopmcf893o80h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4105';
20241219@134146.6932 8a6djdmn694shtopmcf893o80h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4105';
20241219@134146.6986 8a6djdmn694shtopmcf893o80h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4105';
20241219@134146.7022 8a6djdmn694shtopmcf893o80h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4105';
20241219@134146.7750 lhab2rghnbjjrs6d8o2i9dnl2r Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@134146.7761 lhab2rghnbjjrs6d8o2i9dnl2r Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@134146.7844 lhab2rghnbjjrs6d8o2i9dnl2r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4106';
20241219@134146.7946 lhab2rghnbjjrs6d8o2i9dnl2r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4106';
20241219@134146.8018 lhab2rghnbjjrs6d8o2i9dnl2r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4106';
20241219@134146.8077 lhab2rghnbjjrs6d8o2i9dnl2r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4106';
20241219@134146.8151 lhab2rghnbjjrs6d8o2i9dnl2r Query : use flama_phc
20241219@134146.8155 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@134146.8296 lhab2rghnbjjrs6d8o2i9dnl2r Query : use flama_phc
20241219@134146.8301 lhab2rghnbjjrs6d8o2i9dnl2r Query : select no, estab,szadrsdesc from szadrs where u_coddest=2227
20241219@134146.8392 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20241219@134146.8524 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408695 and bi.ref ='324.2224.00.1' and bi.lordem =1
20241219@134146.8902 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20241219@134146.9055 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408695 and bi.ref ='324.2221.00.1' and bi.lordem =2
20241219@134146.9375 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20241219@134146.9408 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408695 and bi.ref ='324.2221.00.1' and bi.lordem =2
20241219@134146.9432 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4961.00.1'
20241219@134146.9658 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408695 and bi.ref ='324.4961.00.1' and bi.lordem =3
20241219@134146.9993 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4962.00.1'
20241219@134147.2570 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408695 and bi.ref ='324.4962.00.1' and bi.lordem =4
20241219@134147.6230 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4963.00.1'
20241219@134147.7670 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408695 and bi.ref ='324.4963.00.1' and bi.lordem =5
20241219@134147.1161 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4964.00.1'
20241219@134147.1349 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408695 and bi.ref ='324.4964.00.1' and bi.lordem =6
20241219@134147.1815 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2223.00.1'
20241219@134147.1969 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408695 and bi.ref ='324.2223.00.1' and bi.lordem =7
20241219@134147.2293 lhab2rghnbjjrs6d8o2i9dnl2r Query : use flama_phc
20241219@134147.2297 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@134147.2329 lhab2rghnbjjrs6d8o2i9dnl2r Query : use flama_phc
20241219@134147.2332 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 1 valor from td where td.ndoc = 39
20241219@134147.2363 lhab2rghnbjjrs6d8o2i9dnl2r Query : use flama_phc
20241219@134147.2366 lhab2rghnbjjrs6d8o2i9dnl2r 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')
20241219@134147.2394 lhab2rghnbjjrs6d8o2i9dnl2r 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
20241219@134147.2429 lhab2rghnbjjrs6d8o2i9dnl2r Query : use flama_phc
20241219@134147.2432 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 ~inactivo valor from cl where no = '101428' and estab = 0 order by inactivo desc
20241219@134147.2545 lhab2rghnbjjrs6d8o2i9dnl2r Query : use flama_phc
20241219@134147.2548 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@134147.2578 lhab2rghnbjjrs6d8o2i9dnl2r Query : use flama_phc
20241219@134147.2581 lhab2rghnbjjrs6d8o2i9dnl2r Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@134147.2620 lhab2rghnbjjrs6d8o2i9dnl2r Query : use flama_phc
20241219@134147.2623 lhab2rghnbjjrs6d8o2i9dnl2r Query : select szadrsstamp valor from szadrs where szadrsdesc='el corte inglês - alcochete'
20241219@134147.2669 lhab2rghnbjjrs6d8o2i9dnl2r Query : use flama_phc
20241219@134147.2672 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from td where ndoc = 39
20241219@134147.2685 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@134147.2699 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.2716 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134147.2736 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.2751 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134147.2779 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.2794 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134147.2806 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134147.2861 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134147.2873 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.2888 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134147.2904 lhab2rghnbjjrs6d8o2i9dnl2r Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67642519946764229b44' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@134147.3114 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.3133 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134147.3169 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@134147.3191 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@134147.3202 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@134147.3218 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@134147.3229 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@134147.3243 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@134147.3255 lhab2rghnbjjrs6d8o2i9dnl2r Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67642519946764229b44',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@134147.3541 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 fno valor from wsftdata order by fno desc
20241219@134147.3578 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.3598 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134147.3623 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 'normal' from dummy
20241219@134147.3639 lhab2rghnbjjrs6d8o2i9dnl2r Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67642519946764229b44',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2563,101428,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@134147.3947 lhab2rghnbjjrs6d8o2i9dnl2r Query : use flama_phc
20241219@134147.3951 lhab2rghnbjjrs6d8o2i9dnl2r Query : select st.usalote valor from st where st.ref = '324.2224.00.1'
20241219@134147.3975 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2224.00.1'
20241219@134147.4113 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.4132 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134147.4168 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.4213 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134147.4222 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134147.4235 lhab2rghnbjjrs6d8o2i9dnl2r Query : select sestamp valor from se where ref ='324.2224.00.1' and lote = 'r2301280100a'
20241219@134147.4256 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.4271 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134147.4283 lhab2rghnbjjrs6d8o2i9dnl2r Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642888426764229b67','aut67642519946764229b44' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134147.4288 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.4303 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134147.4337 lhab2rghnbjjrs6d8o2i9dnl2r Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642888426764229b67',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67642519946764229b44' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@134147.4619 lhab2rghnbjjrs6d8o2i9dnl2r Query : use flama_phc
20241219@134147.4623 lhab2rghnbjjrs6d8o2i9dnl2r Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20241219@134147.4648 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2221.00.1'
20241219@134147.4786 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.4807 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134147.4994 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.5013 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134147.5022 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134147.5038 lhab2rghnbjjrs6d8o2i9dnl2r Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2301280100a'
20241219@134147.5060 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.5076 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134147.5167 lhab2rghnbjjrs6d8o2i9dnl2r Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642762196764229b7b','aut67642519946764229b44' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134147.5172 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.5189 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134147.5221 lhab2rghnbjjrs6d8o2i9dnl2r Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642762196764229b7b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut67642519946764229b44' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@134147.5514 lhab2rghnbjjrs6d8o2i9dnl2r Query : use flama_phc
20241219@134147.5518 lhab2rghnbjjrs6d8o2i9dnl2r Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20241219@134147.5542 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2221.00.1'
20241219@134147.5558 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.5576 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134147.5603 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.5619 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134147.5629 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134147.5641 lhab2rghnbjjrs6d8o2i9dnl2r Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2300563200a'
20241219@134147.5666 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.5681 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134147.5694 lhab2rghnbjjrs6d8o2i9dnl2r Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642267816764229b8a','aut67642519946764229b44' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134147.5699 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.5715 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134147.5745 lhab2rghnbjjrs6d8o2i9dnl2r Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642267816764229b8a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut67642519946764229b44' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241219@134147.6184 lhab2rghnbjjrs6d8o2i9dnl2r Query : use flama_phc
20241219@134147.6469 lhab2rghnbjjrs6d8o2i9dnl2r Query : select st.usalote valor from st where st.ref = '324.4961.00.1'
20241219@134147.8226 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4961.00.1'
20241219@134147.8435 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.8454 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134147.8565 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.8584 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134147.8601 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134147.8616 lhab2rghnbjjrs6d8o2i9dnl2r Query : select sestamp valor from se where ref ='324.4961.00.1' and lote = 'r2101092200a'
20241219@134147.8637 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.8662 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134147.8674 lhab2rghnbjjrs6d8o2i9dnl2r Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642189736764229bd2','aut67642519946764229b44' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134147.8679 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.8693 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134147.8723 lhab2rghnbjjrs6d8o2i9dnl2r Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642189736764229bd2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67642519946764229b44' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241219@134147.8978 lhab2rghnbjjrs6d8o2i9dnl2r Query : use flama_phc
20241219@134147.8982 lhab2rghnbjjrs6d8o2i9dnl2r Query : select st.usalote valor from st where st.ref = '324.4962.00.1'
20241219@134147.9095 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4962.00.1'
20241219@134147.9259 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.9276 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134147.9335 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.9355 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134147.9476 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134147.9491 lhab2rghnbjjrs6d8o2i9dnl2r Query : select sestamp valor from se where ref ='324.4962.00.1' and lote = 'r2101092100a'
20241219@134147.9513 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.9531 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134147.9545 lhab2rghnbjjrs6d8o2i9dnl2r Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642793316764229be8','aut67642519946764229b44' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134147.9550 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134147.9567 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134147.9600 lhab2rghnbjjrs6d8o2i9dnl2r Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642793316764229be8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67642519946764229b44' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241219@134147.9853 lhab2rghnbjjrs6d8o2i9dnl2r Query : use flama_phc
20241219@134147.9857 lhab2rghnbjjrs6d8o2i9dnl2r Query : select st.usalote valor from st where st.ref = '324.4963.00.1'
20241219@134147.9883 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4963.00.1'
20241219@134148.3200 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.1470 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134148.2450 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.2660 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134148.2760 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134148.2920 lhab2rghnbjjrs6d8o2i9dnl2r Query : select sestamp valor from se where ref ='324.4963.00.1' and lote = 'r2300717200a'
20241219@134148.3160 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.3320 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134148.3460 lhab2rghnbjjrs6d8o2i9dnl2r Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642377956764229c07','aut67642519946764229b44' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134148.3510 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.3670 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134148.4300 lhab2rghnbjjrs6d8o2i9dnl2r Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642377956764229c07',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67642519946764229b44' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241219@134148.6680 lhab2rghnbjjrs6d8o2i9dnl2r Query : use flama_phc
20241219@134148.6720 lhab2rghnbjjrs6d8o2i9dnl2r Query : select st.usalote valor from st where st.ref = '324.4964.00.1'
20241219@134148.6950 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4964.00.1'
20241219@134148.8300 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.8480 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134148.8800 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.8960 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134148.9050 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134148.9170 lhab2rghnbjjrs6d8o2i9dnl2r Query : select sestamp valor from se where ref ='324.4964.00.1' and lote = 'r2300717100a'
20241219@134148.9300 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.9440 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134148.9580 lhab2rghnbjjrs6d8o2i9dnl2r Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642085546764229c16','aut67642519946764229b44' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134148.9880 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.1006 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134148.1035 lhab2rghnbjjrs6d8o2i9dnl2r Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642085546764229c16',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67642519946764229b44' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241219@134148.1280 lhab2rghnbjjrs6d8o2i9dnl2r Query : use flama_phc
20241219@134148.1288 lhab2rghnbjjrs6d8o2i9dnl2r Query : select st.usalote valor from st where st.ref = '324.2223.00.1'
20241219@134148.1340 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2223.00.1'
20241219@134148.1513 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.1532 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134148.1562 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.1579 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134148.1590 lhab2rghnbjjrs6d8o2i9dnl2r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134148.1604 lhab2rghnbjjrs6d8o2i9dnl2r Query : select sestamp valor from se where ref ='324.2223.00.1' and lote = 'r2301280100a'
20241219@134148.1620 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.1637 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134148.1650 lhab2rghnbjjrs6d8o2i9dnl2r Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642668826764229c27','aut67642519946764229b44' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134148.1660 lhab2rghnbjjrs6d8o2i9dnl2r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.1676 lhab2rghnbjjrs6d8o2i9dnl2r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134148.1734 lhab2rghnbjjrs6d8o2i9dnl2r Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642668826764229c27',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut67642519946764229b44' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20241219@134148.1983 lhab2rghnbjjrs6d8o2i9dnl2r Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67642519946764229b44','2408695','wait',39,'adm09112754980.682000002')
20241219@134148.2060 lhab2rghnbjjrs6d8o2i9dnl2r Query : use flama_phc
20241219@134148.2063 lhab2rghnbjjrs6d8o2i9dnl2r Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@134148.2094 lhab2rghnbjjrs6d8o2i9dnl2r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4106';
20241219@134148.2144 lhab2rghnbjjrs6d8o2i9dnl2r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4106';
20241219@134148.2200 lhab2rghnbjjrs6d8o2i9dnl2r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4106';
20241219@134148.2234 lhab2rghnbjjrs6d8o2i9dnl2r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4106';
20241219@134148.2971 s93usso8spj1oe8scfprp97qvg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@134148.2982 s93usso8spj1oe8scfprp97qvg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@134148.3053 s93usso8spj1oe8scfprp97qvg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4107';
20241219@134148.3121 s93usso8spj1oe8scfprp97qvg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4107';
20241219@134148.3188 s93usso8spj1oe8scfprp97qvg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4107';
20241219@134148.3223 s93usso8spj1oe8scfprp97qvg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4107';
20241219@134148.3285 s93usso8spj1oe8scfprp97qvg Query : use flama_phc
20241219@134148.3289 s93usso8spj1oe8scfprp97qvg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@134148.3361 s93usso8spj1oe8scfprp97qvg Query : use flama_phc
20241219@134148.3365 s93usso8spj1oe8scfprp97qvg Query : select no, estab,szadrsdesc from szadrs where u_coddest=2227
20241219@134148.3414 s93usso8spj1oe8scfprp97qvg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2223.00.1'
20241219@134148.3436 s93usso8spj1oe8scfprp97qvg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408696 and bi.ref ='324.2223.00.1' and bi.lordem =1
20241219@134148.3794 s93usso8spj1oe8scfprp97qvg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20241219@134148.3817 s93usso8spj1oe8scfprp97qvg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408696 and bi.ref ='324.2224.00.1' and bi.lordem =2
20241219@134148.4232 s93usso8spj1oe8scfprp97qvg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20241219@134148.4256 s93usso8spj1oe8scfprp97qvg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408696 and bi.ref ='324.2221.00.1' and bi.lordem =3
20241219@134148.5579 s93usso8spj1oe8scfprp97qvg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4961.00.1'
20241219@134148.5644 s93usso8spj1oe8scfprp97qvg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408696 and bi.ref ='324.4961.00.1' and bi.lordem =4
20241219@134148.6346 s93usso8spj1oe8scfprp97qvg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4962.00.1'
20241219@134148.6370 s93usso8spj1oe8scfprp97qvg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408696 and bi.ref ='324.4962.00.1' and bi.lordem =5
20241219@134148.6694 s93usso8spj1oe8scfprp97qvg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4963.00.1'
20241219@134148.6717 s93usso8spj1oe8scfprp97qvg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408696 and bi.ref ='324.4963.00.1' and bi.lordem =6
20241219@134148.7041 s93usso8spj1oe8scfprp97qvg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4964.00.1'
20241219@134148.7065 s93usso8spj1oe8scfprp97qvg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408696 and bi.ref ='324.4964.00.1' and bi.lordem =7
20241219@134148.7387 s93usso8spj1oe8scfprp97qvg Query : use flama_phc
20241219@134148.7391 s93usso8spj1oe8scfprp97qvg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@134148.7424 s93usso8spj1oe8scfprp97qvg Query : use flama_phc
20241219@134148.7427 s93usso8spj1oe8scfprp97qvg Query : select top 1 1 valor from td where td.ndoc = 39
20241219@134148.7460 s93usso8spj1oe8scfprp97qvg Query : use flama_phc
20241219@134148.7463 s93usso8spj1oe8scfprp97qvg 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')
20241219@134148.7496 s93usso8spj1oe8scfprp97qvg 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
20241219@134148.7816 s93usso8spj1oe8scfprp97qvg Query : use flama_phc
20241219@134148.7820 s93usso8spj1oe8scfprp97qvg Query : select top 1 ~inactivo valor from cl where no = '101428' and estab = 0 order by inactivo desc
20241219@134148.7849 s93usso8spj1oe8scfprp97qvg Query : use flama_phc
20241219@134148.7852 s93usso8spj1oe8scfprp97qvg Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@134148.7881 s93usso8spj1oe8scfprp97qvg Query : use flama_phc
20241219@134148.7884 s93usso8spj1oe8scfprp97qvg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@134148.7924 s93usso8spj1oe8scfprp97qvg Query : use flama_phc
20241219@134148.7927 s93usso8spj1oe8scfprp97qvg Query : select szadrsstamp valor from szadrs where szadrsdesc='el corte inglês - alcochete'
20241219@134148.7970 s93usso8spj1oe8scfprp97qvg Query : use flama_phc
20241219@134148.7973 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from td where ndoc = 39
20241219@134148.7986 s93usso8spj1oe8scfprp97qvg Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@134148.8004 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.8029 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134148.8052 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.8071 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134148.8103 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.8118 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134148.8130 s93usso8spj1oe8scfprp97qvg Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134148.8184 s93usso8spj1oe8scfprp97qvg Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134148.8198 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.8216 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134148.8233 s93usso8spj1oe8scfprp97qvg Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67642732866764229cc6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@134148.8406 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.8431 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134148.8468 s93usso8spj1oe8scfprp97qvg Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@134148.8481 s93usso8spj1oe8scfprp97qvg Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@134148.8494 s93usso8spj1oe8scfprp97qvg Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@134148.8541 s93usso8spj1oe8scfprp97qvg Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@134148.8555 s93usso8spj1oe8scfprp97qvg Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@134148.8569 s93usso8spj1oe8scfprp97qvg Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@134148.8581 s93usso8spj1oe8scfprp97qvg Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67642732866764229cc6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@134148.8916 s93usso8spj1oe8scfprp97qvg Query : select top 1 fno valor from wsftdata order by fno desc
20241219@134148.8947 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.8966 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134148.8993 s93usso8spj1oe8scfprp97qvg Query : select 'normal' from dummy
20241219@134148.9012 s93usso8spj1oe8scfprp97qvg Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67642732866764229cc6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2564,101428,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@134148.9369 s93usso8spj1oe8scfprp97qvg Query : use flama_phc
20241219@134148.9372 s93usso8spj1oe8scfprp97qvg Query : select st.usalote valor from st where st.ref = '324.2223.00.1'
20241219@134148.9394 s93usso8spj1oe8scfprp97qvg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2223.00.1'
20241219@134148.9409 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.9425 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134148.9451 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.9466 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134148.9475 s93usso8spj1oe8scfprp97qvg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134148.9487 s93usso8spj1oe8scfprp97qvg Query : select sestamp valor from se where ref ='324.2223.00.1' and lote = 'r2301280100a'
20241219@134148.9499 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.9514 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134148.9525 s93usso8spj1oe8scfprp97qvg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642656716764229ce7','aut67642732866764229cc6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134148.9530 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.9543 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134148.9570 s93usso8spj1oe8scfprp97qvg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642656716764229ce7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67642732866764229cc6' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@134148.9879 s93usso8spj1oe8scfprp97qvg Query : use flama_phc
20241219@134148.9883 s93usso8spj1oe8scfprp97qvg Query : select st.usalote valor from st where st.ref = '324.2224.00.1'
20241219@134148.9914 s93usso8spj1oe8scfprp97qvg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2224.00.1'
20241219@134148.9930 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134148.9948 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134148.9994 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.4100 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134149.5400 s93usso8spj1oe8scfprp97qvg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134149.6700 s93usso8spj1oe8scfprp97qvg Query : select sestamp valor from se where ref ='324.2224.00.1' and lote = 'r2301280100a'
20241219@134149.8500 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.1110 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134149.1300 s93usso8spj1oe8scfprp97qvg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642737816764229d02','aut67642732866764229cc6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134149.1360 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.1550 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134149.1910 s93usso8spj1oe8scfprp97qvg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642737816764229d02',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67642732866764229cc6' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@134149.4510 s93usso8spj1oe8scfprp97qvg Query : use flama_phc
20241219@134149.4550 s93usso8spj1oe8scfprp97qvg Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20241219@134149.4850 s93usso8spj1oe8scfprp97qvg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2221.00.1'
20241219@134149.4990 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.5180 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134149.5410 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.5630 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134149.5710 s93usso8spj1oe8scfprp97qvg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134149.5820 s93usso8spj1oe8scfprp97qvg Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2300563200a'
20241219@134149.5940 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.6270 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134149.6370 s93usso8spj1oe8scfprp97qvg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642331696764229d0e','aut67642732866764229cc6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134149.6420 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.6930 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134149.7210 s93usso8spj1oe8scfprp97qvg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642331696764229d0e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67642732866764229cc6' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241219@134149.9710 s93usso8spj1oe8scfprp97qvg Query : use flama_phc
20241219@134149.9740 s93usso8spj1oe8scfprp97qvg Query : select st.usalote valor from st where st.ref = '324.4961.00.1'
20241219@134149.9970 s93usso8spj1oe8scfprp97qvg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4961.00.1'
20241219@134149.1011 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.1032 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134149.1093 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.1111 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134149.1128 s93usso8spj1oe8scfprp97qvg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134149.1139 s93usso8spj1oe8scfprp97qvg Query : select sestamp valor from se where ref ='324.4961.00.1' and lote = 'r2101092200a'
20241219@134149.1153 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.1172 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134149.1184 s93usso8spj1oe8scfprp97qvg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642044486764229d1c','aut67642732866764229cc6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134149.1189 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.1203 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134149.1234 s93usso8spj1oe8scfprp97qvg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642044486764229d1c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67642732866764229cc6' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241219@134149.1557 s93usso8spj1oe8scfprp97qvg Query : use flama_phc
20241219@134149.1594 s93usso8spj1oe8scfprp97qvg Query : select st.usalote valor from st where st.ref = '324.4962.00.1'
20241219@134149.1619 s93usso8spj1oe8scfprp97qvg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4962.00.1'
20241219@134149.1634 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.1658 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134149.1691 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.1709 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134149.1718 s93usso8spj1oe8scfprp97qvg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134149.1738 s93usso8spj1oe8scfprp97qvg Query : select sestamp valor from se where ref ='324.4962.00.1' and lote = 'r2101092100a'
20241219@134149.1752 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.1771 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134149.1785 s93usso8spj1oe8scfprp97qvg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642363026764229d2a','aut67642732866764229cc6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134149.1790 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.1807 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134149.1836 s93usso8spj1oe8scfprp97qvg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642363026764229d2a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67642732866764229cc6' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241219@134149.2071 s93usso8spj1oe8scfprp97qvg Query : use flama_phc
20241219@134149.2074 s93usso8spj1oe8scfprp97qvg Query : select st.usalote valor from st where st.ref = '324.4963.00.1'
20241219@134149.2097 s93usso8spj1oe8scfprp97qvg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4963.00.1'
20241219@134149.2115 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.2132 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134149.2161 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.2177 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134149.2187 s93usso8spj1oe8scfprp97qvg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134149.2201 s93usso8spj1oe8scfprp97qvg Query : select sestamp valor from se where ref ='324.4963.00.1' and lote = 'r2300717200a'
20241219@134149.2214 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.2230 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134149.2243 s93usso8spj1oe8scfprp97qvg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642477086764229d36','aut67642732866764229cc6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134149.2248 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.2265 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134149.2297 s93usso8spj1oe8scfprp97qvg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642477086764229d36',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67642732866764229cc6' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241219@134149.2559 s93usso8spj1oe8scfprp97qvg Query : use flama_phc
20241219@134149.2562 s93usso8spj1oe8scfprp97qvg Query : select st.usalote valor from st where st.ref = '324.4964.00.1'
20241219@134149.2586 s93usso8spj1oe8scfprp97qvg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4964.00.1'
20241219@134149.2606 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.2624 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134149.2653 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.2670 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134149.2679 s93usso8spj1oe8scfprp97qvg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134149.2693 s93usso8spj1oe8scfprp97qvg Query : select sestamp valor from se where ref ='324.4964.00.1' and lote = 'r2300717100a'
20241219@134149.2707 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.2723 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134149.2736 s93usso8spj1oe8scfprp97qvg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642455386764229d42','aut67642732866764229cc6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134149.2741 s93usso8spj1oe8scfprp97qvg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.2757 s93usso8spj1oe8scfprp97qvg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134149.2785 s93usso8spj1oe8scfprp97qvg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642455386764229d42',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67642732866764229cc6' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241219@134149.3022 s93usso8spj1oe8scfprp97qvg Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67642732866764229cc6','2408696','wait',39,'adm09112754980.682000002')
20241219@134149.3097 s93usso8spj1oe8scfprp97qvg Query : use flama_phc
20241219@134149.3100 s93usso8spj1oe8scfprp97qvg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@134149.3131 s93usso8spj1oe8scfprp97qvg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4107';
20241219@134149.3176 s93usso8spj1oe8scfprp97qvg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4107';
20241219@134149.3232 s93usso8spj1oe8scfprp97qvg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4107';
20241219@134149.3268 s93usso8spj1oe8scfprp97qvg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4107';
20241219@134149.3943 2flvj6d42csq9ma3ik402gjbiv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@134149.3955 2flvj6d42csq9ma3ik402gjbiv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@134149.4026 2flvj6d42csq9ma3ik402gjbiv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4108';
20241219@134149.4097 2flvj6d42csq9ma3ik402gjbiv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4108';
20241219@134149.4193 2flvj6d42csq9ma3ik402gjbiv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4108';
20241219@134149.4227 2flvj6d42csq9ma3ik402gjbiv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4108';
20241219@134149.4283 2flvj6d42csq9ma3ik402gjbiv Query : use flama_phc
20241219@134149.4287 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@134149.4353 2flvj6d42csq9ma3ik402gjbiv Query : use flama_phc
20241219@134149.4357 2flvj6d42csq9ma3ik402gjbiv Query : select no, estab,szadrsdesc from szadrs where u_coddest=2227
20241219@134149.4407 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2223.00.1'
20241219@134149.4429 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408697 and bi.ref ='324.2223.00.1' and bi.lordem =1
20241219@134149.4790 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20241219@134149.4812 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408697 and bi.ref ='324.2224.00.1' and bi.lordem =2
20241219@134149.5368 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20241219@134149.5833 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408697 and bi.ref ='324.2221.00.1' and bi.lordem =3
20241219@134149.6473 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4961.00.1'
20241219@134149.6495 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408697 and bi.ref ='324.4961.00.1' and bi.lordem =4
20241219@134149.6867 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4962.00.1'
20241219@134149.6901 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408697 and bi.ref ='324.4962.00.1' and bi.lordem =5
20241219@134149.7237 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4963.00.1'
20241219@134149.7260 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408697 and bi.ref ='324.4963.00.1' and bi.lordem =6
20241219@134149.7619 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4964.00.1'
20241219@134149.7638 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2086 and bo.obrano = 2408697 and bi.ref ='324.4964.00.1' and bi.lordem =7
20241219@134149.8069 2flvj6d42csq9ma3ik402gjbiv Query : use flama_phc
20241219@134149.8073 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@134149.8106 2flvj6d42csq9ma3ik402gjbiv Query : use flama_phc
20241219@134149.8109 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 1 valor from td where td.ndoc = 39
20241219@134149.8138 2flvj6d42csq9ma3ik402gjbiv Query : use flama_phc
20241219@134149.8141 2flvj6d42csq9ma3ik402gjbiv 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')
20241219@134149.8169 2flvj6d42csq9ma3ik402gjbiv 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
20241219@134149.8202 2flvj6d42csq9ma3ik402gjbiv Query : use flama_phc
20241219@134149.8205 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 ~inactivo valor from cl where no = '101428' and estab = 0 order by inactivo desc
20241219@134149.8234 2flvj6d42csq9ma3ik402gjbiv Query : use flama_phc
20241219@134149.8236 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@134149.8267 2flvj6d42csq9ma3ik402gjbiv Query : use flama_phc
20241219@134149.8270 2flvj6d42csq9ma3ik402gjbiv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@134149.8311 2flvj6d42csq9ma3ik402gjbiv Query : use flama_phc
20241219@134149.8314 2flvj6d42csq9ma3ik402gjbiv Query : select szadrsstamp valor from szadrs where szadrsdesc='el corte inglês - alcochete'
20241219@134149.8358 2flvj6d42csq9ma3ik402gjbiv Query : use flama_phc
20241219@134149.8361 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from td where ndoc = 39
20241219@134149.8373 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@134149.8386 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.8404 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134149.8452 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.8467 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134149.8494 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.8509 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134149.8521 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134149.8576 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134149.8588 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.8605 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134149.8624 2flvj6d42csq9ma3ik402gjbiv Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67642723466764229dd0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@134149.8847 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.8866 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134149.8902 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@134149.8913 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@134149.8925 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@134149.8937 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@134149.8949 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@134149.8961 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@134149.8972 2flvj6d42csq9ma3ik402gjbiv Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67642723466764229dd0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@134149.9282 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 fno valor from wsftdata order by fno desc
20241219@134149.9326 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134149.9372 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134149.9395 2flvj6d42csq9ma3ik402gjbiv Query : select 'normal' from dummy
20241219@134149.9411 2flvj6d42csq9ma3ik402gjbiv Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67642723466764229dd0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2565,101428,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@134150.2800 2flvj6d42csq9ma3ik402gjbiv Query : use flama_phc
20241219@134150.7100 2flvj6d42csq9ma3ik402gjbiv Query : select st.usalote valor from st where st.ref = '324.2223.00.1'
20241219@134150.6840 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2223.00.1'
20241219@134150.1430 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.1932 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134150.1966 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.1985 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134150.1994 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134150.2009 2flvj6d42csq9ma3ik402gjbiv Query : select sestamp valor from se where ref ='324.2223.00.1' and lote = 'r2301280100a'
20241219@134150.2023 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.2040 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134150.2055 2flvj6d42csq9ma3ik402gjbiv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642575956764229e31','aut67642723466764229dd0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134150.2060 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.2076 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134150.2107 2flvj6d42csq9ma3ik402gjbiv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642575956764229e31',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67642723466764229dd0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@134150.2408 2flvj6d42csq9ma3ik402gjbiv Query : use flama_phc
20241219@134150.2411 2flvj6d42csq9ma3ik402gjbiv Query : select st.usalote valor from st where st.ref = '324.2224.00.1'
20241219@134150.2433 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2224.00.1'
20241219@134150.2449 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.2467 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134150.2494 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.2508 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134150.2517 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134150.2529 2flvj6d42csq9ma3ik402gjbiv Query : select sestamp valor from se where ref ='324.2224.00.1' and lote = 'r2301280100a'
20241219@134150.2544 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.2561 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134150.2574 2flvj6d42csq9ma3ik402gjbiv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642477366764229e3e','aut67642723466764229dd0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134150.2580 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.2599 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134150.2631 2flvj6d42csq9ma3ik402gjbiv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642477366764229e3e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67642723466764229dd0' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@134150.2906 2flvj6d42csq9ma3ik402gjbiv Query : use flama_phc
20241219@134150.2910 2flvj6d42csq9ma3ik402gjbiv Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20241219@134150.2931 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2221.00.1'
20241219@134150.2944 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.2965 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134150.2989 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.3006 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134150.3015 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134150.3027 2flvj6d42csq9ma3ik402gjbiv Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2300563200a'
20241219@134150.3038 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.3054 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134150.3093 2flvj6d42csq9ma3ik402gjbiv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642070666764229e4a','aut67642723466764229dd0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134150.3098 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.3116 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134150.3147 2flvj6d42csq9ma3ik402gjbiv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642070666764229e4a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67642723466764229dd0' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241219@134150.3456 2flvj6d42csq9ma3ik402gjbiv Query : use flama_phc
20241219@134150.3460 2flvj6d42csq9ma3ik402gjbiv Query : select st.usalote valor from st where st.ref = '324.4961.00.1'
20241219@134150.3478 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4961.00.1'
20241219@134150.3493 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.3510 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134150.3535 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.3576 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134150.3585 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134150.3597 2flvj6d42csq9ma3ik402gjbiv Query : select sestamp valor from se where ref ='324.4961.00.1' and lote = 'r2101092200a'
20241219@134150.3610 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.3624 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134150.3636 2flvj6d42csq9ma3ik402gjbiv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642976666764229e58','aut67642723466764229dd0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134150.3640 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.3655 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134150.3683 2flvj6d42csq9ma3ik402gjbiv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642976666764229e58',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67642723466764229dd0' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241219@134150.3923 2flvj6d42csq9ma3ik402gjbiv Query : use flama_phc
20241219@134150.3926 2flvj6d42csq9ma3ik402gjbiv Query : select st.usalote valor from st where st.ref = '324.4962.00.1'
20241219@134150.3946 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4962.00.1'
20241219@134150.3961 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.3979 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134150.4003 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.4018 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134150.4026 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134150.4066 2flvj6d42csq9ma3ik402gjbiv Query : select sestamp valor from se where ref ='324.4962.00.1' and lote = 'r2101092100a'
20241219@134150.4078 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.4093 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134150.4104 2flvj6d42csq9ma3ik402gjbiv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642233506764229e63','aut67642723466764229dd0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134150.4109 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.4123 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134150.4150 2flvj6d42csq9ma3ik402gjbiv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642233506764229e63',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67642723466764229dd0' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241219@134150.4400 2flvj6d42csq9ma3ik402gjbiv Query : use flama_phc
20241219@134150.4403 2flvj6d42csq9ma3ik402gjbiv Query : select st.usalote valor from st where st.ref = '324.4963.00.1'
20241219@134150.4422 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4963.00.1'
20241219@134150.4436 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.4452 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134150.4476 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.4490 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134150.4498 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134150.4510 2flvj6d42csq9ma3ik402gjbiv Query : select sestamp valor from se where ref ='324.4963.00.1' and lote = 'r2300717200a'
20241219@134150.4521 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.4536 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134150.4547 2flvj6d42csq9ma3ik402gjbiv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642263976764229e6e','aut67642723466764229dd0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134150.4554 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.4569 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134150.4595 2flvj6d42csq9ma3ik402gjbiv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642263976764229e6e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67642723466764229dd0' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241219@134150.4871 2flvj6d42csq9ma3ik402gjbiv Query : use flama_phc
20241219@134150.4874 2flvj6d42csq9ma3ik402gjbiv Query : select st.usalote valor from st where st.ref = '324.4964.00.1'
20241219@134150.4894 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4964.00.1'
20241219@134150.4908 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.4925 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134150.4950 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.4972 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134150.4983 2flvj6d42csq9ma3ik402gjbiv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134150.4998 2flvj6d42csq9ma3ik402gjbiv Query : select sestamp valor from se where ref ='324.4964.00.1' and lote = 'r2300717100a'
20241219@134150.5013 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.5032 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134150.5049 2flvj6d42csq9ma3ik402gjbiv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642345126764229e7a','aut67642723466764229dd0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134150.5056 2flvj6d42csq9ma3ik402gjbiv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.5101 2flvj6d42csq9ma3ik402gjbiv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134150.5132 2flvj6d42csq9ma3ik402gjbiv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642345126764229e7a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67642723466764229dd0' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241219@134150.5402 2flvj6d42csq9ma3ik402gjbiv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67642723466764229dd0','2408697','wait',39,'adm09112754980.682000002')
20241219@134150.5486 2flvj6d42csq9ma3ik402gjbiv Query : use flama_phc
20241219@134150.5489 2flvj6d42csq9ma3ik402gjbiv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@134150.5547 2flvj6d42csq9ma3ik402gjbiv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4108';
20241219@134150.5589 2flvj6d42csq9ma3ik402gjbiv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4108';
20241219@134150.5641 2flvj6d42csq9ma3ik402gjbiv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4108';
20241219@134150.5672 2flvj6d42csq9ma3ik402gjbiv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4108';
20241219@134150.6233 vofrf186hscgoimeclngiivstb Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@134150.6244 vofrf186hscgoimeclngiivstb Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@134150.6312 vofrf186hscgoimeclngiivstb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4109';
20241219@134150.6381 vofrf186hscgoimeclngiivstb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4109';
20241219@134150.6494 vofrf186hscgoimeclngiivstb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4109';
20241219@134150.6529 vofrf186hscgoimeclngiivstb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4109';
20241219@134150.6584 vofrf186hscgoimeclngiivstb Query : use flama_phc
20241219@134150.6587 vofrf186hscgoimeclngiivstb Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@134150.6651 vofrf186hscgoimeclngiivstb Query : use flama_phc
20241219@134150.6681 vofrf186hscgoimeclngiivstb Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@134150.6778 vofrf186hscgoimeclngiivstb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.2315.00.1'
20241219@134150.6914 vofrf186hscgoimeclngiivstb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408729 and bi.ref ='304.2315.00.1' and bi.lordem =1
20241219@134150.7269 vofrf186hscgoimeclngiivstb Query : use flama_phc
20241219@134150.7273 vofrf186hscgoimeclngiivstb Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@134150.7306 vofrf186hscgoimeclngiivstb Query : use flama_phc
20241219@134150.7309 vofrf186hscgoimeclngiivstb Query : select top 1 1 valor from td where td.ndoc = 39
20241219@134150.7341 vofrf186hscgoimeclngiivstb Query : use flama_phc
20241219@134150.7346 vofrf186hscgoimeclngiivstb 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')
20241219@134150.7430 vofrf186hscgoimeclngiivstb 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
20241219@134150.7469 vofrf186hscgoimeclngiivstb Query : use flama_phc
20241219@134150.7473 vofrf186hscgoimeclngiivstb Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@134150.7581 vofrf186hscgoimeclngiivstb Query : use flama_phc
20241219@134150.7584 vofrf186hscgoimeclngiivstb Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@134150.7619 vofrf186hscgoimeclngiivstb Query : use flama_phc
20241219@134150.7622 vofrf186hscgoimeclngiivstb Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@134150.7662 vofrf186hscgoimeclngiivstb Query : use flama_phc
20241219@134150.7665 vofrf186hscgoimeclngiivstb Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@134150.7733 vofrf186hscgoimeclngiivstb Query : use flama_phc
20241219@134150.7736 vofrf186hscgoimeclngiivstb Query : select 1 valor from td where ndoc = 39
20241219@134150.7749 vofrf186hscgoimeclngiivstb Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@134150.7764 vofrf186hscgoimeclngiivstb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.7781 vofrf186hscgoimeclngiivstb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134150.7801 vofrf186hscgoimeclngiivstb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.7817 vofrf186hscgoimeclngiivstb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134150.7873 vofrf186hscgoimeclngiivstb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.7888 vofrf186hscgoimeclngiivstb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134150.7903 vofrf186hscgoimeclngiivstb Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134150.8031 vofrf186hscgoimeclngiivstb Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134150.8044 vofrf186hscgoimeclngiivstb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.8062 vofrf186hscgoimeclngiivstb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134150.8092 vofrf186hscgoimeclngiivstb Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67642349236764229ec0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@134150.8254 vofrf186hscgoimeclngiivstb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.8295 vofrf186hscgoimeclngiivstb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134150.8333 vofrf186hscgoimeclngiivstb Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@134150.8346 vofrf186hscgoimeclngiivstb Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@134150.8359 vofrf186hscgoimeclngiivstb Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@134150.8372 vofrf186hscgoimeclngiivstb Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@134150.8385 vofrf186hscgoimeclngiivstb Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@134150.8398 vofrf186hscgoimeclngiivstb Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@134150.8409 vofrf186hscgoimeclngiivstb Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67642349236764229ec0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@134150.8633 vofrf186hscgoimeclngiivstb Query : select top 1 fno valor from wsftdata order by fno desc
20241219@134150.8666 vofrf186hscgoimeclngiivstb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.8686 vofrf186hscgoimeclngiivstb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134150.8710 vofrf186hscgoimeclngiivstb Query : select 'normal' from dummy
20241219@134150.8726 vofrf186hscgoimeclngiivstb Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67642349236764229ec0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2566,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@134150.9022 vofrf186hscgoimeclngiivstb Query : use flama_phc
20241219@134150.9025 vofrf186hscgoimeclngiivstb Query : select st.usalote valor from st where st.ref = '304.2315.00.1'
20241219@134150.9049 vofrf186hscgoimeclngiivstb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.2315.00.1'
20241219@134150.9203 vofrf186hscgoimeclngiivstb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.9220 vofrf186hscgoimeclngiivstb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134150.9246 vofrf186hscgoimeclngiivstb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.9262 vofrf186hscgoimeclngiivstb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134150.9273 vofrf186hscgoimeclngiivstb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134150.9286 vofrf186hscgoimeclngiivstb Query : select sestamp valor from se where ref ='304.2315.00.1' and lote = 's2300276100a'
20241219@134150.9307 vofrf186hscgoimeclngiivstb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.9324 vofrf186hscgoimeclngiivstb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134150.9360 vofrf186hscgoimeclngiivstb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642211596764229ee3','aut67642349236764229ec0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134150.9364 vofrf186hscgoimeclngiivstb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.9379 vofrf186hscgoimeclngiivstb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134150.9407 vofrf186hscgoimeclngiivstb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642211596764229ee3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',30.000 ,'aut67642349236764229ec0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@134150.9660 vofrf186hscgoimeclngiivstb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.9680 vofrf186hscgoimeclngiivstb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134150.9711 vofrf186hscgoimeclngiivstb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.9731 vofrf186hscgoimeclngiivstb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134150.9742 vofrf186hscgoimeclngiivstb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134150.9757 vofrf186hscgoimeclngiivstb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.9773 vofrf186hscgoimeclngiivstb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134150.9787 vofrf186hscgoimeclngiivstb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642414566764229eee','aut67642349236764229ec0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134150.9795 vofrf186hscgoimeclngiivstb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134150.9815 vofrf186hscgoimeclngiivstb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134150.9884 vofrf186hscgoimeclngiivstb Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67642414566764229eee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67642349236764229ec0' ,0,0 ,2,23.00,20000,?,?,?)
20241219@134151.1360 vofrf186hscgoimeclngiivstb Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67642349236764229ec0','2408729','wait',39,'adm09112754980.682000002')
20241219@134151.2450 vofrf186hscgoimeclngiivstb Query : use flama_phc
20241219@134151.2520 vofrf186hscgoimeclngiivstb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@134151.2840 vofrf186hscgoimeclngiivstb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4109';
20241219@134151.3340 vofrf186hscgoimeclngiivstb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4109';
20241219@134151.4000 vofrf186hscgoimeclngiivstb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4109';
20241219@134151.4630 vofrf186hscgoimeclngiivstb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4109';
20241219@134151.1149 0d6gptp6uurc1cskgiae8386n7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@134151.1161 0d6gptp6uurc1cskgiae8386n7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@134151.1235 0d6gptp6uurc1cskgiae8386n7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4110';
20241219@134151.1308 0d6gptp6uurc1cskgiae8386n7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4110';
20241219@134151.1378 0d6gptp6uurc1cskgiae8386n7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4110';
20241219@134151.1413 0d6gptp6uurc1cskgiae8386n7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4110';
20241219@134151.1473 0d6gptp6uurc1cskgiae8386n7 Query : use flama_phc
20241219@134151.1480 0d6gptp6uurc1cskgiae8386n7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@134151.1591 0d6gptp6uurc1cskgiae8386n7 Query : use flama_phc
20241219@134151.1595 0d6gptp6uurc1cskgiae8386n7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@134151.1658 0d6gptp6uurc1cskgiae8386n7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20241219@134151.1805 0d6gptp6uurc1cskgiae8386n7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408741 and bi.ref ='324.1321.00.1' and bi.lordem =1
20241219@134151.2196 0d6gptp6uurc1cskgiae8386n7 Query : use flama_phc
20241219@134151.2200 0d6gptp6uurc1cskgiae8386n7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@134151.2236 0d6gptp6uurc1cskgiae8386n7 Query : use flama_phc
20241219@134151.2240 0d6gptp6uurc1cskgiae8386n7 Query : select top 1 1 valor from td where td.ndoc = 39
20241219@134151.2271 0d6gptp6uurc1cskgiae8386n7 Query : use flama_phc
20241219@134151.2274 0d6gptp6uurc1cskgiae8386n7 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')
20241219@134151.2305 0d6gptp6uurc1cskgiae8386n7 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
20241219@134151.2341 0d6gptp6uurc1cskgiae8386n7 Query : use flama_phc
20241219@134151.2344 0d6gptp6uurc1cskgiae8386n7 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@134151.2375 0d6gptp6uurc1cskgiae8386n7 Query : use flama_phc
20241219@134151.2378 0d6gptp6uurc1cskgiae8386n7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@134151.2408 0d6gptp6uurc1cskgiae8386n7 Query : use flama_phc
20241219@134151.2411 0d6gptp6uurc1cskgiae8386n7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@134151.2460 0d6gptp6uurc1cskgiae8386n7 Query : use flama_phc
20241219@134151.2463 0d6gptp6uurc1cskgiae8386n7 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@134151.2507 0d6gptp6uurc1cskgiae8386n7 Query : use flama_phc
20241219@134151.2510 0d6gptp6uurc1cskgiae8386n7 Query : select 1 valor from td where ndoc = 39
20241219@134151.2522 0d6gptp6uurc1cskgiae8386n7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@134151.2569 0d6gptp6uurc1cskgiae8386n7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134151.2586 0d6gptp6uurc1cskgiae8386n7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134151.2605 0d6gptp6uurc1cskgiae8386n7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134151.2621 0d6gptp6uurc1cskgiae8386n7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134151.2648 0d6gptp6uurc1cskgiae8386n7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134151.2663 0d6gptp6uurc1cskgiae8386n7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134151.2678 0d6gptp6uurc1cskgiae8386n7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134151.2735 0d6gptp6uurc1cskgiae8386n7 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134151.2749 0d6gptp6uurc1cskgiae8386n7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134151.2764 0d6gptp6uurc1cskgiae8386n7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134151.2781 0d6gptp6uurc1cskgiae8386n7 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67642763646764229f41' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@134151.2986 0d6gptp6uurc1cskgiae8386n7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134151.3043 0d6gptp6uurc1cskgiae8386n7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134151.4479 0d6gptp6uurc1cskgiae8386n7 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@134151.4492 0d6gptp6uurc1cskgiae8386n7 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@134151.4507 0d6gptp6uurc1cskgiae8386n7 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@134151.4521 0d6gptp6uurc1cskgiae8386n7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@134151.4534 0d6gptp6uurc1cskgiae8386n7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@134151.4547 0d6gptp6uurc1cskgiae8386n7 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@134151.4560 0d6gptp6uurc1cskgiae8386n7 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67642763646764229f41',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@134151.4812 0d6gptp6uurc1cskgiae8386n7 Query : select top 1 fno valor from wsftdata order by fno desc
20241219@134151.4842 0d6gptp6uurc1cskgiae8386n7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134151.4859 0d6gptp6uurc1cskgiae8386n7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134151.4882 0d6gptp6uurc1cskgiae8386n7 Query : select 'normal' from dummy
20241219@134151.4899 0d6gptp6uurc1cskgiae8386n7 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67642763646764229f41',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2567,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@134151.5169 0d6gptp6uurc1cskgiae8386n7 Query : use flama_phc
20241219@134151.5173 0d6gptp6uurc1cskgiae8386n7 Query : select st.usalote valor from st where st.ref = '324.1321.00.1'
20241219@134151.5199 0d6gptp6uurc1cskgiae8386n7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1321.00.1'
20241219@134151.5328 0d6gptp6uurc1cskgiae8386n7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134151.5345 0d6gptp6uurc1cskgiae8386n7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134151.5374 0d6gptp6uurc1cskgiae8386n7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134151.5389 0d6gptp6uurc1cskgiae8386n7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134151.5398 0d6gptp6uurc1cskgiae8386n7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134151.5411 0d6gptp6uurc1cskgiae8386n7 Query : select sestamp valor from se where ref ='324.1321.00.1' and lote = 'r2400495200a'
20241219@134151.5426 0d6gptp6uurc1cskgiae8386n7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134151.5442 0d6gptp6uurc1cskgiae8386n7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134151.5454 0d6gptp6uurc1cskgiae8386n7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642009416764229f84','aut67642763646764229f41' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134151.5459 0d6gptp6uurc1cskgiae8386n7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134151.5475 0d6gptp6uurc1cskgiae8386n7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134151.5502 0d6gptp6uurc1cskgiae8386n7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67642009416764229f84',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut67642763646764229f41' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@134151.5761 0d6gptp6uurc1cskgiae8386n7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67642763646764229f41','2408741','wait',39,'adm09112754980.682000002')
20241219@134151.5843 0d6gptp6uurc1cskgiae8386n7 Query : use flama_phc
20241219@134151.5846 0d6gptp6uurc1cskgiae8386n7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@134151.5878 0d6gptp6uurc1cskgiae8386n7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4110';
20241219@134151.5917 0d6gptp6uurc1cskgiae8386n7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4110';
20241219@134151.6042 0d6gptp6uurc1cskgiae8386n7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4110';
20241219@134151.6151 0d6gptp6uurc1cskgiae8386n7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4110';
20241219@134151.6712 lmccufpi99atj6umrn0ef8ialb Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@134151.6724 lmccufpi99atj6umrn0ef8ialb Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@134151.6805 lmccufpi99atj6umrn0ef8ialb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4111';
20241219@134151.6868 lmccufpi99atj6umrn0ef8ialb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4111';
20241219@134151.6929 lmccufpi99atj6umrn0ef8ialb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4111';
20241219@134151.6977 lmccufpi99atj6umrn0ef8ialb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4111';
20241219@134151.7033 lmccufpi99atj6umrn0ef8ialb Query : use flama_phc
20241219@134151.7037 lmccufpi99atj6umrn0ef8ialb Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@134151.7102 lmccufpi99atj6umrn0ef8ialb Query : use flama_phc
20241219@134151.7130 lmccufpi99atj6umrn0ef8ialb Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@134151.7181 lmccufpi99atj6umrn0ef8ialb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20241219@134151.7225 lmccufpi99atj6umrn0ef8ialb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408751 and bi.ref ='324.2330.00.1' and bi.lordem =1
20241219@134151.7551 lmccufpi99atj6umrn0ef8ialb Query : use flama_phc
20241219@134151.7554 lmccufpi99atj6umrn0ef8ialb Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@134151.7586 lmccufpi99atj6umrn0ef8ialb Query : use flama_phc
20241219@134151.7589 lmccufpi99atj6umrn0ef8ialb Query : select top 1 1 valor from td where td.ndoc = 39
20241219@134151.7619 lmccufpi99atj6umrn0ef8ialb Query : use flama_phc
20241219@134151.7622 lmccufpi99atj6umrn0ef8ialb 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')
20241219@134151.7649 lmccufpi99atj6umrn0ef8ialb 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
20241219@134151.7685 lmccufpi99atj6umrn0ef8ialb Query : use flama_phc
20241219@134151.7689 lmccufpi99atj6umrn0ef8ialb Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@134151.7720 lmccufpi99atj6umrn0ef8ialb Query : use flama_phc
20241219@134151.7723 lmccufpi99atj6umrn0ef8ialb Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@134151.7751 lmccufpi99atj6umrn0ef8ialb Query : use flama_phc
20241219@134151.7754 lmccufpi99atj6umrn0ef8ialb Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@134151.7791 lmccufpi99atj6umrn0ef8ialb Query : use flama_phc
20241219@134151.7794 lmccufpi99atj6umrn0ef8ialb Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@134151.7841 lmccufpi99atj6umrn0ef8ialb Query : use flama_phc
20241219@134151.7845 lmccufpi99atj6umrn0ef8ialb Query : select 1 valor from td where ndoc = 39
20241219@134151.7877 lmccufpi99atj6umrn0ef8ialb Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@134151.7890 lmccufpi99atj6umrn0ef8ialb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134151.7906 lmccufpi99atj6umrn0ef8ialb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134151.7924 lmccufpi99atj6umrn0ef8ialb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134151.7939 lmccufpi99atj6umrn0ef8ialb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134151.7970 lmccufpi99atj6umrn0ef8ialb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134151.7986 lmccufpi99atj6umrn0ef8ialb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134151.7998 lmccufpi99atj6umrn0ef8ialb Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134151.8068 lmccufpi99atj6umrn0ef8ialb Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134151.8081 lmccufpi99atj6umrn0ef8ialb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134151.8096 lmccufpi99atj6umrn0ef8ialb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134151.8112 lmccufpi99atj6umrn0ef8ialb Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67642319146764229fc3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@134151.8268 lmccufpi99atj6umrn0ef8ialb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134151.8286 lmccufpi99atj6umrn0ef8ialb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134151.8381 lmccufpi99atj6umrn0ef8ialb Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@134151.8404 lmccufpi99atj6umrn0ef8ialb Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@134151.8417 lmccufpi99atj6umrn0ef8ialb Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@134151.8431 lmccufpi99atj6umrn0ef8ialb Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@134151.8447 lmccufpi99atj6umrn0ef8ialb Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@134151.8460 lmccufpi99atj6umrn0ef8ialb Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@134151.8474 lmccufpi99atj6umrn0ef8ialb Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67642319146764229fc3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@134151.8728 lmccufpi99atj6umrn0ef8ialb Query : select top 1 fno valor from wsftdata order by fno desc
20241219@134151.8760 lmccufpi99atj6umrn0ef8ialb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134151.8776 lmccufpi99atj6umrn0ef8ialb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134151.8821 lmccufpi99atj6umrn0ef8ialb Query : select 'normal' from dummy
20241219@134151.8835 lmccufpi99atj6umrn0ef8ialb Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67642319146764229fc3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2568,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@134151.9103 lmccufpi99atj6umrn0ef8ialb Query : use flama_phc
20241219@134151.9106 lmccufpi99atj6umrn0ef8ialb Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20241219@134151.9128 lmccufpi99atj6umrn0ef8ialb Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2330.00.1'
20241219@134151.9141 lmccufpi99atj6umrn0ef8ialb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134151.9178 lmccufpi99atj6umrn0ef8ialb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134151.9203 lmccufpi99atj6umrn0ef8ialb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134151.9217 lmccufpi99atj6umrn0ef8ialb Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134151.9225 lmccufpi99atj6umrn0ef8ialb Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134151.9237 lmccufpi99atj6umrn0ef8ialb Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r210058480'
20241219@134151.9246 lmccufpi99atj6umrn0ef8ialb Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134151.9263 lmccufpi99atj6umrn0ef8ialb Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134151.9274 lmccufpi99atj6umrn0ef8ialb Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67642164756764229fe1','aut67642319146764229fc3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134151.9294 lmccufpi99atj6umrn0ef8ialb Query : use flama_phc
20241219@134151.9297 lmccufpi99atj6umrn0ef8ialb Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241219@134151.9328 lmccufpi99atj6umrn0ef8ialb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4111';
20241219@134151.9379 lmccufpi99atj6umrn0ef8ialb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4111';
20241219@134151.9914 buhrc97e4nmccmf746a7l77400 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@134151.9924 buhrc97e4nmccmf746a7l77400 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@134151.9990 buhrc97e4nmccmf746a7l77400 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4112';
20241219@134152.5900 buhrc97e4nmccmf746a7l77400 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4112';
20241219@134152.1370 buhrc97e4nmccmf746a7l77400 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4112';
20241219@134152.1700 buhrc97e4nmccmf746a7l77400 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4112';
20241219@134152.2250 buhrc97e4nmccmf746a7l77400 Query : use flama_phc
20241219@134152.2290 buhrc97e4nmccmf746a7l77400 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@134152.2960 buhrc97e4nmccmf746a7l77400 Query : use flama_phc
20241219@134152.2990 buhrc97e4nmccmf746a7l77400 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@134152.3430 buhrc97e4nmccmf746a7l77400 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20241219@134152.3870 buhrc97e4nmccmf746a7l77400 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408752 and bi.ref ='324.2330.00.1' and bi.lordem =1
20241219@134152.7130 buhrc97e4nmccmf746a7l77400 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20241219@134152.7370 buhrc97e4nmccmf746a7l77400 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408752 and bi.ref ='324.2330.00.1' and bi.lordem =1
20241219@134152.7560 buhrc97e4nmccmf746a7l77400 Query : use flama_phc
20241219@134152.7590 buhrc97e4nmccmf746a7l77400 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@134152.7920 buhrc97e4nmccmf746a7l77400 Query : use flama_phc
20241219@134152.7970 buhrc97e4nmccmf746a7l77400 Query : select top 1 1 valor from td where td.ndoc = 39
20241219@134152.8480 buhrc97e4nmccmf746a7l77400 Query : use flama_phc
20241219@134152.8520 buhrc97e4nmccmf746a7l77400 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')
20241219@134152.8810 buhrc97e4nmccmf746a7l77400 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
20241219@134152.9160 buhrc97e4nmccmf746a7l77400 Query : use flama_phc
20241219@134152.9190 buhrc97e4nmccmf746a7l77400 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@134152.9490 buhrc97e4nmccmf746a7l77400 Query : use flama_phc
20241219@134152.9520 buhrc97e4nmccmf746a7l77400 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@134152.9830 buhrc97e4nmccmf746a7l77400 Query : use flama_phc
20241219@134152.9860 buhrc97e4nmccmf746a7l77400 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@134152.1024 buhrc97e4nmccmf746a7l77400 Query : use flama_phc
20241219@134152.1027 buhrc97e4nmccmf746a7l77400 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@134152.1071 buhrc97e4nmccmf746a7l77400 Query : use flama_phc
20241219@134152.1074 buhrc97e4nmccmf746a7l77400 Query : select 1 valor from td where ndoc = 39
20241219@134152.1086 buhrc97e4nmccmf746a7l77400 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@134152.1120 buhrc97e4nmccmf746a7l77400 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.1137 buhrc97e4nmccmf746a7l77400 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134152.1157 buhrc97e4nmccmf746a7l77400 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.1171 buhrc97e4nmccmf746a7l77400 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134152.1198 buhrc97e4nmccmf746a7l77400 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.1213 buhrc97e4nmccmf746a7l77400 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134152.1228 buhrc97e4nmccmf746a7l77400 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134152.1313 buhrc97e4nmccmf746a7l77400 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134152.1326 buhrc97e4nmccmf746a7l77400 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.1343 buhrc97e4nmccmf746a7l77400 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134152.1361 buhrc97e4nmccmf746a7l77400 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6764299748676422a01d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@134152.1554 buhrc97e4nmccmf746a7l77400 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.1571 buhrc97e4nmccmf746a7l77400 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134152.1603 buhrc97e4nmccmf746a7l77400 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@134152.1616 buhrc97e4nmccmf746a7l77400 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@134152.1628 buhrc97e4nmccmf746a7l77400 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@134152.1640 buhrc97e4nmccmf746a7l77400 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@134152.1651 buhrc97e4nmccmf746a7l77400 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@134152.1663 buhrc97e4nmccmf746a7l77400 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@134152.1694 buhrc97e4nmccmf746a7l77400 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6764299748676422a01d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@134152.1916 buhrc97e4nmccmf746a7l77400 Query : select top 1 fno valor from wsftdata order by fno desc
20241219@134152.1948 buhrc97e4nmccmf746a7l77400 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.1966 buhrc97e4nmccmf746a7l77400 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134152.1991 buhrc97e4nmccmf746a7l77400 Query : select 'normal' from dummy
20241219@134152.2009 buhrc97e4nmccmf746a7l77400 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6764299748676422a01d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2568,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@134152.2300 buhrc97e4nmccmf746a7l77400 Query : use flama_phc
20241219@134152.2304 buhrc97e4nmccmf746a7l77400 Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20241219@134152.2326 buhrc97e4nmccmf746a7l77400 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2330.00.1'
20241219@134152.2341 buhrc97e4nmccmf746a7l77400 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.2357 buhrc97e4nmccmf746a7l77400 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134152.2385 buhrc97e4nmccmf746a7l77400 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.2403 buhrc97e4nmccmf746a7l77400 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134152.2412 buhrc97e4nmccmf746a7l77400 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134152.2425 buhrc97e4nmccmf746a7l77400 Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r210058480'
20241219@134152.2434 buhrc97e4nmccmf746a7l77400 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.2453 buhrc97e4nmccmf746a7l77400 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134152.2465 buhrc97e4nmccmf746a7l77400 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764234620676422a03b','aut6764299748676422a01d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134152.2482 buhrc97e4nmccmf746a7l77400 Query : use flama_phc
20241219@134152.2486 buhrc97e4nmccmf746a7l77400 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241219@134152.2518 buhrc97e4nmccmf746a7l77400 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4112';
20241219@134152.2576 buhrc97e4nmccmf746a7l77400 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4112';
20241219@134152.3176 t52hflhmbuqq0me8700rntl2u4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@134152.3186 t52hflhmbuqq0me8700rntl2u4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@134152.3252 t52hflhmbuqq0me8700rntl2u4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4113';
20241219@134152.3321 t52hflhmbuqq0me8700rntl2u4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4113';
20241219@134152.3389 t52hflhmbuqq0me8700rntl2u4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4113';
20241219@134152.3438 t52hflhmbuqq0me8700rntl2u4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4113';
20241219@134152.3498 t52hflhmbuqq0me8700rntl2u4 Query : use flama_phc
20241219@134152.3502 t52hflhmbuqq0me8700rntl2u4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@134152.3566 t52hflhmbuqq0me8700rntl2u4 Query : use flama_phc
20241219@134152.3569 t52hflhmbuqq0me8700rntl2u4 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@134152.3616 t52hflhmbuqq0me8700rntl2u4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20241219@134152.3636 t52hflhmbuqq0me8700rntl2u4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408753 and bi.ref ='324.2330.00.1' and bi.lordem =1
20241219@134152.4039 t52hflhmbuqq0me8700rntl2u4 Query : use flama_phc
20241219@134152.4043 t52hflhmbuqq0me8700rntl2u4 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@134152.4076 t52hflhmbuqq0me8700rntl2u4 Query : use flama_phc
20241219@134152.4079 t52hflhmbuqq0me8700rntl2u4 Query : select top 1 1 valor from td where td.ndoc = 39
20241219@134152.4110 t52hflhmbuqq0me8700rntl2u4 Query : use flama_phc
20241219@134152.4113 t52hflhmbuqq0me8700rntl2u4 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')
20241219@134152.4140 t52hflhmbuqq0me8700rntl2u4 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
20241219@134152.4180 t52hflhmbuqq0me8700rntl2u4 Query : use flama_phc
20241219@134152.4183 t52hflhmbuqq0me8700rntl2u4 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@134152.4214 t52hflhmbuqq0me8700rntl2u4 Query : use flama_phc
20241219@134152.4217 t52hflhmbuqq0me8700rntl2u4 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@134152.4246 t52hflhmbuqq0me8700rntl2u4 Query : use flama_phc
20241219@134152.4249 t52hflhmbuqq0me8700rntl2u4 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@134152.4296 t52hflhmbuqq0me8700rntl2u4 Query : use flama_phc
20241219@134152.4299 t52hflhmbuqq0me8700rntl2u4 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@134152.4344 t52hflhmbuqq0me8700rntl2u4 Query : use flama_phc
20241219@134152.4347 t52hflhmbuqq0me8700rntl2u4 Query : select 1 valor from td where ndoc = 39
20241219@134152.5756 t52hflhmbuqq0me8700rntl2u4 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@134152.5770 t52hflhmbuqq0me8700rntl2u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.5786 t52hflhmbuqq0me8700rntl2u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134152.5805 t52hflhmbuqq0me8700rntl2u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.5819 t52hflhmbuqq0me8700rntl2u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134152.5847 t52hflhmbuqq0me8700rntl2u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.5862 t52hflhmbuqq0me8700rntl2u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134152.5875 t52hflhmbuqq0me8700rntl2u4 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134152.5953 t52hflhmbuqq0me8700rntl2u4 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134152.5965 t52hflhmbuqq0me8700rntl2u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.5982 t52hflhmbuqq0me8700rntl2u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134152.5995 t52hflhmbuqq0me8700rntl2u4 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6764213784676422a08f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@134152.6157 t52hflhmbuqq0me8700rntl2u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.6318 t52hflhmbuqq0me8700rntl2u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134152.6350 t52hflhmbuqq0me8700rntl2u4 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@134152.6363 t52hflhmbuqq0me8700rntl2u4 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@134152.6374 t52hflhmbuqq0me8700rntl2u4 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@134152.6385 t52hflhmbuqq0me8700rntl2u4 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@134152.6395 t52hflhmbuqq0me8700rntl2u4 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@134152.6408 t52hflhmbuqq0me8700rntl2u4 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@134152.6441 t52hflhmbuqq0me8700rntl2u4 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6764213784676422a08f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@134152.6684 t52hflhmbuqq0me8700rntl2u4 Query : select top 1 fno valor from wsftdata order by fno desc
20241219@134152.6721 t52hflhmbuqq0me8700rntl2u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.6740 t52hflhmbuqq0me8700rntl2u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134152.6765 t52hflhmbuqq0me8700rntl2u4 Query : select 'normal' from dummy
20241219@134152.6788 t52hflhmbuqq0me8700rntl2u4 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6764213784676422a08f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2568,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@134152.7096 t52hflhmbuqq0me8700rntl2u4 Query : use flama_phc
20241219@134152.7100 t52hflhmbuqq0me8700rntl2u4 Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20241219@134152.7123 t52hflhmbuqq0me8700rntl2u4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2330.00.1'
20241219@134152.7140 t52hflhmbuqq0me8700rntl2u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.7159 t52hflhmbuqq0me8700rntl2u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134152.7214 t52hflhmbuqq0me8700rntl2u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.7234 t52hflhmbuqq0me8700rntl2u4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134152.7245 t52hflhmbuqq0me8700rntl2u4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134152.7260 t52hflhmbuqq0me8700rntl2u4 Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r210058480'
20241219@134152.7268 t52hflhmbuqq0me8700rntl2u4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.7283 t52hflhmbuqq0me8700rntl2u4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134152.7295 t52hflhmbuqq0me8700rntl2u4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764222860676422a0b1','aut6764213784676422a08f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134152.7316 t52hflhmbuqq0me8700rntl2u4 Query : use flama_phc
20241219@134152.7320 t52hflhmbuqq0me8700rntl2u4 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241219@134152.7366 t52hflhmbuqq0me8700rntl2u4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4113';
20241219@134152.7410 t52hflhmbuqq0me8700rntl2u4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4113';
20241219@134152.7996 9fr6tli1phmq8e9qo5ieb5hm5r Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@134152.8012 9fr6tli1phmq8e9qo5ieb5hm5r Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@134152.8095 9fr6tli1phmq8e9qo5ieb5hm5r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4114';
20241219@134152.8165 9fr6tli1phmq8e9qo5ieb5hm5r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4114';
20241219@134152.8229 9fr6tli1phmq8e9qo5ieb5hm5r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4114';
20241219@134152.8266 9fr6tli1phmq8e9qo5ieb5hm5r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4114';
20241219@134152.8321 9fr6tli1phmq8e9qo5ieb5hm5r Query : use flama_phc
20241219@134152.8324 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@134152.8403 9fr6tli1phmq8e9qo5ieb5hm5r Query : use flama_phc
20241219@134152.8406 9fr6tli1phmq8e9qo5ieb5hm5r Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@134152.8452 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2362.00.1'
20241219@134152.8585 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408754 and bi.ref ='324.2362.00.1' and bi.lordem =1
20241219@134152.8934 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2362.00.1'
20241219@134152.8955 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408754 and bi.ref ='324.2362.00.1' and bi.lordem =1
20241219@134152.8971 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2362.00.1'
20241219@134152.8990 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408754 and bi.ref ='324.2362.00.1' and bi.lordem =1
20241219@134152.9007 9fr6tli1phmq8e9qo5ieb5hm5r Query : use flama_phc
20241219@134152.9011 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@134152.9067 9fr6tli1phmq8e9qo5ieb5hm5r Query : use flama_phc
20241219@134152.9070 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 1 valor from td where td.ndoc = 39
20241219@134152.9098 9fr6tli1phmq8e9qo5ieb5hm5r Query : use flama_phc
20241219@134152.9101 9fr6tli1phmq8e9qo5ieb5hm5r 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')
20241219@134152.9127 9fr6tli1phmq8e9qo5ieb5hm5r 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
20241219@134152.9164 9fr6tli1phmq8e9qo5ieb5hm5r Query : use flama_phc
20241219@134152.9167 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@134152.9196 9fr6tli1phmq8e9qo5ieb5hm5r Query : use flama_phc
20241219@134152.9199 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@134152.9226 9fr6tli1phmq8e9qo5ieb5hm5r Query : use flama_phc
20241219@134152.9229 9fr6tli1phmq8e9qo5ieb5hm5r Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@134152.9266 9fr6tli1phmq8e9qo5ieb5hm5r Query : use flama_phc
20241219@134152.9268 9fr6tli1phmq8e9qo5ieb5hm5r Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@134152.9309 9fr6tli1phmq8e9qo5ieb5hm5r Query : use flama_phc
20241219@134152.9312 9fr6tli1phmq8e9qo5ieb5hm5r Query : select 1 valor from td where ndoc = 39
20241219@134152.9323 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@134152.9335 9fr6tli1phmq8e9qo5ieb5hm5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.9357 9fr6tli1phmq8e9qo5ieb5hm5r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134152.9394 9fr6tli1phmq8e9qo5ieb5hm5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.9412 9fr6tli1phmq8e9qo5ieb5hm5r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134152.9439 9fr6tli1phmq8e9qo5ieb5hm5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.9455 9fr6tli1phmq8e9qo5ieb5hm5r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134152.9468 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134152.9541 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134152.9553 9fr6tli1phmq8e9qo5ieb5hm5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.9567 9fr6tli1phmq8e9qo5ieb5hm5r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134152.9581 9fr6tli1phmq8e9qo5ieb5hm5r Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6764275966676422a0e7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@134152.9731 9fr6tli1phmq8e9qo5ieb5hm5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134152.9746 9fr6tli1phmq8e9qo5ieb5hm5r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134152.9786 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@134152.9799 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@134152.9812 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@134152.9825 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@134152.9838 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@134152.9851 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@134152.9863 9fr6tli1phmq8e9qo5ieb5hm5r Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6764275966676422a0e7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@134153.1220 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 fno valor from wsftdata order by fno desc
20241219@134153.1530 9fr6tli1phmq8e9qo5ieb5hm5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.1690 9fr6tli1phmq8e9qo5ieb5hm5r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134153.1940 9fr6tli1phmq8e9qo5ieb5hm5r Query : select 'normal' from dummy
20241219@134153.2100 9fr6tli1phmq8e9qo5ieb5hm5r Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6764275966676422a0e7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2568,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@134153.5020 9fr6tli1phmq8e9qo5ieb5hm5r Query : use flama_phc
20241219@134153.5050 9fr6tli1phmq8e9qo5ieb5hm5r Query : select st.usalote valor from st where st.ref = '324.2362.00.1'
20241219@134153.5310 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2362.00.1'
20241219@134153.6590 9fr6tli1phmq8e9qo5ieb5hm5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.6750 9fr6tli1phmq8e9qo5ieb5hm5r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134153.7010 9fr6tli1phmq8e9qo5ieb5hm5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.7160 9fr6tli1phmq8e9qo5ieb5hm5r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134153.7250 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134153.7370 9fr6tli1phmq8e9qo5ieb5hm5r Query : select sestamp valor from se where ref ='324.2362.00.1' and lote = 'r2400498400a'
20241219@134153.7620 9fr6tli1phmq8e9qo5ieb5hm5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.7900 9fr6tli1phmq8e9qo5ieb5hm5r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134153.8050 9fr6tli1phmq8e9qo5ieb5hm5r Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764239278676422a112','aut6764275966676422a0e7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134153.8110 9fr6tli1phmq8e9qo5ieb5hm5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.8280 9fr6tli1phmq8e9qo5ieb5hm5r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134153.9050 9fr6tli1phmq8e9qo5ieb5hm5r Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764239278676422a112',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6764275966676422a0e7' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@134153.1267 9fr6tli1phmq8e9qo5ieb5hm5r Query : use flama_phc
20241219@134153.1271 9fr6tli1phmq8e9qo5ieb5hm5r Query : select st.usalote valor from st where st.ref = '324.2362.00.1'
20241219@134153.1294 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2362.00.1'
20241219@134153.1315 9fr6tli1phmq8e9qo5ieb5hm5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.1333 9fr6tli1phmq8e9qo5ieb5hm5r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134153.1362 9fr6tli1phmq8e9qo5ieb5hm5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.1377 9fr6tli1phmq8e9qo5ieb5hm5r Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134153.1450 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134153.1472 9fr6tli1phmq8e9qo5ieb5hm5r Query : select sestamp valor from se where ref ='324.2362.00.1' and lote = 't2300548200a'
20241219@134153.1489 9fr6tli1phmq8e9qo5ieb5hm5r Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.1539 9fr6tli1phmq8e9qo5ieb5hm5r Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134153.1580 9fr6tli1phmq8e9qo5ieb5hm5r Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764222978676422a124','aut6764275966676422a0e7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134153.1605 9fr6tli1phmq8e9qo5ieb5hm5r Query : use flama_phc
20241219@134153.1613 9fr6tli1phmq8e9qo5ieb5hm5r Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241219@134153.1680 9fr6tli1phmq8e9qo5ieb5hm5r Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4114';
20241219@134153.2549 9fr6tli1phmq8e9qo5ieb5hm5r Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4114';
20241219@134153.3299 i08jalkjn6ml9mrgajfddsha8i Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@134153.3324 i08jalkjn6ml9mrgajfddsha8i Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@134153.3423 i08jalkjn6ml9mrgajfddsha8i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4115';
20241219@134153.3493 i08jalkjn6ml9mrgajfddsha8i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4115';
20241219@134153.3558 i08jalkjn6ml9mrgajfddsha8i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4115';
20241219@134153.3597 i08jalkjn6ml9mrgajfddsha8i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4115';
20241219@134153.3668 i08jalkjn6ml9mrgajfddsha8i Query : use flama_phc
20241219@134153.3671 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@134153.3756 i08jalkjn6ml9mrgajfddsha8i Query : use flama_phc
20241219@134153.3759 i08jalkjn6ml9mrgajfddsha8i Query : select no, estab,szadrsdesc from szadrs where u_coddest=416
20241219@134153.3846 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241219@134153.4016 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408782 and bi.ref ='324.1824.00.1' and bi.lordem =1
20241219@134153.4403 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241219@134153.4425 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408782 and bi.ref ='324.1824.00.1' and bi.lordem =1
20241219@134153.4441 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241219@134153.4460 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408782 and bi.ref ='324.1824.00.1' and bi.lordem =2
20241219@134153.4794 i08jalkjn6ml9mrgajfddsha8i Query : use flama_phc
20241219@134153.4797 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@134153.4831 i08jalkjn6ml9mrgajfddsha8i Query : use flama_phc
20241219@134153.4834 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 1 valor from td where td.ndoc = 39
20241219@134153.4867 i08jalkjn6ml9mrgajfddsha8i Query : use flama_phc
20241219@134153.4883 i08jalkjn6ml9mrgajfddsha8i 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')
20241219@134153.4927 i08jalkjn6ml9mrgajfddsha8i 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
20241219@134153.4961 i08jalkjn6ml9mrgajfddsha8i Query : use flama_phc
20241219@134153.4964 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 ~inactivo valor from cl where no = '102079' and estab = 0 order by inactivo desc
20241219@134153.5073 i08jalkjn6ml9mrgajfddsha8i Query : use flama_phc
20241219@134153.5076 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@134153.5111 i08jalkjn6ml9mrgajfddsha8i Query : use flama_phc
20241219@134153.5114 i08jalkjn6ml9mrgajfddsha8i Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@134153.5158 i08jalkjn6ml9mrgajfddsha8i Query : use flama_phc
20241219@134153.5161 i08jalkjn6ml9mrgajfddsha8i Query : select szadrsstamp valor from szadrs where szadrsdesc='bragajav, lda.'
20241219@134153.5227 i08jalkjn6ml9mrgajfddsha8i Query : use flama_phc
20241219@134153.5230 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from td where ndoc = 39
20241219@134153.5497 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@134153.5793 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.5828 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134153.5850 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.5886 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134153.5918 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.5934 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134153.5948 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134153.6004 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134153.6019 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.6040 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134153.6060 i08jalkjn6ml9mrgajfddsha8i Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6764218258676422a191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@134153.6291 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.6351 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134153.6504 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@134153.6517 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@134153.6528 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@134153.6540 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@134153.6554 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@134153.6567 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@134153.6578 i08jalkjn6ml9mrgajfddsha8i Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6764218258676422a191',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@134153.6841 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 fno valor from wsftdata order by fno desc
20241219@134153.6872 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.6888 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134153.6911 i08jalkjn6ml9mrgajfddsha8i Query : select 'normal' from dummy
20241219@134153.6927 i08jalkjn6ml9mrgajfddsha8i Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6764218258676422a191',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2568,102079,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@134153.7216 i08jalkjn6ml9mrgajfddsha8i Query : use flama_phc
20241219@134153.7220 i08jalkjn6ml9mrgajfddsha8i Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241219@134153.7243 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241219@134153.7429 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.7448 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134153.7490 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.7507 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134153.7516 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134153.7530 i08jalkjn6ml9mrgajfddsha8i Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400216200a'
20241219@134153.7555 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.7572 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134153.7585 i08jalkjn6ml9mrgajfddsha8i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764278717676422a1b8','aut6764218258676422a191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134153.7590 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.7607 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134153.7642 i08jalkjn6ml9mrgajfddsha8i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764278717676422a1b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut6764218258676422a191' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@134153.7899 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.7919 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134153.7949 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.7969 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134153.7981 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134153.7998 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.8040 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134153.8056 i08jalkjn6ml9mrgajfddsha8i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764215394676422a1c3','aut6764218258676422a191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134153.8062 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.8082 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134153.8118 i08jalkjn6ml9mrgajfddsha8i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6764215394676422a1c3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6764218258676422a191' ,0,0 ,2,23.00,20000,?,?,?)
20241219@134153.8354 i08jalkjn6ml9mrgajfddsha8i Query : use flama_phc
20241219@134153.8358 i08jalkjn6ml9mrgajfddsha8i Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241219@134153.8378 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241219@134153.8394 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.8413 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134153.8442 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.8486 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134153.8497 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134153.8511 i08jalkjn6ml9mrgajfddsha8i Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241219@134153.8527 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.8545 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134153.8573 i08jalkjn6ml9mrgajfddsha8i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764297777676422a1d0','aut6764218258676422a191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134153.8578 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.8598 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134153.8630 i08jalkjn6ml9mrgajfddsha8i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764297777676422a1d0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6764218258676422a191' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241219@134153.8915 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.8937 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134153.8966 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.8982 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134153.8991 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134153.9006 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.9023 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134153.9039 i08jalkjn6ml9mrgajfddsha8i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764226734676422a1db','aut6764218258676422a191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134153.9044 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.9091 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134153.9126 i08jalkjn6ml9mrgajfddsha8i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6764226734676422a1db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6764218258676422a191' ,0,0 ,2,23.00,50000,?,?,?)
20241219@134153.9817 i08jalkjn6ml9mrgajfddsha8i Query : use flama_phc
20241219@134153.9821 i08jalkjn6ml9mrgajfddsha8i Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241219@134153.9841 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241219@134153.9858 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.9876 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134153.9922 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134153.9940 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134153.9950 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134153.9963 i08jalkjn6ml9mrgajfddsha8i Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241219@134154.5400 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134154.7000 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134154.8400 i08jalkjn6ml9mrgajfddsha8i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764226468676422a201','aut6764218258676422a191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134154.8900 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134154.1050 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134154.1360 i08jalkjn6ml9mrgajfddsha8i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764226468676422a201',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6764218258676422a191' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241219@134154.5230 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134154.5470 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134154.6330 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134154.6530 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134154.6630 i08jalkjn6ml9mrgajfddsha8i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134154.1938 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134154.1957 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134154.1971 i08jalkjn6ml9mrgajfddsha8i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764276911676422a22f','aut6764218258676422a191' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134154.1977 i08jalkjn6ml9mrgajfddsha8i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134154.1993 i08jalkjn6ml9mrgajfddsha8i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134154.2026 i08jalkjn6ml9mrgajfddsha8i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6764276911676422a22f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6764218258676422a191' ,0,0 ,2,23.00,80000,?,?,?)
20241219@134154.2291 i08jalkjn6ml9mrgajfddsha8i Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6764218258676422a191','2408782','wait',39,'adm09112754980.682000002')
20241219@134154.2365 i08jalkjn6ml9mrgajfddsha8i Query : use flama_phc
20241219@134154.2368 i08jalkjn6ml9mrgajfddsha8i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@134154.2416 i08jalkjn6ml9mrgajfddsha8i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4115';
20241219@134154.2460 i08jalkjn6ml9mrgajfddsha8i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4115';
20241219@134154.2512 i08jalkjn6ml9mrgajfddsha8i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4115';
20241219@134154.2554 i08jalkjn6ml9mrgajfddsha8i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4115';
20241219@134154.3199 hrjlf3m7kuouuj7479f609avsm Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@134154.3213 hrjlf3m7kuouuj7479f609avsm Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@134154.3284 hrjlf3m7kuouuj7479f609avsm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4116';
20241219@134154.3371 hrjlf3m7kuouuj7479f609avsm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4116';
20241219@134154.3492 hrjlf3m7kuouuj7479f609avsm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4116';
20241219@134154.3534 hrjlf3m7kuouuj7479f609avsm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4116';
20241219@134154.3601 hrjlf3m7kuouuj7479f609avsm Query : use flama_phc
20241219@134154.3605 hrjlf3m7kuouuj7479f609avsm Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@134154.3698 hrjlf3m7kuouuj7479f609avsm Query : use flama_phc
20241219@134154.3702 hrjlf3m7kuouuj7479f609avsm Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@134154.3753 hrjlf3m7kuouuj7479f609avsm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1329.00.1'
20241219@134154.3919 hrjlf3m7kuouuj7479f609avsm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408783 and bi.ref ='324.1329.00.1' and bi.lordem =1
20241219@134154.4254 hrjlf3m7kuouuj7479f609avsm Query : use flama_phc
20241219@134154.4261 hrjlf3m7kuouuj7479f609avsm Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@134154.4325 hrjlf3m7kuouuj7479f609avsm Query : use flama_phc
20241219@134154.4328 hrjlf3m7kuouuj7479f609avsm Query : select top 1 1 valor from td where td.ndoc = 39
20241219@134154.4359 hrjlf3m7kuouuj7479f609avsm Query : use flama_phc
20241219@134154.4362 hrjlf3m7kuouuj7479f609avsm 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')
20241219@134154.4393 hrjlf3m7kuouuj7479f609avsm 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
20241219@134154.4431 hrjlf3m7kuouuj7479f609avsm Query : use flama_phc
20241219@134154.4434 hrjlf3m7kuouuj7479f609avsm Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@134154.4507 hrjlf3m7kuouuj7479f609avsm Query : use flama_phc
20241219@134154.4510 hrjlf3m7kuouuj7479f609avsm Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@134154.4540 hrjlf3m7kuouuj7479f609avsm Query : use flama_phc
20241219@134154.4543 hrjlf3m7kuouuj7479f609avsm Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@134154.4593 hrjlf3m7kuouuj7479f609avsm Query : use flama_phc
20241219@134154.4596 hrjlf3m7kuouuj7479f609avsm Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@134154.4641 hrjlf3m7kuouuj7479f609avsm Query : use flama_phc
20241219@134154.4644 hrjlf3m7kuouuj7479f609avsm Query : select 1 valor from td where ndoc = 39
20241219@134154.4657 hrjlf3m7kuouuj7479f609avsm Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@134154.4672 hrjlf3m7kuouuj7479f609avsm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134154.4688 hrjlf3m7kuouuj7479f609avsm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134154.4711 hrjlf3m7kuouuj7479f609avsm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134154.4729 hrjlf3m7kuouuj7479f609avsm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134154.4763 hrjlf3m7kuouuj7479f609avsm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134154.4780 hrjlf3m7kuouuj7479f609avsm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134154.4796 hrjlf3m7kuouuj7479f609avsm Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134154.4884 hrjlf3m7kuouuj7479f609avsm Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134154.4900 hrjlf3m7kuouuj7479f609avsm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134154.4919 hrjlf3m7kuouuj7479f609avsm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134154.4938 hrjlf3m7kuouuj7479f609avsm Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6764222994676422a275' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@134154.5107 hrjlf3m7kuouuj7479f609avsm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134154.5129 hrjlf3m7kuouuj7479f609avsm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134154.5171 hrjlf3m7kuouuj7479f609avsm Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@134154.5185 hrjlf3m7kuouuj7479f609avsm Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@134154.5199 hrjlf3m7kuouuj7479f609avsm Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@134154.5213 hrjlf3m7kuouuj7479f609avsm Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@134154.5226 hrjlf3m7kuouuj7479f609avsm Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@134154.5238 hrjlf3m7kuouuj7479f609avsm Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@134154.5252 hrjlf3m7kuouuj7479f609avsm Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6764222994676422a275',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@134154.5519 hrjlf3m7kuouuj7479f609avsm Query : select top 1 fno valor from wsftdata order by fno desc
20241219@134154.5561 hrjlf3m7kuouuj7479f609avsm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134154.5581 hrjlf3m7kuouuj7479f609avsm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134154.5607 hrjlf3m7kuouuj7479f609avsm Query : select 'normal' from dummy
20241219@134154.5664 hrjlf3m7kuouuj7479f609avsm Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6764222994676422a275',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2569,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@134154.5964 hrjlf3m7kuouuj7479f609avsm Query : use flama_phc
20241219@134154.5968 hrjlf3m7kuouuj7479f609avsm Query : select st.usalote valor from st where st.ref = '324.1329.00.1'
20241219@134154.5997 hrjlf3m7kuouuj7479f609avsm Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1329.00.1'
20241219@134154.6422 hrjlf3m7kuouuj7479f609avsm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134154.6842 hrjlf3m7kuouuj7479f609avsm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134154.6935 hrjlf3m7kuouuj7479f609avsm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134154.6956 hrjlf3m7kuouuj7479f609avsm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134154.6967 hrjlf3m7kuouuj7479f609avsm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134154.6983 hrjlf3m7kuouuj7479f609avsm Query : select sestamp valor from se where ref ='324.1329.00.1' and lote = 'r2400495100a'
20241219@134154.7001 hrjlf3m7kuouuj7479f609avsm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134154.7049 hrjlf3m7kuouuj7479f609avsm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134154.7066 hrjlf3m7kuouuj7479f609avsm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764276849676422a2aa','aut6764222994676422a275' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134154.7070 hrjlf3m7kuouuj7479f609avsm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134154.7088 hrjlf3m7kuouuj7479f609avsm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134154.7121 hrjlf3m7kuouuj7479f609avsm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764276849676422a2aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut6764222994676422a275' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@134154.7370 hrjlf3m7kuouuj7479f609avsm Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6764222994676422a275','2408783','wait',39,'adm09112754980.682000002')
20241219@134154.7458 hrjlf3m7kuouuj7479f609avsm Query : use flama_phc
20241219@134154.7462 hrjlf3m7kuouuj7479f609avsm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@134154.7498 hrjlf3m7kuouuj7479f609avsm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4116';
20241219@134154.7575 hrjlf3m7kuouuj7479f609avsm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4116';
20241219@134154.7633 hrjlf3m7kuouuj7479f609avsm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4116';
20241219@134154.7671 hrjlf3m7kuouuj7479f609avsm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4116';
20241219@134154.8297 tjl45n5gp4frjrrrtr98lat6as Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@134154.8316 tjl45n5gp4frjrrrtr98lat6as Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@134154.8387 tjl45n5gp4frjrrrtr98lat6as Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4117';
20241219@134154.8485 tjl45n5gp4frjrrrtr98lat6as Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4117';
20241219@134154.8572 tjl45n5gp4frjrrrtr98lat6as Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4117';
20241219@134154.8610 tjl45n5gp4frjrrrtr98lat6as Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4117';
20241219@134154.8670 tjl45n5gp4frjrrrtr98lat6as Query : use flama_phc
20241219@134154.8674 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@134154.8761 tjl45n5gp4frjrrrtr98lat6as Query : use flama_phc
20241219@134154.8765 tjl45n5gp4frjrrrtr98lat6as Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@134154.8817 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20241219@134154.8841 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408789 and bi.ref ='324.2335.00.1' and bi.lordem =1
20241219@134154.9172 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20241219@134154.9194 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408789 and bi.ref ='324.2335.00.1' and bi.lordem =1
20241219@134154.9218 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20241219@134154.9256 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408789 and bi.ref ='324.2335.00.1' and bi.lordem =1
20241219@134154.9276 tjl45n5gp4frjrrrtr98lat6as Query : use flama_phc
20241219@134154.9280 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@134154.9316 tjl45n5gp4frjrrrtr98lat6as Query : use flama_phc
20241219@134154.9319 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 1 valor from td where td.ndoc = 39
20241219@134154.9352 tjl45n5gp4frjrrrtr98lat6as Query : use flama_phc
20241219@134154.9356 tjl45n5gp4frjrrrtr98lat6as 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')
20241219@134154.9389 tjl45n5gp4frjrrrtr98lat6as 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
20241219@134154.9454 tjl45n5gp4frjrrrtr98lat6as Query : use flama_phc
20241219@134154.9458 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@134154.9490 tjl45n5gp4frjrrrtr98lat6as Query : use flama_phc
20241219@134154.9493 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@134154.9536 tjl45n5gp4frjrrrtr98lat6as Query : use flama_phc
20241219@134154.9540 tjl45n5gp4frjrrrtr98lat6as Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@134154.9581 tjl45n5gp4frjrrrtr98lat6as Query : use flama_phc
20241219@134154.9585 tjl45n5gp4frjrrrtr98lat6as Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@134154.9649 tjl45n5gp4frjrrrtr98lat6as Query : use flama_phc
20241219@134154.9652 tjl45n5gp4frjrrrtr98lat6as Query : select 1 valor from td where ndoc = 39
20241219@134154.9666 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@134154.9681 tjl45n5gp4frjrrrtr98lat6as Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134154.9699 tjl45n5gp4frjrrrtr98lat6as Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134154.9719 tjl45n5gp4frjrrrtr98lat6as Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134154.9736 tjl45n5gp4frjrrrtr98lat6as Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134154.9785 tjl45n5gp4frjrrrtr98lat6as Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134154.9801 tjl45n5gp4frjrrrtr98lat6as Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134154.9814 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134154.9870 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134154.9885 tjl45n5gp4frjrrrtr98lat6as Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134154.9908 tjl45n5gp4frjrrrtr98lat6as Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134154.9925 tjl45n5gp4frjrrrtr98lat6as Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6764256327676422a2ef' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@134155.1010 tjl45n5gp4frjrrrtr98lat6as Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.1210 tjl45n5gp4frjrrrtr98lat6as Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134155.1800 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@134155.1930 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@134155.2050 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@134155.2170 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@134155.2290 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@134155.2400 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@134155.2540 tjl45n5gp4frjrrrtr98lat6as Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6764256327676422a2ef',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@134155.5840 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 fno valor from wsftdata order by fno desc
20241219@134155.6200 tjl45n5gp4frjrrrtr98lat6as Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.6390 tjl45n5gp4frjrrrtr98lat6as Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134155.6650 tjl45n5gp4frjrrrtr98lat6as Query : select 'normal' from dummy
20241219@134155.6810 tjl45n5gp4frjrrrtr98lat6as Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6764256327676422a2ef',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2570,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@134155.9770 tjl45n5gp4frjrrrtr98lat6as Query : use flama_phc
20241219@134155.9800 tjl45n5gp4frjrrrtr98lat6as Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20241219@134155.1002 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2335.00.1'
20241219@134155.1044 tjl45n5gp4frjrrrtr98lat6as Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.1062 tjl45n5gp4frjrrrtr98lat6as Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134155.1090 tjl45n5gp4frjrrrtr98lat6as Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.1109 tjl45n5gp4frjrrrtr98lat6as Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134155.1118 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134155.1131 tjl45n5gp4frjrrrtr98lat6as Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2400467150a'
20241219@134155.1147 tjl45n5gp4frjrrrtr98lat6as Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.1164 tjl45n5gp4frjrrrtr98lat6as Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134155.1186 tjl45n5gp4frjrrrtr98lat6as Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764239092676422a31c','aut6764256327676422a2ef' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134155.1192 tjl45n5gp4frjrrrtr98lat6as Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.1210 tjl45n5gp4frjrrrtr98lat6as Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134155.1238 tjl45n5gp4frjrrrtr98lat6as Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764239092676422a31c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6764256327676422a2ef' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@134155.1511 tjl45n5gp4frjrrrtr98lat6as Query : use flama_phc
20241219@134155.1515 tjl45n5gp4frjrrrtr98lat6as Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20241219@134155.1536 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2335.00.1'
20241219@134155.1552 tjl45n5gp4frjrrrtr98lat6as Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.1573 tjl45n5gp4frjrrrtr98lat6as Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134155.1601 tjl45n5gp4frjrrrtr98lat6as Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.1619 tjl45n5gp4frjrrrtr98lat6as Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134155.1628 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134155.1639 tjl45n5gp4frjrrrtr98lat6as Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2400467150a'
20241219@134155.1653 tjl45n5gp4frjrrrtr98lat6as Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.1668 tjl45n5gp4frjrrrtr98lat6as Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134155.1705 tjl45n5gp4frjrrrtr98lat6as Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764269022676422a328','aut6764256327676422a2ef' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134155.1710 tjl45n5gp4frjrrrtr98lat6as Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.1726 tjl45n5gp4frjrrrtr98lat6as Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134155.1758 tjl45n5gp4frjrrrtr98lat6as Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764269022676422a328',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6764256327676422a2ef' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@134155.2007 tjl45n5gp4frjrrrtr98lat6as Query : use flama_phc
20241219@134155.2011 tjl45n5gp4frjrrrtr98lat6as Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20241219@134155.2035 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2335.00.1'
20241219@134155.2052 tjl45n5gp4frjrrrtr98lat6as Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.2069 tjl45n5gp4frjrrrtr98lat6as Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134155.2095 tjl45n5gp4frjrrrtr98lat6as Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.2110 tjl45n5gp4frjrrrtr98lat6as Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134155.2118 tjl45n5gp4frjrrrtr98lat6as Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134155.2129 tjl45n5gp4frjrrrtr98lat6as Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2400467150a'
20241219@134155.2142 tjl45n5gp4frjrrrtr98lat6as Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.2158 tjl45n5gp4frjrrrtr98lat6as Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134155.2170 tjl45n5gp4frjrrrtr98lat6as Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764299111676422a334','aut6764256327676422a2ef' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134155.2180 tjl45n5gp4frjrrrtr98lat6as Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.2219 tjl45n5gp4frjrrrtr98lat6as Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134155.2247 tjl45n5gp4frjrrrtr98lat6as Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764299111676422a334',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6764256327676422a2ef' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241219@134155.2502 tjl45n5gp4frjrrrtr98lat6as Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6764256327676422a2ef','2408789','wait',39,'adm09112754980.682000002')
20241219@134155.2628 tjl45n5gp4frjrrrtr98lat6as Query : use flama_phc
20241219@134155.2631 tjl45n5gp4frjrrrtr98lat6as Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@134155.2662 tjl45n5gp4frjrrrtr98lat6as Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4117';
20241219@134155.2726 tjl45n5gp4frjrrrtr98lat6as Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4117';
20241219@134155.2778 tjl45n5gp4frjrrrtr98lat6as Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4117';
20241219@134155.2812 tjl45n5gp4frjrrrtr98lat6as Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4117';
20241219@134155.4627 4elai7691hipbb2prmujs2ohtk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@134155.4638 4elai7691hipbb2prmujs2ohtk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@134155.4711 4elai7691hipbb2prmujs2ohtk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4118';
20241219@134155.4836 4elai7691hipbb2prmujs2ohtk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4118';
20241219@134155.4905 4elai7691hipbb2prmujs2ohtk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4118';
20241219@134155.4948 4elai7691hipbb2prmujs2ohtk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4118';
20241219@134155.5118 4elai7691hipbb2prmujs2ohtk Query : use flama_phc
20241219@134155.5122 4elai7691hipbb2prmujs2ohtk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@134155.5219 4elai7691hipbb2prmujs2ohtk Query : use flama_phc
20241219@134155.5223 4elai7691hipbb2prmujs2ohtk Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@134155.5271 4elai7691hipbb2prmujs2ohtk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20241219@134155.5311 4elai7691hipbb2prmujs2ohtk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408794 and bi.ref ='324.2335.00.1' and bi.lordem =1
20241219@134155.5669 4elai7691hipbb2prmujs2ohtk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20241219@134155.5690 4elai7691hipbb2prmujs2ohtk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408794 and bi.ref ='324.2335.00.1' and bi.lordem =1
20241219@134155.5728 4elai7691hipbb2prmujs2ohtk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20241219@134155.5747 4elai7691hipbb2prmujs2ohtk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408794 and bi.ref ='324.2335.00.1' and bi.lordem =2
20241219@134155.6085 4elai7691hipbb2prmujs2ohtk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20241219@134155.6111 4elai7691hipbb2prmujs2ohtk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408794 and bi.ref ='324.2335.00.1' and bi.lordem =2
20241219@134155.6127 4elai7691hipbb2prmujs2ohtk Query : use flama_phc
20241219@134155.6131 4elai7691hipbb2prmujs2ohtk Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@134155.6179 4elai7691hipbb2prmujs2ohtk Query : use flama_phc
20241219@134155.6182 4elai7691hipbb2prmujs2ohtk Query : select top 1 1 valor from td where td.ndoc = 39
20241219@134155.6310 4elai7691hipbb2prmujs2ohtk Query : use flama_phc
20241219@134155.6314 4elai7691hipbb2prmujs2ohtk 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')
20241219@134155.6367 4elai7691hipbb2prmujs2ohtk 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
20241219@134155.6403 4elai7691hipbb2prmujs2ohtk Query : use flama_phc
20241219@134155.6407 4elai7691hipbb2prmujs2ohtk Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@134155.6451 4elai7691hipbb2prmujs2ohtk Query : use flama_phc
20241219@134155.6454 4elai7691hipbb2prmujs2ohtk Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@134155.6488 4elai7691hipbb2prmujs2ohtk Query : use flama_phc
20241219@134155.6491 4elai7691hipbb2prmujs2ohtk Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@134155.6552 4elai7691hipbb2prmujs2ohtk Query : use flama_phc
20241219@134155.6557 4elai7691hipbb2prmujs2ohtk Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@134155.6612 4elai7691hipbb2prmujs2ohtk Query : use flama_phc
20241219@134155.6615 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from td where ndoc = 39
20241219@134155.6628 4elai7691hipbb2prmujs2ohtk Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@134155.6643 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.6662 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134155.6703 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.6720 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134155.6748 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.6762 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134155.6776 4elai7691hipbb2prmujs2ohtk Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134155.6833 4elai7691hipbb2prmujs2ohtk Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134155.6999 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.7024 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134155.7045 4elai7691hipbb2prmujs2ohtk Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6764257259676422a3a5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@134155.7219 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.7236 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134155.7270 4elai7691hipbb2prmujs2ohtk Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@134155.7282 4elai7691hipbb2prmujs2ohtk Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@134155.7315 4elai7691hipbb2prmujs2ohtk Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@134155.7327 4elai7691hipbb2prmujs2ohtk Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@134155.7456 4elai7691hipbb2prmujs2ohtk Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@134155.7753 4elai7691hipbb2prmujs2ohtk Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@134155.7991 4elai7691hipbb2prmujs2ohtk Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6764257259676422a3a5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@134155.8222 4elai7691hipbb2prmujs2ohtk Query : select top 1 fno valor from wsftdata order by fno desc
20241219@134155.8258 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.8276 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134155.8301 4elai7691hipbb2prmujs2ohtk Query : select 'normal' from dummy
20241219@134155.8340 4elai7691hipbb2prmujs2ohtk Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6764257259676422a3a5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2571,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@134155.8621 4elai7691hipbb2prmujs2ohtk Query : use flama_phc
20241219@134155.8628 4elai7691hipbb2prmujs2ohtk Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20241219@134155.8651 4elai7691hipbb2prmujs2ohtk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2335.00.1'
20241219@134155.8664 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.8680 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134155.8706 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.8721 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134155.8730 4elai7691hipbb2prmujs2ohtk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134155.8742 4elai7691hipbb2prmujs2ohtk Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2400467150a'
20241219@134155.8755 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.8769 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134155.8780 4elai7691hipbb2prmujs2ohtk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764288806676422a3d5','aut6764257259676422a3a5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134155.8787 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.8802 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134155.8829 4elai7691hipbb2prmujs2ohtk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764288806676422a3d5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6764257259676422a3a5' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@134155.9088 4elai7691hipbb2prmujs2ohtk Query : use flama_phc
20241219@134155.9092 4elai7691hipbb2prmujs2ohtk Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20241219@134155.9141 4elai7691hipbb2prmujs2ohtk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2335.00.1'
20241219@134155.9155 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.9171 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134155.9194 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.9212 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134155.9220 4elai7691hipbb2prmujs2ohtk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134155.9231 4elai7691hipbb2prmujs2ohtk Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2400467150a'
20241219@134155.9243 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.9257 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134155.9269 4elai7691hipbb2prmujs2ohtk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764251901676422a3e1','aut6764257259676422a3a5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134155.9274 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.9289 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134155.9315 4elai7691hipbb2prmujs2ohtk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764251901676422a3e1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6764257259676422a3a5' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@134155.9557 4elai7691hipbb2prmujs2ohtk Query : use flama_phc
20241219@134155.9560 4elai7691hipbb2prmujs2ohtk Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20241219@134155.9579 4elai7691hipbb2prmujs2ohtk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2335.00.1'
20241219@134155.9597 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.9613 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134155.9638 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.9654 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134155.9663 4elai7691hipbb2prmujs2ohtk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134155.9697 4elai7691hipbb2prmujs2ohtk Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2400467150a'
20241219@134155.9710 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.9724 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134155.9736 4elai7691hipbb2prmujs2ohtk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764281928676422a3ed','aut6764257259676422a3a5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134155.9741 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134155.9757 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134155.9786 4elai7691hipbb2prmujs2ohtk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764281928676422a3ed',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6764257259676422a3a5' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241219@134156.2300 4elai7691hipbb2prmujs2ohtk Query : use flama_phc
20241219@134156.2600 4elai7691hipbb2prmujs2ohtk Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20241219@134156.4700 4elai7691hipbb2prmujs2ohtk Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2335.00.1'
20241219@134156.9300 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.1120 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134156.1370 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.1540 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134156.1630 4elai7691hipbb2prmujs2ohtk Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134156.1980 4elai7691hipbb2prmujs2ohtk Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2400467150a'
20241219@134156.2120 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.2280 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134156.2410 4elai7691hipbb2prmujs2ohtk Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764235009676422a405','aut6764257259676422a3a5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134156.2460 4elai7691hipbb2prmujs2ohtk Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.2600 4elai7691hipbb2prmujs2ohtk Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134156.2890 4elai7691hipbb2prmujs2ohtk Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764235009676422a405',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6764257259676422a3a5' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241219@134156.5570 4elai7691hipbb2prmujs2ohtk Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6764257259676422a3a5','2408794','wait',39,'adm09112754980.682000002')
20241219@134156.6330 4elai7691hipbb2prmujs2ohtk Query : use flama_phc
20241219@134156.6360 4elai7691hipbb2prmujs2ohtk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@134156.6670 4elai7691hipbb2prmujs2ohtk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4118';
20241219@134156.7260 4elai7691hipbb2prmujs2ohtk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4118';
20241219@134156.8060 4elai7691hipbb2prmujs2ohtk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4118';
20241219@134156.8450 4elai7691hipbb2prmujs2ohtk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4118';
20241219@134156.1450 bt9bneucflt1c6ns9ravceo7hl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@134156.1461 bt9bneucflt1c6ns9ravceo7hl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@134156.1530 bt9bneucflt1c6ns9ravceo7hl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4119';
20241219@134156.1608 bt9bneucflt1c6ns9ravceo7hl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4119';
20241219@134156.1692 bt9bneucflt1c6ns9ravceo7hl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4119';
20241219@134156.1762 bt9bneucflt1c6ns9ravceo7hl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4119';
20241219@134156.1849 bt9bneucflt1c6ns9ravceo7hl Query : use flama_phc
20241219@134156.1854 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@134156.1987 bt9bneucflt1c6ns9ravceo7hl Query : use flama_phc
20241219@134156.1991 bt9bneucflt1c6ns9ravceo7hl Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@134156.2042 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20241219@134156.2196 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408797 and bi.ref ='324.2388.00.1' and bi.lordem =1
20241219@134156.2578 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20241219@134156.2598 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408797 and bi.ref ='324.2388.00.1' and bi.lordem =1
20241219@134156.2625 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20241219@134156.2649 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408797 and bi.ref ='324.2388.00.1' and bi.lordem =1
20241219@134156.2671 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20241219@134156.2693 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408797 and bi.ref ='324.2388.00.1' and bi.lordem =1
20241219@134156.2711 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2388.00.1'
20241219@134156.2732 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408797 and bi.ref ='324.2388.00.1' and bi.lordem =1
20241219@134156.2750 bt9bneucflt1c6ns9ravceo7hl Query : use flama_phc
20241219@134156.2754 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@134156.2787 bt9bneucflt1c6ns9ravceo7hl Query : use flama_phc
20241219@134156.2791 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 1 valor from td where td.ndoc = 39
20241219@134156.2830 bt9bneucflt1c6ns9ravceo7hl Query : use flama_phc
20241219@134156.2857 bt9bneucflt1c6ns9ravceo7hl 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')
20241219@134156.2901 bt9bneucflt1c6ns9ravceo7hl 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
20241219@134156.2961 bt9bneucflt1c6ns9ravceo7hl Query : use flama_phc
20241219@134156.2965 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@134156.3015 bt9bneucflt1c6ns9ravceo7hl Query : use flama_phc
20241219@134156.3020 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@134156.3053 bt9bneucflt1c6ns9ravceo7hl Query : use flama_phc
20241219@134156.3057 bt9bneucflt1c6ns9ravceo7hl Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@134156.3111 bt9bneucflt1c6ns9ravceo7hl Query : use flama_phc
20241219@134156.3116 bt9bneucflt1c6ns9ravceo7hl Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@134156.3170 bt9bneucflt1c6ns9ravceo7hl Query : use flama_phc
20241219@134156.3175 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from td where ndoc = 39
20241219@134156.3191 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@134156.3209 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.3233 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134156.3259 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.3279 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134156.3319 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.3341 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134156.3357 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134156.3499 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134156.3516 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.3539 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134156.3561 bt9bneucflt1c6ns9ravceo7hl Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6764227760676422a451' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@134156.3738 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.3804 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134156.3845 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@134156.3861 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@134156.3895 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@134156.3910 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@134156.3966 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@134156.3985 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@134156.3999 bt9bneucflt1c6ns9ravceo7hl Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6764227760676422a451',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@134156.4291 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 fno valor from wsftdata order by fno desc
20241219@134156.4435 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.4776 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134156.5613 bt9bneucflt1c6ns9ravceo7hl Query : select 'normal' from dummy
20241219@134156.5810 bt9bneucflt1c6ns9ravceo7hl Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6764227760676422a451',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2572,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@134156.6158 bt9bneucflt1c6ns9ravceo7hl Query : use flama_phc
20241219@134156.6162 bt9bneucflt1c6ns9ravceo7hl Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241219@134156.6193 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2388.00.1'
20241219@134156.6346 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.6369 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134156.6395 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.6410 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134156.6419 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134156.6430 bt9bneucflt1c6ns9ravceo7hl Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241219@134156.6444 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.6459 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134156.6470 bt9bneucflt1c6ns9ravceo7hl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764267730676422a49d','aut6764227760676422a451' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134156.6475 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.6489 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134156.6517 bt9bneucflt1c6ns9ravceo7hl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764267730676422a49d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6764227760676422a451' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@134156.6753 bt9bneucflt1c6ns9ravceo7hl Query : use flama_phc
20241219@134156.6757 bt9bneucflt1c6ns9ravceo7hl Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241219@134156.6778 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2388.00.1'
20241219@134156.6815 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.6832 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134156.6860 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.6875 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134156.6884 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134156.6896 bt9bneucflt1c6ns9ravceo7hl Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241219@134156.6912 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.6926 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134156.6941 bt9bneucflt1c6ns9ravceo7hl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764208539676422a4a8','aut6764227760676422a451' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134156.6946 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.6960 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134156.6990 bt9bneucflt1c6ns9ravceo7hl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764208539676422a4a8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut6764227760676422a451' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@134156.7410 bt9bneucflt1c6ns9ravceo7hl Query : use flama_phc
20241219@134156.7414 bt9bneucflt1c6ns9ravceo7hl Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241219@134156.7437 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2388.00.1'
20241219@134156.7454 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.7473 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134156.7499 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.7514 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134156.7523 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134156.7538 bt9bneucflt1c6ns9ravceo7hl Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241219@134156.7551 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.7581 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134156.7593 bt9bneucflt1c6ns9ravceo7hl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764278802676422a4b8','aut6764227760676422a451' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134156.7599 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.7614 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134156.7642 bt9bneucflt1c6ns9ravceo7hl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764278802676422a4b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut6764227760676422a451' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241219@134156.7904 bt9bneucflt1c6ns9ravceo7hl Query : use flama_phc
20241219@134156.7908 bt9bneucflt1c6ns9ravceo7hl Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241219@134156.7930 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2388.00.1'
20241219@134156.7948 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.7964 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134156.7991 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.8008 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134156.8018 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134156.8031 bt9bneucflt1c6ns9ravceo7hl Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241219@134156.8046 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.8062 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134156.8075 bt9bneucflt1c6ns9ravceo7hl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764244233676422a4c4','aut6764227760676422a451' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134156.8080 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.8096 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134156.8126 bt9bneucflt1c6ns9ravceo7hl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764244233676422a4c4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut6764227760676422a451' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241219@134156.8380 bt9bneucflt1c6ns9ravceo7hl Query : use flama_phc
20241219@134156.8384 bt9bneucflt1c6ns9ravceo7hl Query : select st.usalote valor from st where st.ref = '324.2388.00.1'
20241219@134156.8408 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2388.00.1'
20241219@134156.8422 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.8705 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134156.9135 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.9173 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134156.9183 bt9bneucflt1c6ns9ravceo7hl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134156.9200 bt9bneucflt1c6ns9ravceo7hl Query : select sestamp valor from se where ref ='324.2388.00.1' and lote = 'r2400490100a'
20241219@134156.9217 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.9236 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134156.9250 bt9bneucflt1c6ns9ravceo7hl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764220707676422a4e1','aut6764227760676422a451' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134156.9255 bt9bneucflt1c6ns9ravceo7hl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134156.9281 bt9bneucflt1c6ns9ravceo7hl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134156.9312 bt9bneucflt1c6ns9ravceo7hl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764220707676422a4e1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut6764227760676422a451' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241219@134156.9561 bt9bneucflt1c6ns9ravceo7hl Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6764227760676422a451','2408797','wait',39,'adm09112754980.682000002')
20241219@134156.9634 bt9bneucflt1c6ns9ravceo7hl Query : use flama_phc
20241219@134156.9637 bt9bneucflt1c6ns9ravceo7hl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@134156.9666 bt9bneucflt1c6ns9ravceo7hl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4119';
20241219@134156.9706 bt9bneucflt1c6ns9ravceo7hl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4119';
20241219@134156.9757 bt9bneucflt1c6ns9ravceo7hl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4119';
20241219@134156.9787 bt9bneucflt1c6ns9ravceo7hl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4119';
20241219@134157.3480 b3803r806i0qe17g5pdfj06ho0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@134157.3590 b3803r806i0qe17g5pdfj06ho0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@134157.4430 b3803r806i0qe17g5pdfj06ho0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4120';
20241219@134157.5590 b3803r806i0qe17g5pdfj06ho0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4120';
20241219@134157.6590 b3803r806i0qe17g5pdfj06ho0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4120';
20241219@134157.7100 b3803r806i0qe17g5pdfj06ho0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4120';
20241219@134157.7800 b3803r806i0qe17g5pdfj06ho0 Query : use flama_phc
20241219@134157.7840 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@134157.8530 b3803r806i0qe17g5pdfj06ho0 Query : use flama_phc
20241219@134157.8570 b3803r806i0qe17g5pdfj06ho0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2270
20241219@134157.9880 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1536.00.1'
20241219@134157.1174 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408818 and bi.ref ='324.1536.00.1' and bi.lordem =1
20241219@134157.1528 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1536.00.1'
20241219@134157.1551 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408818 and bi.ref ='324.1536.00.1' and bi.lordem =2
20241219@134157.1902 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1536.00.1'
20241219@134157.1923 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408818 and bi.ref ='324.1536.00.1' and bi.lordem =2
20241219@134157.1941 b3803r806i0qe17g5pdfj06ho0 Query : use flama_phc
20241219@134157.1945 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@134157.1983 b3803r806i0qe17g5pdfj06ho0 Query : use flama_phc
20241219@134157.1986 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 1 valor from td where td.ndoc = 39
20241219@134157.2019 b3803r806i0qe17g5pdfj06ho0 Query : use flama_phc
20241219@134157.2023 b3803r806i0qe17g5pdfj06ho0 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')
20241219@134157.2055 b3803r806i0qe17g5pdfj06ho0 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
20241219@134157.2091 b3803r806i0qe17g5pdfj06ho0 Query : use flama_phc
20241219@134157.2095 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 ~inactivo valor from cl where no = '102439' and estab = 0 order by inactivo desc
20241219@134157.2210 b3803r806i0qe17g5pdfj06ho0 Query : use flama_phc
20241219@134157.2214 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@134157.2244 b3803r806i0qe17g5pdfj06ho0 Query : use flama_phc
20241219@134157.2247 b3803r806i0qe17g5pdfj06ho0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@134157.2310 b3803r806i0qe17g5pdfj06ho0 Query : use flama_phc
20241219@134157.2313 b3803r806i0qe17g5pdfj06ho0 Query : select szadrsstamp valor from szadrs where szadrsdesc='carlos luis unipessoal lda'
20241219@134157.2362 b3803r806i0qe17g5pdfj06ho0 Query : use flama_phc
20241219@134157.2365 b3803r806i0qe17g5pdfj06ho0 Query : select 1 valor from td where ndoc = 39
20241219@134157.2379 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@134157.2394 b3803r806i0qe17g5pdfj06ho0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134157.2416 b3803r806i0qe17g5pdfj06ho0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134157.2438 b3803r806i0qe17g5pdfj06ho0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134157.2469 b3803r806i0qe17g5pdfj06ho0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134157.2505 b3803r806i0qe17g5pdfj06ho0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134157.2526 b3803r806i0qe17g5pdfj06ho0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134157.2544 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134157.2638 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@134157.2679 b3803r806i0qe17g5pdfj06ho0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134157.2698 b3803r806i0qe17g5pdfj06ho0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@134157.2716 b3803r806i0qe17g5pdfj06ho0 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6764252103676422a53e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@134157.2884 b3803r806i0qe17g5pdfj06ho0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134157.2904 b3803r806i0qe17g5pdfj06ho0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@134157.3020 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@134157.3142 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@134157.3158 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@134157.3176 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@134157.3190 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@134157.3207 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@134157.3225 b3803r806i0qe17g5pdfj06ho0 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6764252103676422a53e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@134157.3482 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 fno valor from wsftdata order by fno desc
20241219@134157.3518 b3803r806i0qe17g5pdfj06ho0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134157.3550 b3803r806i0qe17g5pdfj06ho0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@134157.3591 b3803r806i0qe17g5pdfj06ho0 Query : select 'normal' from dummy
20241219@134157.3616 b3803r806i0qe17g5pdfj06ho0 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6764252103676422a53e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2573,102439,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@134157.3943 b3803r806i0qe17g5pdfj06ho0 Query : use flama_phc
20241219@134157.3948 b3803r806i0qe17g5pdfj06ho0 Query : select st.usalote valor from st where st.ref = '324.1536.00.1'
20241219@134157.3970 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1536.00.1'
20241219@134157.4116 b3803r806i0qe17g5pdfj06ho0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134157.4134 b3803r806i0qe17g5pdfj06ho0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134157.4282 b3803r806i0qe17g5pdfj06ho0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134157.4302 b3803r806i0qe17g5pdfj06ho0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134157.4317 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134157.4330 b3803r806i0qe17g5pdfj06ho0 Query : select sestamp valor from se where ref ='324.1536.00.1' and lote = 'r2100240100a'
20241219@134157.4344 b3803r806i0qe17g5pdfj06ho0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134157.4364 b3803r806i0qe17g5pdfj06ho0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134157.4376 b3803r806i0qe17g5pdfj06ho0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764209611676422a56a','aut6764252103676422a53e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134157.4380 b3803r806i0qe17g5pdfj06ho0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134157.4404 b3803r806i0qe17g5pdfj06ho0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134157.4433 b3803r806i0qe17g5pdfj06ho0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764209611676422a56a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6764252103676422a53e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@134157.4683 b3803r806i0qe17g5pdfj06ho0 Query : use flama_phc
20241219@134157.4687 b3803r806i0qe17g5pdfj06ho0 Query : select st.usalote valor from st where st.ref = '324.1536.00.1'
20241219@134157.4712 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1536.00.1'
20241219@134157.4808 b3803r806i0qe17g5pdfj06ho0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134157.4827 b3803r806i0qe17g5pdfj06ho0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134157.5094 b3803r806i0qe17g5pdfj06ho0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134157.5115 b3803r806i0qe17g5pdfj06ho0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134157.5146 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134157.5160 b3803r806i0qe17g5pdfj06ho0 Query : select sestamp valor from se where ref ='324.1536.00.1' and lote = 'r2100240100a'
20241219@134157.5174 b3803r806i0qe17g5pdfj06ho0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134157.5231 b3803r806i0qe17g5pdfj06ho0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134157.5244 b3803r806i0qe17g5pdfj06ho0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764283167676422a57e','aut6764252103676422a53e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134157.5250 b3803r806i0qe17g5pdfj06ho0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134157.5271 b3803r806i0qe17g5pdfj06ho0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134157.5317 b3803r806i0qe17g5pdfj06ho0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764283167676422a57e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6764252103676422a53e' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@134157.5578 b3803r806i0qe17g5pdfj06ho0 Query : use flama_phc
20241219@134157.5582 b3803r806i0qe17g5pdfj06ho0 Query : select st.usalote valor from st where st.ref = '324.1536.00.1'
20241219@134157.5605 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1536.00.1'
20241219@134157.5621 b3803r806i0qe17g5pdfj06ho0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134157.5640 b3803r806i0qe17g5pdfj06ho0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134157.5669 b3803r806i0qe17g5pdfj06ho0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134157.5685 b3803r806i0qe17g5pdfj06ho0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134157.5695 b3803r806i0qe17g5pdfj06ho0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@134157.5709 b3803r806i0qe17g5pdfj06ho0 Query : select sestamp valor from se where ref ='324.1536.00.1' and lote = 'r2100240100a'
20241219@134157.5724 b3803r806i0qe17g5pdfj06ho0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134157.5740 b3803r806i0qe17g5pdfj06ho0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@134157.5753 b3803r806i0qe17g5pdfj06ho0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764282508676422a58b','aut6764252103676422a53e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@134157.5758 b3803r806i0qe17g5pdfj06ho0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@134157.5775 b3803r806i0qe17g5pdfj06ho0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@134157.5810 b3803r806i0qe17g5pdfj06ho0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764282508676422a58b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6764252103676422a53e' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241219@134157.6071 b3803r806i0qe17g5pdfj06ho0 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6764252103676422a53e','2408818','wait',39,'adm09112754980.682000002')
20241219@134157.6169 b3803r806i0qe17g5pdfj06ho0 Query : use flama_phc
20241219@134157.6173 b3803r806i0qe17g5pdfj06ho0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@134157.6207 b3803r806i0qe17g5pdfj06ho0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4120';
20241219@134157.6250 b3803r806i0qe17g5pdfj06ho0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4120';
20241219@134157.6310 b3803r806i0qe17g5pdfj06ho0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4120';
20241219@134157.6369 b3803r806i0qe17g5pdfj06ho0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4120';

20241219@193338.2528 u2u0qng4pcrqq6ggkf75psh0bl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4121';
20241219@193338.2597 u2u0qng4pcrqq6ggkf75psh0bl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4121';
20241219@193338.2638 u2u0qng4pcrqq6ggkf75psh0bl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4121';
20241219@193338.2726 u2u0qng4pcrqq6ggkf75psh0bl Query : use flama_phc
20241219@193338.2730 u2u0qng4pcrqq6ggkf75psh0bl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193338.2847 u2u0qng4pcrqq6ggkf75psh0bl Query : use flama_phc
20241219@193338.2851 u2u0qng4pcrqq6ggkf75psh0bl Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@193338.2965 u2u0qng4pcrqq6ggkf75psh0bl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20241219@193338.3125 u2u0qng4pcrqq6ggkf75psh0bl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408788 and bi.ref ='324.2330.00.1' and bi.lordem =1
20241219@193338.3736 u2u0qng4pcrqq6ggkf75psh0bl Query : use flama_phc
20241219@193338.3741 u2u0qng4pcrqq6ggkf75psh0bl Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193338.3941 u2u0qng4pcrqq6ggkf75psh0bl Query : use flama_phc
20241219@193338.3945 u2u0qng4pcrqq6ggkf75psh0bl Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193338.4027 u2u0qng4pcrqq6ggkf75psh0bl Query : use flama_phc
20241219@193338.4031 u2u0qng4pcrqq6ggkf75psh0bl 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')
20241219@193338.4120 u2u0qng4pcrqq6ggkf75psh0bl 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
20241219@193338.4266 u2u0qng4pcrqq6ggkf75psh0bl Query : use flama_phc
20241219@193338.4269 u2u0qng4pcrqq6ggkf75psh0bl Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@193338.4371 u2u0qng4pcrqq6ggkf75psh0bl Query : use flama_phc
20241219@193338.4374 u2u0qng4pcrqq6ggkf75psh0bl Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193338.4470 u2u0qng4pcrqq6ggkf75psh0bl Query : use flama_phc
20241219@193338.4473 u2u0qng4pcrqq6ggkf75psh0bl Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193338.4518 u2u0qng4pcrqq6ggkf75psh0bl Query : use flama_phc
20241219@193338.4521 u2u0qng4pcrqq6ggkf75psh0bl Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@193338.4572 u2u0qng4pcrqq6ggkf75psh0bl Query : use flama_phc
20241219@193338.4575 u2u0qng4pcrqq6ggkf75psh0bl Query : select 1 valor from td where ndoc = 39
20241219@193338.4646 u2u0qng4pcrqq6ggkf75psh0bl Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193338.4712 u2u0qng4pcrqq6ggkf75psh0bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193338.5075 u2u0qng4pcrqq6ggkf75psh0bl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193338.5165 u2u0qng4pcrqq6ggkf75psh0bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193338.5183 u2u0qng4pcrqq6ggkf75psh0bl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193338.5222 u2u0qng4pcrqq6ggkf75psh0bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193338.5243 u2u0qng4pcrqq6ggkf75psh0bl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193338.5261 u2u0qng4pcrqq6ggkf75psh0bl Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193338.5577 u2u0qng4pcrqq6ggkf75psh0bl Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193338.5671 u2u0qng4pcrqq6ggkf75psh0bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193338.5688 u2u0qng4pcrqq6ggkf75psh0bl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193338.5731 u2u0qng4pcrqq6ggkf75psh0bl Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67647024886764751280' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193338.6020 u2u0qng4pcrqq6ggkf75psh0bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193338.6041 u2u0qng4pcrqq6ggkf75psh0bl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193338.6080 u2u0qng4pcrqq6ggkf75psh0bl Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193338.6162 u2u0qng4pcrqq6ggkf75psh0bl Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193338.6233 u2u0qng4pcrqq6ggkf75psh0bl Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193338.6297 u2u0qng4pcrqq6ggkf75psh0bl Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193338.6366 u2u0qng4pcrqq6ggkf75psh0bl Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193338.6438 u2u0qng4pcrqq6ggkf75psh0bl Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193338.6545 u2u0qng4pcrqq6ggkf75psh0bl Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67647024886764751280',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193338.7132 u2u0qng4pcrqq6ggkf75psh0bl Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193338.7223 u2u0qng4pcrqq6ggkf75psh0bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193338.7244 u2u0qng4pcrqq6ggkf75psh0bl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193338.7272 u2u0qng4pcrqq6ggkf75psh0bl Query : select 'normal' from dummy
20241219@193338.7319 u2u0qng4pcrqq6ggkf75psh0bl Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67647024886764751280',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2574,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193338.8018 u2u0qng4pcrqq6ggkf75psh0bl Query : use flama_phc
20241219@193338.8021 u2u0qng4pcrqq6ggkf75psh0bl Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20241219@193338.8048 u2u0qng4pcrqq6ggkf75psh0bl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2330.00.1'
20241219@193338.8189 u2u0qng4pcrqq6ggkf75psh0bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193338.8207 u2u0qng4pcrqq6ggkf75psh0bl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193338.8235 u2u0qng4pcrqq6ggkf75psh0bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193338.8251 u2u0qng4pcrqq6ggkf75psh0bl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193338.8261 u2u0qng4pcrqq6ggkf75psh0bl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193338.8302 u2u0qng4pcrqq6ggkf75psh0bl Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r2400469200a'
20241219@193338.8347 u2u0qng4pcrqq6ggkf75psh0bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193338.8363 u2u0qng4pcrqq6ggkf75psh0bl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193338.8376 u2u0qng4pcrqq6ggkf75psh0bl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676475770867647512cb','aut67647024886764751280' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193338.8430 u2u0qng4pcrqq6ggkf75psh0bl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193338.8445 u2u0qng4pcrqq6ggkf75psh0bl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193338.8502 u2u0qng4pcrqq6ggkf75psh0bl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676475770867647512cb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut67647024886764751280' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193338.9396 u2u0qng4pcrqq6ggkf75psh0bl Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67647024886764751280','2408788','wait',39,'adm09112754980.682000002')
20241219@193339.3140 u2u0qng4pcrqq6ggkf75psh0bl Query : use flama_phc
20241219@193339.3180 u2u0qng4pcrqq6ggkf75psh0bl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@193339.3500 u2u0qng4pcrqq6ggkf75psh0bl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4121';
20241219@193339.3930 u2u0qng4pcrqq6ggkf75psh0bl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4121';
20241219@193339.4450 u2u0qng4pcrqq6ggkf75psh0bl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4121';
20241219@193339.4800 u2u0qng4pcrqq6ggkf75psh0bl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4121';
20241219@193339.1187 a00m4e28bhule68v8g7sl0c7ff Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193339.1198 a00m4e28bhule68v8g7sl0c7ff Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193339.1267 a00m4e28bhule68v8g7sl0c7ff Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4122';
20241219@193339.1332 a00m4e28bhule68v8g7sl0c7ff Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4122';
20241219@193339.1397 a00m4e28bhule68v8g7sl0c7ff Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4122';
20241219@193339.1431 a00m4e28bhule68v8g7sl0c7ff Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4122';
20241219@193339.1487 a00m4e28bhule68v8g7sl0c7ff Query : use flama_phc
20241219@193339.1490 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193339.1554 a00m4e28bhule68v8g7sl0c7ff Query : use flama_phc
20241219@193339.1557 a00m4e28bhule68v8g7sl0c7ff Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241219@193339.1600 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2362.00.1'
20241219@193339.1805 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408802 and bi.ref ='324.2362.00.1' and bi.lordem =1
20241219@193339.2138 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2362.00.1'
20241219@193339.2195 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408802 and bi.ref ='324.2362.00.1' and bi.lordem =1
20241219@193339.2402 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2362.00.1'
20241219@193339.2424 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408802 and bi.ref ='324.2362.00.1' and bi.lordem =1
20241219@193339.2442 a00m4e28bhule68v8g7sl0c7ff Query : use flama_phc
20241219@193339.2446 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193339.2479 a00m4e28bhule68v8g7sl0c7ff Query : use flama_phc
20241219@193339.2482 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193339.2512 a00m4e28bhule68v8g7sl0c7ff Query : use flama_phc
20241219@193339.2516 a00m4e28bhule68v8g7sl0c7ff 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')
20241219@193339.2547 a00m4e28bhule68v8g7sl0c7ff 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
20241219@193339.2583 a00m4e28bhule68v8g7sl0c7ff Query : use flama_phc
20241219@193339.2587 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241219@193339.2617 a00m4e28bhule68v8g7sl0c7ff Query : use flama_phc
20241219@193339.2621 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193339.2651 a00m4e28bhule68v8g7sl0c7ff Query : use flama_phc
20241219@193339.2654 a00m4e28bhule68v8g7sl0c7ff Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193339.2693 a00m4e28bhule68v8g7sl0c7ff Query : use flama_phc
20241219@193339.2696 a00m4e28bhule68v8g7sl0c7ff Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241219@193339.2742 a00m4e28bhule68v8g7sl0c7ff Query : use flama_phc
20241219@193339.2745 a00m4e28bhule68v8g7sl0c7ff Query : select 1 valor from td where ndoc = 39
20241219@193339.2759 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193339.2774 a00m4e28bhule68v8g7sl0c7ff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.2791 a00m4e28bhule68v8g7sl0c7ff Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193339.2811 a00m4e28bhule68v8g7sl0c7ff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.2827 a00m4e28bhule68v8g7sl0c7ff Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193339.2859 a00m4e28bhule68v8g7sl0c7ff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.2875 a00m4e28bhule68v8g7sl0c7ff Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193339.2889 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193339.2944 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193339.2958 a00m4e28bhule68v8g7sl0c7ff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.2984 a00m4e28bhule68v8g7sl0c7ff Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193339.3004 a00m4e28bhule68v8g7sl0c7ff Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67647833766764751346' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193339.3182 a00m4e28bhule68v8g7sl0c7ff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.3204 a00m4e28bhule68v8g7sl0c7ff Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193339.3240 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193339.3254 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193339.3267 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193339.3280 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193339.3293 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193339.3306 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193339.3318 a00m4e28bhule68v8g7sl0c7ff Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67647833766764751346',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193339.3617 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193339.3651 a00m4e28bhule68v8g7sl0c7ff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.3669 a00m4e28bhule68v8g7sl0c7ff Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193339.3693 a00m4e28bhule68v8g7sl0c7ff Query : select 'normal' from dummy
20241219@193339.3710 a00m4e28bhule68v8g7sl0c7ff Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67647833766764751346',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2575,100810,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193339.4004 a00m4e28bhule68v8g7sl0c7ff Query : use flama_phc
20241219@193339.4008 a00m4e28bhule68v8g7sl0c7ff Query : select st.usalote valor from st where st.ref = '324.2362.00.1'
20241219@193339.4034 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2362.00.1'
20241219@193339.4168 a00m4e28bhule68v8g7sl0c7ff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.4186 a00m4e28bhule68v8g7sl0c7ff Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193339.4214 a00m4e28bhule68v8g7sl0c7ff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.4230 a00m4e28bhule68v8g7sl0c7ff Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193339.4239 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193339.4253 a00m4e28bhule68v8g7sl0c7ff Query : select sestamp valor from se where ref ='324.2362.00.1' and lote = 'r2400498400a'
20241219@193339.4275 a00m4e28bhule68v8g7sl0c7ff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.4290 a00m4e28bhule68v8g7sl0c7ff Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193339.4303 a00m4e28bhule68v8g7sl0c7ff Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647499196764751368','aut67647833766764751346' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193339.4308 a00m4e28bhule68v8g7sl0c7ff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.4324 a00m4e28bhule68v8g7sl0c7ff Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193339.4379 a00m4e28bhule68v8g7sl0c7ff Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647499196764751368',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',22.000 ,'aut67647833766764751346' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193339.4627 a00m4e28bhule68v8g7sl0c7ff Query : use flama_phc
20241219@193339.4633 a00m4e28bhule68v8g7sl0c7ff Query : select st.usalote valor from st where st.ref = '324.2362.00.1'
20241219@193339.4656 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2362.00.1'
20241219@193339.4671 a00m4e28bhule68v8g7sl0c7ff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.4689 a00m4e28bhule68v8g7sl0c7ff Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193339.4717 a00m4e28bhule68v8g7sl0c7ff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.4732 a00m4e28bhule68v8g7sl0c7ff Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193339.4742 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193339.4755 a00m4e28bhule68v8g7sl0c7ff Query : select sestamp valor from se where ref ='324.2362.00.1' and lote = 'r2400498400a'
20241219@193339.4769 a00m4e28bhule68v8g7sl0c7ff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.4784 a00m4e28bhule68v8g7sl0c7ff Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193339.4795 a00m4e28bhule68v8g7sl0c7ff Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647564786764751374','aut67647833766764751346' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193339.4800 a00m4e28bhule68v8g7sl0c7ff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.4815 a00m4e28bhule68v8g7sl0c7ff Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193339.4842 a00m4e28bhule68v8g7sl0c7ff Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647564786764751374',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',22.000 ,'aut67647833766764751346' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@193339.5119 a00m4e28bhule68v8g7sl0c7ff Query : use flama_phc
20241219@193339.5123 a00m4e28bhule68v8g7sl0c7ff Query : select st.usalote valor from st where st.ref = '324.2362.00.1'
20241219@193339.5144 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2362.00.1'
20241219@193339.5241 a00m4e28bhule68v8g7sl0c7ff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.5264 a00m4e28bhule68v8g7sl0c7ff Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193339.5290 a00m4e28bhule68v8g7sl0c7ff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.5305 a00m4e28bhule68v8g7sl0c7ff Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193339.5314 a00m4e28bhule68v8g7sl0c7ff Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193339.5326 a00m4e28bhule68v8g7sl0c7ff Query : select sestamp valor from se where ref ='324.2362.00.1' and lote = 'r2400498400a'
20241219@193339.5339 a00m4e28bhule68v8g7sl0c7ff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.5354 a00m4e28bhule68v8g7sl0c7ff Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193339.5366 a00m4e28bhule68v8g7sl0c7ff Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647674526764751382','aut67647833766764751346' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193339.5371 a00m4e28bhule68v8g7sl0c7ff Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.5385 a00m4e28bhule68v8g7sl0c7ff Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193339.5415 a00m4e28bhule68v8g7sl0c7ff Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647674526764751382',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut67647833766764751346' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241219@193339.5680 a00m4e28bhule68v8g7sl0c7ff Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67647833766764751346','2408802','wait',39,'adm09112754980.682000002')
20241219@193339.5753 a00m4e28bhule68v8g7sl0c7ff Query : use flama_phc
20241219@193339.5756 a00m4e28bhule68v8g7sl0c7ff Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@193339.5785 a00m4e28bhule68v8g7sl0c7ff Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4122';
20241219@193339.5829 a00m4e28bhule68v8g7sl0c7ff Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4122';
20241219@193339.5883 a00m4e28bhule68v8g7sl0c7ff Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4122';
20241219@193339.5915 a00m4e28bhule68v8g7sl0c7ff Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4122';
20241219@193339.6565 obv5hsef7oohhclci45279aagj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193339.6576 obv5hsef7oohhclci45279aagj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193339.6647 obv5hsef7oohhclci45279aagj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4123';
20241219@193339.6732 obv5hsef7oohhclci45279aagj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4123';
20241219@193339.6878 obv5hsef7oohhclci45279aagj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4123';
20241219@193339.6916 obv5hsef7oohhclci45279aagj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4123';
20241219@193339.6977 obv5hsef7oohhclci45279aagj Query : use flama_phc
20241219@193339.6980 obv5hsef7oohhclci45279aagj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193339.7045 obv5hsef7oohhclci45279aagj Query : use flama_phc
20241219@193339.7048 obv5hsef7oohhclci45279aagj Query : select no, estab,szadrsdesc from szadrs where u_coddest=2255
20241219@193339.7139 obv5hsef7oohhclci45279aagj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2330.00.1'
20241219@193339.7159 obv5hsef7oohhclci45279aagj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408817 and bi.ref ='324.2330.00.1' and bi.lordem =1
20241219@193339.7493 obv5hsef7oohhclci45279aagj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20241219@193339.7635 obv5hsef7oohhclci45279aagj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408817 and bi.ref ='324.2335.00.1' and bi.lordem =2
20241219@193339.7956 obv5hsef7oohhclci45279aagj Query : use flama_phc
20241219@193339.7960 obv5hsef7oohhclci45279aagj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193339.8030 obv5hsef7oohhclci45279aagj Query : use flama_phc
20241219@193339.8060 obv5hsef7oohhclci45279aagj Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193339.8091 obv5hsef7oohhclci45279aagj Query : use flama_phc
20241219@193339.8093 obv5hsef7oohhclci45279aagj 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')
20241219@193339.8122 obv5hsef7oohhclci45279aagj 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
20241219@193339.8155 obv5hsef7oohhclci45279aagj Query : use flama_phc
20241219@193339.8158 obv5hsef7oohhclci45279aagj Query : select top 1 ~inactivo valor from cl where no = '100632' and estab = 0 order by inactivo desc
20241219@193339.8268 obv5hsef7oohhclci45279aagj Query : use flama_phc
20241219@193339.8271 obv5hsef7oohhclci45279aagj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193339.8304 obv5hsef7oohhclci45279aagj Query : use flama_phc
20241219@193339.8307 obv5hsef7oohhclci45279aagj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193339.8344 obv5hsef7oohhclci45279aagj Query : use flama_phc
20241219@193339.8347 obv5hsef7oohhclci45279aagj Query : select szadrsstamp valor from szadrs where szadrsdesc='fernando cristino, lda.'
20241219@193339.8392 obv5hsef7oohhclci45279aagj Query : use flama_phc
20241219@193339.8394 obv5hsef7oohhclci45279aagj Query : select 1 valor from td where ndoc = 39
20241219@193339.8406 obv5hsef7oohhclci45279aagj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193339.8420 obv5hsef7oohhclci45279aagj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.8435 obv5hsef7oohhclci45279aagj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193339.8453 obv5hsef7oohhclci45279aagj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.8467 obv5hsef7oohhclci45279aagj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193339.8494 obv5hsef7oohhclci45279aagj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.8509 obv5hsef7oohhclci45279aagj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193339.8522 obv5hsef7oohhclci45279aagj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193339.8577 obv5hsef7oohhclci45279aagj Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193339.8589 obv5hsef7oohhclci45279aagj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.8604 obv5hsef7oohhclci45279aagj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193339.8621 obv5hsef7oohhclci45279aagj Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut676473945767647513d0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193339.8780 obv5hsef7oohhclci45279aagj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.8797 obv5hsef7oohhclci45279aagj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193339.8855 obv5hsef7oohhclci45279aagj Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193339.8868 obv5hsef7oohhclci45279aagj Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193339.8879 obv5hsef7oohhclci45279aagj Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193339.8890 obv5hsef7oohhclci45279aagj Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193339.8902 obv5hsef7oohhclci45279aagj Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193339.8915 obv5hsef7oohhclci45279aagj Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193339.8926 obv5hsef7oohhclci45279aagj Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut676473945767647513d0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193339.9186 obv5hsef7oohhclci45279aagj Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193339.9217 obv5hsef7oohhclci45279aagj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.9234 obv5hsef7oohhclci45279aagj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193339.9258 obv5hsef7oohhclci45279aagj Query : select 'normal' from dummy
20241219@193339.9272 obv5hsef7oohhclci45279aagj Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut676473945767647513d0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2576,100632,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193339.9721 obv5hsef7oohhclci45279aagj Query : use flama_phc
20241219@193339.9736 obv5hsef7oohhclci45279aagj Query : select st.usalote valor from st where st.ref = '324.2330.00.1'
20241219@193339.9897 obv5hsef7oohhclci45279aagj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2330.00.1'
20241219@193339.9912 obv5hsef7oohhclci45279aagj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.9928 obv5hsef7oohhclci45279aagj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193339.9954 obv5hsef7oohhclci45279aagj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193339.9968 obv5hsef7oohhclci45279aagj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193339.9977 obv5hsef7oohhclci45279aagj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193339.9989 obv5hsef7oohhclci45279aagj Query : select sestamp valor from se where ref ='324.2330.00.1' and lote = 'r2400469200a'
20241219@193340.1000 obv5hsef7oohhclci45279aagj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.1600 obv5hsef7oohhclci45279aagj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193340.2800 obv5hsef7oohhclci45279aagj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647998866764751400','aut676473945767647513d0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193340.3200 obv5hsef7oohhclci45279aagj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.4600 obv5hsef7oohhclci45279aagj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193340.8000 obv5hsef7oohhclci45279aagj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647998866764751400',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut676473945767647513d0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193340.3270 obv5hsef7oohhclci45279aagj Query : use flama_phc
20241219@193340.3300 obv5hsef7oohhclci45279aagj Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20241219@193340.3520 obv5hsef7oohhclci45279aagj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2335.00.1'
20241219@193340.4800 obv5hsef7oohhclci45279aagj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.4970 obv5hsef7oohhclci45279aagj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193340.5230 obv5hsef7oohhclci45279aagj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.5380 obv5hsef7oohhclci45279aagj Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193340.5470 obv5hsef7oohhclci45279aagj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193340.5600 obv5hsef7oohhclci45279aagj Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2400467150a'
20241219@193340.5740 obv5hsef7oohhclci45279aagj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.5890 obv5hsef7oohhclci45279aagj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193340.6010 obv5hsef7oohhclci45279aagj Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764782309676475140e','aut676473945767647513d0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193340.6060 obv5hsef7oohhclci45279aagj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.6210 obv5hsef7oohhclci45279aagj Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193340.6490 obv5hsef7oohhclci45279aagj Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764782309676475140e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut676473945767647513d0' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@193340.8930 obv5hsef7oohhclci45279aagj Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut676473945767647513d0','2408817','wait',39,'adm09112754980.682000002')
20241219@193340.9630 obv5hsef7oohhclci45279aagj Query : use flama_phc
20241219@193340.9670 obv5hsef7oohhclci45279aagj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@193340.9960 obv5hsef7oohhclci45279aagj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4123';
20241219@193340.1037 obv5hsef7oohhclci45279aagj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4123';
20241219@193340.1089 obv5hsef7oohhclci45279aagj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4123';
20241219@193340.1125 obv5hsef7oohhclci45279aagj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4123';
20241219@193340.1682 mcvbb9ogd3eugesmo94q6gq41k Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193340.1693 mcvbb9ogd3eugesmo94q6gq41k Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193340.1772 mcvbb9ogd3eugesmo94q6gq41k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4124';
20241219@193340.1845 mcvbb9ogd3eugesmo94q6gq41k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4124';
20241219@193340.1924 mcvbb9ogd3eugesmo94q6gq41k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4124';
20241219@193340.1967 mcvbb9ogd3eugesmo94q6gq41k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4124';
20241219@193340.2035 mcvbb9ogd3eugesmo94q6gq41k Query : use flama_phc
20241219@193340.2039 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193340.2104 mcvbb9ogd3eugesmo94q6gq41k Query : use flama_phc
20241219@193340.2107 mcvbb9ogd3eugesmo94q6gq41k Query : select no, estab,szadrsdesc from szadrs where u_coddest=4537
20241219@193340.2202 mcvbb9ogd3eugesmo94q6gq41k 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'
20241219@193340.2352 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408821 and bi.ref ='324.969.00.01' and bi.lordem =1
20241219@193340.2685 mcvbb9ogd3eugesmo94q6gq41k 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'
20241219@193340.2822 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408821 and bi.ref ='324.658.00.01' and bi.lordem =2
20241219@193340.3260 mcvbb9ogd3eugesmo94q6gq41k 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'
20241219@193340.3397 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408821 and bi.ref ='324.691.00.01' and bi.lordem =3
20241219@193340.3733 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20241219@193340.3915 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408821 and bi.ref ='324.4970.00.1' and bi.lordem =4
20241219@193340.4254 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20241219@193340.4391 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408821 and bi.ref ='324.1646.00.1' and bi.lordem =5
20241219@193340.4723 mcvbb9ogd3eugesmo94q6gq41k Query : use flama_phc
20241219@193340.4727 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193340.4762 mcvbb9ogd3eugesmo94q6gq41k Query : use flama_phc
20241219@193340.4765 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193340.4796 mcvbb9ogd3eugesmo94q6gq41k Query : use flama_phc
20241219@193340.4799 mcvbb9ogd3eugesmo94q6gq41k 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')
20241219@193340.4829 mcvbb9ogd3eugesmo94q6gq41k 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
20241219@193340.4865 mcvbb9ogd3eugesmo94q6gq41k Query : use flama_phc
20241219@193340.4868 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20241219@193340.4977 mcvbb9ogd3eugesmo94q6gq41k Query : use flama_phc
20241219@193340.4980 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193340.5011 mcvbb9ogd3eugesmo94q6gq41k Query : use flama_phc
20241219@193340.5015 mcvbb9ogd3eugesmo94q6gq41k Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193340.5056 mcvbb9ogd3eugesmo94q6gq41k Query : use flama_phc
20241219@193340.5059 mcvbb9ogd3eugesmo94q6gq41k Query : select szadrsstamp valor from szadrs where szadrsdesc='novaem distec, s.l.u-entrega'
20241219@193340.5107 mcvbb9ogd3eugesmo94q6gq41k Query : use flama_phc
20241219@193340.5111 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from td where ndoc = 39
20241219@193340.5123 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193340.5138 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.5156 mcvbb9ogd3eugesmo94q6gq41k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193340.5177 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.5193 mcvbb9ogd3eugesmo94q6gq41k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193340.5226 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.5242 mcvbb9ogd3eugesmo94q6gq41k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193340.5257 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193340.5313 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193340.5328 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.5345 mcvbb9ogd3eugesmo94q6gq41k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193340.5363 mcvbb9ogd3eugesmo94q6gq41k Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67647467286764751480' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193340.5536 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.5556 mcvbb9ogd3eugesmo94q6gq41k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193340.5589 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193340.5602 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193340.5615 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193340.5627 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193340.5639 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193340.5651 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193340.5663 mcvbb9ogd3eugesmo94q6gq41k Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67647467286764751480',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193340.5904 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193340.5936 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.5952 mcvbb9ogd3eugesmo94q6gq41k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193340.5976 mcvbb9ogd3eugesmo94q6gq41k Query : select 'normal' from dummy
20241219@193340.5991 mcvbb9ogd3eugesmo94q6gq41k Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67647467286764751480',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2577,200500,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193340.6276 mcvbb9ogd3eugesmo94q6gq41k Query : use flama_phc
20241219@193340.6280 mcvbb9ogd3eugesmo94q6gq41k Query : select st.usalote valor from st where st.ref = '324.969.00.01'
20241219@193340.6301 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241219@193340.6457 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.6475 mcvbb9ogd3eugesmo94q6gq41k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193340.6530 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.6545 mcvbb9ogd3eugesmo94q6gq41k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193340.6554 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193340.6567 mcvbb9ogd3eugesmo94q6gq41k Query : select sestamp valor from se where ref ='324.969.00.01' and lote = 'r2100601100a'
20241219@193340.6610 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.6632 mcvbb9ogd3eugesmo94q6gq41k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193340.6645 mcvbb9ogd3eugesmo94q6gq41k Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676478573067647514a1','aut67647467286764751480' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193340.6657 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.6673 mcvbb9ogd3eugesmo94q6gq41k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193340.6704 mcvbb9ogd3eugesmo94q6gq41k Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676478573067647514a1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut67647467286764751480' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193340.6988 mcvbb9ogd3eugesmo94q6gq41k Query : use flama_phc
20241219@193340.6992 mcvbb9ogd3eugesmo94q6gq41k Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20241219@193340.7024 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241219@193340.7167 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.7189 mcvbb9ogd3eugesmo94q6gq41k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193340.7218 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.7331 mcvbb9ogd3eugesmo94q6gq41k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193340.7342 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193340.7355 mcvbb9ogd3eugesmo94q6gq41k Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2301261100a'
20241219@193340.7392 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.7409 mcvbb9ogd3eugesmo94q6gq41k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193340.7421 mcvbb9ogd3eugesmo94q6gq41k Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676479976667647514b4','aut67647467286764751480' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193340.7425 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.7440 mcvbb9ogd3eugesmo94q6gq41k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193340.7468 mcvbb9ogd3eugesmo94q6gq41k Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676479976667647514b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut67647467286764751480' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@193340.7716 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.7733 mcvbb9ogd3eugesmo94q6gq41k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193340.7758 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.7772 mcvbb9ogd3eugesmo94q6gq41k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193340.7781 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193340.7792 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.7807 mcvbb9ogd3eugesmo94q6gq41k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193340.7819 mcvbb9ogd3eugesmo94q6gq41k Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676477070367647514be','aut67647467286764751480' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193340.7823 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.7837 mcvbb9ogd3eugesmo94q6gq41k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193340.7942 mcvbb9ogd3eugesmo94q6gq41k Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut676477070367647514be',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647467286764751480' ,0,0 ,2,23.00,30000,?,?,?)
20241219@193340.8186 mcvbb9ogd3eugesmo94q6gq41k Query : use flama_phc
20241219@193340.8189 mcvbb9ogd3eugesmo94q6gq41k Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20241219@193340.8210 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 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'
20241219@193340.8337 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.8354 mcvbb9ogd3eugesmo94q6gq41k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193340.8378 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.8392 mcvbb9ogd3eugesmo94q6gq41k Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193340.8400 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193340.8412 mcvbb9ogd3eugesmo94q6gq41k Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2400837300a'
20241219@193340.8429 mcvbb9ogd3eugesmo94q6gq41k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193340.8444 mcvbb9ogd3eugesmo94q6gq41k Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193340.8478 mcvbb9ogd3eugesmo94q6gq41k Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676474350867647514cd','aut67647467286764751480' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193340.8497 mcvbb9ogd3eugesmo94q6gq41k Query : use flama_phc
20241219@193340.8500 mcvbb9ogd3eugesmo94q6gq41k Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241219@193340.8576 mcvbb9ogd3eugesmo94q6gq41k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4124';
20241219@193340.8617 mcvbb9ogd3eugesmo94q6gq41k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4124';
20241219@193340.9188 ihipr2gc52m9efntc888lv0a7j Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193340.9200 ihipr2gc52m9efntc888lv0a7j Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193340.9271 ihipr2gc52m9efntc888lv0a7j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4125';
20241219@193340.9352 ihipr2gc52m9efntc888lv0a7j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4125';
20241219@193340.9415 ihipr2gc52m9efntc888lv0a7j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4125';
20241219@193340.9447 ihipr2gc52m9efntc888lv0a7j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4125';
20241219@193340.9503 ihipr2gc52m9efntc888lv0a7j Query : use flama_phc
20241219@193340.9531 ihipr2gc52m9efntc888lv0a7j Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193340.9592 ihipr2gc52m9efntc888lv0a7j Query : use flama_phc
20241219@193340.9595 ihipr2gc52m9efntc888lv0a7j Query : select no, estab,szadrsdesc from szadrs where u_coddest=2759
20241219@193340.9694 ihipr2gc52m9efntc888lv0a7j Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241219@193340.9861 ihipr2gc52m9efntc888lv0a7j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408824 and bi.ref ='324.1824.00.1' and bi.lordem =1
20241219@193341.1200 ihipr2gc52m9efntc888lv0a7j Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241219@193341.1222 ihipr2gc52m9efntc888lv0a7j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408824 and bi.ref ='324.1824.00.1' and bi.lordem =1
20241219@193341.1240 ihipr2gc52m9efntc888lv0a7j Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241219@193341.1260 ihipr2gc52m9efntc888lv0a7j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408824 and bi.ref ='324.1824.00.1' and bi.lordem =2
20241219@193341.1883 ihipr2gc52m9efntc888lv0a7j Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1676.00.1'
20241219@193341.2034 ihipr2gc52m9efntc888lv0a7j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408824 and bi.ref ='324.1676.00.1' and bi.lordem =3
20241219@193341.2361 ihipr2gc52m9efntc888lv0a7j Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1676.00.1'
20241219@193341.2386 ihipr2gc52m9efntc888lv0a7j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2088 and bo.obrano = 2408824 and bi.ref ='324.1676.00.1' and bi.lordem =4
20241219@193341.2813 ihipr2gc52m9efntc888lv0a7j Query : use flama_phc
20241219@193341.2816 ihipr2gc52m9efntc888lv0a7j Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193341.2866 ihipr2gc52m9efntc888lv0a7j Query : use flama_phc
20241219@193341.2870 ihipr2gc52m9efntc888lv0a7j Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193341.2899 ihipr2gc52m9efntc888lv0a7j Query : use flama_phc
20241219@193341.2902 ihipr2gc52m9efntc888lv0a7j 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')
20241219@193341.2930 ihipr2gc52m9efntc888lv0a7j 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
20241219@193341.2966 ihipr2gc52m9efntc888lv0a7j Query : use flama_phc
20241219@193341.2969 ihipr2gc52m9efntc888lv0a7j Query : select top 1 ~inactivo valor from cl where no = '102145' and estab = 0 order by inactivo desc
20241219@193341.3082 ihipr2gc52m9efntc888lv0a7j Query : use flama_phc
20241219@193341.3085 ihipr2gc52m9efntc888lv0a7j Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193341.3116 ihipr2gc52m9efntc888lv0a7j Query : use flama_phc
20241219@193341.3120 ihipr2gc52m9efntc888lv0a7j Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193341.3160 ihipr2gc52m9efntc888lv0a7j Query : use flama_phc
20241219@193341.3163 ihipr2gc52m9efntc888lv0a7j Query : select szadrsstamp valor from szadrs where szadrsdesc='paulo jorge almeida gomes unip.,lda.-entrega'
20241219@193341.3211 ihipr2gc52m9efntc888lv0a7j Query : use flama_phc
20241219@193341.3214 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from td where ndoc = 39
20241219@193341.3228 ihipr2gc52m9efntc888lv0a7j Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193341.3243 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.3263 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193341.3283 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.3301 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193341.3333 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.3347 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193341.3362 ihipr2gc52m9efntc888lv0a7j Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193341.3464 ihipr2gc52m9efntc888lv0a7j Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193341.3479 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.3496 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193341.3512 ihipr2gc52m9efntc888lv0a7j Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut67647078446764751552' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193341.3678 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.3697 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193341.3735 ihipr2gc52m9efntc888lv0a7j Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193341.3748 ihipr2gc52m9efntc888lv0a7j Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193341.3761 ihipr2gc52m9efntc888lv0a7j Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193341.3774 ihipr2gc52m9efntc888lv0a7j Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193341.3786 ihipr2gc52m9efntc888lv0a7j Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193341.3798 ihipr2gc52m9efntc888lv0a7j Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193341.3811 ihipr2gc52m9efntc888lv0a7j Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut67647078446764751552',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193341.4046 ihipr2gc52m9efntc888lv0a7j Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193341.4100 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.4119 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193341.4143 ihipr2gc52m9efntc888lv0a7j Query : select 'normal' from dummy
20241219@193341.4160 ihipr2gc52m9efntc888lv0a7j Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut67647078446764751552',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2577,102145,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193341.4614 ihipr2gc52m9efntc888lv0a7j Query : use flama_phc
20241219@193341.4656 ihipr2gc52m9efntc888lv0a7j Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241219@193341.4723 ihipr2gc52m9efntc888lv0a7j Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241219@193341.4877 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.4911 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193341.4941 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.4957 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193341.4967 ihipr2gc52m9efntc888lv0a7j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193341.4979 ihipr2gc52m9efntc888lv0a7j Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241219@193341.5000 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.5017 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193341.5029 ihipr2gc52m9efntc888lv0a7j Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764742632676475157a','aut67647078446764751552' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193341.5034 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.5049 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193341.5103 ihipr2gc52m9efntc888lv0a7j Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764742632676475157a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut67647078446764751552' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193341.5379 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.5397 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193341.5425 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.5440 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193341.5449 ihipr2gc52m9efntc888lv0a7j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193341.5463 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.5478 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193341.5491 ihipr2gc52m9efntc888lv0a7j Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647566126764751585','aut67647078446764751552' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193341.5496 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.5513 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193341.5545 ihipr2gc52m9efntc888lv0a7j Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut67647566126764751585',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647078446764751552' ,0,0 ,2,23.00,20000,?,?,?)
20241219@193341.5826 ihipr2gc52m9efntc888lv0a7j Query : use flama_phc
20241219@193341.5833 ihipr2gc52m9efntc888lv0a7j Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241219@193341.5865 ihipr2gc52m9efntc888lv0a7j Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241219@193341.5879 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.5907 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193341.5933 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.5948 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193341.5957 ihipr2gc52m9efntc888lv0a7j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193341.5969 ihipr2gc52m9efntc888lv0a7j Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241219@193341.5982 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.5996 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193341.6008 ihipr2gc52m9efntc888lv0a7j Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647534486764751592','aut67647078446764751552' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193341.6013 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.6027 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193341.6054 ihipr2gc52m9efntc888lv0a7j Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647534486764751592',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut67647078446764751552' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241219@193341.6298 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.6316 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193341.6342 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.6357 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193341.6366 ihipr2gc52m9efntc888lv0a7j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193341.6377 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.6392 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193341.6403 ihipr2gc52m9efntc888lv0a7j Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764785866676475159b','aut67647078446764751552' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193341.6408 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.6428 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193341.6458 ihipr2gc52m9efntc888lv0a7j Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6764785866676475159b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647078446764751552' ,0,0 ,2,23.00,50000,?,?,?)
20241219@193341.6698 ihipr2gc52m9efntc888lv0a7j Query : use flama_phc
20241219@193341.6702 ihipr2gc52m9efntc888lv0a7j Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20241219@193341.6723 ihipr2gc52m9efntc888lv0a7j Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20241219@193341.6738 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.6756 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193341.6784 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.6800 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193341.6809 ihipr2gc52m9efntc888lv0a7j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193341.6822 ihipr2gc52m9efntc888lv0a7j Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20241219@193341.6835 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.6851 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193341.6866 ihipr2gc52m9efntc888lv0a7j Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676477624867647515a6','aut67647078446764751552' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193341.6870 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.6885 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193341.6917 ihipr2gc52m9efntc888lv0a7j Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676477624867647515a6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut67647078446764751552' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241219@193341.7191 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.7209 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193341.7238 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.7256 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193341.7276 ihipr2gc52m9efntc888lv0a7j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193341.7293 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.7309 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193341.7321 ihipr2gc52m9efntc888lv0a7j Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676477577967647515b2','aut67647078446764751552' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193341.7325 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.7340 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193341.7369 ihipr2gc52m9efntc888lv0a7j Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut676477577967647515b2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut67647078446764751552' ,0,0 ,2,23.00,80000,?,?,?)
20241219@193341.7600 ihipr2gc52m9efntc888lv0a7j Query : use flama_phc
20241219@193341.7604 ihipr2gc52m9efntc888lv0a7j Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20241219@193341.7625 ihipr2gc52m9efntc888lv0a7j Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1676.00.1'
20241219@193341.7754 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.7770 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193341.7796 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.7811 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193341.7820 ihipr2gc52m9efntc888lv0a7j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193341.7832 ihipr2gc52m9efntc888lv0a7j Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2400173900a'
20241219@193341.7860 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.8074 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193341.8110 ihipr2gc52m9efntc888lv0a7j Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676470039767647515bf','aut67647078446764751552' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193341.8115 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.8134 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193341.8167 ihipr2gc52m9efntc888lv0a7j Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676470039767647515bf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut67647078446764751552' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241219@193341.8420 ihipr2gc52m9efntc888lv0a7j Query : use flama_phc
20241219@193341.8423 ihipr2gc52m9efntc888lv0a7j Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20241219@193341.8443 ihipr2gc52m9efntc888lv0a7j Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1676.00.1'
20241219@193341.8464 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.8480 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193341.8513 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.8531 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193341.8541 ihipr2gc52m9efntc888lv0a7j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193341.8555 ihipr2gc52m9efntc888lv0a7j Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2400173900a'
20241219@193341.8568 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.8583 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193341.8596 ihipr2gc52m9efntc888lv0a7j Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut676472199367647515d1','aut67647078446764751552' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193341.8600 ihipr2gc52m9efntc888lv0a7j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193341.8618 ihipr2gc52m9efntc888lv0a7j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193341.8651 ihipr2gc52m9efntc888lv0a7j Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut676472199367647515d1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut67647078446764751552' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20241219@193341.8896 ihipr2gc52m9efntc888lv0a7j Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut67647078446764751552','2408824','wait',39,'adm09112754980.682000002')
20241219@193341.8968 ihipr2gc52m9efntc888lv0a7j Query : use flama_phc
20241219@193341.8972 ihipr2gc52m9efntc888lv0a7j Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241219@193341.9003 ihipr2gc52m9efntc888lv0a7j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4125';
20241219@193341.9044 ihipr2gc52m9efntc888lv0a7j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4125';
20241219@193341.9097 ihipr2gc52m9efntc888lv0a7j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4125';
20241219@193341.9133 ihipr2gc52m9efntc888lv0a7j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4125';
20241219@193341.9656 o36l4c6v7slhrd12f1pa9trnts Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241219@193341.9701 o36l4c6v7slhrd12f1pa9trnts Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241219@193341.9785 o36l4c6v7slhrd12f1pa9trnts Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4126';
20241219@193341.9855 o36l4c6v7slhrd12f1pa9trnts Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4126';
20241219@193341.9919 o36l4c6v7slhrd12f1pa9trnts Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4126';
20241219@193341.9954 o36l4c6v7slhrd12f1pa9trnts Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4126';
20241219@193342.2700 o36l4c6v7slhrd12f1pa9trnts Query : use flama_phc
20241219@193342.3000 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241219@193342.9300 o36l4c6v7slhrd12f1pa9trnts Query : use flama_phc
20241219@193342.9600 o36l4c6v7slhrd12f1pa9trnts Query : select no, estab,szadrsdesc from szadrs where u_coddest=2427
20241219@193342.1900 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241219@193342.3240 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.1805.00.1' and bi.lordem =1
20241219@193342.6400 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241219@193342.6610 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.1805.00.1' and bi.lordem =1
20241219@193342.6770 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241219@193342.6970 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.1805.00.1' and bi.lordem =1
20241219@193342.7140 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241219@193342.7330 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.1805.00.1' and bi.lordem =1
20241219@193342.7490 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241219@193342.7690 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.1805.00.1' and bi.lordem =1
20241219@193342.7850 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20241219@193342.8040 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.1805.00.1' and bi.lordem =1
20241219@193342.8200 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20241219@193342.9560 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.1816.00.1' and bi.lordem =2
20241219@193342.1509 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20241219@193342.1533 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.1816.00.1' and bi.lordem =2
20241219@193342.1550 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20241219@193342.1568 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.1816.00.1' and bi.lordem =2
20241219@193342.1584 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20241219@193342.1603 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.1816.00.1' and bi.lordem =2
20241219@193342.1619 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20241219@193342.1637 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.1816.00.1' and bi.lordem =2
20241219@193342.1655 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20241219@193342.1803 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.1837.00.1' and bi.lordem =3
20241219@193342.3325 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20241219@193342.3354 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.1837.00.1' and bi.lordem =3
20241219@193342.3375 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20241219@193342.3398 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.1837.00.1' and bi.lordem =3
20241219@193342.3417 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241219@193342.3804 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.1889.00.1' and bi.lordem =4
20241219@193342.4144 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20241219@193342.4165 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.1889.00.1' and bi.lordem =4
20241219@193342.4181 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20241219@193342.4318 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.1834.00.1' and bi.lordem =5
20241219@193342.4645 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20241219@193342.4667 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.1834.00.1' and bi.lordem =5
20241219@193342.4683 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20241219@193342.4824 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.1642.00.2' and bi.lordem =6
20241219@193342.5213 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20241219@193342.5234 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.1642.00.2' and bi.lordem =6
20241219@193342.5251 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20241219@193342.5270 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.1642.00.2' and bi.lordem =6
20241219@193342.5286 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8253.00.1'
20241219@193342.5429 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='327.8253.00.1' and bi.lordem =7
20241219@193342.5885 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8253.00.1'
20241219@193342.5907 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='327.8253.00.1' and bi.lordem =7
20241219@193342.5926 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8253.00.1'
20241219@193342.5946 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='327.8253.00.1' and bi.lordem =7
20241219@193342.5965 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241219@193342.6106 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.645.00.01' and bi.lordem =8
20241219@193342.6767 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241219@193342.6941 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.681.00.01' and bi.lordem =9
20241219@193342.7417 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241219@193342.7437 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.681.00.01' and bi.lordem =9
20241219@193342.7453 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241219@193342.7471 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.681.00.01' and bi.lordem =9
20241219@193342.7487 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241219@193342.7507 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.681.00.01' and bi.lordem =9
20241219@193342.7523 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4421.00.1'
20241219@193342.7669 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='324.4421.00.1' and bi.lordem =10
20241219@193342.7997 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20241219@193342.8128 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='327.8261.00.1' and bi.lordem =11
20241219@193342.8506 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20241219@193342.8527 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='327.8261.00.1' and bi.lordem =11
20241219@193342.8543 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20241219@193342.8565 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2087 and bo.obrano = 2408723 and bi.ref ='327.8261.00.1' and bi.lordem =11
20241219@193342.8582 o36l4c6v7slhrd12f1pa9trnts Query : use flama_phc
20241219@193342.8585 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241219@193342.8617 o36l4c6v7slhrd12f1pa9trnts Query : use flama_phc
20241219@193342.8620 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 1 valor from td where td.ndoc = 39
20241219@193342.8649 o36l4c6v7slhrd12f1pa9trnts Query : use flama_phc
20241219@193342.8652 o36l4c6v7slhrd12f1pa9trnts 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')
20241219@193342.8681 o36l4c6v7slhrd12f1pa9trnts 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
20241219@193342.8780 o36l4c6v7slhrd12f1pa9trnts Query : use flama_phc
20241219@193342.8784 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20241219@193342.8814 o36l4c6v7slhrd12f1pa9trnts Query : use flama_phc
20241219@193342.8817 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241219@193342.8846 o36l4c6v7slhrd12f1pa9trnts Query : use flama_phc
20241219@193342.8849 o36l4c6v7slhrd12f1pa9trnts Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241219@193342.8890 o36l4c6v7slhrd12f1pa9trnts Query : use flama_phc
20241219@193342.8893 o36l4c6v7slhrd12f1pa9trnts Query : select szadrsstamp valor from szadrs where szadrsdesc='electrodomesticos divelsa,s.a'
20241219@193342.8941 o36l4c6v7slhrd12f1pa9trnts Query : use flama_phc
20241219@193342.8944 o36l4c6v7slhrd12f1pa9trnts Query : select 1 valor from td where ndoc = 39
20241219@193342.8961 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241219@193342.8976 o36l4c6v7slhrd12f1pa9trnts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193342.8993 o36l4c6v7slhrd12f1pa9trnts Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193342.9012 o36l4c6v7slhrd12f1pa9trnts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193342.9027 o36l4c6v7slhrd12f1pa9trnts Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193342.9055 o36l4c6v7slhrd12f1pa9trnts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193342.9071 o36l4c6v7slhrd12f1pa9trnts Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193342.9084 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193342.9138 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241219@193342.9152 o36l4c6v7slhrd12f1pa9trnts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193342.9167 o36l4c6v7slhrd12f1pa9trnts Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241219@193342.9184 o36l4c6v7slhrd12f1pa9trnts Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut676477679867647516dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241219@193342.9380 o36l4c6v7slhrd12f1pa9trnts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193342.9400 o36l4c6v7slhrd12f1pa9trnts Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241219@193342.9433 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241219@193342.9444 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241219@193342.9457 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241219@193342.9469 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241219@193342.9482 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241219@193342.9495 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241219@193342.9507 o36l4c6v7slhrd12f1pa9trnts Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut676477679867647516dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241219@193342.9733 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 fno valor from wsftdata order by fno desc
20241219@193342.9764 o36l4c6v7slhrd12f1pa9trnts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193342.9780 o36l4c6v7slhrd12f1pa9trnts Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241219@193342.9802 o36l4c6v7slhrd12f1pa9trnts Query : select 'normal' from dummy
20241219@193342.9819 o36l4c6v7slhrd12f1pa9trnts Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut676477679867647516dd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2578,200500,0,'2024-12-19',39,'euro',0,0,2024 ,?,?)
20241219@193343.1080 o36l4c6v7slhrd12f1pa9trnts Query : use flama_phc
20241219@193343.1120 o36l4c6v7slhrd12f1pa9trnts Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241219@193343.1370 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20241219@193343.2720 o36l4c6v7slhrd12f1pa9trnts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193343.2880 o36l4c6v7slhrd12f1pa9trnts Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193343.3140 o36l4c6v7slhrd12f1pa9trnts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193343.3290 o36l4c6v7slhrd12f1pa9trnts Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193343.3370 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193343.3500 o36l4c6v7slhrd12f1pa9trnts Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400291200a'
20241219@193343.5380 o36l4c6v7slhrd12f1pa9trnts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193343.6110 o36l4c6v7slhrd12f1pa9trnts Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193343.6230 o36l4c6v7slhrd12f1pa9trnts Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6764719696676475170d','aut676477679867647516dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193343.6280 o36l4c6v7slhrd12f1pa9trnts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193343.6440 o36l4c6v7slhrd12f1pa9trnts Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193343.6770 o36l4c6v7slhrd12f1pa9trnts Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6764719696676475170d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut676477679867647516dd' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241219@193343.9170 o36l4c6v7slhrd12f1pa9trnts Query : use flama_phc
20241219@193343.9200 o36l4c6v7slhrd12f1pa9trnts Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241219@193343.9390 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20241219@193343.9530 o36l4c6v7slhrd12f1pa9trnts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193343.9690 o36l4c6v7slhrd12f1pa9trnts Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193343.9940 o36l4c6v7slhrd12f1pa9trnts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193343.1009 o36l4c6v7slhrd12f1pa9trnts Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193343.1018 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241219@193343.1030 o36l4c6v7slhrd12f1pa9trnts Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2300831200a'
20241219@193343.1057 o36l4c6v7slhrd12f1pa9trnts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193343.1072 o36l4c6v7slhrd12f1pa9trnts Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241219@193343.1083 o36l4c6v7slhrd12f1pa9trnts Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67647523026764751719','aut676477679867647516dd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241219@193343.1087 o36l4c6v7slhrd12f1pa9trnts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193343.1102 o36l4c6v7slhrd12f1pa9trnts Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193343.1152 o36l4c6v7slhrd12f1pa9trnts Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut67647523026764751719',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut676477679867647516dd' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241219@193343.1388 o36l4c6v7slhrd12f1pa9trnts Query : use flama_phc
20241219@193343.1391 o36l4c6v7slhrd12f1pa9trnts Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20241219@193343.1413 o36l4c6v7slhrd12f1pa9trnts Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20241219@193343.1427 o36l4c6v7slhrd12f1pa9trnts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241219@193343.1443 o36l4c6v7slhrd12f1pa9trnts Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241219@193343.1471 o36l4c6v7slhrd12f1pa9trnts Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
