20240313@175115.4019 27e3svni9ufj6oon55vg7ruc61 INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20240313@175115.4017 27e3svni9ufj6oon55vg7ruc61 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175115.4030 27e3svni9ufj6oon55vg7ruc61 Query : use flama_phc
20240313@175115.4033 27e3svni9ufj6oon55vg7ruc61 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175115.4044 27e3svni9ufj6oon55vg7ruc61 Query : use flama_phc
20240313@175115.4047 27e3svni9ufj6oon55vg7ruc61 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda- barcelos entrega'
20240313@175115.4059 27e3svni9ufj6oon55vg7ruc61 Query : use flama_phc
20240313@175115.4062 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from td where ndoc = 39
20240313@175115.4071 27e3svni9ufj6oon55vg7ruc61 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175115.4082 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175115.4096 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175115.4117 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175115.4129 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175115.4156 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175115.4168 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175115.4178 27e3svni9ufj6oon55vg7ruc61 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175115.4275 27e3svni9ufj6oon55vg7ruc61 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175115.4284 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175115.4297 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175115.4307 27e3svni9ufj6oon55vg7ruc61 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e3071165f1e79366' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175115.4497 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175115.4511 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175115.4538 27e3svni9ufj6oon55vg7ruc61 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175115.4543 27e3svni9ufj6oon55vg7ruc61 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175115.4548 27e3svni9ufj6oon55vg7ruc61 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175115.4553 27e3svni9ufj6oon55vg7ruc61 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175115.4558 27e3svni9ufj6oon55vg7ruc61 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175115.4562 27e3svni9ufj6oon55vg7ruc61 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175115.4567 27e3svni9ufj6oon55vg7ruc61 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e3071165f1e79366',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175115.4833 27e3svni9ufj6oon55vg7ruc61 Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175115.4848 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175115.4861 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175115.4877 27e3svni9ufj6oon55vg7ruc61 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e3071165f1e79366',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',412,101621,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1821',?,?,?,?)
20240313@175115.5189 27e3svni9ufj6oon55vg7ruc61 Query : use flama_phc
20240313@175115.5193 27e3svni9ufj6oon55vg7ruc61 Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240313@175115.5205 27e3svni9ufj6oon55vg7ruc61 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240313@175115.5379 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175115.5394 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175115.5417 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175115.5429 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175115.5433 27e3svni9ufj6oon55vg7ruc61 Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2300534200a'
20240313@175115.5444 27e3svni9ufj6oon55vg7ruc61 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175115.5454 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175115.5466 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175115.5488 27e3svni9ufj6oon55vg7ruc61 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e3457265f1e79385',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65f1e3071165f1e79366' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175115.5785 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175115.5801 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175115.5806 27e3svni9ufj6oon55vg7ruc61 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e3457265f1e79385','aut65f1e3071165f1e79366' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175115.5811 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175115.5823 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175115.5847 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175115.5859 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175115.5863 27e3svni9ufj6oon55vg7ruc61 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175115.5873 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175115.5886 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175115.5909 27e3svni9ufj6oon55vg7ruc61 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e5410865f1e7938f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e3071165f1e79366' ,0,0 ,2,23.00,20000,?,?,?)
20240313@175115.6187 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175115.6203 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175115.6208 27e3svni9ufj6oon55vg7ruc61 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e5410865f1e7938f','aut65f1e3071165f1e79366' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175115.6213 27e3svni9ufj6oon55vg7ruc61 Query : use flama_phc
20240313@175115.6217 27e3svni9ufj6oon55vg7ruc61 Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240313@175115.6229 27e3svni9ufj6oon55vg7ruc61 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240313@175115.6549 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175115.6562 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175115.6584 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175115.6598 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175115.6602 27e3svni9ufj6oon55vg7ruc61 Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2301201200a'
20240313@175115.6612 27e3svni9ufj6oon55vg7ruc61 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175115.6620 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175115.6632 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175115.6660 27e3svni9ufj6oon55vg7ruc61 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e7359765f1e793a1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut65f1e3071165f1e79366' ,0,0 ,2,23.00,40000,?,?,?,?)
20240313@175115.6936 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175115.6953 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175115.6957 27e3svni9ufj6oon55vg7ruc61 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e7359765f1e793a1','aut65f1e3071165f1e79366' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175115.6962 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175115.6974 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175115.6996 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175115.7008 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175115.7013 27e3svni9ufj6oon55vg7ruc61 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175115.7022 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175115.7034 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175115.7055 27e3svni9ufj6oon55vg7ruc61 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e6698965f1e793ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e3071165f1e79366' ,0,0 ,2,23.00,50000,?,?,?)
20240313@175115.7377 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175115.7395 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175115.7399 27e3svni9ufj6oon55vg7ruc61 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e6698965f1e793ab','aut65f1e3071165f1e79366' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175115.7403 27e3svni9ufj6oon55vg7ruc61 Query : use flama_phc
20240313@175115.7406 27e3svni9ufj6oon55vg7ruc61 Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240313@175115.7417 27e3svni9ufj6oon55vg7ruc61 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240313@175115.7427 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175115.7440 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175115.7461 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175115.7473 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175115.7477 27e3svni9ufj6oon55vg7ruc61 Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2301201200a'
20240313@175115.7486 27e3svni9ufj6oon55vg7ruc61 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175115.7840 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175115.7854 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175115.7876 27e3svni9ufj6oon55vg7ruc61 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e5972865f1e793bf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65f1e3071165f1e79366' ,0,0 ,2,23.00,70000,?,?,?,?)
20240313@175115.8258 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175115.8409 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175115.8414 27e3svni9ufj6oon55vg7ruc61 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e5972865f1e793bf','aut65f1e3071165f1e79366' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175115.8420 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175115.8433 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175115.8457 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175115.8469 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175115.8473 27e3svni9ufj6oon55vg7ruc61 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175115.8483 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175115.8495 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175115.8518 27e3svni9ufj6oon55vg7ruc61 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e5941165f1e793cf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e3071165f1e79366' ,0,0 ,2,23.00,80000,?,?,?)
20240313@175115.8783 27e3svni9ufj6oon55vg7ruc61 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175115.8798 27e3svni9ufj6oon55vg7ruc61 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175115.8802 27e3svni9ufj6oon55vg7ruc61 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e5941165f1e793cf','aut65f1e3071165f1e79366' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175115.8807 27e3svni9ufj6oon55vg7ruc61 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e3071165f1e79366','2402036','wait',39,'ari17112337378,753000005')
20240313@175115.8823 27e3svni9ufj6oon55vg7ruc61 Query : use flama_phc
20240313@175115.8826 27e3svni9ufj6oon55vg7ruc61 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175115.8836 27e3svni9ufj6oon55vg7ruc61 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='571';
20240313@175115.8851 27e3svni9ufj6oon55vg7ruc61 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='571';
20240313@175115.8863 27e3svni9ufj6oon55vg7ruc61 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='571';
20240313@175115.8874 27e3svni9ufj6oon55vg7ruc61 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='571';
20240313@175115.9265 feboh1m3vdk707kv29ejd3vkli Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175115.9278 feboh1m3vdk707kv29ejd3vkli Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175115.9296 feboh1m3vdk707kv29ejd3vkli Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='572';
20240313@175115.9347 feboh1m3vdk707kv29ejd3vkli Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='572';
20240313@175115.9361 feboh1m3vdk707kv29ejd3vkli Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='572';
20240313@175115.9374 feboh1m3vdk707kv29ejd3vkli Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='572';
20240313@175115.9385 feboh1m3vdk707kv29ejd3vkli Query : use flama_phc
20240313@175115.9388 feboh1m3vdk707kv29ejd3vkli Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175115.9424 feboh1m3vdk707kv29ejd3vkli Query : use flama_phc
20240313@175115.9427 feboh1m3vdk707kv29ejd3vkli Query : select no, estab,szadrsdesc from szadrs where u_coddest=168
20240313@175115.9522 feboh1m3vdk707kv29ejd3vkli Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1470.00.1'
20240313@175115.9670 feboh1m3vdk707kv29ejd3vkli Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4860.00.1'
20240313@175115.9822 feboh1m3vdk707kv29ejd3vkli 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'
20240313@175115.9833 feboh1m3vdk707kv29ejd3vkli Query : use flama_phc
20240313@175115.9836 feboh1m3vdk707kv29ejd3vkli Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175115.9848 feboh1m3vdk707kv29ejd3vkli Query : use flama_phc
20240313@175115.9851 feboh1m3vdk707kv29ejd3vkli Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175115.9860 feboh1m3vdk707kv29ejd3vkli Query : use flama_phc
20240313@175115.9863 feboh1m3vdk707kv29ejd3vkli Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175115.9874 feboh1m3vdk707kv29ejd3vkli Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175115.9903 feboh1m3vdk707kv29ejd3vkli Query : use flama_phc
20240313@175115.9907 feboh1m3vdk707kv29ejd3vkli Query : select top 1 ~inactivo valor from cl where no = '101847' and estab = 0 order by inactivo desc
20240313@175116.1100 feboh1m3vdk707kv29ejd3vkli Query : use flama_phc
20240313@175116.1400 feboh1m3vdk707kv29ejd3vkli Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175116.2500 feboh1m3vdk707kv29ejd3vkli Query : use flama_phc
20240313@175116.2800 feboh1m3vdk707kv29ejd3vkli Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175116.3900 feboh1m3vdk707kv29ejd3vkli Query : use flama_phc
20240313@175116.4400 feboh1m3vdk707kv29ejd3vkli Query : select szadrsstamp valor from szadrs where szadrsdesc='media markt aveiro-prod.inf.e elect.,lda'
20240313@175116.5600 feboh1m3vdk707kv29ejd3vkli Query : use flama_phc
20240313@175116.5900 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from td where ndoc = 39
20240313@175116.6900 feboh1m3vdk707kv29ejd3vkli Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175116.8000 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175116.1030 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175116.1210 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175116.1340 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175116.1630 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175116.1760 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175116.1900 feboh1m3vdk707kv29ejd3vkli Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175116.2950 feboh1m3vdk707kv29ejd3vkli Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175116.3050 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175116.3190 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175116.3280 feboh1m3vdk707kv29ejd3vkli Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e9072865f1e79404' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175116.5280 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175116.5440 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175116.5760 feboh1m3vdk707kv29ejd3vkli Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175116.5810 feboh1m3vdk707kv29ejd3vkli Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175116.5860 feboh1m3vdk707kv29ejd3vkli Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175116.5920 feboh1m3vdk707kv29ejd3vkli Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175116.5960 feboh1m3vdk707kv29ejd3vkli Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175116.6010 feboh1m3vdk707kv29ejd3vkli Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175116.6050 feboh1m3vdk707kv29ejd3vkli Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e9072865f1e79404',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175116.8830 feboh1m3vdk707kv29ejd3vkli Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175116.8990 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175116.9210 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175116.9390 feboh1m3vdk707kv29ejd3vkli Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e9072865f1e79404',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',413,101847,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1821',?,?,?,?)
20240313@175116.1268 feboh1m3vdk707kv29ejd3vkli Query : use flama_phc
20240313@175116.1272 feboh1m3vdk707kv29ejd3vkli Query : select st.usalote valor from st where st.ref = '324.1470.00.1'
20240313@175116.1283 feboh1m3vdk707kv29ejd3vkli Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1470.00.1'
20240313@175116.1446 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175116.1462 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175116.1486 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175116.1505 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175116.1510 feboh1m3vdk707kv29ejd3vkli Query : select sestamp valor from se where ref ='324.1470.00.1' and lote = 'r2100312200a'
20240313@175116.1533 feboh1m3vdk707kv29ejd3vkli Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175116.1544 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175116.1565 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175116.1600 feboh1m3vdk707kv29ejd3vkli Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e3346965f1e79425',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65f1e9072865f1e79404' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175116.1886 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175116.1903 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175116.1908 feboh1m3vdk707kv29ejd3vkli Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e3346965f1e79425','aut65f1e9072865f1e79404' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175116.1912 feboh1m3vdk707kv29ejd3vkli Query : use flama_phc
20240313@175116.1916 feboh1m3vdk707kv29ejd3vkli Query : select st.usalote valor from st where st.ref = '304.4860.00.1'
20240313@175116.1927 feboh1m3vdk707kv29ejd3vkli Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4860.00.1'
20240313@175116.2088 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175116.2105 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175116.2133 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175116.2146 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175116.2151 feboh1m3vdk707kv29ejd3vkli Query : select sestamp valor from se where ref ='304.4860.00.1' and lote = '20210723'
20240313@175116.2178 feboh1m3vdk707kv29ejd3vkli Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175116.2188 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175116.2201 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175116.2232 feboh1m3vdk707kv29ejd3vkli Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e9979465f1e79435',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65f1e9072865f1e79404' ,0,0 ,2,23.00,20000,?,?,?,?)
20240313@175116.2521 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175116.2542 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175116.2546 feboh1m3vdk707kv29ejd3vkli Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e9979465f1e79435','aut65f1e9072865f1e79404' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175116.2550 feboh1m3vdk707kv29ejd3vkli Query : use flama_phc
20240313@175116.2553 feboh1m3vdk707kv29ejd3vkli Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240313@175116.2564 feboh1m3vdk707kv29ejd3vkli Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240313@175116.2575 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175116.2588 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175116.2612 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175116.2631 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175116.2636 feboh1m3vdk707kv29ejd3vkli Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2301201200a'
20240313@175116.2647 feboh1m3vdk707kv29ejd3vkli Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175116.2657 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175116.2678 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175116.4065 feboh1m3vdk707kv29ejd3vkli Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e0990465f1e79440',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65f1e9072865f1e79404' ,0,0 ,2,23.00,30000,?,?,?,?)
20240313@175116.4350 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175116.4366 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175116.4372 feboh1m3vdk707kv29ejd3vkli Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e0990465f1e79440','aut65f1e9072865f1e79404' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175116.4377 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175116.4395 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175116.4418 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175116.4432 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175116.4436 feboh1m3vdk707kv29ejd3vkli Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175116.4447 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175116.4467 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175116.4488 feboh1m3vdk707kv29ejd3vkli Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e5137765f1e7946c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e9072865f1e79404' ,0,0 ,2,23.00,40000,?,?,?)
20240313@175116.4782 feboh1m3vdk707kv29ejd3vkli Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175116.4798 feboh1m3vdk707kv29ejd3vkli Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175116.4802 feboh1m3vdk707kv29ejd3vkli Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e5137765f1e7946c','aut65f1e9072865f1e79404' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175116.4807 feboh1m3vdk707kv29ejd3vkli Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e9072865f1e79404','2402038','wait',39,'ari17112337378,753000005')
20240313@175116.4853 feboh1m3vdk707kv29ejd3vkli Query : use flama_phc
20240313@175116.4856 feboh1m3vdk707kv29ejd3vkli Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175116.4867 feboh1m3vdk707kv29ejd3vkli Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='572';
20240313@175116.4893 feboh1m3vdk707kv29ejd3vkli Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='572';
20240313@175116.4905 feboh1m3vdk707kv29ejd3vkli Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='572';
20240313@175116.4919 feboh1m3vdk707kv29ejd3vkli Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='572';
20240313@175116.5322 m33sgrtgh11g0lv9qts7tbr98n Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175116.5335 m33sgrtgh11g0lv9qts7tbr98n Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175116.5356 m33sgrtgh11g0lv9qts7tbr98n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='573';
20240313@175116.5398 m33sgrtgh11g0lv9qts7tbr98n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='573';
20240313@175116.5412 m33sgrtgh11g0lv9qts7tbr98n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='573';
20240313@175116.5425 m33sgrtgh11g0lv9qts7tbr98n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='573';
20240313@175116.5436 m33sgrtgh11g0lv9qts7tbr98n Query : use flama_phc
20240313@175116.5440 m33sgrtgh11g0lv9qts7tbr98n Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175116.5454 m33sgrtgh11g0lv9qts7tbr98n Query : use flama_phc
20240313@175116.5457 m33sgrtgh11g0lv9qts7tbr98n Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240313@175116.5543 m33sgrtgh11g0lv9qts7tbr98n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1690.00.1'
20240313@175116.5691 m33sgrtgh11g0lv9qts7tbr98n Query : use flama_phc
20240313@175116.5696 m33sgrtgh11g0lv9qts7tbr98n Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175116.5711 m33sgrtgh11g0lv9qts7tbr98n Query : use flama_phc
20240313@175116.5714 m33sgrtgh11g0lv9qts7tbr98n Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175116.5727 m33sgrtgh11g0lv9qts7tbr98n Query : use flama_phc
20240313@175116.5731 m33sgrtgh11g0lv9qts7tbr98n Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175116.5744 m33sgrtgh11g0lv9qts7tbr98n Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175116.5760 m33sgrtgh11g0lv9qts7tbr98n Query : use flama_phc
20240313@175116.5763 m33sgrtgh11g0lv9qts7tbr98n Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240313@175116.5858 m33sgrtgh11g0lv9qts7tbr98n Query : use flama_phc
20240313@175116.5861 m33sgrtgh11g0lv9qts7tbr98n Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175116.5872 m33sgrtgh11g0lv9qts7tbr98n Query : use flama_phc
20240313@175116.5875 m33sgrtgh11g0lv9qts7tbr98n Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175116.5887 m33sgrtgh11g0lv9qts7tbr98n Query : use flama_phc
20240313@175116.5890 m33sgrtgh11g0lv9qts7tbr98n Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240313@175116.5903 m33sgrtgh11g0lv9qts7tbr98n Query : use flama_phc
20240313@175116.5906 m33sgrtgh11g0lv9qts7tbr98n Query : select 1 valor from td where ndoc = 39
20240313@175116.5917 m33sgrtgh11g0lv9qts7tbr98n Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175116.5928 m33sgrtgh11g0lv9qts7tbr98n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175116.5942 m33sgrtgh11g0lv9qts7tbr98n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175116.5959 m33sgrtgh11g0lv9qts7tbr98n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175116.5971 m33sgrtgh11g0lv9qts7tbr98n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175116.5999 m33sgrtgh11g0lv9qts7tbr98n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175116.6013 m33sgrtgh11g0lv9qts7tbr98n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175116.6023 m33sgrtgh11g0lv9qts7tbr98n Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175116.6283 m33sgrtgh11g0lv9qts7tbr98n Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175116.6295 m33sgrtgh11g0lv9qts7tbr98n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175116.6310 m33sgrtgh11g0lv9qts7tbr98n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175116.6322 m33sgrtgh11g0lv9qts7tbr98n Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e4615065f1e79493' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175116.6506 m33sgrtgh11g0lv9qts7tbr98n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175116.6521 m33sgrtgh11g0lv9qts7tbr98n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175116.6550 m33sgrtgh11g0lv9qts7tbr98n Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175116.6556 m33sgrtgh11g0lv9qts7tbr98n Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175116.6560 m33sgrtgh11g0lv9qts7tbr98n Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175116.6565 m33sgrtgh11g0lv9qts7tbr98n Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175116.6570 m33sgrtgh11g0lv9qts7tbr98n Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175116.6574 m33sgrtgh11g0lv9qts7tbr98n Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175116.6579 m33sgrtgh11g0lv9qts7tbr98n Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e4615065f1e79493',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175116.6991 m33sgrtgh11g0lv9qts7tbr98n Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175116.8260 m33sgrtgh11g0lv9qts7tbr98n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175116.8815 m33sgrtgh11g0lv9qts7tbr98n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175116.9227 m33sgrtgh11g0lv9qts7tbr98n Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e4615065f1e79493',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',414,100810,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1821',?,?,?,?)
20240313@175116.9533 m33sgrtgh11g0lv9qts7tbr98n Query : use flama_phc
20240313@175116.9537 m33sgrtgh11g0lv9qts7tbr98n Query : select st.usalote valor from st where st.ref = '324.1690.00.1'
20240313@175116.9555 m33sgrtgh11g0lv9qts7tbr98n Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1690.00.1'
20240313@175116.9704 m33sgrtgh11g0lv9qts7tbr98n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175116.9718 m33sgrtgh11g0lv9qts7tbr98n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175116.9742 m33sgrtgh11g0lv9qts7tbr98n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175116.9755 m33sgrtgh11g0lv9qts7tbr98n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175116.9759 m33sgrtgh11g0lv9qts7tbr98n Query : select sestamp valor from se where ref ='324.1690.00.1' and lote = 'r2100755200a'
20240313@175116.9770 m33sgrtgh11g0lv9qts7tbr98n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175116.9780 m33sgrtgh11g0lv9qts7tbr98n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175116.9794 m33sgrtgh11g0lv9qts7tbr98n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175116.9817 m33sgrtgh11g0lv9qts7tbr98n Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e3066165f1e794ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut65f1e4615065f1e79493' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175117.8900 m33sgrtgh11g0lv9qts7tbr98n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175117.1050 m33sgrtgh11g0lv9qts7tbr98n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175117.1100 m33sgrtgh11g0lv9qts7tbr98n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e3066165f1e794ee','aut65f1e4615065f1e79493' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175117.1150 m33sgrtgh11g0lv9qts7tbr98n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175117.1280 m33sgrtgh11g0lv9qts7tbr98n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175117.1520 m33sgrtgh11g0lv9qts7tbr98n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175117.1640 m33sgrtgh11g0lv9qts7tbr98n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175117.1690 m33sgrtgh11g0lv9qts7tbr98n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175117.1780 m33sgrtgh11g0lv9qts7tbr98n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175117.1910 m33sgrtgh11g0lv9qts7tbr98n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175117.2150 m33sgrtgh11g0lv9qts7tbr98n Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e1518365f1e79504',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e4615065f1e79493' ,0,0 ,2,23.00,20000,?,?,?)
20240313@175117.5080 m33sgrtgh11g0lv9qts7tbr98n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175117.5240 m33sgrtgh11g0lv9qts7tbr98n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175117.5280 m33sgrtgh11g0lv9qts7tbr98n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e1518365f1e79504','aut65f1e4615065f1e79493' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175117.5320 m33sgrtgh11g0lv9qts7tbr98n Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e4615065f1e79493','2402039','wait',39,'ari17112337378,753000005')
20240313@175117.5480 m33sgrtgh11g0lv9qts7tbr98n Query : use flama_phc
20240313@175117.5510 m33sgrtgh11g0lv9qts7tbr98n Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175117.5620 m33sgrtgh11g0lv9qts7tbr98n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='573';
20240313@175117.5770 m33sgrtgh11g0lv9qts7tbr98n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='573';
20240313@175117.5900 m33sgrtgh11g0lv9qts7tbr98n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='573';
20240313@175117.6020 m33sgrtgh11g0lv9qts7tbr98n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='573';
20240313@175117.2344 tpsjhst9o8o3o7spv9ihjk0pn2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175117.2791 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175117.2962 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='574';
20240313@175117.3005 tpsjhst9o8o3o7spv9ihjk0pn2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='574';
20240313@175117.3019 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='574';
20240313@175117.3031 tpsjhst9o8o3o7spv9ihjk0pn2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='574';
20240313@175117.3042 tpsjhst9o8o3o7spv9ihjk0pn2 Query : use flama_phc
20240313@175117.3046 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175117.3058 tpsjhst9o8o3o7spv9ihjk0pn2 Query : use flama_phc
20240313@175117.3061 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4784
20240313@175117.3167 tpsjhst9o8o3o7spv9ihjk0pn2 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'
20240313@175117.3316 tpsjhst9o8o3o7spv9ihjk0pn2 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'
20240313@175117.3465 tpsjhst9o8o3o7spv9ihjk0pn2 Query : use flama_phc
20240313@175117.3468 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175117.3480 tpsjhst9o8o3o7spv9ihjk0pn2 Query : use flama_phc
20240313@175117.3483 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175117.3493 tpsjhst9o8o3o7spv9ihjk0pn2 Query : use flama_phc
20240313@175117.3496 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175117.3506 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175117.3520 tpsjhst9o8o3o7spv9ihjk0pn2 Query : use flama_phc
20240313@175117.3523 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 ~inactivo valor from cl where no = '102410' and estab = 0 order by inactivo desc
20240313@175117.3619 tpsjhst9o8o3o7spv9ihjk0pn2 Query : use flama_phc
20240313@175117.3623 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175117.3635 tpsjhst9o8o3o7spv9ihjk0pn2 Query : use flama_phc
20240313@175117.3638 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175117.3648 tpsjhst9o8o3o7spv9ihjk0pn2 Query : use flama_phc
20240313@175117.3651 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select szadrsstamp valor from szadrs where szadrsdesc='102410 - media markt matosinhos - prod inform e el'
20240313@175117.3664 tpsjhst9o8o3o7spv9ihjk0pn2 Query : use flama_phc
20240313@175117.3667 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from td where ndoc = 39
20240313@175117.3676 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175117.3689 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175117.3703 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175117.3719 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175117.3732 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175117.3759 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175117.3772 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175117.3781 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175117.3875 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175117.3884 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175117.3898 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175117.3907 tpsjhst9o8o3o7spv9ihjk0pn2 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e7558865f1e7955c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175117.4092 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175117.4107 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175117.4134 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175117.4139 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175117.4144 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175117.4148 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175117.4153 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175117.4158 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175117.4162 tpsjhst9o8o3o7spv9ihjk0pn2 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e7558865f1e7955c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175117.4440 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175117.4455 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175117.4469 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175117.4486 tpsjhst9o8o3o7spv9ihjk0pn2 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e7558865f1e7955c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',415,102410,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1821',?,?,?,?)
20240313@175117.4796 tpsjhst9o8o3o7spv9ihjk0pn2 Query : use flama_phc
20240313@175117.4800 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240313@175117.4814 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20240313@175117.5122 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175117.5136 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175117.5175 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175117.5189 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175117.5194 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2300747200a'
20240313@175117.5208 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175117.5218 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175117.5231 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175117.5263 tpsjhst9o8o3o7spv9ihjk0pn2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e3668465f1e7957f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut65f1e7558865f1e7955c' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175117.5819 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175117.6634 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175117.6774 tpsjhst9o8o3o7spv9ihjk0pn2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e3668465f1e7957f','aut65f1e7558865f1e7955c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175117.6780 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175117.6795 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175117.6817 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175117.6830 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175117.6834 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175117.6844 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175117.6856 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175117.6878 tpsjhst9o8o3o7spv9ihjk0pn2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e2980365f1e795a7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e7558865f1e7955c' ,0,0 ,2,23.00,20000,?,?,?)
20240313@175117.7150 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175117.7165 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175117.7170 tpsjhst9o8o3o7spv9ihjk0pn2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e2980365f1e795a7','aut65f1e7558865f1e7955c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175117.7174 tpsjhst9o8o3o7spv9ihjk0pn2 Query : use flama_phc
20240313@175117.7177 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240313@175117.7188 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1834.00.1'
20240313@175117.7339 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175117.7357 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175117.7384 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175117.7398 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175117.7402 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2300974200a'
20240313@175117.7475 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175117.7485 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175117.7498 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175117.7521 tpsjhst9o8o3o7spv9ihjk0pn2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e4402165f1e795b6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65f1e7558865f1e7955c' ,0,0 ,2,23.00,40000,?,?,?,?)
20240313@175117.7787 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175117.7806 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175117.7812 tpsjhst9o8o3o7spv9ihjk0pn2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e4402165f1e795b6','aut65f1e7558865f1e7955c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175117.7818 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175117.7834 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175117.7860 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175117.7873 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175117.7877 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175117.7887 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175117.7903 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175117.7925 tpsjhst9o8o3o7spv9ihjk0pn2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e2061765f1e795c0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e7558865f1e7955c' ,0,0 ,2,23.00,50000,?,?,?)
20240313@175117.8243 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175117.8258 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175117.8262 tpsjhst9o8o3o7spv9ihjk0pn2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e2061765f1e795c0','aut65f1e7558865f1e7955c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175117.8266 tpsjhst9o8o3o7spv9ihjk0pn2 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e7558865f1e7955c','2402040','wait',39,'ari17112337378,753000005')
20240313@175117.8287 tpsjhst9o8o3o7spv9ihjk0pn2 Query : use flama_phc
20240313@175117.8290 tpsjhst9o8o3o7spv9ihjk0pn2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175117.8306 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='574';
20240313@175117.8321 tpsjhst9o8o3o7spv9ihjk0pn2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='574';
20240313@175117.8337 tpsjhst9o8o3o7spv9ihjk0pn2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='574';
20240313@175117.8350 tpsjhst9o8o3o7spv9ihjk0pn2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='574';
20240313@175117.8761 sbn9jagh76pcut9o6kiodjspef Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175117.8774 sbn9jagh76pcut9o6kiodjspef Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175117.8793 sbn9jagh76pcut9o6kiodjspef Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='575';
20240313@175117.8858 sbn9jagh76pcut9o6kiodjspef Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='575';
20240313@175117.8873 sbn9jagh76pcut9o6kiodjspef Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='575';
20240313@175117.8887 sbn9jagh76pcut9o6kiodjspef Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='575';
20240313@175117.8899 sbn9jagh76pcut9o6kiodjspef Query : use flama_phc
20240313@175117.8904 sbn9jagh76pcut9o6kiodjspef Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175117.8918 sbn9jagh76pcut9o6kiodjspef Query : use flama_phc
20240313@175117.8921 sbn9jagh76pcut9o6kiodjspef Query : select no, estab,szadrsdesc from szadrs where u_coddest=4784
20240313@175117.8964 sbn9jagh76pcut9o6kiodjspef Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.499.00.01'
20240313@175117.8975 sbn9jagh76pcut9o6kiodjspef 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'
20240313@175117.8986 sbn9jagh76pcut9o6kiodjspef Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1608.00.1'
20240313@175117.9146 sbn9jagh76pcut9o6kiodjspef Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1470.00.1'
20240313@175117.9159 sbn9jagh76pcut9o6kiodjspef 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'
20240313@175117.9169 sbn9jagh76pcut9o6kiodjspef Query : use flama_phc
20240313@175117.9172 sbn9jagh76pcut9o6kiodjspef Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175117.9185 sbn9jagh76pcut9o6kiodjspef Query : use flama_phc
20240313@175117.9187 sbn9jagh76pcut9o6kiodjspef Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175117.9198 sbn9jagh76pcut9o6kiodjspef Query : use flama_phc
20240313@175117.9201 sbn9jagh76pcut9o6kiodjspef Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175117.9212 sbn9jagh76pcut9o6kiodjspef Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175117.9226 sbn9jagh76pcut9o6kiodjspef Query : use flama_phc
20240313@175117.9229 sbn9jagh76pcut9o6kiodjspef Query : select top 1 ~inactivo valor from cl where no = '102410' and estab = 0 order by inactivo desc
20240313@175117.9240 sbn9jagh76pcut9o6kiodjspef Query : use flama_phc
20240313@175117.9243 sbn9jagh76pcut9o6kiodjspef Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175117.9254 sbn9jagh76pcut9o6kiodjspef Query : use flama_phc
20240313@175117.9256 sbn9jagh76pcut9o6kiodjspef Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175117.9267 sbn9jagh76pcut9o6kiodjspef Query : use flama_phc
20240313@175117.9273 sbn9jagh76pcut9o6kiodjspef Query : select szadrsstamp valor from szadrs where szadrsdesc='102410 - media markt matosinhos - prod inform e el'
20240313@175117.9285 sbn9jagh76pcut9o6kiodjspef Query : use flama_phc
20240313@175117.9288 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from td where ndoc = 39
20240313@175117.9300 sbn9jagh76pcut9o6kiodjspef Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175117.9311 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175117.9325 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175117.9343 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175117.9356 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175117.9385 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175117.9398 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175117.9409 sbn9jagh76pcut9o6kiodjspef Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175117.9508 sbn9jagh76pcut9o6kiodjspef Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175117.9521 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175117.9535 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175117.9546 sbn9jagh76pcut9o6kiodjspef Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e7620565f1e795e5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175117.9740 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175117.9756 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175117.9788 sbn9jagh76pcut9o6kiodjspef Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175117.9794 sbn9jagh76pcut9o6kiodjspef Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175117.9800 sbn9jagh76pcut9o6kiodjspef Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175117.9805 sbn9jagh76pcut9o6kiodjspef Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175117.9811 sbn9jagh76pcut9o6kiodjspef Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175117.9815 sbn9jagh76pcut9o6kiodjspef Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175117.9820 sbn9jagh76pcut9o6kiodjspef Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e7620565f1e795e5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175118.1180 sbn9jagh76pcut9o6kiodjspef Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175118.1360 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175118.1530 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175118.1740 sbn9jagh76pcut9o6kiodjspef Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e7620565f1e795e5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',416,102410,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1821',?,?,?,?)
20240313@175118.4950 sbn9jagh76pcut9o6kiodjspef Query : use flama_phc
20240313@175118.5000 sbn9jagh76pcut9o6kiodjspef Query : select st.usalote valor from st where st.ref = '324.499.00.01'
20240313@175118.5110 sbn9jagh76pcut9o6kiodjspef Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.499.00.01'
20240313@175118.5220 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175118.5350 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175118.5630 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175118.5760 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175118.5810 sbn9jagh76pcut9o6kiodjspef Query : select sestamp valor from se where ref ='324.499.00.01' and lote = 'r2100869200a'
20240313@175118.5910 sbn9jagh76pcut9o6kiodjspef Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175118.6000 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175118.6130 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175118.6350 sbn9jagh76pcut9o6kiodjspef Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e2297465f1e7960e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65f1e7620565f1e795e5' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175118.9110 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175118.9270 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175118.9310 sbn9jagh76pcut9o6kiodjspef Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e2297465f1e7960e','aut65f1e7620565f1e795e5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175118.9350 sbn9jagh76pcut9o6kiodjspef Query : use flama_phc
20240313@175118.9400 sbn9jagh76pcut9o6kiodjspef Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240313@175118.9510 sbn9jagh76pcut9o6kiodjspef Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240313@175118.9620 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175118.9760 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175118.9990 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175118.1013 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175118.1018 sbn9jagh76pcut9o6kiodjspef Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240313@175118.1029 sbn9jagh76pcut9o6kiodjspef Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175118.1038 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175118.1051 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175118.1074 sbn9jagh76pcut9o6kiodjspef Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e7591665f1e79619',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65f1e7620565f1e795e5' ,0,0 ,2,23.00,20000,?,?,?,?)
20240313@175118.1351 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175118.1367 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175118.1372 sbn9jagh76pcut9o6kiodjspef Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e7591665f1e79619','aut65f1e7620565f1e795e5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175118.1376 sbn9jagh76pcut9o6kiodjspef Query : use flama_phc
20240313@175118.1380 sbn9jagh76pcut9o6kiodjspef Query : select st.usalote valor from st where st.ref = '324.1608.00.1'
20240313@175118.1392 sbn9jagh76pcut9o6kiodjspef Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1608.00.1'
20240313@175118.1547 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175118.1563 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175118.1590 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175118.1604 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175118.1609 sbn9jagh76pcut9o6kiodjspef Query : select sestamp valor from se where ref ='324.1608.00.1' and lote = 'r2200658200a'
20240313@175118.1628 sbn9jagh76pcut9o6kiodjspef Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175118.1639 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175118.1653 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175118.1678 sbn9jagh76pcut9o6kiodjspef Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e3934565f1e79628',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut65f1e7620565f1e795e5' ,0,0 ,2,23.00,30000,?,?,?,?)
20240313@175118.1954 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175118.1970 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175118.1975 sbn9jagh76pcut9o6kiodjspef Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e3934565f1e79628','aut65f1e7620565f1e795e5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175118.1980 sbn9jagh76pcut9o6kiodjspef Query : use flama_phc
20240313@175118.1983 sbn9jagh76pcut9o6kiodjspef Query : select st.usalote valor from st where st.ref = '324.1470.00.1'
20240313@175118.1996 sbn9jagh76pcut9o6kiodjspef Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1470.00.1'
20240313@175118.2007 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175118.2021 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175118.2620 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175118.2680 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175118.3329 sbn9jagh76pcut9o6kiodjspef Query : select sestamp valor from se where ref ='324.1470.00.1' and lote = 'r2100312200a'
20240313@175118.3443 sbn9jagh76pcut9o6kiodjspef Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175118.3453 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175118.3466 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175118.3489 sbn9jagh76pcut9o6kiodjspef Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e7246365f1e79654',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65f1e7620565f1e795e5' ,0,0 ,2,23.00,40000,?,?,?,?)
20240313@175118.3763 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175118.3798 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175118.3802 sbn9jagh76pcut9o6kiodjspef Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e7246365f1e79654','aut65f1e7620565f1e795e5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175118.3807 sbn9jagh76pcut9o6kiodjspef Query : use flama_phc
20240313@175118.3810 sbn9jagh76pcut9o6kiodjspef Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240313@175118.3820 sbn9jagh76pcut9o6kiodjspef Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240313@175118.3830 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175118.3844 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175118.4194 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175118.4491 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175118.4572 sbn9jagh76pcut9o6kiodjspef Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2301201200a'
20240313@175118.4861 sbn9jagh76pcut9o6kiodjspef Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175118.5201 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175118.5829 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175118.6254 sbn9jagh76pcut9o6kiodjspef Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e0345365f1e7967e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65f1e7620565f1e795e5' ,0,0 ,2,23.00,50000,?,?,?,?)
20240313@175118.6710 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175118.6852 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175118.6880 sbn9jagh76pcut9o6kiodjspef Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e0345365f1e7967e','aut65f1e7620565f1e795e5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175118.7010 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175118.7148 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175118.7197 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175118.7274 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175118.7281 sbn9jagh76pcut9o6kiodjspef Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175118.7292 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175118.7306 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175118.7331 sbn9jagh76pcut9o6kiodjspef Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e8996165f1e796b2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e7620565f1e795e5' ,0,0 ,2,23.00,60000,?,?,?)
20240313@175118.7732 sbn9jagh76pcut9o6kiodjspef Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175118.7749 sbn9jagh76pcut9o6kiodjspef Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175118.7754 sbn9jagh76pcut9o6kiodjspef Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e8996165f1e796b2','aut65f1e7620565f1e795e5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175118.7758 sbn9jagh76pcut9o6kiodjspef Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e7620565f1e795e5','2402041','wait',39,'ari17112337378,753000005')
20240313@175118.7777 sbn9jagh76pcut9o6kiodjspef Query : use flama_phc
20240313@175118.7780 sbn9jagh76pcut9o6kiodjspef Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175118.7791 sbn9jagh76pcut9o6kiodjspef Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='575';
20240313@175118.7962 sbn9jagh76pcut9o6kiodjspef Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='575';
20240313@175118.8014 sbn9jagh76pcut9o6kiodjspef Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='575';
20240313@175118.8082 sbn9jagh76pcut9o6kiodjspef Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='575';
20240313@175208.2387 shafseae2e7qamis25f34kn7qc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175208.2402 shafseae2e7qamis25f34kn7qc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175208.2420 shafseae2e7qamis25f34kn7qc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='576';
20240313@175208.2462 shafseae2e7qamis25f34kn7qc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='576';
20240313@175208.2475 shafseae2e7qamis25f34kn7qc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='576';
20240313@175208.2566 shafseae2e7qamis25f34kn7qc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='576';
20240313@175208.2581 shafseae2e7qamis25f34kn7qc Query : use flama_phc
20240313@175208.2584 shafseae2e7qamis25f34kn7qc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175208.2599 shafseae2e7qamis25f34kn7qc Query : use flama_phc
20240313@175208.2602 shafseae2e7qamis25f34kn7qc Query : select no, estab,szadrsdesc from szadrs where u_coddest=4787
20240313@175208.2695 shafseae2e7qamis25f34kn7qc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20240313@175208.2843 shafseae2e7qamis25f34kn7qc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20240313@175208.2854 shafseae2e7qamis25f34kn7qc Query : use flama_phc
20240313@175208.2857 shafseae2e7qamis25f34kn7qc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175208.2873 shafseae2e7qamis25f34kn7qc Query : use flama_phc
20240313@175208.2876 shafseae2e7qamis25f34kn7qc Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175208.2887 shafseae2e7qamis25f34kn7qc Query : use flama_phc
20240313@175208.2890 shafseae2e7qamis25f34kn7qc Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175208.2902 shafseae2e7qamis25f34kn7qc Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175208.2917 shafseae2e7qamis25f34kn7qc Query : use flama_phc
20240313@175208.2920 shafseae2e7qamis25f34kn7qc Query : select top 1 ~inactivo valor from cl where no = '101846' and estab = 0 order by inactivo desc
20240313@175208.3015 shafseae2e7qamis25f34kn7qc Query : use flama_phc
20240313@175208.3018 shafseae2e7qamis25f34kn7qc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175208.3068 shafseae2e7qamis25f34kn7qc Query : use flama_phc
20240313@175208.3072 shafseae2e7qamis25f34kn7qc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175208.3082 shafseae2e7qamis25f34kn7qc Query : use flama_phc
20240313@175208.3085 shafseae2e7qamis25f34kn7qc Query : select szadrsstamp valor from szadrs where szadrsdesc='101846 - media markt sintra-prod.inf.e elect. lda'
20240313@175208.3105 shafseae2e7qamis25f34kn7qc Query : use flama_phc
20240313@175208.3108 shafseae2e7qamis25f34kn7qc Query : select 1 valor from td where ndoc = 39
20240313@175208.3118 shafseae2e7qamis25f34kn7qc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175208.3130 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175208.3145 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175208.3161 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175208.3174 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175208.3200 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175208.3213 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175208.3224 shafseae2e7qamis25f34kn7qc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175208.3522 shafseae2e7qamis25f34kn7qc Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175208.3607 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175208.3622 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175208.3632 shafseae2e7qamis25f34kn7qc Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e8578665f1e7c84e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175208.3833 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175208.3848 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175208.3876 shafseae2e7qamis25f34kn7qc Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175208.3881 shafseae2e7qamis25f34kn7qc Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175208.3885 shafseae2e7qamis25f34kn7qc Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175208.3890 shafseae2e7qamis25f34kn7qc Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175208.3895 shafseae2e7qamis25f34kn7qc Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175208.3900 shafseae2e7qamis25f34kn7qc Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175208.3905 shafseae2e7qamis25f34kn7qc Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e8578665f1e7c84e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175208.4197 shafseae2e7qamis25f34kn7qc Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175208.4212 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175208.4226 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175208.4242 shafseae2e7qamis25f34kn7qc Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e8578665f1e7c84e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',417,101846,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175208.4550 shafseae2e7qamis25f34kn7qc Query : use flama_phc
20240313@175208.4554 shafseae2e7qamis25f34kn7qc Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20240313@175208.4566 shafseae2e7qamis25f34kn7qc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1879.00.1'
20240313@175208.5838 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175208.5870 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175208.5897 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175208.5911 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175208.5916 shafseae2e7qamis25f34kn7qc Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2301096100a'
20240313@175208.5973 shafseae2e7qamis25f34kn7qc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175208.6105 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175208.6121 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175208.6149 shafseae2e7qamis25f34kn7qc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e4596065f1e7c895',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut65f1e8578665f1e7c84e' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175208.6446 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175208.6462 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175208.6467 shafseae2e7qamis25f34kn7qc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e4596065f1e7c895','aut65f1e8578665f1e7c84e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175208.6477 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175208.6490 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175208.6515 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175208.6528 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175208.6532 shafseae2e7qamis25f34kn7qc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175208.6556 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175208.6569 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175208.6596 shafseae2e7qamis25f34kn7qc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e8799865f1e7c8a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e8578665f1e7c84e' ,0,0 ,2,23.00,20000,?,?,?)
20240313@175208.6871 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175208.6887 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175208.6892 shafseae2e7qamis25f34kn7qc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e8799865f1e7c8a0','aut65f1e8578665f1e7c84e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175208.6897 shafseae2e7qamis25f34kn7qc Query : use flama_phc
20240313@175208.6901 shafseae2e7qamis25f34kn7qc Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20240313@175208.6937 shafseae2e7qamis25f34kn7qc Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1879.00.1'
20240313@175208.6949 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175208.6966 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175208.6991 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175208.7004 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175208.7009 shafseae2e7qamis25f34kn7qc Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2301096100a'
20240313@175208.7018 shafseae2e7qamis25f34kn7qc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175208.7028 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175208.7060 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175208.7083 shafseae2e7qamis25f34kn7qc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e0778965f1e7c8ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut65f1e8578665f1e7c84e' ,0,0 ,2,23.00,40000,?,?,?,?)
20240313@175208.7370 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175208.7387 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175208.7395 shafseae2e7qamis25f34kn7qc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e0778965f1e7c8ab','aut65f1e8578665f1e7c84e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175208.7401 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175208.7415 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175208.7439 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175208.7452 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175208.7457 shafseae2e7qamis25f34kn7qc Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175208.7467 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175208.7479 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175208.7505 shafseae2e7qamis25f34kn7qc Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e9627065f1e7c8b6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e8578665f1e7c84e' ,0,0 ,2,23.00,50000,?,?,?)
20240313@175208.7789 shafseae2e7qamis25f34kn7qc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175208.7804 shafseae2e7qamis25f34kn7qc Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175208.7809 shafseae2e7qamis25f34kn7qc Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e9627065f1e7c8b6','aut65f1e8578665f1e7c84e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175208.7814 shafseae2e7qamis25f34kn7qc Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e8578665f1e7c84e','2402042','wait',39,'ari17112337378,753000005')
20240313@175208.7831 shafseae2e7qamis25f34kn7qc Query : use flama_phc
20240313@175208.7834 shafseae2e7qamis25f34kn7qc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175208.7848 shafseae2e7qamis25f34kn7qc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='576';
20240313@175208.7864 shafseae2e7qamis25f34kn7qc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='576';
20240313@175208.7879 shafseae2e7qamis25f34kn7qc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='576';
20240313@175208.7892 shafseae2e7qamis25f34kn7qc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='576';
20240313@175208.8246 blc5mq8fg7ese9jssk596bq0a7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175208.8259 blc5mq8fg7ese9jssk596bq0a7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175208.8276 blc5mq8fg7ese9jssk596bq0a7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='577';
20240313@175208.8316 blc5mq8fg7ese9jssk596bq0a7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='577';
20240313@175208.8330 blc5mq8fg7ese9jssk596bq0a7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='577';
20240313@175208.8349 blc5mq8fg7ese9jssk596bq0a7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='577';
20240313@175208.8361 blc5mq8fg7ese9jssk596bq0a7 Query : use flama_phc
20240313@175208.8365 blc5mq8fg7ese9jssk596bq0a7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175208.8378 blc5mq8fg7ese9jssk596bq0a7 Query : use flama_phc
20240313@175208.8382 blc5mq8fg7ese9jssk596bq0a7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4785
20240313@175208.8469 blc5mq8fg7ese9jssk596bq0a7 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'
20240313@175208.8481 blc5mq8fg7ese9jssk596bq0a7 Query : use flama_phc
20240313@175208.8484 blc5mq8fg7ese9jssk596bq0a7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175208.8496 blc5mq8fg7ese9jssk596bq0a7 Query : use flama_phc
20240313@175208.8499 blc5mq8fg7ese9jssk596bq0a7 Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175208.8509 blc5mq8fg7ese9jssk596bq0a7 Query : use flama_phc
20240313@175208.8512 blc5mq8fg7ese9jssk596bq0a7 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175208.8522 blc5mq8fg7ese9jssk596bq0a7 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175208.8538 blc5mq8fg7ese9jssk596bq0a7 Query : use flama_phc
20240313@175208.8541 blc5mq8fg7ese9jssk596bq0a7 Query : select top 1 ~inactivo valor from cl where no = '102199' and estab = 0 order by inactivo desc
20240313@175208.8641 blc5mq8fg7ese9jssk596bq0a7 Query : use flama_phc
20240313@175208.8646 blc5mq8fg7ese9jssk596bq0a7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175208.8657 blc5mq8fg7ese9jssk596bq0a7 Query : use flama_phc
20240313@175208.8660 blc5mq8fg7ese9jssk596bq0a7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175208.8670 blc5mq8fg7ese9jssk596bq0a7 Query : use flama_phc
20240313@175208.8672 blc5mq8fg7ese9jssk596bq0a7 Query : select szadrsstamp valor from szadrs where szadrsdesc='102199 - media markt setÚbal, lda.'
20240313@175208.8691 blc5mq8fg7ese9jssk596bq0a7 Query : use flama_phc
20240313@175208.8695 blc5mq8fg7ese9jssk596bq0a7 Query : select 1 valor from td where ndoc = 39
20240313@175208.8704 blc5mq8fg7ese9jssk596bq0a7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175208.8714 blc5mq8fg7ese9jssk596bq0a7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175208.8727 blc5mq8fg7ese9jssk596bq0a7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175208.8742 blc5mq8fg7ese9jssk596bq0a7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175208.8754 blc5mq8fg7ese9jssk596bq0a7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175208.8806 blc5mq8fg7ese9jssk596bq0a7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175208.8818 blc5mq8fg7ese9jssk596bq0a7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175208.8827 blc5mq8fg7ese9jssk596bq0a7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175208.8932 blc5mq8fg7ese9jssk596bq0a7 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175208.8942 blc5mq8fg7ese9jssk596bq0a7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175208.8956 blc5mq8fg7ese9jssk596bq0a7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175208.8965 blc5mq8fg7ese9jssk596bq0a7 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e4249065f1e7c8d7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175208.9288 blc5mq8fg7ese9jssk596bq0a7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175208.9305 blc5mq8fg7ese9jssk596bq0a7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175208.9333 blc5mq8fg7ese9jssk596bq0a7 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175208.9347 blc5mq8fg7ese9jssk596bq0a7 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175208.9352 blc5mq8fg7ese9jssk596bq0a7 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175208.9357 blc5mq8fg7ese9jssk596bq0a7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175208.9361 blc5mq8fg7ese9jssk596bq0a7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175208.9366 blc5mq8fg7ese9jssk596bq0a7 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175208.9370 blc5mq8fg7ese9jssk596bq0a7 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e4249065f1e7c8d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175208.9754 blc5mq8fg7ese9jssk596bq0a7 Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175208.9901 blc5mq8fg7ese9jssk596bq0a7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175208.9916 blc5mq8fg7ese9jssk596bq0a7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175208.9945 blc5mq8fg7ese9jssk596bq0a7 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e4249065f1e7c8d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',418,102199,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175209.3990 blc5mq8fg7ese9jssk596bq0a7 Query : use flama_phc
20240313@175209.4040 blc5mq8fg7ese9jssk596bq0a7 Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240313@175209.4150 blc5mq8fg7ese9jssk596bq0a7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1834.00.1'
20240313@175209.4260 blc5mq8fg7ese9jssk596bq0a7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175209.4390 blc5mq8fg7ese9jssk596bq0a7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175209.4620 blc5mq8fg7ese9jssk596bq0a7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175209.4780 blc5mq8fg7ese9jssk596bq0a7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175209.4820 blc5mq8fg7ese9jssk596bq0a7 Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2300974200a'
20240313@175209.4930 blc5mq8fg7ese9jssk596bq0a7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175209.5030 blc5mq8fg7ese9jssk596bq0a7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175209.5160 blc5mq8fg7ese9jssk596bq0a7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175209.5370 blc5mq8fg7ese9jssk596bq0a7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e9541365f1e7c90c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65f1e4249065f1e7c8d7' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175209.8160 blc5mq8fg7ese9jssk596bq0a7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175209.8340 blc5mq8fg7ese9jssk596bq0a7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175209.8390 blc5mq8fg7ese9jssk596bq0a7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e9541365f1e7c90c','aut65f1e4249065f1e7c8d7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175209.8440 blc5mq8fg7ese9jssk596bq0a7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175209.8580 blc5mq8fg7ese9jssk596bq0a7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175209.8820 blc5mq8fg7ese9jssk596bq0a7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175209.8940 blc5mq8fg7ese9jssk596bq0a7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175209.8980 blc5mq8fg7ese9jssk596bq0a7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175209.9080 blc5mq8fg7ese9jssk596bq0a7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175209.9200 blc5mq8fg7ese9jssk596bq0a7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175209.9470 blc5mq8fg7ese9jssk596bq0a7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e1885665f1e7c916',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e4249065f1e7c8d7' ,0,0 ,2,23.00,20000,?,?,?)
20240313@175209.1229 blc5mq8fg7ese9jssk596bq0a7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175209.1245 blc5mq8fg7ese9jssk596bq0a7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175209.1250 blc5mq8fg7ese9jssk596bq0a7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e1885665f1e7c916','aut65f1e4249065f1e7c8d7' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175209.1255 blc5mq8fg7ese9jssk596bq0a7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e4249065f1e7c8d7','2402050','wait',39,'ari17112337378,753000005')
20240313@175209.1276 blc5mq8fg7ese9jssk596bq0a7 Query : use flama_phc
20240313@175209.1279 blc5mq8fg7ese9jssk596bq0a7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175209.1292 blc5mq8fg7ese9jssk596bq0a7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='577';
20240313@175209.1307 blc5mq8fg7ese9jssk596bq0a7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='577';
20240313@175209.1322 blc5mq8fg7ese9jssk596bq0a7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='577';
20240313@175209.1358 blc5mq8fg7ese9jssk596bq0a7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='577';
20240313@175209.1818 pl1s39tms0gt1809gcuc4aa1sj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175209.1834 pl1s39tms0gt1809gcuc4aa1sj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175209.1851 pl1s39tms0gt1809gcuc4aa1sj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='578';
20240313@175209.1896 pl1s39tms0gt1809gcuc4aa1sj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='578';
20240313@175209.1910 pl1s39tms0gt1809gcuc4aa1sj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='578';
20240313@175209.1926 pl1s39tms0gt1809gcuc4aa1sj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='578';
20240313@175209.1937 pl1s39tms0gt1809gcuc4aa1sj Query : use flama_phc
20240313@175209.1941 pl1s39tms0gt1809gcuc4aa1sj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175209.1958 pl1s39tms0gt1809gcuc4aa1sj Query : use flama_phc
20240313@175209.1961 pl1s39tms0gt1809gcuc4aa1sj Query : select no, estab,szadrsdesc from szadrs where u_coddest=4785
20240313@175209.2001 pl1s39tms0gt1809gcuc4aa1sj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1884.00.1'
20240313@175209.2151 pl1s39tms0gt1809gcuc4aa1sj Query : use flama_phc
20240313@175209.2155 pl1s39tms0gt1809gcuc4aa1sj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175209.2167 pl1s39tms0gt1809gcuc4aa1sj Query : use flama_phc
20240313@175209.2213 pl1s39tms0gt1809gcuc4aa1sj Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175209.2422 pl1s39tms0gt1809gcuc4aa1sj Query : use flama_phc
20240313@175209.2464 pl1s39tms0gt1809gcuc4aa1sj Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175209.2516 pl1s39tms0gt1809gcuc4aa1sj Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175209.2530 pl1s39tms0gt1809gcuc4aa1sj Query : use flama_phc
20240313@175209.2533 pl1s39tms0gt1809gcuc4aa1sj Query : select top 1 ~inactivo valor from cl where no = '102199' and estab = 0 order by inactivo desc
20240313@175209.2547 pl1s39tms0gt1809gcuc4aa1sj Query : use flama_phc
20240313@175209.2550 pl1s39tms0gt1809gcuc4aa1sj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175209.2563 pl1s39tms0gt1809gcuc4aa1sj Query : use flama_phc
20240313@175209.2566 pl1s39tms0gt1809gcuc4aa1sj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175209.2577 pl1s39tms0gt1809gcuc4aa1sj Query : use flama_phc
20240313@175209.2580 pl1s39tms0gt1809gcuc4aa1sj Query : select szadrsstamp valor from szadrs where szadrsdesc='102199 - media markt setÚbal, lda.'
20240313@175209.2593 pl1s39tms0gt1809gcuc4aa1sj Query : use flama_phc
20240313@175209.2596 pl1s39tms0gt1809gcuc4aa1sj Query : select 1 valor from td where ndoc = 39
20240313@175209.2605 pl1s39tms0gt1809gcuc4aa1sj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175209.2617 pl1s39tms0gt1809gcuc4aa1sj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175209.2630 pl1s39tms0gt1809gcuc4aa1sj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175209.2649 pl1s39tms0gt1809gcuc4aa1sj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175209.2662 pl1s39tms0gt1809gcuc4aa1sj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175209.2689 pl1s39tms0gt1809gcuc4aa1sj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175209.2701 pl1s39tms0gt1809gcuc4aa1sj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175209.2711 pl1s39tms0gt1809gcuc4aa1sj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175209.2814 pl1s39tms0gt1809gcuc4aa1sj Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175209.2825 pl1s39tms0gt1809gcuc4aa1sj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175209.2844 pl1s39tms0gt1809gcuc4aa1sj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175209.2854 pl1s39tms0gt1809gcuc4aa1sj Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e0983165f1e7c942' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175209.3220 pl1s39tms0gt1809gcuc4aa1sj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175209.3240 pl1s39tms0gt1809gcuc4aa1sj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175209.3492 pl1s39tms0gt1809gcuc4aa1sj Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175209.3670 pl1s39tms0gt1809gcuc4aa1sj Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175209.3854 pl1s39tms0gt1809gcuc4aa1sj Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175209.3978 pl1s39tms0gt1809gcuc4aa1sj Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175209.4059 pl1s39tms0gt1809gcuc4aa1sj Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175209.4791 pl1s39tms0gt1809gcuc4aa1sj Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175209.4797 pl1s39tms0gt1809gcuc4aa1sj Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e0983165f1e7c942',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175209.5065 pl1s39tms0gt1809gcuc4aa1sj Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175209.5079 pl1s39tms0gt1809gcuc4aa1sj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175209.5093 pl1s39tms0gt1809gcuc4aa1sj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175209.5114 pl1s39tms0gt1809gcuc4aa1sj Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e0983165f1e7c942',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',419,102199,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175209.5448 pl1s39tms0gt1809gcuc4aa1sj Query : use flama_phc
20240313@175209.5452 pl1s39tms0gt1809gcuc4aa1sj Query : select st.usalote valor from st where st.ref = '324.1884.00.1'
20240313@175209.5468 pl1s39tms0gt1809gcuc4aa1sj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1884.00.1'
20240313@175209.5618 pl1s39tms0gt1809gcuc4aa1sj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175209.5631 pl1s39tms0gt1809gcuc4aa1sj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175209.5657 pl1s39tms0gt1809gcuc4aa1sj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175209.5672 pl1s39tms0gt1809gcuc4aa1sj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175209.5677 pl1s39tms0gt1809gcuc4aa1sj Query : select sestamp valor from se where ref ='324.1884.00.1' and lote = 'r2301208100a'
20240313@175209.5688 pl1s39tms0gt1809gcuc4aa1sj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175209.5698 pl1s39tms0gt1809gcuc4aa1sj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175209.5710 pl1s39tms0gt1809gcuc4aa1sj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175209.5739 pl1s39tms0gt1809gcuc4aa1sj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e7605165f1e7c98b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut65f1e0983165f1e7c942' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175209.6015 pl1s39tms0gt1809gcuc4aa1sj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175209.6033 pl1s39tms0gt1809gcuc4aa1sj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175209.6038 pl1s39tms0gt1809gcuc4aa1sj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e7605165f1e7c98b','aut65f1e0983165f1e7c942' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175209.6047 pl1s39tms0gt1809gcuc4aa1sj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175209.6062 pl1s39tms0gt1809gcuc4aa1sj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175209.6095 pl1s39tms0gt1809gcuc4aa1sj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175209.6109 pl1s39tms0gt1809gcuc4aa1sj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175209.6114 pl1s39tms0gt1809gcuc4aa1sj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175209.6126 pl1s39tms0gt1809gcuc4aa1sj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175209.6140 pl1s39tms0gt1809gcuc4aa1sj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175209.6169 pl1s39tms0gt1809gcuc4aa1sj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e3295265f1e7c995',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e0983165f1e7c942' ,0,0 ,2,23.00,20000,?,?,?)
20240313@175209.6441 pl1s39tms0gt1809gcuc4aa1sj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175209.6457 pl1s39tms0gt1809gcuc4aa1sj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175209.6462 pl1s39tms0gt1809gcuc4aa1sj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e3295265f1e7c995','aut65f1e0983165f1e7c942' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175209.6468 pl1s39tms0gt1809gcuc4aa1sj Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e0983165f1e7c942','2402051','wait',39,'ari17112337378,753000005')
20240313@175209.6484 pl1s39tms0gt1809gcuc4aa1sj Query : use flama_phc
20240313@175209.6488 pl1s39tms0gt1809gcuc4aa1sj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175209.6503 pl1s39tms0gt1809gcuc4aa1sj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='578';
20240313@175209.6518 pl1s39tms0gt1809gcuc4aa1sj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='578';
20240313@175209.6530 pl1s39tms0gt1809gcuc4aa1sj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='578';
20240313@175209.6541 pl1s39tms0gt1809gcuc4aa1sj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='578';
20240313@175209.6892 c22e4qtv1bmvhstpujldd5bkco Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175209.6906 c22e4qtv1bmvhstpujldd5bkco Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175209.6924 c22e4qtv1bmvhstpujldd5bkco Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='579';
20240313@175209.6964 c22e4qtv1bmvhstpujldd5bkco Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='579';
20240313@175209.6977 c22e4qtv1bmvhstpujldd5bkco Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='579';
20240313@175209.6989 c22e4qtv1bmvhstpujldd5bkco Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='579';
20240313@175209.7001 c22e4qtv1bmvhstpujldd5bkco Query : use flama_phc
20240313@175209.7004 c22e4qtv1bmvhstpujldd5bkco Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175209.7017 c22e4qtv1bmvhstpujldd5bkco Query : use flama_phc
20240313@175209.7020 c22e4qtv1bmvhstpujldd5bkco Query : select no, estab,szadrsdesc from szadrs where u_coddest=4784
20240313@175209.7082 c22e4qtv1bmvhstpujldd5bkco Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1884.00.1'
20240313@175209.7093 c22e4qtv1bmvhstpujldd5bkco Query : use flama_phc
20240313@175209.7097 c22e4qtv1bmvhstpujldd5bkco Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175209.7110 c22e4qtv1bmvhstpujldd5bkco Query : use flama_phc
20240313@175209.7113 c22e4qtv1bmvhstpujldd5bkco Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175209.7126 c22e4qtv1bmvhstpujldd5bkco Query : use flama_phc
20240313@175209.7130 c22e4qtv1bmvhstpujldd5bkco Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175209.7145 c22e4qtv1bmvhstpujldd5bkco Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175209.7159 c22e4qtv1bmvhstpujldd5bkco Query : use flama_phc
20240313@175209.7161 c22e4qtv1bmvhstpujldd5bkco Query : select top 1 ~inactivo valor from cl where no = '102410' and estab = 0 order by inactivo desc
20240313@175209.7171 c22e4qtv1bmvhstpujldd5bkco Query : use flama_phc
20240313@175209.7174 c22e4qtv1bmvhstpujldd5bkco Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175209.7184 c22e4qtv1bmvhstpujldd5bkco Query : use flama_phc
20240313@175209.7186 c22e4qtv1bmvhstpujldd5bkco Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175209.7196 c22e4qtv1bmvhstpujldd5bkco Query : use flama_phc
20240313@175209.7199 c22e4qtv1bmvhstpujldd5bkco Query : select szadrsstamp valor from szadrs where szadrsdesc='102410 - media markt matosinhos - prod inform e el'
20240313@175209.7211 c22e4qtv1bmvhstpujldd5bkco Query : use flama_phc
20240313@175209.7214 c22e4qtv1bmvhstpujldd5bkco Query : select 1 valor from td where ndoc = 39
20240313@175209.7224 c22e4qtv1bmvhstpujldd5bkco Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175209.7237 c22e4qtv1bmvhstpujldd5bkco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175209.7251 c22e4qtv1bmvhstpujldd5bkco Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175209.7270 c22e4qtv1bmvhstpujldd5bkco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175209.7285 c22e4qtv1bmvhstpujldd5bkco Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175209.7319 c22e4qtv1bmvhstpujldd5bkco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175209.7331 c22e4qtv1bmvhstpujldd5bkco Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175209.7341 c22e4qtv1bmvhstpujldd5bkco Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175209.7441 c22e4qtv1bmvhstpujldd5bkco Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175209.7453 c22e4qtv1bmvhstpujldd5bkco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175209.7468 c22e4qtv1bmvhstpujldd5bkco Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175209.7481 c22e4qtv1bmvhstpujldd5bkco Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e2510765f1e7c9b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175209.7665 c22e4qtv1bmvhstpujldd5bkco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175209.7903 c22e4qtv1bmvhstpujldd5bkco Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175209.7932 c22e4qtv1bmvhstpujldd5bkco Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175209.7937 c22e4qtv1bmvhstpujldd5bkco Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175209.7943 c22e4qtv1bmvhstpujldd5bkco Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175209.7947 c22e4qtv1bmvhstpujldd5bkco Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175209.7952 c22e4qtv1bmvhstpujldd5bkco Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175209.7956 c22e4qtv1bmvhstpujldd5bkco Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175209.7961 c22e4qtv1bmvhstpujldd5bkco Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e2510765f1e7c9b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175209.8269 c22e4qtv1bmvhstpujldd5bkco Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175209.8498 c22e4qtv1bmvhstpujldd5bkco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175209.8543 c22e4qtv1bmvhstpujldd5bkco Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175209.8559 c22e4qtv1bmvhstpujldd5bkco Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e2510765f1e7c9b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',420,102410,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175209.9179 c22e4qtv1bmvhstpujldd5bkco Query : use flama_phc
20240313@175209.9852 c22e4qtv1bmvhstpujldd5bkco Query : select st.usalote valor from st where st.ref = '324.1884.00.1'
20240313@175209.9865 c22e4qtv1bmvhstpujldd5bkco Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1884.00.1'
20240313@175209.9876 c22e4qtv1bmvhstpujldd5bkco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175209.9890 c22e4qtv1bmvhstpujldd5bkco Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175210.7980 c22e4qtv1bmvhstpujldd5bkco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175210.8130 c22e4qtv1bmvhstpujldd5bkco Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175210.8180 c22e4qtv1bmvhstpujldd5bkco Query : select sestamp valor from se where ref ='324.1884.00.1' and lote = 'r2301208100a'
20240313@175210.8270 c22e4qtv1bmvhstpujldd5bkco Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175210.8360 c22e4qtv1bmvhstpujldd5bkco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175210.8560 c22e4qtv1bmvhstpujldd5bkco Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175210.8810 c22e4qtv1bmvhstpujldd5bkco Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e3445965f1e7ca14',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut65f1e2510765f1e7c9b3' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175210.1164 c22e4qtv1bmvhstpujldd5bkco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175210.1184 c22e4qtv1bmvhstpujldd5bkco Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175210.1190 c22e4qtv1bmvhstpujldd5bkco Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e3445965f1e7ca14','aut65f1e2510765f1e7c9b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175210.1198 c22e4qtv1bmvhstpujldd5bkco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175210.1213 c22e4qtv1bmvhstpujldd5bkco Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175210.1243 c22e4qtv1bmvhstpujldd5bkco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175210.1258 c22e4qtv1bmvhstpujldd5bkco Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175210.1262 c22e4qtv1bmvhstpujldd5bkco Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175210.1272 c22e4qtv1bmvhstpujldd5bkco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175210.1284 c22e4qtv1bmvhstpujldd5bkco Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175210.1314 c22e4qtv1bmvhstpujldd5bkco Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e0045965f1e7ca1f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e2510765f1e7c9b3' ,0,0 ,2,23.00,20000,?,?,?)
20240313@175210.1608 c22e4qtv1bmvhstpujldd5bkco Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175210.1623 c22e4qtv1bmvhstpujldd5bkco Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175210.1628 c22e4qtv1bmvhstpujldd5bkco Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e0045965f1e7ca1f','aut65f1e2510765f1e7c9b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175210.1659 c22e4qtv1bmvhstpujldd5bkco Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e2510765f1e7c9b3','2402053','wait',39,'ari17112337378,753000005')
20240313@175210.1677 c22e4qtv1bmvhstpujldd5bkco Query : use flama_phc
20240313@175210.1680 c22e4qtv1bmvhstpujldd5bkco Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175210.1694 c22e4qtv1bmvhstpujldd5bkco Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='579';
20240313@175210.1709 c22e4qtv1bmvhstpujldd5bkco Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='579';
20240313@175210.1721 c22e4qtv1bmvhstpujldd5bkco Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='579';
20240313@175210.1733 c22e4qtv1bmvhstpujldd5bkco Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='579';
20240313@175210.2581 nkil87natrcq9i6d9ubm75b7ec Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175210.2628 nkil87natrcq9i6d9ubm75b7ec Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175210.2683 nkil87natrcq9i6d9ubm75b7ec Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='580';
20240313@175210.2724 nkil87natrcq9i6d9ubm75b7ec Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='580';
20240313@175210.2738 nkil87natrcq9i6d9ubm75b7ec Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='580';
20240313@175210.2753 nkil87natrcq9i6d9ubm75b7ec Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='580';
20240313@175210.2765 nkil87natrcq9i6d9ubm75b7ec Query : use flama_phc
20240313@175210.2769 nkil87natrcq9i6d9ubm75b7ec Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175210.2782 nkil87natrcq9i6d9ubm75b7ec Query : use flama_phc
20240313@175210.2785 nkil87natrcq9i6d9ubm75b7ec Query : select no, estab,szadrsdesc from szadrs where u_coddest=4786
20240313@175210.2873 nkil87natrcq9i6d9ubm75b7ec Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1884.00.1'
20240313@175210.2884 nkil87natrcq9i6d9ubm75b7ec Query : use flama_phc
20240313@175210.2888 nkil87natrcq9i6d9ubm75b7ec Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175210.2905 nkil87natrcq9i6d9ubm75b7ec Query : use flama_phc
20240313@175210.2909 nkil87natrcq9i6d9ubm75b7ec Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175210.2920 nkil87natrcq9i6d9ubm75b7ec Query : use flama_phc
20240313@175210.2924 nkil87natrcq9i6d9ubm75b7ec Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175210.2935 nkil87natrcq9i6d9ubm75b7ec Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175210.2950 nkil87natrcq9i6d9ubm75b7ec Query : use flama_phc
20240313@175210.2953 nkil87natrcq9i6d9ubm75b7ec Query : select top 1 ~inactivo valor from cl where no = '101847' and estab = 0 order by inactivo desc
20240313@175210.2963 nkil87natrcq9i6d9ubm75b7ec Query : use flama_phc
20240313@175210.2965 nkil87natrcq9i6d9ubm75b7ec Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175210.2976 nkil87natrcq9i6d9ubm75b7ec Query : use flama_phc
20240313@175210.2980 nkil87natrcq9i6d9ubm75b7ec Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175210.2992 nkil87natrcq9i6d9ubm75b7ec Query : use flama_phc
20240313@175210.2995 nkil87natrcq9i6d9ubm75b7ec Query : select szadrsstamp valor from szadrs where szadrsdesc='101847 - media markt aveiro-prod.inf.e elect.,lda'
20240313@175210.3008 nkil87natrcq9i6d9ubm75b7ec Query : use flama_phc
20240313@175210.3011 nkil87natrcq9i6d9ubm75b7ec Query : select 1 valor from td where ndoc = 39
20240313@175210.3022 nkil87natrcq9i6d9ubm75b7ec Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175210.3034 nkil87natrcq9i6d9ubm75b7ec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175210.3050 nkil87natrcq9i6d9ubm75b7ec Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175210.3072 nkil87natrcq9i6d9ubm75b7ec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175210.3090 nkil87natrcq9i6d9ubm75b7ec Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175210.3120 nkil87natrcq9i6d9ubm75b7ec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175210.3133 nkil87natrcq9i6d9ubm75b7ec Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175210.3144 nkil87natrcq9i6d9ubm75b7ec Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175210.3241 nkil87natrcq9i6d9ubm75b7ec Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175210.3251 nkil87natrcq9i6d9ubm75b7ec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175210.3267 nkil87natrcq9i6d9ubm75b7ec Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175210.3278 nkil87natrcq9i6d9ubm75b7ec Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e7821565f1e7ca4c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175210.3474 nkil87natrcq9i6d9ubm75b7ec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175210.3489 nkil87natrcq9i6d9ubm75b7ec Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175210.3518 nkil87natrcq9i6d9ubm75b7ec Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175210.3522 nkil87natrcq9i6d9ubm75b7ec Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175210.3527 nkil87natrcq9i6d9ubm75b7ec Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175210.3539 nkil87natrcq9i6d9ubm75b7ec Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175210.3544 nkil87natrcq9i6d9ubm75b7ec Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175210.3549 nkil87natrcq9i6d9ubm75b7ec Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175210.3553 nkil87natrcq9i6d9ubm75b7ec Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e7821565f1e7ca4c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175210.3830 nkil87natrcq9i6d9ubm75b7ec Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175210.3846 nkil87natrcq9i6d9ubm75b7ec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175210.3862 nkil87natrcq9i6d9ubm75b7ec Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175210.3881 nkil87natrcq9i6d9ubm75b7ec Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e7821565f1e7ca4c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',421,101847,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175210.4205 nkil87natrcq9i6d9ubm75b7ec Query : use flama_phc
20240313@175210.4209 nkil87natrcq9i6d9ubm75b7ec Query : select st.usalote valor from st where st.ref = '324.1884.00.1'
20240313@175210.4222 nkil87natrcq9i6d9ubm75b7ec Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1884.00.1'
20240313@175210.4237 nkil87natrcq9i6d9ubm75b7ec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175210.4256 nkil87natrcq9i6d9ubm75b7ec Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175210.4282 nkil87natrcq9i6d9ubm75b7ec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175210.4297 nkil87natrcq9i6d9ubm75b7ec Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175210.4302 nkil87natrcq9i6d9ubm75b7ec Query : select sestamp valor from se where ref ='324.1884.00.1' and lote = 'r2301208100a'
20240313@175210.4313 nkil87natrcq9i6d9ubm75b7ec Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175210.4323 nkil87natrcq9i6d9ubm75b7ec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175210.4337 nkil87natrcq9i6d9ubm75b7ec Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175210.4367 nkil87natrcq9i6d9ubm75b7ec Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e3206965f1e7ca69',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut65f1e7821565f1e7ca4c' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175210.4901 nkil87natrcq9i6d9ubm75b7ec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175210.4947 nkil87natrcq9i6d9ubm75b7ec Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175210.4952 nkil87natrcq9i6d9ubm75b7ec Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e3206965f1e7ca69','aut65f1e7821565f1e7ca4c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175210.4974 nkil87natrcq9i6d9ubm75b7ec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175210.4989 nkil87natrcq9i6d9ubm75b7ec Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175210.5015 nkil87natrcq9i6d9ubm75b7ec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175210.5028 nkil87natrcq9i6d9ubm75b7ec Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175210.5032 nkil87natrcq9i6d9ubm75b7ec Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175210.5042 nkil87natrcq9i6d9ubm75b7ec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175210.5056 nkil87natrcq9i6d9ubm75b7ec Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175210.5084 nkil87natrcq9i6d9ubm75b7ec Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e3612565f1e7ca7b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e7821565f1e7ca4c' ,0,0 ,2,23.00,20000,?,?,?)
20240313@175210.5446 nkil87natrcq9i6d9ubm75b7ec Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175210.5460 nkil87natrcq9i6d9ubm75b7ec Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175210.5465 nkil87natrcq9i6d9ubm75b7ec Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e3612565f1e7ca7b','aut65f1e7821565f1e7ca4c' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175210.5469 nkil87natrcq9i6d9ubm75b7ec Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e7821565f1e7ca4c','2402054','wait',39,'ari17112337378,753000005')
20240313@175210.5491 nkil87natrcq9i6d9ubm75b7ec Query : use flama_phc
20240313@175210.5495 nkil87natrcq9i6d9ubm75b7ec Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175210.5506 nkil87natrcq9i6d9ubm75b7ec Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='580';
20240313@175210.5522 nkil87natrcq9i6d9ubm75b7ec Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='580';
20240313@175210.5535 nkil87natrcq9i6d9ubm75b7ec Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='580';
20240313@175210.5549 nkil87natrcq9i6d9ubm75b7ec Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='580';
20240313@175210.5950 ff7r7cjlbod5i7g3l2rnu54ine Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175210.5968 ff7r7cjlbod5i7g3l2rnu54ine Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175210.5989 ff7r7cjlbod5i7g3l2rnu54ine Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='581';
20240313@175210.6200 ff7r7cjlbod5i7g3l2rnu54ine Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='581';
20240313@175210.6216 ff7r7cjlbod5i7g3l2rnu54ine Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='581';
20240313@175210.6231 ff7r7cjlbod5i7g3l2rnu54ine Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='581';
20240313@175210.6243 ff7r7cjlbod5i7g3l2rnu54ine Query : use flama_phc
20240313@175210.6246 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175210.6260 ff7r7cjlbod5i7g3l2rnu54ine Query : use flama_phc
20240313@175210.6263 ff7r7cjlbod5i7g3l2rnu54ine Query : select no, estab,szadrsdesc from szadrs where u_coddest=4788
20240313@175210.6407 ff7r7cjlbod5i7g3l2rnu54ine 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'
20240313@175210.6419 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20240313@175210.6431 ff7r7cjlbod5i7g3l2rnu54ine Query : use flama_phc
20240313@175210.6437 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175210.6452 ff7r7cjlbod5i7g3l2rnu54ine Query : use flama_phc
20240313@175210.6455 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175210.6467 ff7r7cjlbod5i7g3l2rnu54ine Query : use flama_phc
20240313@175210.6470 ff7r7cjlbod5i7g3l2rnu54ine Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175210.6482 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175210.6497 ff7r7cjlbod5i7g3l2rnu54ine Query : use flama_phc
20240313@175210.6501 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 ~inactivo valor from cl where no = '102044' and estab = 0 order by inactivo desc
20240313@175210.6617 ff7r7cjlbod5i7g3l2rnu54ine Query : use flama_phc
20240313@175210.6621 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175210.6631 ff7r7cjlbod5i7g3l2rnu54ine Query : use flama_phc
20240313@175210.6634 ff7r7cjlbod5i7g3l2rnu54ine Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175210.6648 ff7r7cjlbod5i7g3l2rnu54ine Query : use flama_phc
20240313@175210.6652 ff7r7cjlbod5i7g3l2rnu54ine Query : select szadrsstamp valor from szadrs where szadrsdesc='102044 - media markt leiria-prod.inf.e electrÓnicos,lda'
20240313@175210.6667 ff7r7cjlbod5i7g3l2rnu54ine Query : use flama_phc
20240313@175210.6670 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from td where ndoc = 39
20240313@175210.6679 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175210.6691 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175210.6704 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175210.6721 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175210.6739 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175210.6769 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175210.6783 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175210.6804 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175210.6905 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175210.6916 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175210.6933 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175210.6943 ff7r7cjlbod5i7g3l2rnu54ine Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e6987765f1e7caa6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175210.7142 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175210.7160 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175210.7190 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175210.7216 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175210.7222 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175210.7227 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175210.7232 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175210.7236 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175210.7240 ff7r7cjlbod5i7g3l2rnu54ine Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e6987765f1e7caa6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175210.7513 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175210.7531 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175210.7551 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175210.7578 ff7r7cjlbod5i7g3l2rnu54ine Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e6987765f1e7caa6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',422,102044,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175210.7964 ff7r7cjlbod5i7g3l2rnu54ine Query : use flama_phc
20240313@175210.7969 ff7r7cjlbod5i7g3l2rnu54ine Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240313@175210.7984 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1834.00.1'
20240313@175210.7998 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175210.8013 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175210.8043 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175210.8057 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175210.8063 ff7r7cjlbod5i7g3l2rnu54ine Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2300974200a'
20240313@175210.8074 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175210.8086 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175210.8100 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175210.8124 ff7r7cjlbod5i7g3l2rnu54ine Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e7042365f1e7cac5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65f1e6987765f1e7caa6' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175210.8400 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175210.8418 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175210.8423 ff7r7cjlbod5i7g3l2rnu54ine Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e7042365f1e7cac5','aut65f1e6987765f1e7caa6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175210.8428 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175210.8443 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175210.8466 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175210.8479 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175210.8483 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175210.8495 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175210.8509 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175210.8532 ff7r7cjlbod5i7g3l2rnu54ine Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e6623165f1e7cacf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e6987765f1e7caa6' ,0,0 ,2,23.00,20000,?,?,?)
20240313@175210.8815 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175210.8841 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175210.9067 ff7r7cjlbod5i7g3l2rnu54ine Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e6623165f1e7cacf','aut65f1e6987765f1e7caa6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175210.9073 ff7r7cjlbod5i7g3l2rnu54ine Query : use flama_phc
20240313@175210.9077 ff7r7cjlbod5i7g3l2rnu54ine Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20240313@175210.9089 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1879.00.1'
20240313@175210.9102 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175210.9116 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175210.9142 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175210.9157 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175210.9161 ff7r7cjlbod5i7g3l2rnu54ine Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2301096100a'
20240313@175210.9172 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175210.9182 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175210.9195 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175210.9218 ff7r7cjlbod5i7g3l2rnu54ine Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e5086765f1e7cae0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut65f1e6987765f1e7caa6' ,0,0 ,2,23.00,40000,?,?,?,?)
20240313@175210.9522 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175210.9536 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175210.9541 ff7r7cjlbod5i7g3l2rnu54ine Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e5086765f1e7cae0','aut65f1e6987765f1e7caa6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175210.9546 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175210.9560 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175210.9586 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175210.9602 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175210.9607 ff7r7cjlbod5i7g3l2rnu54ine Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175210.9640 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175210.9655 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175210.9679 ff7r7cjlbod5i7g3l2rnu54ine Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e0225265f1e7caeb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e6987765f1e7caa6' ,0,0 ,2,23.00,50000,?,?,?)
20240313@175210.9963 ff7r7cjlbod5i7g3l2rnu54ine Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175210.9980 ff7r7cjlbod5i7g3l2rnu54ine Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175210.9984 ff7r7cjlbod5i7g3l2rnu54ine Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e0225265f1e7caeb','aut65f1e6987765f1e7caa6' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175210.9988 ff7r7cjlbod5i7g3l2rnu54ine Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e6987765f1e7caa6','2402064.','wait',39,'ari17112337378,753000005')
20240313@175211.4000 ff7r7cjlbod5i7g3l2rnu54ine Query : use flama_phc
20240313@175211.7000 ff7r7cjlbod5i7g3l2rnu54ine Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175211.1800 ff7r7cjlbod5i7g3l2rnu54ine Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='581';
20240313@175211.3300 ff7r7cjlbod5i7g3l2rnu54ine Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='581';
20240313@175211.4600 ff7r7cjlbod5i7g3l2rnu54ine Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='581';
20240313@175211.5900 ff7r7cjlbod5i7g3l2rnu54ine Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='581';
20240313@175211.9940 ovqv84isa3kj4km3jbhpmfebpj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175211.1667 ovqv84isa3kj4km3jbhpmfebpj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175211.2083 ovqv84isa3kj4km3jbhpmfebpj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='582';
20240313@175211.2521 ovqv84isa3kj4km3jbhpmfebpj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='582';
20240313@175211.2649 ovqv84isa3kj4km3jbhpmfebpj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='582';
20240313@175211.3061 ovqv84isa3kj4km3jbhpmfebpj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='582';
20240313@175211.3187 ovqv84isa3kj4km3jbhpmfebpj Query : use flama_phc
20240313@175211.3270 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175211.3680 ovqv84isa3kj4km3jbhpmfebpj Query : use flama_phc
20240313@175211.3761 ovqv84isa3kj4km3jbhpmfebpj Query : select no, estab,szadrsdesc from szadrs where u_coddest=4788
20240313@175211.4201 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1884.00.1'
20240313@175211.4614 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1884.00.1'
20240313@175211.5025 ovqv84isa3kj4km3jbhpmfebpj Query : use flama_phc
20240313@175211.5108 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175211.5519 ovqv84isa3kj4km3jbhpmfebpj Query : use flama_phc
20240313@175211.5600 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175211.6009 ovqv84isa3kj4km3jbhpmfebpj Query : use flama_phc
20240313@175211.6091 ovqv84isa3kj4km3jbhpmfebpj Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175211.6501 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175211.7431 ovqv84isa3kj4km3jbhpmfebpj Query : use flama_phc
20240313@175211.7513 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 ~inactivo valor from cl where no = '102044' and estab = 0 order by inactivo desc
20240313@175211.8117 ovqv84isa3kj4km3jbhpmfebpj Query : use flama_phc
20240313@175211.8200 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175211.8609 ovqv84isa3kj4km3jbhpmfebpj Query : use flama_phc
20240313@175211.8690 ovqv84isa3kj4km3jbhpmfebpj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175211.9100 ovqv84isa3kj4km3jbhpmfebpj Query : use flama_phc
20240313@175211.9182 ovqv84isa3kj4km3jbhpmfebpj Query : select szadrsstamp valor from szadrs where szadrsdesc='102044 - media markt leiria-prod.inf.e electrÓnicos,lda'
20240313@175211.9689 ovqv84isa3kj4km3jbhpmfebpj Query : use flama_phc
20240313@175211.9772 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from td where ndoc = 39
20240313@175212.1860 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175212.6760 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175212.1089 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175212.2072 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175212.2487 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175212.4018 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175212.4432 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175212.4841 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175212.5498 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175212.6062 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175212.6476 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175212.6884 ovqv84isa3kj4km3jbhpmfebpj Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e7601665f1e7cc76' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175212.7592 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175212.8005 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175212.9230 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175212.9392 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175212.9556 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175212.9718 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175212.9881 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175213.4400 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175213.2070 ovqv84isa3kj4km3jbhpmfebpj Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e7601665f1e7cc76',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175213.1318 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175213.1759 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175213.3313 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175213.4049 ovqv84isa3kj4km3jbhpmfebpj Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e7601665f1e7cc76',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',423,102044,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175213.5104 ovqv84isa3kj4km3jbhpmfebpj Query : use flama_phc
20240313@175213.5184 ovqv84isa3kj4km3jbhpmfebpj Query : select st.usalote valor from st where st.ref = '324.1884.00.1'
20240313@175213.5592 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1884.00.1'
20240313@175213.6021 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175213.6485 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175213.7547 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175213.7960 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175213.8127 ovqv84isa3kj4km3jbhpmfebpj Query : select sestamp valor from se where ref ='324.1884.00.1' and lote = 'r2301208100a'
20240313@175213.8732 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175213.9145 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175213.9559 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175214.6220 ovqv84isa3kj4km3jbhpmfebpj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e4077465f1e7cddf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65f1e7601665f1e7cc76' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175214.1576 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175214.1988 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175214.2151 ovqv84isa3kj4km3jbhpmfebpj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e4077465f1e7cddf','aut65f1e7601665f1e7cc76' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175214.2236 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175214.2860 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175214.3923 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175214.4336 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175214.4498 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175214.4907 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175214.5322 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175214.6398 ovqv84isa3kj4km3jbhpmfebpj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e0003065f1e7ce77',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e7601665f1e7cc76' ,0,0 ,2,23.00,20000,?,?,?)
20240313@175214.7324 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175214.7750 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175214.7914 ovqv84isa3kj4km3jbhpmfebpj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e0003065f1e7ce77','aut65f1e7601665f1e7cc76' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175214.7998 ovqv84isa3kj4km3jbhpmfebpj Query : use flama_phc
20240313@175214.8080 ovqv84isa3kj4km3jbhpmfebpj Query : select st.usalote valor from st where st.ref = '324.1884.00.1'
20240313@175214.8490 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1884.00.1'
20240313@175214.8900 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175214.9557 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175215.1477 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175215.1891 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175215.2053 ovqv84isa3kj4km3jbhpmfebpj Query : select sestamp valor from se where ref ='324.1884.00.1' and lote = 'r2301208100a'
20240313@175215.2463 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175215.2874 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175215.3289 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175215.4829 ovqv84isa3kj4km3jbhpmfebpj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e8408665f1e7cf46',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut65f1e7601665f1e7cc76' ,0,0 ,2,23.00,40000,?,?,?,?)
20240313@175215.6166 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175215.6690 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175215.6853 ovqv84isa3kj4km3jbhpmfebpj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e8408665f1e7cf46','aut65f1e7601665f1e7cc76' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175215.6937 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175215.7350 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175215.8411 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175215.8824 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175215.8985 ovqv84isa3kj4km3jbhpmfebpj Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175215.9397 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175215.9811 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175216.8740 ovqv84isa3kj4km3jbhpmfebpj Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e1629365f1e7cfe5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e7601665f1e7cc76' ,0,0 ,2,23.00,50000,?,?,?)
20240313@175216.1800 ovqv84isa3kj4km3jbhpmfebpj Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175216.2214 ovqv84isa3kj4km3jbhpmfebpj Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175216.2376 ovqv84isa3kj4km3jbhpmfebpj Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e1629365f1e7cfe5','aut65f1e7601665f1e7cc76' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175216.2460 ovqv84isa3kj4km3jbhpmfebpj Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e7601665f1e7cc76','2402065.','wait',39,'ari17112337378,753000005')
20240313@175216.2748 ovqv84isa3kj4km3jbhpmfebpj Query : use flama_phc
20240313@175216.2827 ovqv84isa3kj4km3jbhpmfebpj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175216.2952 ovqv84isa3kj4km3jbhpmfebpj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='582';
20240313@175216.3364 ovqv84isa3kj4km3jbhpmfebpj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='582';
20240313@175216.3491 ovqv84isa3kj4km3jbhpmfebpj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='582';
20240313@175216.3902 ovqv84isa3kj4km3jbhpmfebpj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='582';
20240313@175216.4384 fv8nr1m498d8btbos6neqq2too Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175216.4400 fv8nr1m498d8btbos6neqq2too Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175216.4421 fv8nr1m498d8btbos6neqq2too Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='583';
20240313@175216.4468 fv8nr1m498d8btbos6neqq2too Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='583';
20240313@175216.4482 fv8nr1m498d8btbos6neqq2too Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='583';
20240313@175216.4494 fv8nr1m498d8btbos6neqq2too Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='583';
20240313@175216.4506 fv8nr1m498d8btbos6neqq2too Query : use flama_phc
20240313@175216.4510 fv8nr1m498d8btbos6neqq2too Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175216.4523 fv8nr1m498d8btbos6neqq2too Query : use flama_phc
20240313@175216.4526 fv8nr1m498d8btbos6neqq2too Query : select no, estab,szadrsdesc from szadrs where u_coddest=4788
20240313@175216.4565 fv8nr1m498d8btbos6neqq2too Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1470.00.1'
20240313@175216.4576 fv8nr1m498d8btbos6neqq2too 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'
20240313@175216.4586 fv8nr1m498d8btbos6neqq2too Query : use flama_phc
20240313@175216.4590 fv8nr1m498d8btbos6neqq2too Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175216.4603 fv8nr1m498d8btbos6neqq2too Query : use flama_phc
20240313@175216.4606 fv8nr1m498d8btbos6neqq2too Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175216.4617 fv8nr1m498d8btbos6neqq2too Query : use flama_phc
20240313@175216.4621 fv8nr1m498d8btbos6neqq2too Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175216.4632 fv8nr1m498d8btbos6neqq2too Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175216.4647 fv8nr1m498d8btbos6neqq2too Query : use flama_phc
20240313@175216.4650 fv8nr1m498d8btbos6neqq2too Query : select top 1 ~inactivo valor from cl where no = '102044' and estab = 0 order by inactivo desc
20240313@175216.4662 fv8nr1m498d8btbos6neqq2too Query : use flama_phc
20240313@175216.4665 fv8nr1m498d8btbos6neqq2too Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175216.4678 fv8nr1m498d8btbos6neqq2too Query : use flama_phc
20240313@175216.4681 fv8nr1m498d8btbos6neqq2too Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175216.4694 fv8nr1m498d8btbos6neqq2too Query : use flama_phc
20240313@175216.4697 fv8nr1m498d8btbos6neqq2too Query : select szadrsstamp valor from szadrs where szadrsdesc='102044 - media markt leiria-prod.inf.e electrÓnicos,lda'
20240313@175216.4711 fv8nr1m498d8btbos6neqq2too Query : use flama_phc
20240313@175216.4714 fv8nr1m498d8btbos6neqq2too Query : select 1 valor from td where ndoc = 39
20240313@175216.4726 fv8nr1m498d8btbos6neqq2too Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175216.4745 fv8nr1m498d8btbos6neqq2too Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175216.4761 fv8nr1m498d8btbos6neqq2too Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175216.4786 fv8nr1m498d8btbos6neqq2too Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175216.4800 fv8nr1m498d8btbos6neqq2too Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175216.4826 fv8nr1m498d8btbos6neqq2too Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175216.4839 fv8nr1m498d8btbos6neqq2too Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175216.4850 fv8nr1m498d8btbos6neqq2too Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175216.4954 fv8nr1m498d8btbos6neqq2too Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175216.4965 fv8nr1m498d8btbos6neqq2too Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175216.4981 fv8nr1m498d8btbos6neqq2too Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175216.4993 fv8nr1m498d8btbos6neqq2too Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e7479565f1e7d076' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175216.5468 fv8nr1m498d8btbos6neqq2too Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175216.5708 fv8nr1m498d8btbos6neqq2too Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175216.6113 fv8nr1m498d8btbos6neqq2too Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175216.6193 fv8nr1m498d8btbos6neqq2too Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175216.6439 fv8nr1m498d8btbos6neqq2too Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175216.6519 fv8nr1m498d8btbos6neqq2too Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175216.6926 fv8nr1m498d8btbos6neqq2too Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175216.6932 fv8nr1m498d8btbos6neqq2too Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175216.6937 fv8nr1m498d8btbos6neqq2too Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e7479565f1e7d076',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175216.7246 fv8nr1m498d8btbos6neqq2too Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175216.7262 fv8nr1m498d8btbos6neqq2too Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175216.7278 fv8nr1m498d8btbos6neqq2too Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175216.7297 fv8nr1m498d8btbos6neqq2too Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e7479565f1e7d076',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',424,102044,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175216.7606 fv8nr1m498d8btbos6neqq2too Query : use flama_phc
20240313@175216.7610 fv8nr1m498d8btbos6neqq2too Query : select st.usalote valor from st where st.ref = '324.1470.00.1'
20240313@175216.7624 fv8nr1m498d8btbos6neqq2too Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1470.00.1'
20240313@175216.7641 fv8nr1m498d8btbos6neqq2too Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175216.7660 fv8nr1m498d8btbos6neqq2too Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175216.7686 fv8nr1m498d8btbos6neqq2too Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175216.7701 fv8nr1m498d8btbos6neqq2too Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175216.7705 fv8nr1m498d8btbos6neqq2too Query : select sestamp valor from se where ref ='324.1470.00.1' and lote = 'r2100312200a'
20240313@175216.7716 fv8nr1m498d8btbos6neqq2too Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175216.7728 fv8nr1m498d8btbos6neqq2too Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175216.7741 fv8nr1m498d8btbos6neqq2too Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175216.7765 fv8nr1m498d8btbos6neqq2too Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e5237365f1e7d0bc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65f1e7479565f1e7d076' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175216.8040 fv8nr1m498d8btbos6neqq2too Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175216.8063 fv8nr1m498d8btbos6neqq2too Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175216.8068 fv8nr1m498d8btbos6neqq2too Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e5237365f1e7d0bc','aut65f1e7479565f1e7d076' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175216.8073 fv8nr1m498d8btbos6neqq2too Query : use flama_phc
20240313@175216.8076 fv8nr1m498d8btbos6neqq2too Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240313@175216.8088 fv8nr1m498d8btbos6neqq2too Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240313@175216.8101 fv8nr1m498d8btbos6neqq2too Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175216.8116 fv8nr1m498d8btbos6neqq2too Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175216.8146 fv8nr1m498d8btbos6neqq2too Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175216.8158 fv8nr1m498d8btbos6neqq2too Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175216.8162 fv8nr1m498d8btbos6neqq2too Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2301201200a'
20240313@175216.8171 fv8nr1m498d8btbos6neqq2too Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175216.8182 fv8nr1m498d8btbos6neqq2too Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175216.8197 fv8nr1m498d8btbos6neqq2too Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175216.8222 fv8nr1m498d8btbos6neqq2too Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e0592065f1e7d0c7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65f1e7479565f1e7d076' ,0,0 ,2,23.00,20000,?,?,?,?)
20240313@175216.9001 fv8nr1m498d8btbos6neqq2too Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175216.9234 fv8nr1m498d8btbos6neqq2too Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175216.9302 fv8nr1m498d8btbos6neqq2too Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e0592065f1e7d0c7','aut65f1e7479565f1e7d076' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175216.9308 fv8nr1m498d8btbos6neqq2too Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175216.9522 fv8nr1m498d8btbos6neqq2too Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175216.9580 fv8nr1m498d8btbos6neqq2too Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175216.9596 fv8nr1m498d8btbos6neqq2too Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175216.9601 fv8nr1m498d8btbos6neqq2too Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175216.9614 fv8nr1m498d8btbos6neqq2too Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175216.9631 fv8nr1m498d8btbos6neqq2too Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175216.9667 fv8nr1m498d8btbos6neqq2too Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e3157065f1e7d0ea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e7479565f1e7d076' ,0,0 ,2,23.00,30000,?,?,?)
20240313@175217.7300 fv8nr1m498d8btbos6neqq2too Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175217.2850 fv8nr1m498d8btbos6neqq2too Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175217.2980 fv8nr1m498d8btbos6neqq2too Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e3157065f1e7d0ea','aut65f1e7479565f1e7d076' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175217.3040 fv8nr1m498d8btbos6neqq2too Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e7479565f1e7d076','2402066','wait',39,'ari17112337378,753000005')
20240313@175217.3210 fv8nr1m498d8btbos6neqq2too Query : use flama_phc
20240313@175217.3240 fv8nr1m498d8btbos6neqq2too Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175217.3360 fv8nr1m498d8btbos6neqq2too Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='583';
20240313@175217.3600 fv8nr1m498d8btbos6neqq2too Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='583';
20240313@175217.3730 fv8nr1m498d8btbos6neqq2too Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='583';
20240313@175217.3900 fv8nr1m498d8btbos6neqq2too Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='583';
20240313@175217.8860 20rrqjdvrhuf76c71b3hvt1cq4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175217.9110 20rrqjdvrhuf76c71b3hvt1cq4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175217.9300 20rrqjdvrhuf76c71b3hvt1cq4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='584';
20240313@175217.9730 20rrqjdvrhuf76c71b3hvt1cq4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='584';
20240313@175217.9860 20rrqjdvrhuf76c71b3hvt1cq4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='584';
20240313@175217.1000 20rrqjdvrhuf76c71b3hvt1cq4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='584';
20240313@175217.1012 20rrqjdvrhuf76c71b3hvt1cq4 Query : use flama_phc
20240313@175217.1015 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175217.1029 20rrqjdvrhuf76c71b3hvt1cq4 Query : use flama_phc
20240313@175217.1032 20rrqjdvrhuf76c71b3hvt1cq4 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4787
20240313@175217.1071 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20240313@175217.1082 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240313@175217.1091 20rrqjdvrhuf76c71b3hvt1cq4 Query : use flama_phc
20240313@175217.1094 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175217.1115 20rrqjdvrhuf76c71b3hvt1cq4 Query : use flama_phc
20240313@175217.1118 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175217.1128 20rrqjdvrhuf76c71b3hvt1cq4 Query : use flama_phc
20240313@175217.1131 20rrqjdvrhuf76c71b3hvt1cq4 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175217.1142 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175217.1160 20rrqjdvrhuf76c71b3hvt1cq4 Query : use flama_phc
20240313@175217.1163 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 ~inactivo valor from cl where no = '101846' and estab = 0 order by inactivo desc
20240313@175217.1175 20rrqjdvrhuf76c71b3hvt1cq4 Query : use flama_phc
20240313@175217.1178 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175217.1191 20rrqjdvrhuf76c71b3hvt1cq4 Query : use flama_phc
20240313@175217.1194 20rrqjdvrhuf76c71b3hvt1cq4 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175217.1205 20rrqjdvrhuf76c71b3hvt1cq4 Query : use flama_phc
20240313@175217.1209 20rrqjdvrhuf76c71b3hvt1cq4 Query : select szadrsstamp valor from szadrs where szadrsdesc='101846 - media markt sintra-prod.inf.e elect. lda'
20240313@175217.1222 20rrqjdvrhuf76c71b3hvt1cq4 Query : use flama_phc
20240313@175217.1225 20rrqjdvrhuf76c71b3hvt1cq4 Query : select 1 valor from td where ndoc = 39
20240313@175217.1235 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175217.1248 20rrqjdvrhuf76c71b3hvt1cq4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175217.1266 20rrqjdvrhuf76c71b3hvt1cq4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175217.1285 20rrqjdvrhuf76c71b3hvt1cq4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175217.1301 20rrqjdvrhuf76c71b3hvt1cq4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175217.1335 20rrqjdvrhuf76c71b3hvt1cq4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175217.1350 20rrqjdvrhuf76c71b3hvt1cq4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175217.1362 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175217.1461 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175217.1472 20rrqjdvrhuf76c71b3hvt1cq4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175217.1488 20rrqjdvrhuf76c71b3hvt1cq4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175217.1501 20rrqjdvrhuf76c71b3hvt1cq4 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e7787165f1e7d121' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175217.1686 20rrqjdvrhuf76c71b3hvt1cq4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175217.1705 20rrqjdvrhuf76c71b3hvt1cq4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175217.1741 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175217.1747 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175217.1754 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175217.1760 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175217.1767 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175217.1773 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175217.1778 20rrqjdvrhuf76c71b3hvt1cq4 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e7787165f1e7d121',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175217.2070 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175217.2085 20rrqjdvrhuf76c71b3hvt1cq4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175217.2099 20rrqjdvrhuf76c71b3hvt1cq4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175217.2120 20rrqjdvrhuf76c71b3hvt1cq4 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e7787165f1e7d121',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',425,101846,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175217.2432 20rrqjdvrhuf76c71b3hvt1cq4 Query : use flama_phc
20240313@175217.2438 20rrqjdvrhuf76c71b3hvt1cq4 Query : select st.usalote valor from st where st.ref = '324.4990.00.1'
20240313@175217.2451 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4990.00.1'
20240313@175217.2465 20rrqjdvrhuf76c71b3hvt1cq4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175217.2480 20rrqjdvrhuf76c71b3hvt1cq4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175217.2505 20rrqjdvrhuf76c71b3hvt1cq4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175217.2519 20rrqjdvrhuf76c71b3hvt1cq4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175217.2523 20rrqjdvrhuf76c71b3hvt1cq4 Query : select sestamp valor from se where ref ='324.4990.00.1' and lote = 'r2100189200a'
20240313@175217.2533 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175217.2543 20rrqjdvrhuf76c71b3hvt1cq4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175217.2558 20rrqjdvrhuf76c71b3hvt1cq4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175217.2582 20rrqjdvrhuf76c71b3hvt1cq4 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e5093665f1e7d13e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65f1e7787165f1e7d121' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175217.2858 20rrqjdvrhuf76c71b3hvt1cq4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175217.2877 20rrqjdvrhuf76c71b3hvt1cq4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175217.2882 20rrqjdvrhuf76c71b3hvt1cq4 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e5093665f1e7d13e','aut65f1e7787165f1e7d121' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175217.2886 20rrqjdvrhuf76c71b3hvt1cq4 Query : use flama_phc
20240313@175217.2890 20rrqjdvrhuf76c71b3hvt1cq4 Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240313@175217.2904 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240313@175217.2917 20rrqjdvrhuf76c71b3hvt1cq4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175217.2932 20rrqjdvrhuf76c71b3hvt1cq4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175217.2960 20rrqjdvrhuf76c71b3hvt1cq4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175217.2973 20rrqjdvrhuf76c71b3hvt1cq4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175217.2978 20rrqjdvrhuf76c71b3hvt1cq4 Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2300534200a'
20240313@175217.2988 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175217.2999 20rrqjdvrhuf76c71b3hvt1cq4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175217.3013 20rrqjdvrhuf76c71b3hvt1cq4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175217.3037 20rrqjdvrhuf76c71b3hvt1cq4 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e0440465f1e7d149',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut65f1e7787165f1e7d121' ,0,0 ,2,23.00,20000,?,?,?,?)
20240313@175217.3311 20rrqjdvrhuf76c71b3hvt1cq4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175217.3327 20rrqjdvrhuf76c71b3hvt1cq4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175217.3331 20rrqjdvrhuf76c71b3hvt1cq4 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e0440465f1e7d149','aut65f1e7787165f1e7d121' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175217.3336 20rrqjdvrhuf76c71b3hvt1cq4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175217.3352 20rrqjdvrhuf76c71b3hvt1cq4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175217.3376 20rrqjdvrhuf76c71b3hvt1cq4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175217.3389 20rrqjdvrhuf76c71b3hvt1cq4 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175217.3395 20rrqjdvrhuf76c71b3hvt1cq4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175217.3405 20rrqjdvrhuf76c71b3hvt1cq4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175217.3417 20rrqjdvrhuf76c71b3hvt1cq4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175217.3440 20rrqjdvrhuf76c71b3hvt1cq4 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e0166765f1e7d153',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e7787165f1e7d121' ,0,0 ,2,23.00,30000,?,?,?)
20240313@175217.3737 20rrqjdvrhuf76c71b3hvt1cq4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175217.3755 20rrqjdvrhuf76c71b3hvt1cq4 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175217.3759 20rrqjdvrhuf76c71b3hvt1cq4 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e0166765f1e7d153','aut65f1e7787165f1e7d121' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175217.3764 20rrqjdvrhuf76c71b3hvt1cq4 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e7787165f1e7d121','2402071','wait',39,'ari17112337378,753000005')
20240313@175217.3781 20rrqjdvrhuf76c71b3hvt1cq4 Query : use flama_phc
20240313@175217.3785 20rrqjdvrhuf76c71b3hvt1cq4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175217.3804 20rrqjdvrhuf76c71b3hvt1cq4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='584';
20240313@175217.3982 20rrqjdvrhuf76c71b3hvt1cq4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='584';
20240313@175217.4149 20rrqjdvrhuf76c71b3hvt1cq4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='584';
20240313@175217.4445 20rrqjdvrhuf76c71b3hvt1cq4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='584';
20240313@175217.4807 gkhvgoeo9enisaut2lfpp7118k Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175217.4820 gkhvgoeo9enisaut2lfpp7118k Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175217.4837 gkhvgoeo9enisaut2lfpp7118k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='585';
20240313@175217.4880 gkhvgoeo9enisaut2lfpp7118k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='585';
20240313@175217.4897 gkhvgoeo9enisaut2lfpp7118k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='585';
20240313@175217.4910 gkhvgoeo9enisaut2lfpp7118k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='585';
20240313@175217.4927 gkhvgoeo9enisaut2lfpp7118k Query : use flama_phc
20240313@175217.4931 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175217.4947 gkhvgoeo9enisaut2lfpp7118k Query : use flama_phc
20240313@175217.4950 gkhvgoeo9enisaut2lfpp7118k Query : select no, estab,szadrsdesc from szadrs where u_coddest=4785
20240313@175217.5006 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1470.00.1'
20240313@175217.5018 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240313@175217.5030 gkhvgoeo9enisaut2lfpp7118k 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'
20240313@175217.5042 gkhvgoeo9enisaut2lfpp7118k Query : use flama_phc
20240313@175217.5045 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175217.5060 gkhvgoeo9enisaut2lfpp7118k Query : use flama_phc
20240313@175217.5064 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175217.5075 gkhvgoeo9enisaut2lfpp7118k Query : use flama_phc
20240313@175217.5078 gkhvgoeo9enisaut2lfpp7118k Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175217.5091 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175217.5107 gkhvgoeo9enisaut2lfpp7118k Query : use flama_phc
20240313@175217.5110 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 ~inactivo valor from cl where no = '102199' and estab = 0 order by inactivo desc
20240313@175217.5119 gkhvgoeo9enisaut2lfpp7118k Query : use flama_phc
20240313@175217.5122 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175217.5132 gkhvgoeo9enisaut2lfpp7118k Query : use flama_phc
20240313@175217.5135 gkhvgoeo9enisaut2lfpp7118k Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175217.5146 gkhvgoeo9enisaut2lfpp7118k Query : use flama_phc
20240313@175217.5149 gkhvgoeo9enisaut2lfpp7118k Query : select szadrsstamp valor from szadrs where szadrsdesc='102199 - media markt setÚbal, lda.'
20240313@175217.5161 gkhvgoeo9enisaut2lfpp7118k Query : use flama_phc
20240313@175217.5164 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from td where ndoc = 39
20240313@175217.5173 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175217.5185 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175217.5204 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175217.5222 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175217.5235 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175217.5263 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175217.5282 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175217.5293 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175217.5391 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175217.5401 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175217.5415 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175217.5425 gkhvgoeo9enisaut2lfpp7118k Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e2596365f1e7d181' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175217.5610 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175217.5625 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175217.5659 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175217.5667 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175217.5672 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175217.5677 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175217.5682 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175217.5687 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175217.5691 gkhvgoeo9enisaut2lfpp7118k Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e2596365f1e7d181',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175217.5955 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175217.5971 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175217.5984 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175217.6002 gkhvgoeo9enisaut2lfpp7118k Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e2596365f1e7d181',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',426,102199,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175217.6310 gkhvgoeo9enisaut2lfpp7118k Query : use flama_phc
20240313@175217.6315 gkhvgoeo9enisaut2lfpp7118k Query : select st.usalote valor from st where st.ref = '324.1470.00.1'
20240313@175217.6327 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1470.00.1'
20240313@175217.6340 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175217.6354 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175217.6384 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175217.6397 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175217.6402 gkhvgoeo9enisaut2lfpp7118k Query : select sestamp valor from se where ref ='324.1470.00.1' and lote = 'r2100312200a'
20240313@175217.6412 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175217.6425 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175217.6437 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175217.6466 gkhvgoeo9enisaut2lfpp7118k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e9105965f1e7d19c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65f1e2596365f1e7d181' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175217.6789 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175217.6812 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175217.6817 gkhvgoeo9enisaut2lfpp7118k Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e9105965f1e7d19c','aut65f1e2596365f1e7d181' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175217.6822 gkhvgoeo9enisaut2lfpp7118k Query : use flama_phc
20240313@175217.6825 gkhvgoeo9enisaut2lfpp7118k Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240313@175217.6837 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240313@175217.6849 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175217.6863 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175217.6888 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175217.6903 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175217.6907 gkhvgoeo9enisaut2lfpp7118k Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2300534200a'
20240313@175217.6918 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175217.6928 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175217.6942 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175217.6969 gkhvgoeo9enisaut2lfpp7118k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e7809965f1e7d1a9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut65f1e2596365f1e7d181' ,0,0 ,2,23.00,20000,?,?,?,?)
20240313@175217.7260 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175217.7277 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175217.7282 gkhvgoeo9enisaut2lfpp7118k Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e7809965f1e7d1a9','aut65f1e2596365f1e7d181' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175217.7288 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175217.7302 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175217.7327 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175217.7342 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175217.7346 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175217.7357 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175217.7370 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175217.7401 gkhvgoeo9enisaut2lfpp7118k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e7575565f1e7d1b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e2596365f1e7d181' ,0,0 ,2,23.00,30000,?,?,?)
20240313@175217.7849 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175217.7945 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175217.7950 gkhvgoeo9enisaut2lfpp7118k Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e7575565f1e7d1b3','aut65f1e2596365f1e7d181' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175217.7955 gkhvgoeo9enisaut2lfpp7118k Query : use flama_phc
20240313@175217.7959 gkhvgoeo9enisaut2lfpp7118k Query : select st.usalote valor from st where st.ref = '324.691.00.01'
20240313@175217.7970 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.691.00.01'
20240313@175217.7982 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175217.7999 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175217.8025 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175217.8039 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175217.8044 gkhvgoeo9enisaut2lfpp7118k Query : select sestamp valor from se where ref ='324.691.00.01' and lote = 'r2301201200a'
20240313@175217.8054 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175217.8065 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175217.8080 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175217.8106 gkhvgoeo9enisaut2lfpp7118k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e6446265f1e7d1c4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65f1e2596365f1e7d181' ,0,0 ,2,23.00,50000,?,?,?,?)
20240313@175217.8408 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175217.8586 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175217.8637 gkhvgoeo9enisaut2lfpp7118k Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e6446265f1e7d1c4','aut65f1e2596365f1e7d181' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175217.8643 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175217.8660 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175217.8691 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175217.8704 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175217.8709 gkhvgoeo9enisaut2lfpp7118k Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175217.8719 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175217.8731 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175217.8758 gkhvgoeo9enisaut2lfpp7118k Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e5053965f1e7d1d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e2596365f1e7d181' ,0,0 ,2,23.00,60000,?,?,?)
20240313@175217.9030 gkhvgoeo9enisaut2lfpp7118k Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175217.9047 gkhvgoeo9enisaut2lfpp7118k Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175217.9052 gkhvgoeo9enisaut2lfpp7118k Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e5053965f1e7d1d4','aut65f1e2596365f1e7d181' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175217.9057 gkhvgoeo9enisaut2lfpp7118k Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e2596365f1e7d181','2402072','wait',39,'ari17112337378,753000005')
20240313@175217.9073 gkhvgoeo9enisaut2lfpp7118k Query : use flama_phc
20240313@175217.9077 gkhvgoeo9enisaut2lfpp7118k Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175217.9088 gkhvgoeo9enisaut2lfpp7118k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='585';
20240313@175217.9104 gkhvgoeo9enisaut2lfpp7118k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='585';
20240313@175217.9116 gkhvgoeo9enisaut2lfpp7118k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='585';
20240313@175217.9130 gkhvgoeo9enisaut2lfpp7118k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='585';
20240313@175217.9450 kd9t73v4n9d3vesjqtlup7mvl2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175217.9468 kd9t73v4n9d3vesjqtlup7mvl2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175217.9485 kd9t73v4n9d3vesjqtlup7mvl2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='586';
20240313@175217.9526 kd9t73v4n9d3vesjqtlup7mvl2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='586';
20240313@175217.9545 kd9t73v4n9d3vesjqtlup7mvl2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='586';
20240313@175217.9557 kd9t73v4n9d3vesjqtlup7mvl2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='586';
20240313@175217.9568 kd9t73v4n9d3vesjqtlup7mvl2 Query : use flama_phc
20240313@175217.9572 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175217.9584 kd9t73v4n9d3vesjqtlup7mvl2 Query : use flama_phc
20240313@175217.9588 kd9t73v4n9d3vesjqtlup7mvl2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4781
20240313@175217.9694 kd9t73v4n9d3vesjqtlup7mvl2 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'
20240313@175217.9709 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20240313@175217.9721 kd9t73v4n9d3vesjqtlup7mvl2 Query : use flama_phc
20240313@175217.9724 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175217.9740 kd9t73v4n9d3vesjqtlup7mvl2 Query : use flama_phc
20240313@175217.9743 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175217.9756 kd9t73v4n9d3vesjqtlup7mvl2 Query : use flama_phc
20240313@175217.9759 kd9t73v4n9d3vesjqtlup7mvl2 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175217.9773 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175217.9791 kd9t73v4n9d3vesjqtlup7mvl2 Query : use flama_phc
20240313@175217.9797 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 ~inactivo valor from cl where no = '102040' and estab = 0 order by inactivo desc
20240313@175217.9919 kd9t73v4n9d3vesjqtlup7mvl2 Query : use flama_phc
20240313@175217.9924 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175217.9937 kd9t73v4n9d3vesjqtlup7mvl2 Query : use flama_phc
20240313@175217.9941 kd9t73v4n9d3vesjqtlup7mvl2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175217.9952 kd9t73v4n9d3vesjqtlup7mvl2 Query : use flama_phc
20240313@175217.9956 kd9t73v4n9d3vesjqtlup7mvl2 Query : select szadrsstamp valor from szadrs where szadrsdesc='102040 - media markt gaia-prod.inf.e electrÓnicos,lda.'
20240313@175217.9969 kd9t73v4n9d3vesjqtlup7mvl2 Query : use flama_phc
20240313@175217.9972 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from td where ndoc = 39
20240313@175217.9982 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175217.9993 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175218.1000 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175218.2900 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175218.5000 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175218.7900 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175218.9300 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175218.1040 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175218.2730 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175218.2840 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175218.2990 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175218.3090 kd9t73v4n9d3vesjqtlup7mvl2 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e8292265f1e7d202' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175218.5110 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175218.5280 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175218.5620 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175218.5670 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175218.5720 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175218.5770 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175218.5890 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175218.5940 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175218.5990 kd9t73v4n9d3vesjqtlup7mvl2 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e8292265f1e7d202',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175218.8680 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175218.8850 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175218.9000 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175218.9180 kd9t73v4n9d3vesjqtlup7mvl2 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e8292265f1e7d202',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',427,102040,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175218.1275 kd9t73v4n9d3vesjqtlup7mvl2 Query : use flama_phc
20240313@175218.1279 kd9t73v4n9d3vesjqtlup7mvl2 Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240313@175218.1290 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1834.00.1'
20240313@175218.1312 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175218.1350 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175218.1389 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175218.1405 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175218.1410 kd9t73v4n9d3vesjqtlup7mvl2 Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2300974200a'
20240313@175218.1420 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175218.1432 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175218.1449 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175218.1476 kd9t73v4n9d3vesjqtlup7mvl2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e2082565f1e7d222',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65f1e8292265f1e7d202' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175218.1794 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175218.1810 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175218.1815 kd9t73v4n9d3vesjqtlup7mvl2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e2082565f1e7d222','aut65f1e8292265f1e7d202' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175218.1820 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175218.1836 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175218.3256 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175218.3272 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175218.3276 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175218.3287 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175218.3300 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175218.3326 kd9t73v4n9d3vesjqtlup7mvl2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e7536665f1e7d250',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e8292265f1e7d202' ,0,0 ,2,23.00,20000,?,?,?)
20240313@175218.3597 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175218.3614 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175218.3619 kd9t73v4n9d3vesjqtlup7mvl2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e7536665f1e7d250','aut65f1e8292265f1e7d202' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175218.3624 kd9t73v4n9d3vesjqtlup7mvl2 Query : use flama_phc
20240313@175218.3628 kd9t73v4n9d3vesjqtlup7mvl2 Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20240313@175218.3639 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1879.00.1'
20240313@175218.3654 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175218.3687 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175218.3716 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175218.3731 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175218.3736 kd9t73v4n9d3vesjqtlup7mvl2 Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2301096100a'
20240313@175218.3748 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175218.3759 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175218.3774 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175218.3804 kd9t73v4n9d3vesjqtlup7mvl2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e8197565f1e7d25b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut65f1e8292265f1e7d202' ,0,0 ,2,23.00,40000,?,?,?,?)
20240313@175218.4118 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175218.4137 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175218.4143 kd9t73v4n9d3vesjqtlup7mvl2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e8197565f1e7d25b','aut65f1e8292265f1e7d202' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175218.4149 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175218.4163 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175218.4188 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175218.4201 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175218.4206 kd9t73v4n9d3vesjqtlup7mvl2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175218.4216 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175218.4228 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175218.4373 kd9t73v4n9d3vesjqtlup7mvl2 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e1200865f1e7d266',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e8292265f1e7d202' ,0,0 ,2,23.00,50000,?,?,?)
20240313@175218.4768 kd9t73v4n9d3vesjqtlup7mvl2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175218.4785 kd9t73v4n9d3vesjqtlup7mvl2 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175218.4790 kd9t73v4n9d3vesjqtlup7mvl2 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e1200865f1e7d266','aut65f1e8292265f1e7d202' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175218.4795 kd9t73v4n9d3vesjqtlup7mvl2 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e8292265f1e7d202','2402075','wait',39,'ari17112337378,753000005')
20240313@175218.4813 kd9t73v4n9d3vesjqtlup7mvl2 Query : use flama_phc
20240313@175218.4816 kd9t73v4n9d3vesjqtlup7mvl2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175218.4829 kd9t73v4n9d3vesjqtlup7mvl2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='586';
20240313@175218.4845 kd9t73v4n9d3vesjqtlup7mvl2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='586';
20240313@175218.4860 kd9t73v4n9d3vesjqtlup7mvl2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='586';
20240313@175218.4873 kd9t73v4n9d3vesjqtlup7mvl2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='586';
20240313@175218.5304 ltktd0lfljef7qjsgj83oag6ka Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175218.5327 ltktd0lfljef7qjsgj83oag6ka Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175218.5352 ltktd0lfljef7qjsgj83oag6ka Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='587';
20240313@175218.5394 ltktd0lfljef7qjsgj83oag6ka Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='587';
20240313@175218.5409 ltktd0lfljef7qjsgj83oag6ka Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='587';
20240313@175218.5424 ltktd0lfljef7qjsgj83oag6ka Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='587';
20240313@175218.5436 ltktd0lfljef7qjsgj83oag6ka Query : use flama_phc
20240313@175218.5440 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175218.5455 ltktd0lfljef7qjsgj83oag6ka Query : use flama_phc
20240313@175218.5458 ltktd0lfljef7qjsgj83oag6ka Query : select no, estab,szadrsdesc from szadrs where u_coddest=4781
20240313@175218.5503 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1470.00.1'
20240313@175218.5516 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240313@175218.5528 ltktd0lfljef7qjsgj83oag6ka 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'
20240313@175218.5682 ltktd0lfljef7qjsgj83oag6ka 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'
20240313@175218.5694 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240313@175218.6042 ltktd0lfljef7qjsgj83oag6ka Query : use flama_phc
20240313@175218.6050 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175218.6065 ltktd0lfljef7qjsgj83oag6ka Query : use flama_phc
20240313@175218.6068 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175218.6080 ltktd0lfljef7qjsgj83oag6ka Query : use flama_phc
20240313@175218.6083 ltktd0lfljef7qjsgj83oag6ka Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175218.6096 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175218.6113 ltktd0lfljef7qjsgj83oag6ka Query : use flama_phc
20240313@175218.6117 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 ~inactivo valor from cl where no = '102040' and estab = 0 order by inactivo desc
20240313@175218.6137 ltktd0lfljef7qjsgj83oag6ka Query : use flama_phc
20240313@175218.6140 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175218.6154 ltktd0lfljef7qjsgj83oag6ka Query : use flama_phc
20240313@175218.6157 ltktd0lfljef7qjsgj83oag6ka Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175218.6168 ltktd0lfljef7qjsgj83oag6ka Query : use flama_phc
20240313@175218.6170 ltktd0lfljef7qjsgj83oag6ka Query : select szadrsstamp valor from szadrs where szadrsdesc='102040 - media markt gaia-prod.inf.e electrÓnicos,lda.'
20240313@175218.6182 ltktd0lfljef7qjsgj83oag6ka Query : use flama_phc
20240313@175218.6185 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from td where ndoc = 39
20240313@175218.6196 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175218.6207 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175218.6221 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175218.6238 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175218.6251 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175218.6278 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175218.6304 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175218.6316 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175218.6411 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175218.6421 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175218.6435 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175218.6446 ltktd0lfljef7qjsgj83oag6ka Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e0004765f1e7d29a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175218.6635 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175218.6653 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175218.6690 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175218.6697 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175218.6702 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175218.6707 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175218.6712 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175218.6717 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175218.6727 ltktd0lfljef7qjsgj83oag6ka Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e0004765f1e7d29a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175218.6991 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175218.7008 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175218.7021 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175218.7041 ltktd0lfljef7qjsgj83oag6ka Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e0004765f1e7d29a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',428,102040,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175218.7348 ltktd0lfljef7qjsgj83oag6ka Query : use flama_phc
20240313@175218.7355 ltktd0lfljef7qjsgj83oag6ka Query : select st.usalote valor from st where st.ref = '324.1470.00.1'
20240313@175218.7366 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1470.00.1'
20240313@175218.7377 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175218.7391 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175218.7417 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175218.7429 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175218.7434 ltktd0lfljef7qjsgj83oag6ka Query : select sestamp valor from se where ref ='324.1470.00.1' and lote = 'r2100312200a'
20240313@175218.7445 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175218.7454 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175218.7466 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175218.7488 ltktd0lfljef7qjsgj83oag6ka Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e6775565f1e7d2b5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65f1e0004765f1e7d29a' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175218.7841 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175218.9767 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175219.5200 ltktd0lfljef7qjsgj83oag6ka Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e6775565f1e7d2b5','aut65f1e0004765f1e7d29a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175219.6200 ltktd0lfljef7qjsgj83oag6ka Query : use flama_phc
20240313@175219.7500 ltktd0lfljef7qjsgj83oag6ka Query : select st.usalote valor from st where st.ref = '324.727.00.01'
20240313@175219.8600 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.727.00.01'
20240313@175219.9800 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175219.1120 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175219.1340 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175219.1480 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175219.1520 ltktd0lfljef7qjsgj83oag6ka Query : select sestamp valor from se where ref ='324.727.00.01' and lote = 'r2300534200a'
20240313@175219.1610 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175219.1710 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175219.1830 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175219.2080 ltktd0lfljef7qjsgj83oag6ka Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e9954365f1e7d304',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut65f1e0004765f1e7d29a' ,0,0 ,2,23.00,20000,?,?,?,?)
20240313@175219.4860 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175219.5020 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175219.5060 ltktd0lfljef7qjsgj83oag6ka Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e9954365f1e7d304','aut65f1e0004765f1e7d29a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175219.5110 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175219.5280 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175219.5520 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175219.5640 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175219.5690 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175219.5860 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175219.5980 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175219.6230 ltktd0lfljef7qjsgj83oag6ka Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e5681265f1e7d30e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e0004765f1e7d29a' ,0,0 ,2,23.00,30000,?,?,?)
20240313@175219.9170 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175219.9360 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175219.9400 ltktd0lfljef7qjsgj83oag6ka Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e5681265f1e7d30e','aut65f1e0004765f1e7d29a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175219.9450 ltktd0lfljef7qjsgj83oag6ka Query : use flama_phc
20240313@175219.9480 ltktd0lfljef7qjsgj83oag6ka Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20240313@175219.9610 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4960.00.1'
20240313@175219.1117 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175219.1132 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175219.1162 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175219.1176 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175219.1180 ltktd0lfljef7qjsgj83oag6ka Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20240313@175219.1193 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175219.1203 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175219.1216 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175219.1241 ltktd0lfljef7qjsgj83oag6ka Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e7959565f1e7d31d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut65f1e0004765f1e7d29a' ,0,0 ,2,23.00,50000,?,?,?,?)
20240313@175219.1559 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175219.1576 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175219.1582 ltktd0lfljef7qjsgj83oag6ka Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e7959565f1e7d31d','aut65f1e0004765f1e7d29a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175219.1607 ltktd0lfljef7qjsgj83oag6ka Query : use flama_phc
20240313@175219.1611 ltktd0lfljef7qjsgj83oag6ka Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240313@175219.1625 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240313@175219.1639 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175219.1653 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175219.1681 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175219.1695 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175219.1701 ltktd0lfljef7qjsgj83oag6ka Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240313@175219.1713 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175219.1724 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175219.1740 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175219.1766 ltktd0lfljef7qjsgj83oag6ka Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e0548665f1e7d32a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65f1e0004765f1e7d29a' ,0,0 ,2,23.00,60000,?,?,?,?)
20240313@175219.2084 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175219.2285 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175219.2291 ltktd0lfljef7qjsgj83oag6ka Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e0548665f1e7d32a','aut65f1e0004765f1e7d29a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175219.2297 ltktd0lfljef7qjsgj83oag6ka Query : use flama_phc
20240313@175219.2300 ltktd0lfljef7qjsgj83oag6ka Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240313@175219.2312 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.4320.00.1'
20240313@175219.2474 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175219.2488 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175219.2525 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175219.2541 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175219.2548 ltktd0lfljef7qjsgj83oag6ka Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '230741'
20240313@175219.2654 ltktd0lfljef7qjsgj83oag6ka Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175219.2667 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175219.2683 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175219.2709 ltktd0lfljef7qjsgj83oag6ka Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e2628765f1e7d341',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65f1e0004765f1e7d29a' ,0,0 ,2,23.00,70000,?,?,?,?)
20240313@175219.3209 ltktd0lfljef7qjsgj83oag6ka Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175219.3224 ltktd0lfljef7qjsgj83oag6ka Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175219.3229 ltktd0lfljef7qjsgj83oag6ka Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e2628765f1e7d341','aut65f1e0004765f1e7d29a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175219.3234 ltktd0lfljef7qjsgj83oag6ka Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e0004765f1e7d29a','2402076','wait',39,'ari17112337378,753000005')
20240313@175219.3253 ltktd0lfljef7qjsgj83oag6ka Query : use flama_phc
20240313@175219.3256 ltktd0lfljef7qjsgj83oag6ka Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175219.3279 ltktd0lfljef7qjsgj83oag6ka Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='587';
20240313@175219.3296 ltktd0lfljef7qjsgj83oag6ka Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='587';
20240313@175219.3316 ltktd0lfljef7qjsgj83oag6ka Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='587';
20240313@175219.3330 ltktd0lfljef7qjsgj83oag6ka Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='587';
20240313@175219.3710 cd3p6hnp1ruf29p7mjd71lr55n Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175219.3723 cd3p6hnp1ruf29p7mjd71lr55n Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175219.3744 cd3p6hnp1ruf29p7mjd71lr55n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='588';
20240313@175219.3784 cd3p6hnp1ruf29p7mjd71lr55n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='588';
20240313@175219.3799 cd3p6hnp1ruf29p7mjd71lr55n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='588';
20240313@175219.3814 cd3p6hnp1ruf29p7mjd71lr55n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='588';
20240313@175219.3826 cd3p6hnp1ruf29p7mjd71lr55n Query : use flama_phc
20240313@175219.3830 cd3p6hnp1ruf29p7mjd71lr55n Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175219.3843 cd3p6hnp1ruf29p7mjd71lr55n Query : use flama_phc
20240313@175219.3847 cd3p6hnp1ruf29p7mjd71lr55n Query : select no, estab,szadrsdesc from szadrs where u_coddest=4789
20240313@175219.3936 cd3p6hnp1ruf29p7mjd71lr55n 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'
20240313@175219.3949 cd3p6hnp1ruf29p7mjd71lr55n 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'
20240313@175219.4099 cd3p6hnp1ruf29p7mjd71lr55n Query : use flama_phc
20240313@175219.4104 cd3p6hnp1ruf29p7mjd71lr55n Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175219.4119 cd3p6hnp1ruf29p7mjd71lr55n Query : use flama_phc
20240313@175219.4122 cd3p6hnp1ruf29p7mjd71lr55n Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175219.4133 cd3p6hnp1ruf29p7mjd71lr55n Query : use flama_phc
20240313@175219.4136 cd3p6hnp1ruf29p7mjd71lr55n Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175219.4148 cd3p6hnp1ruf29p7mjd71lr55n Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175219.4163 cd3p6hnp1ruf29p7mjd71lr55n Query : use flama_phc
20240313@175219.4166 cd3p6hnp1ruf29p7mjd71lr55n Query : select top 1 ~inactivo valor from cl where no = '101987' and estab = 0 order by inactivo desc
20240313@175219.4267 cd3p6hnp1ruf29p7mjd71lr55n Query : use flama_phc
20240313@175219.4271 cd3p6hnp1ruf29p7mjd71lr55n Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175219.4284 cd3p6hnp1ruf29p7mjd71lr55n Query : use flama_phc
20240313@175219.4287 cd3p6hnp1ruf29p7mjd71lr55n Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175219.4299 cd3p6hnp1ruf29p7mjd71lr55n Query : use flama_phc
20240313@175219.4302 cd3p6hnp1ruf29p7mjd71lr55n Query : select szadrsstamp valor from szadrs where szadrsdesc='101987 - media markt nascente, lda.'
20240313@175219.4317 cd3p6hnp1ruf29p7mjd71lr55n Query : use flama_phc
20240313@175219.4320 cd3p6hnp1ruf29p7mjd71lr55n Query : select 1 valor from td where ndoc = 39
20240313@175219.4331 cd3p6hnp1ruf29p7mjd71lr55n Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175219.4343 cd3p6hnp1ruf29p7mjd71lr55n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175219.4357 cd3p6hnp1ruf29p7mjd71lr55n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175219.4378 cd3p6hnp1ruf29p7mjd71lr55n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175219.4396 cd3p6hnp1ruf29p7mjd71lr55n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175219.4431 cd3p6hnp1ruf29p7mjd71lr55n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175219.4448 cd3p6hnp1ruf29p7mjd71lr55n Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175219.4472 cd3p6hnp1ruf29p7mjd71lr55n Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175219.4571 cd3p6hnp1ruf29p7mjd71lr55n Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175219.4583 cd3p6hnp1ruf29p7mjd71lr55n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175219.4600 cd3p6hnp1ruf29p7mjd71lr55n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175219.4610 cd3p6hnp1ruf29p7mjd71lr55n Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e1080165f1e7d36d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175219.4804 cd3p6hnp1ruf29p7mjd71lr55n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175219.4821 cd3p6hnp1ruf29p7mjd71lr55n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175219.4853 cd3p6hnp1ruf29p7mjd71lr55n Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175219.4883 cd3p6hnp1ruf29p7mjd71lr55n Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175219.4889 cd3p6hnp1ruf29p7mjd71lr55n Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175219.4897 cd3p6hnp1ruf29p7mjd71lr55n Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175219.4902 cd3p6hnp1ruf29p7mjd71lr55n Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175219.4906 cd3p6hnp1ruf29p7mjd71lr55n Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175219.4911 cd3p6hnp1ruf29p7mjd71lr55n Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e1080165f1e7d36d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175219.5232 cd3p6hnp1ruf29p7mjd71lr55n Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175219.5251 cd3p6hnp1ruf29p7mjd71lr55n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175219.5269 cd3p6hnp1ruf29p7mjd71lr55n Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175219.5289 cd3p6hnp1ruf29p7mjd71lr55n Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e1080165f1e7d36d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',429,101987,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175219.5606 cd3p6hnp1ruf29p7mjd71lr55n Query : use flama_phc
20240313@175219.5609 cd3p6hnp1ruf29p7mjd71lr55n Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240313@175219.5621 cd3p6hnp1ruf29p7mjd71lr55n Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240313@175219.5632 cd3p6hnp1ruf29p7mjd71lr55n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175219.5646 cd3p6hnp1ruf29p7mjd71lr55n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175219.5668 cd3p6hnp1ruf29p7mjd71lr55n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175219.5681 cd3p6hnp1ruf29p7mjd71lr55n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175219.5685 cd3p6hnp1ruf29p7mjd71lr55n Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2301074200a'
20240313@175219.5695 cd3p6hnp1ruf29p7mjd71lr55n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175219.5704 cd3p6hnp1ruf29p7mjd71lr55n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175219.5716 cd3p6hnp1ruf29p7mjd71lr55n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175219.5740 cd3p6hnp1ruf29p7mjd71lr55n Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e5458265f1e7d38b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65f1e1080165f1e7d36d' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175219.6008 cd3p6hnp1ruf29p7mjd71lr55n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175219.6025 cd3p6hnp1ruf29p7mjd71lr55n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175219.6031 cd3p6hnp1ruf29p7mjd71lr55n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e5458265f1e7d38b','aut65f1e1080165f1e7d36d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175219.6036 cd3p6hnp1ruf29p7mjd71lr55n Query : use flama_phc
20240313@175219.6039 cd3p6hnp1ruf29p7mjd71lr55n Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20240313@175219.6122 cd3p6hnp1ruf29p7mjd71lr55n Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4421.00.1'
20240313@175219.6302 cd3p6hnp1ruf29p7mjd71lr55n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175219.6315 cd3p6hnp1ruf29p7mjd71lr55n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175219.6352 cd3p6hnp1ruf29p7mjd71lr55n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175219.6365 cd3p6hnp1ruf29p7mjd71lr55n Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175219.6369 cd3p6hnp1ruf29p7mjd71lr55n Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2200226300a'
20240313@175219.6410 cd3p6hnp1ruf29p7mjd71lr55n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175219.6420 cd3p6hnp1ruf29p7mjd71lr55n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175219.6433 cd3p6hnp1ruf29p7mjd71lr55n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175219.6613 cd3p6hnp1ruf29p7mjd71lr55n Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e3391165f1e7d39c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut65f1e1080165f1e7d36d' ,0,0 ,2,23.00,20000,?,?,?,?)
20240313@175219.6897 cd3p6hnp1ruf29p7mjd71lr55n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175219.7017 cd3p6hnp1ruf29p7mjd71lr55n Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175219.7065 cd3p6hnp1ruf29p7mjd71lr55n Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e3391165f1e7d39c','aut65f1e1080165f1e7d36d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175219.7071 cd3p6hnp1ruf29p7mjd71lr55n Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e1080165f1e7d36d','2402078','wait',39,'ari17112337378,753000005')
20240313@175219.7088 cd3p6hnp1ruf29p7mjd71lr55n Query : use flama_phc
20240313@175219.7092 cd3p6hnp1ruf29p7mjd71lr55n Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175219.7108 cd3p6hnp1ruf29p7mjd71lr55n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='588';
20240313@175219.7202 cd3p6hnp1ruf29p7mjd71lr55n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='588';
20240313@175219.7220 cd3p6hnp1ruf29p7mjd71lr55n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='588';
20240313@175219.7276 cd3p6hnp1ruf29p7mjd71lr55n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='588';
20240313@175219.7717 lh1rp3p91elusm8eigsrice9rv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175219.7735 lh1rp3p91elusm8eigsrice9rv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175219.7757 lh1rp3p91elusm8eigsrice9rv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='589';
20240313@175219.7804 lh1rp3p91elusm8eigsrice9rv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='589';
20240313@175219.7819 lh1rp3p91elusm8eigsrice9rv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='589';
20240313@175219.7835 lh1rp3p91elusm8eigsrice9rv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='589';
20240313@175219.7848 lh1rp3p91elusm8eigsrice9rv Query : use flama_phc
20240313@175219.7851 lh1rp3p91elusm8eigsrice9rv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175219.7876 lh1rp3p91elusm8eigsrice9rv Query : use flama_phc
20240313@175219.7879 lh1rp3p91elusm8eigsrice9rv Query : select no, estab,szadrsdesc from szadrs where u_coddest=4789
20240313@175219.7921 lh1rp3p91elusm8eigsrice9rv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1884.00.1'
20240313@175219.7932 lh1rp3p91elusm8eigsrice9rv Query : use flama_phc
20240313@175219.7935 lh1rp3p91elusm8eigsrice9rv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175219.7948 lh1rp3p91elusm8eigsrice9rv Query : use flama_phc
20240313@175219.7951 lh1rp3p91elusm8eigsrice9rv Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175219.7979 lh1rp3p91elusm8eigsrice9rv Query : use flama_phc
20240313@175219.7982 lh1rp3p91elusm8eigsrice9rv Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175219.7995 lh1rp3p91elusm8eigsrice9rv Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175219.8063 lh1rp3p91elusm8eigsrice9rv Query : use flama_phc
20240313@175219.8112 lh1rp3p91elusm8eigsrice9rv Query : select top 1 ~inactivo valor from cl where no = '101987' and estab = 0 order by inactivo desc
20240313@175219.8124 lh1rp3p91elusm8eigsrice9rv Query : use flama_phc
20240313@175219.8127 lh1rp3p91elusm8eigsrice9rv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175219.8138 lh1rp3p91elusm8eigsrice9rv Query : use flama_phc
20240313@175219.8142 lh1rp3p91elusm8eigsrice9rv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175219.8152 lh1rp3p91elusm8eigsrice9rv Query : use flama_phc
20240313@175219.8155 lh1rp3p91elusm8eigsrice9rv Query : select szadrsstamp valor from szadrs where szadrsdesc='101987 - media markt nascente, lda.'
20240313@175219.8167 lh1rp3p91elusm8eigsrice9rv Query : use flama_phc
20240313@175219.8170 lh1rp3p91elusm8eigsrice9rv Query : select 1 valor from td where ndoc = 39
20240313@175219.8181 lh1rp3p91elusm8eigsrice9rv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175219.8193 lh1rp3p91elusm8eigsrice9rv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175219.8207 lh1rp3p91elusm8eigsrice9rv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175219.8235 lh1rp3p91elusm8eigsrice9rv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175219.8249 lh1rp3p91elusm8eigsrice9rv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175219.8274 lh1rp3p91elusm8eigsrice9rv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175219.8287 lh1rp3p91elusm8eigsrice9rv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175219.8299 lh1rp3p91elusm8eigsrice9rv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175219.8401 lh1rp3p91elusm8eigsrice9rv Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175219.8411 lh1rp3p91elusm8eigsrice9rv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175219.8425 lh1rp3p91elusm8eigsrice9rv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175219.8435 lh1rp3p91elusm8eigsrice9rv Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e9015665f1e7d3ca' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175219.8777 lh1rp3p91elusm8eigsrice9rv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175219.9171 lh1rp3p91elusm8eigsrice9rv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175219.9623 lh1rp3p91elusm8eigsrice9rv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175219.9795 lh1rp3p91elusm8eigsrice9rv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175219.9925 lh1rp3p91elusm8eigsrice9rv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175219.9931 lh1rp3p91elusm8eigsrice9rv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175219.9936 lh1rp3p91elusm8eigsrice9rv Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175219.9941 lh1rp3p91elusm8eigsrice9rv Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175219.9945 lh1rp3p91elusm8eigsrice9rv Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e9015665f1e7d3ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175220.2700 lh1rp3p91elusm8eigsrice9rv Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175220.2870 lh1rp3p91elusm8eigsrice9rv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175220.3200 lh1rp3p91elusm8eigsrice9rv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175220.3390 lh1rp3p91elusm8eigsrice9rv Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e9015665f1e7d3ca',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',430,101987,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175220.6600 lh1rp3p91elusm8eigsrice9rv Query : use flama_phc
20240313@175220.6640 lh1rp3p91elusm8eigsrice9rv Query : select st.usalote valor from st where st.ref = '324.1884.00.1'
20240313@175220.6770 lh1rp3p91elusm8eigsrice9rv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1884.00.1'
20240313@175220.6890 lh1rp3p91elusm8eigsrice9rv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175220.7040 lh1rp3p91elusm8eigsrice9rv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175220.7390 lh1rp3p91elusm8eigsrice9rv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175220.7710 lh1rp3p91elusm8eigsrice9rv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175220.7770 lh1rp3p91elusm8eigsrice9rv Query : select sestamp valor from se where ref ='324.1884.00.1' and lote = 'r2301208100a'
20240313@175220.7880 lh1rp3p91elusm8eigsrice9rv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175220.7990 lh1rp3p91elusm8eigsrice9rv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175220.8130 lh1rp3p91elusm8eigsrice9rv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175220.8370 lh1rp3p91elusm8eigsrice9rv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e6873465f1e7d413',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut65f1e9015665f1e7d3ca' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175220.1129 lh1rp3p91elusm8eigsrice9rv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175220.1150 lh1rp3p91elusm8eigsrice9rv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175220.1155 lh1rp3p91elusm8eigsrice9rv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e6873465f1e7d413','aut65f1e9015665f1e7d3ca' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175220.1161 lh1rp3p91elusm8eigsrice9rv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175220.1174 lh1rp3p91elusm8eigsrice9rv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175220.1198 lh1rp3p91elusm8eigsrice9rv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175220.1211 lh1rp3p91elusm8eigsrice9rv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175220.1216 lh1rp3p91elusm8eigsrice9rv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175220.1233 lh1rp3p91elusm8eigsrice9rv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175220.1248 lh1rp3p91elusm8eigsrice9rv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175220.1274 lh1rp3p91elusm8eigsrice9rv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e3366765f1e7d41e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e9015665f1e7d3ca' ,0,0 ,2,23.00,20000,?,?,?)
20240313@175220.1569 lh1rp3p91elusm8eigsrice9rv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175220.1585 lh1rp3p91elusm8eigsrice9rv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175220.1590 lh1rp3p91elusm8eigsrice9rv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e3366765f1e7d41e','aut65f1e9015665f1e7d3ca' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175220.1594 lh1rp3p91elusm8eigsrice9rv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e9015665f1e7d3ca','2402079','wait',39,'ari17112337378,753000005')
20240313@175220.1617 lh1rp3p91elusm8eigsrice9rv Query : use flama_phc
20240313@175220.1620 lh1rp3p91elusm8eigsrice9rv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175220.1632 lh1rp3p91elusm8eigsrice9rv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='589';
20240313@175220.1648 lh1rp3p91elusm8eigsrice9rv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='589';
20240313@175220.1660 lh1rp3p91elusm8eigsrice9rv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='589';
20240313@175220.1671 lh1rp3p91elusm8eigsrice9rv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='589';
20240313@175220.2005 76qcmcd760j5vfe801ilqafatv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175220.2019 76qcmcd760j5vfe801ilqafatv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175220.2036 76qcmcd760j5vfe801ilqafatv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='590';
20240313@175220.2078 76qcmcd760j5vfe801ilqafatv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='590';
20240313@175220.2096 76qcmcd760j5vfe801ilqafatv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='590';
20240313@175220.2112 76qcmcd760j5vfe801ilqafatv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='590';
20240313@175220.2124 76qcmcd760j5vfe801ilqafatv Query : use flama_phc
20240313@175220.2127 76qcmcd760j5vfe801ilqafatv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175220.2140 76qcmcd760j5vfe801ilqafatv Query : use flama_phc
20240313@175220.2144 76qcmcd760j5vfe801ilqafatv Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240313@175220.2184 76qcmcd760j5vfe801ilqafatv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1667.00.1'
20240313@175220.2333 76qcmcd760j5vfe801ilqafatv Query : use flama_phc
20240313@175220.2337 76qcmcd760j5vfe801ilqafatv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175220.2349 76qcmcd760j5vfe801ilqafatv Query : use flama_phc
20240313@175220.2352 76qcmcd760j5vfe801ilqafatv Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175220.2362 76qcmcd760j5vfe801ilqafatv Query : use flama_phc
20240313@175220.2365 76qcmcd760j5vfe801ilqafatv Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175220.2375 76qcmcd760j5vfe801ilqafatv Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175220.2389 76qcmcd760j5vfe801ilqafatv Query : use flama_phc
20240313@175220.2393 76qcmcd760j5vfe801ilqafatv Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240313@175220.2406 76qcmcd760j5vfe801ilqafatv Query : use flama_phc
20240313@175220.2409 76qcmcd760j5vfe801ilqafatv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175220.2420 76qcmcd760j5vfe801ilqafatv Query : use flama_phc
20240313@175220.2423 76qcmcd760j5vfe801ilqafatv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175220.2435 76qcmcd760j5vfe801ilqafatv Query : use flama_phc
20240313@175220.2438 76qcmcd760j5vfe801ilqafatv Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240313@175220.2452 76qcmcd760j5vfe801ilqafatv Query : use flama_phc
20240313@175220.2455 76qcmcd760j5vfe801ilqafatv Query : select 1 valor from td where ndoc = 39
20240313@175220.2466 76qcmcd760j5vfe801ilqafatv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175220.2479 76qcmcd760j5vfe801ilqafatv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175220.2502 76qcmcd760j5vfe801ilqafatv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175220.2524 76qcmcd760j5vfe801ilqafatv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175220.2542 76qcmcd760j5vfe801ilqafatv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175220.2571 76qcmcd760j5vfe801ilqafatv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175220.2584 76qcmcd760j5vfe801ilqafatv Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175220.2597 76qcmcd760j5vfe801ilqafatv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175220.2698 76qcmcd760j5vfe801ilqafatv Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175220.2708 76qcmcd760j5vfe801ilqafatv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175220.2723 76qcmcd760j5vfe801ilqafatv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175220.2733 76qcmcd760j5vfe801ilqafatv Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e5918565f1e7d43f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175220.2920 76qcmcd760j5vfe801ilqafatv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175220.2936 76qcmcd760j5vfe801ilqafatv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175220.2967 76qcmcd760j5vfe801ilqafatv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175220.2972 76qcmcd760j5vfe801ilqafatv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175220.2977 76qcmcd760j5vfe801ilqafatv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175220.2981 76qcmcd760j5vfe801ilqafatv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175220.2986 76qcmcd760j5vfe801ilqafatv Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175220.2991 76qcmcd760j5vfe801ilqafatv Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175220.3000 76qcmcd760j5vfe801ilqafatv Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e5918565f1e7d43f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175220.3359 76qcmcd760j5vfe801ilqafatv Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175220.3380 76qcmcd760j5vfe801ilqafatv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175220.3400 76qcmcd760j5vfe801ilqafatv Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175220.3421 76qcmcd760j5vfe801ilqafatv Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e5918565f1e7d43f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',431,100810,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175220.3765 76qcmcd760j5vfe801ilqafatv Query : use flama_phc
20240313@175220.3769 76qcmcd760j5vfe801ilqafatv Query : select st.usalote valor from st where st.ref = '324.1667.00.1'
20240313@175220.3782 76qcmcd760j5vfe801ilqafatv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1667.00.1'
20240313@175220.3940 76qcmcd760j5vfe801ilqafatv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175220.3958 76qcmcd760j5vfe801ilqafatv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175220.3982 76qcmcd760j5vfe801ilqafatv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175220.3997 76qcmcd760j5vfe801ilqafatv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175220.4002 76qcmcd760j5vfe801ilqafatv Query : select sestamp valor from se where ref ='324.1667.00.1' and lote = 'r2300716200a'
20240313@175220.4012 76qcmcd760j5vfe801ilqafatv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175220.4022 76qcmcd760j5vfe801ilqafatv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175220.4035 76qcmcd760j5vfe801ilqafatv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175220.5569 76qcmcd760j5vfe801ilqafatv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e5727465f1e7d462',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65f1e5918565f1e7d43f' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175220.5861 76qcmcd760j5vfe801ilqafatv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175220.5876 76qcmcd760j5vfe801ilqafatv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175220.5881 76qcmcd760j5vfe801ilqafatv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e5727465f1e7d462','aut65f1e5918565f1e7d43f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175220.5886 76qcmcd760j5vfe801ilqafatv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175220.5900 76qcmcd760j5vfe801ilqafatv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175220.5927 76qcmcd760j5vfe801ilqafatv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175220.5941 76qcmcd760j5vfe801ilqafatv Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175220.5945 76qcmcd760j5vfe801ilqafatv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175220.5954 76qcmcd760j5vfe801ilqafatv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175220.5966 76qcmcd760j5vfe801ilqafatv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175220.5989 76qcmcd760j5vfe801ilqafatv Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e2494665f1e7d491',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e5918565f1e7d43f' ,0,0 ,2,23.00,20000,?,?,?)
20240313@175220.6291 76qcmcd760j5vfe801ilqafatv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175220.6307 76qcmcd760j5vfe801ilqafatv Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175220.6314 76qcmcd760j5vfe801ilqafatv Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e2494665f1e7d491','aut65f1e5918565f1e7d43f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175220.6319 76qcmcd760j5vfe801ilqafatv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e5918565f1e7d43f','2402080','wait',39,'ari17112337378,753000005')
20240313@175220.6341 76qcmcd760j5vfe801ilqafatv Query : use flama_phc
20240313@175220.6344 76qcmcd760j5vfe801ilqafatv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175220.6358 76qcmcd760j5vfe801ilqafatv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='590';
20240313@175220.6373 76qcmcd760j5vfe801ilqafatv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='590';
20240313@175220.6386 76qcmcd760j5vfe801ilqafatv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='590';
20240313@175220.6398 76qcmcd760j5vfe801ilqafatv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='590';
20240313@175220.6761 hacagjon3guc3ek8s1c1hgfeut Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175220.6774 hacagjon3guc3ek8s1c1hgfeut Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175220.6794 hacagjon3guc3ek8s1c1hgfeut Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='591';
20240313@175220.6838 hacagjon3guc3ek8s1c1hgfeut Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='591';
20240313@175220.6851 hacagjon3guc3ek8s1c1hgfeut Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='591';
20240313@175220.6866 hacagjon3guc3ek8s1c1hgfeut Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='591';
20240313@175220.6877 hacagjon3guc3ek8s1c1hgfeut Query : use flama_phc
20240313@175220.6881 hacagjon3guc3ek8s1c1hgfeut Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175220.6894 hacagjon3guc3ek8s1c1hgfeut Query : use flama_phc
20240313@175220.6896 hacagjon3guc3ek8s1c1hgfeut Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20240313@175220.6987 hacagjon3guc3ek8s1c1hgfeut Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9326.00.1'
20240313@175220.7141 hacagjon3guc3ek8s1c1hgfeut Query : use flama_phc
20240313@175220.7145 hacagjon3guc3ek8s1c1hgfeut Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175220.7158 hacagjon3guc3ek8s1c1hgfeut Query : use flama_phc
20240313@175220.7160 hacagjon3guc3ek8s1c1hgfeut Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175220.7187 hacagjon3guc3ek8s1c1hgfeut Query : use flama_phc
20240313@175220.7190 hacagjon3guc3ek8s1c1hgfeut Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175220.7201 hacagjon3guc3ek8s1c1hgfeut Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175220.7215 hacagjon3guc3ek8s1c1hgfeut Query : use flama_phc
20240313@175220.7217 hacagjon3guc3ek8s1c1hgfeut Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240313@175220.7381 hacagjon3guc3ek8s1c1hgfeut Query : use flama_phc
20240313@175220.7385 hacagjon3guc3ek8s1c1hgfeut Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175220.7401 hacagjon3guc3ek8s1c1hgfeut Query : use flama_phc
20240313@175220.7404 hacagjon3guc3ek8s1c1hgfeut Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175220.7414 hacagjon3guc3ek8s1c1hgfeut Query : use flama_phc
20240313@175220.7420 hacagjon3guc3ek8s1c1hgfeut Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20240313@175220.7433 hacagjon3guc3ek8s1c1hgfeut Query : use flama_phc
20240313@175220.7436 hacagjon3guc3ek8s1c1hgfeut Query : select 1 valor from td where ndoc = 39
20240313@175220.7445 hacagjon3guc3ek8s1c1hgfeut Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175220.7456 hacagjon3guc3ek8s1c1hgfeut Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175220.7478 hacagjon3guc3ek8s1c1hgfeut Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175220.7496 hacagjon3guc3ek8s1c1hgfeut Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175220.7511 hacagjon3guc3ek8s1c1hgfeut Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175220.7536 hacagjon3guc3ek8s1c1hgfeut Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175220.7553 hacagjon3guc3ek8s1c1hgfeut Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175220.7563 hacagjon3guc3ek8s1c1hgfeut Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175220.7664 hacagjon3guc3ek8s1c1hgfeut Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175220.7683 hacagjon3guc3ek8s1c1hgfeut Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175220.7696 hacagjon3guc3ek8s1c1hgfeut Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175220.7707 hacagjon3guc3ek8s1c1hgfeut Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e0863965f1e7d4b8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175220.7917 hacagjon3guc3ek8s1c1hgfeut Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175220.7941 hacagjon3guc3ek8s1c1hgfeut Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175220.7971 hacagjon3guc3ek8s1c1hgfeut Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175220.7984 hacagjon3guc3ek8s1c1hgfeut Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175220.7995 hacagjon3guc3ek8s1c1hgfeut Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175220.8001 hacagjon3guc3ek8s1c1hgfeut Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175220.8006 hacagjon3guc3ek8s1c1hgfeut Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175220.8011 hacagjon3guc3ek8s1c1hgfeut Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175220.8016 hacagjon3guc3ek8s1c1hgfeut Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e0863965f1e7d4b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175220.8333 hacagjon3guc3ek8s1c1hgfeut Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175220.8350 hacagjon3guc3ek8s1c1hgfeut Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175220.8365 hacagjon3guc3ek8s1c1hgfeut Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175220.8387 hacagjon3guc3ek8s1c1hgfeut Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e0863965f1e7d4b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',432,100810,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175220.8715 hacagjon3guc3ek8s1c1hgfeut Query : use flama_phc
20240313@175220.8719 hacagjon3guc3ek8s1c1hgfeut Query : select st.usalote valor from st where st.ref = '328.9326.00.1'
20240313@175220.8733 hacagjon3guc3ek8s1c1hgfeut Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '328.9326.00.1'
20240313@175220.8900 hacagjon3guc3ek8s1c1hgfeut Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175220.8916 hacagjon3guc3ek8s1c1hgfeut Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175220.8942 hacagjon3guc3ek8s1c1hgfeut Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175220.8955 hacagjon3guc3ek8s1c1hgfeut Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175220.8959 hacagjon3guc3ek8s1c1hgfeut Query : select sestamp valor from se where ref ='328.9326.00.1' and lote = 'r2300691100a'
20240313@175220.8969 hacagjon3guc3ek8s1c1hgfeut Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175220.8981 hacagjon3guc3ek8s1c1hgfeut Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175220.8994 hacagjon3guc3ek8s1c1hgfeut Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175220.9017 hacagjon3guc3ek8s1c1hgfeut Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e1775065f1e7d4db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65f1e0863965f1e7d4b8' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175220.9381 hacagjon3guc3ek8s1c1hgfeut Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175220.9399 hacagjon3guc3ek8s1c1hgfeut Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175220.9403 hacagjon3guc3ek8s1c1hgfeut Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e1775065f1e7d4db','aut65f1e0863965f1e7d4b8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175220.9408 hacagjon3guc3ek8s1c1hgfeut Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175220.9424 hacagjon3guc3ek8s1c1hgfeut Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175220.9446 hacagjon3guc3ek8s1c1hgfeut Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175220.9458 hacagjon3guc3ek8s1c1hgfeut Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175220.9465 hacagjon3guc3ek8s1c1hgfeut Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175220.9475 hacagjon3guc3ek8s1c1hgfeut Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175220.9486 hacagjon3guc3ek8s1c1hgfeut Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175220.9515 hacagjon3guc3ek8s1c1hgfeut Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e3845865f1e7d4e7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e0863965f1e7d4b8' ,0,0 ,2,23.00,20000,?,?,?)
20240313@175220.9803 hacagjon3guc3ek8s1c1hgfeut Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175220.9819 hacagjon3guc3ek8s1c1hgfeut Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175220.9823 hacagjon3guc3ek8s1c1hgfeut Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e3845865f1e7d4e7','aut65f1e0863965f1e7d4b8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175220.9828 hacagjon3guc3ek8s1c1hgfeut Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e0863965f1e7d4b8','2402081','wait',39,'ari17112337378,753000005')
20240313@175220.9844 hacagjon3guc3ek8s1c1hgfeut Query : use flama_phc
20240313@175220.9849 hacagjon3guc3ek8s1c1hgfeut Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175220.9869 hacagjon3guc3ek8s1c1hgfeut Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='591';
20240313@175220.9885 hacagjon3guc3ek8s1c1hgfeut Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='591';
20240313@175220.9901 hacagjon3guc3ek8s1c1hgfeut Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='591';
20240313@175220.9915 hacagjon3guc3ek8s1c1hgfeut Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='591';
20240313@175221.3500 hic7urjgfhdouthik32ghh5bb7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175221.3710 hic7urjgfhdouthik32ghh5bb7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175221.3890 hic7urjgfhdouthik32ghh5bb7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='592';
20240313@175221.5070 hic7urjgfhdouthik32ghh5bb7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='592';
20240313@175221.5210 hic7urjgfhdouthik32ghh5bb7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='592';
20240313@175221.5370 hic7urjgfhdouthik32ghh5bb7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='592';
20240313@175221.5490 hic7urjgfhdouthik32ghh5bb7 Query : use flama_phc
20240313@175221.5530 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175221.5650 hic7urjgfhdouthik32ghh5bb7 Query : use flama_phc
20240313@175221.5680 hic7urjgfhdouthik32ghh5bb7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=672
20240313@175221.6580 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1825.00.2'
20240313@175221.8130 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1825.00.2'
20240313@175221.8230 hic7urjgfhdouthik32ghh5bb7 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'
20240313@175221.9740 hic7urjgfhdouthik32ghh5bb7 Query : use flama_phc
20240313@175221.9780 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175221.9920 hic7urjgfhdouthik32ghh5bb7 Query : use flama_phc
20240313@175221.9950 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175221.1022 hic7urjgfhdouthik32ghh5bb7 Query : use flama_phc
20240313@175221.1026 hic7urjgfhdouthik32ghh5bb7 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175221.1037 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175221.1051 hic7urjgfhdouthik32ghh5bb7 Query : use flama_phc
20240313@175221.1054 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 ~inactivo valor from cl where no = '101826' and estab = 0 order by inactivo desc
20240313@175221.1159 hic7urjgfhdouthik32ghh5bb7 Query : use flama_phc
20240313@175221.1162 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175221.1173 hic7urjgfhdouthik32ghh5bb7 Query : use flama_phc
20240313@175221.1176 hic7urjgfhdouthik32ghh5bb7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175221.1186 hic7urjgfhdouthik32ghh5bb7 Query : use flama_phc
20240313@175221.1189 hic7urjgfhdouthik32ghh5bb7 Query : select szadrsstamp valor from szadrs where szadrsdesc='frigil-gilberto vieira seco, lda'
20240313@175221.1291 hic7urjgfhdouthik32ghh5bb7 Query : use flama_phc
20240313@175221.1295 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from td where ndoc = 39
20240313@175221.1305 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175221.1317 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175221.1330 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175221.1346 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175221.1359 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175221.1385 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175221.1399 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175221.1409 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175221.1504 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175221.1513 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175221.1527 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175221.1536 hic7urjgfhdouthik32ghh5bb7 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e9287265f1e7d522' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175221.1759 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175221.1774 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175221.1802 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175221.1807 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175221.1812 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175221.1817 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175221.1849 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175221.1854 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175221.1858 hic7urjgfhdouthik32ghh5bb7 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e9287265f1e7d522',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175221.2439 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175221.2476 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175221.2490 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175221.2507 hic7urjgfhdouthik32ghh5bb7 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e9287265f1e7d522',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',433,101826,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175221.2988 hic7urjgfhdouthik32ghh5bb7 Query : use flama_phc
20240313@175221.2993 hic7urjgfhdouthik32ghh5bb7 Query : select st.usalote valor from st where st.ref = '324.1825.00.2'
20240313@175221.3010 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1825.00.2'
20240313@175221.3258 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175221.3306 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175221.3331 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175221.3347 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175221.3376 hic7urjgfhdouthik32ghh5bb7 Query : select sestamp valor from se where ref ='324.1825.00.2' and lote = 'r2300179200a'
20240313@175221.3388 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175221.3399 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175221.3414 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175221.3456 hic7urjgfhdouthik32ghh5bb7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e3951565f1e7d552',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut65f1e9287265f1e7d522' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175221.3727 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175221.3743 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175221.3748 hic7urjgfhdouthik32ghh5bb7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e3951565f1e7d552','aut65f1e9287265f1e7d522' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175221.3755 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175221.3769 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175221.3797 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175221.3811 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175221.3815 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175221.3826 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175221.3839 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175221.3864 hic7urjgfhdouthik32ghh5bb7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e5363665f1e7d55d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e9287265f1e7d522' ,0,0 ,2,23.00,20000,?,?,?)
20240313@175221.4145 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175221.4163 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175221.4167 hic7urjgfhdouthik32ghh5bb7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e5363665f1e7d55d','aut65f1e9287265f1e7d522' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175221.4172 hic7urjgfhdouthik32ghh5bb7 Query : use flama_phc
20240313@175221.4175 hic7urjgfhdouthik32ghh5bb7 Query : select st.usalote valor from st where st.ref = '324.1825.00.2'
20240313@175221.4186 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1825.00.2'
20240313@175221.4198 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175221.4211 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175221.4233 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175221.4247 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175221.4252 hic7urjgfhdouthik32ghh5bb7 Query : select sestamp valor from se where ref ='324.1825.00.2' and lote = 'r2300179200a'
20240313@175221.4263 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175221.4274 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175221.4287 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175221.4547 hic7urjgfhdouthik32ghh5bb7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e7137365f1e7d568',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65f1e9287265f1e7d522' ,0,0 ,2,23.00,40000,?,?,?,?)
20240313@175221.4820 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175221.4835 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175221.4839 hic7urjgfhdouthik32ghh5bb7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e7137365f1e7d568','aut65f1e9287265f1e7d522' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175221.4844 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175221.4857 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175221.4879 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175221.4891 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175221.4898 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175221.4949 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175221.4998 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175221.5023 hic7urjgfhdouthik32ghh5bb7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e5937365f1e7d578',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e9287265f1e7d522' ,0,0 ,2,23.00,50000,?,?,?)
20240313@175221.5521 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175221.5535 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175221.5540 hic7urjgfhdouthik32ghh5bb7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e5937365f1e7d578','aut65f1e9287265f1e7d522' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175221.5544 hic7urjgfhdouthik32ghh5bb7 Query : use flama_phc
20240313@175221.5547 hic7urjgfhdouthik32ghh5bb7 Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20240313@175221.5558 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20240313@175221.5721 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175221.5736 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175221.5761 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175221.5775 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175221.5779 hic7urjgfhdouthik32ghh5bb7 Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2300959200a'
20240313@175221.5798 hic7urjgfhdouthik32ghh5bb7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175221.5807 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175221.5821 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175221.5845 hic7urjgfhdouthik32ghh5bb7 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e0559365f1e7d58d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut65f1e9287265f1e7d522' ,0,0 ,2,23.00,70000,?,?,?,?)
20240313@175221.6135 hic7urjgfhdouthik32ghh5bb7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175221.6152 hic7urjgfhdouthik32ghh5bb7 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175221.6156 hic7urjgfhdouthik32ghh5bb7 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e0559365f1e7d58d','aut65f1e9287265f1e7d522' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175221.6160 hic7urjgfhdouthik32ghh5bb7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e9287265f1e7d522','2402084','wait',39,'ari17112337378,753000005')
20240313@175221.6190 hic7urjgfhdouthik32ghh5bb7 Query : use flama_phc
20240313@175221.6193 hic7urjgfhdouthik32ghh5bb7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175221.6209 hic7urjgfhdouthik32ghh5bb7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='592';
20240313@175221.6224 hic7urjgfhdouthik32ghh5bb7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='592';
20240313@175221.6237 hic7urjgfhdouthik32ghh5bb7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='592';
20240313@175221.6249 hic7urjgfhdouthik32ghh5bb7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='592';
20240313@175221.6576 e7vk23jo1heh5l2btokd085h3a Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175221.6589 e7vk23jo1heh5l2btokd085h3a Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175221.6608 e7vk23jo1heh5l2btokd085h3a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='593';
20240313@175221.6654 e7vk23jo1heh5l2btokd085h3a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='593';
20240313@175221.6679 e7vk23jo1heh5l2btokd085h3a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='593';
20240313@175221.6691 e7vk23jo1heh5l2btokd085h3a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='593';
20240313@175221.6711 e7vk23jo1heh5l2btokd085h3a Query : use flama_phc
20240313@175221.6714 e7vk23jo1heh5l2btokd085h3a Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175221.6726 e7vk23jo1heh5l2btokd085h3a Query : use flama_phc
20240313@175221.6729 e7vk23jo1heh5l2btokd085h3a Query : select no, estab,szadrsdesc from szadrs where u_coddest=2114
20240313@175221.6850 e7vk23jo1heh5l2btokd085h3a 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'
20240313@175221.7018 e7vk23jo1heh5l2btokd085h3a 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'
20240313@175221.7027 e7vk23jo1heh5l2btokd085h3a 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'
20240313@175221.7036 e7vk23jo1heh5l2btokd085h3a Query : use flama_phc
20240313@175221.7039 e7vk23jo1heh5l2btokd085h3a Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175221.7054 e7vk23jo1heh5l2btokd085h3a Query : use flama_phc
20240313@175221.7056 e7vk23jo1heh5l2btokd085h3a Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175221.7066 e7vk23jo1heh5l2btokd085h3a Query : use flama_phc
20240313@175221.7069 e7vk23jo1heh5l2btokd085h3a Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175221.7085 e7vk23jo1heh5l2btokd085h3a Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175221.7100 e7vk23jo1heh5l2btokd085h3a Query : use flama_phc
20240313@175221.7107 e7vk23jo1heh5l2btokd085h3a Query : select top 1 ~inactivo valor from cl where no = '101850' and estab = 0 order by inactivo desc
20240313@175221.7206 e7vk23jo1heh5l2btokd085h3a Query : use flama_phc
20240313@175221.7209 e7vk23jo1heh5l2btokd085h3a Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175221.7222 e7vk23jo1heh5l2btokd085h3a Query : use flama_phc
20240313@175221.7224 e7vk23jo1heh5l2btokd085h3a Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175221.7234 e7vk23jo1heh5l2btokd085h3a Query : use flama_phc
20240313@175221.7237 e7vk23jo1heh5l2btokd085h3a Query : select szadrsstamp valor from szadrs where szadrsdesc='os jerÓnimos-ind.e com.de mÓveis,lda.'
20240313@175221.7251 e7vk23jo1heh5l2btokd085h3a Query : use flama_phc
20240313@175221.7254 e7vk23jo1heh5l2btokd085h3a Query : select 1 valor from td where ndoc = 39
20240313@175221.7263 e7vk23jo1heh5l2btokd085h3a Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175221.7273 e7vk23jo1heh5l2btokd085h3a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175221.7295 e7vk23jo1heh5l2btokd085h3a Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175221.7315 e7vk23jo1heh5l2btokd085h3a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175221.7328 e7vk23jo1heh5l2btokd085h3a Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175221.7371 e7vk23jo1heh5l2btokd085h3a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175221.7387 e7vk23jo1heh5l2btokd085h3a Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175221.7400 e7vk23jo1heh5l2btokd085h3a Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175221.7501 e7vk23jo1heh5l2btokd085h3a Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175221.7511 e7vk23jo1heh5l2btokd085h3a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175221.7524 e7vk23jo1heh5l2btokd085h3a Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175221.7533 e7vk23jo1heh5l2btokd085h3a Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e1695065f1e7d5b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175221.7719 e7vk23jo1heh5l2btokd085h3a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175221.7735 e7vk23jo1heh5l2btokd085h3a Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175221.7763 e7vk23jo1heh5l2btokd085h3a Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175221.7768 e7vk23jo1heh5l2btokd085h3a Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175221.7779 e7vk23jo1heh5l2btokd085h3a Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175221.7784 e7vk23jo1heh5l2btokd085h3a Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175221.7789 e7vk23jo1heh5l2btokd085h3a Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175221.7794 e7vk23jo1heh5l2btokd085h3a Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175221.7798 e7vk23jo1heh5l2btokd085h3a Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e1695065f1e7d5b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175221.8063 e7vk23jo1heh5l2btokd085h3a Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175221.8078 e7vk23jo1heh5l2btokd085h3a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175221.8093 e7vk23jo1heh5l2btokd085h3a Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175221.8112 e7vk23jo1heh5l2btokd085h3a Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e1695065f1e7d5b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',434,101850,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175221.8418 e7vk23jo1heh5l2btokd085h3a Query : use flama_phc
20240313@175221.8422 e7vk23jo1heh5l2btokd085h3a Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20240313@175221.8434 e7vk23jo1heh5l2btokd085h3a Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1676.00.1'
20240313@175221.8592 e7vk23jo1heh5l2btokd085h3a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175221.8606 e7vk23jo1heh5l2btokd085h3a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175221.8628 e7vk23jo1heh5l2btokd085h3a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175221.8641 e7vk23jo1heh5l2btokd085h3a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175221.8648 e7vk23jo1heh5l2btokd085h3a Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2300536100a'
20240313@175221.8658 e7vk23jo1heh5l2btokd085h3a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175221.8668 e7vk23jo1heh5l2btokd085h3a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175221.8682 e7vk23jo1heh5l2btokd085h3a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175221.8707 e7vk23jo1heh5l2btokd085h3a Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e6777665f1e7d5d3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut65f1e1695065f1e7d5b4' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175221.8986 e7vk23jo1heh5l2btokd085h3a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175221.9001 e7vk23jo1heh5l2btokd085h3a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175221.9005 e7vk23jo1heh5l2btokd085h3a Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e6777665f1e7d5d3','aut65f1e1695065f1e7d5b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175221.9009 e7vk23jo1heh5l2btokd085h3a Query : use flama_phc
20240313@175221.9013 e7vk23jo1heh5l2btokd085h3a Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20240313@175221.9024 e7vk23jo1heh5l2btokd085h3a Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1676.00.1'
20240313@175221.9040 e7vk23jo1heh5l2btokd085h3a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175221.9054 e7vk23jo1heh5l2btokd085h3a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175221.9077 e7vk23jo1heh5l2btokd085h3a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175221.9089 e7vk23jo1heh5l2btokd085h3a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175221.9094 e7vk23jo1heh5l2btokd085h3a Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2300536100a'
20240313@175221.9103 e7vk23jo1heh5l2btokd085h3a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175221.9113 e7vk23jo1heh5l2btokd085h3a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175221.9125 e7vk23jo1heh5l2btokd085h3a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175221.9147 e7vk23jo1heh5l2btokd085h3a Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e6709965f1e7d5de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65f1e1695065f1e7d5b4' ,0,0 ,2,23.00,20000,?,?,?,?)
20240313@175221.9447 e7vk23jo1heh5l2btokd085h3a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175221.9463 e7vk23jo1heh5l2btokd085h3a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175221.9469 e7vk23jo1heh5l2btokd085h3a Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e6709965f1e7d5de','aut65f1e1695065f1e7d5b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175221.9474 e7vk23jo1heh5l2btokd085h3a Query : use flama_phc
20240313@175221.9477 e7vk23jo1heh5l2btokd085h3a Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20240313@175221.9488 e7vk23jo1heh5l2btokd085h3a Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20240313@175221.9499 e7vk23jo1heh5l2btokd085h3a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175221.9513 e7vk23jo1heh5l2btokd085h3a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175221.9536 e7vk23jo1heh5l2btokd085h3a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175221.9548 e7vk23jo1heh5l2btokd085h3a Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175221.9552 e7vk23jo1heh5l2btokd085h3a Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2300959200a'
20240313@175221.9562 e7vk23jo1heh5l2btokd085h3a Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175221.9571 e7vk23jo1heh5l2btokd085h3a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175221.9583 e7vk23jo1heh5l2btokd085h3a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175221.9606 e7vk23jo1heh5l2btokd085h3a Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e3612765f1e7d5e9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65f1e1695065f1e7d5b4' ,0,0 ,2,23.00,30000,?,?,?,?)
20240313@175221.9888 e7vk23jo1heh5l2btokd085h3a Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175221.9906 e7vk23jo1heh5l2btokd085h3a Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175221.9910 e7vk23jo1heh5l2btokd085h3a Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e3612765f1e7d5e9','aut65f1e1695065f1e7d5b4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175221.9914 e7vk23jo1heh5l2btokd085h3a Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e1695065f1e7d5b4','2402085','wait',39,'ari17112337378,753000005')
20240313@175221.9936 e7vk23jo1heh5l2btokd085h3a Query : use flama_phc
20240313@175221.9940 e7vk23jo1heh5l2btokd085h3a Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175221.9952 e7vk23jo1heh5l2btokd085h3a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='593';
20240313@175221.9969 e7vk23jo1heh5l2btokd085h3a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='593';
20240313@175221.9982 e7vk23jo1heh5l2btokd085h3a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='593';
20240313@175221.9996 e7vk23jo1heh5l2btokd085h3a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='593';
20240313@175222.4420 2qko06pj6tn947lgp01hvr0d4p Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175222.4600 2qko06pj6tn947lgp01hvr0d4p Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175222.4820 2qko06pj6tn947lgp01hvr0d4p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='594';
20240313@175222.7740 2qko06pj6tn947lgp01hvr0d4p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='594';
20240313@175222.7950 2qko06pj6tn947lgp01hvr0d4p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='594';
20240313@175222.8120 2qko06pj6tn947lgp01hvr0d4p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='594';
20240313@175222.8280 2qko06pj6tn947lgp01hvr0d4p Query : use flama_phc
20240313@175222.8330 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175222.8540 2qko06pj6tn947lgp01hvr0d4p Query : use flama_phc
20240313@175222.8580 2qko06pj6tn947lgp01hvr0d4p Query : select no, estab,szadrsdesc from szadrs where u_coddest=68
20240313@175222.9520 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240313@175222.1120 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240313@175222.1133 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240313@175222.1290 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240313@175222.1317 2qko06pj6tn947lgp01hvr0d4p Query : use flama_phc
20240313@175222.1321 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175222.1341 2qko06pj6tn947lgp01hvr0d4p Query : use flama_phc
20240313@175222.1345 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175222.1357 2qko06pj6tn947lgp01hvr0d4p Query : use flama_phc
20240313@175222.1360 2qko06pj6tn947lgp01hvr0d4p Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175222.1377 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175222.1395 2qko06pj6tn947lgp01hvr0d4p Query : use flama_phc
20240313@175222.1399 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240313@175222.1411 2qko06pj6tn947lgp01hvr0d4p Query : use flama_phc
20240313@175222.1415 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175222.1428 2qko06pj6tn947lgp01hvr0d4p Query : use flama_phc
20240313@175222.1431 2qko06pj6tn947lgp01hvr0d4p Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175222.1452 2qko06pj6tn947lgp01hvr0d4p Query : use flama_phc
20240313@175222.1456 2qko06pj6tn947lgp01hvr0d4p Query : select szadrsstamp valor from szadrs where szadrsdesc='joaquim oliveira mendes,lda jom'
20240313@175222.1477 2qko06pj6tn947lgp01hvr0d4p Query : use flama_phc
20240313@175222.1481 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from td where ndoc = 39
20240313@175222.1494 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175222.1508 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175222.1532 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175222.1566 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175222.1581 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175222.1623 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175222.1645 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175222.1660 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175222.1776 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175222.1790 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175222.1806 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175222.1820 2qko06pj6tn947lgp01hvr0d4p Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e6107065f1e7d628' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175222.2037 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175222.2095 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175222.2148 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175222.2155 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175222.2161 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175222.2166 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175222.2172 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175222.2178 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175222.2317 2qko06pj6tn947lgp01hvr0d4p Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e6107065f1e7d628',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175222.2614 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175222.2635 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175222.2648 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175222.2684 2qko06pj6tn947lgp01hvr0d4p Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e6107065f1e7d628',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',435,101621,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175222.3022 2qko06pj6tn947lgp01hvr0d4p Query : use flama_phc
20240313@175222.3050 2qko06pj6tn947lgp01hvr0d4p Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240313@175222.3065 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240313@175222.3229 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175222.3243 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175222.3300 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175222.3314 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175222.3319 2qko06pj6tn947lgp01hvr0d4p Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301256200a'
20240313@175222.3341 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175222.3351 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175222.3365 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175222.3434 2qko06pj6tn947lgp01hvr0d4p Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e3852665f1e7d651',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut65f1e6107065f1e7d628' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175222.3806 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175222.3861 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175222.3867 2qko06pj6tn947lgp01hvr0d4p Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e3852665f1e7d651','aut65f1e6107065f1e7d628' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175222.3872 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175222.3896 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175222.3924 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175222.4073 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175222.4195 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175222.4206 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175222.4221 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175222.4368 2qko06pj6tn947lgp01hvr0d4p Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e3620565f1e7d666',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e6107065f1e7d628' ,0,0 ,2,23.00,20000,?,?,?)
20240313@175222.4662 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175222.4678 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175222.4682 2qko06pj6tn947lgp01hvr0d4p Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e3620565f1e7d666','aut65f1e6107065f1e7d628' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175222.4687 2qko06pj6tn947lgp01hvr0d4p Query : use flama_phc
20240313@175222.4691 2qko06pj6tn947lgp01hvr0d4p Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240313@175222.4705 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240313@175222.4716 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175222.4730 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175222.4757 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175222.4770 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175222.4776 2qko06pj6tn947lgp01hvr0d4p Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301256200a'
20240313@175222.4791 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175222.4806 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175222.4820 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175222.4873 2qko06pj6tn947lgp01hvr0d4p Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e5678765f1e7d675',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65f1e6107065f1e7d628' ,0,0 ,2,23.00,40000,?,?,?,?)
20240313@175222.5180 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175222.5204 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175222.5209 2qko06pj6tn947lgp01hvr0d4p Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e5678765f1e7d675','aut65f1e6107065f1e7d628' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175222.5213 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175222.5227 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175222.5261 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175222.5275 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175222.5309 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175222.5323 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175222.5339 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175222.5370 2qko06pj6tn947lgp01hvr0d4p Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e4823865f1e7d681',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e6107065f1e7d628' ,0,0 ,2,23.00,50000,?,?,?)
20240313@175222.5663 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175222.5678 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175222.5718 2qko06pj6tn947lgp01hvr0d4p Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e4823865f1e7d681','aut65f1e6107065f1e7d628' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175222.5724 2qko06pj6tn947lgp01hvr0d4p Query : use flama_phc
20240313@175222.5728 2qko06pj6tn947lgp01hvr0d4p Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240313@175222.5741 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20240313@175222.5903 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175222.5918 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175222.5962 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175222.5977 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175222.6022 2qko06pj6tn947lgp01hvr0d4p Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301256100a'
20240313@175222.6035 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175222.6048 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175222.6072 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175222.6097 2qko06pj6tn947lgp01hvr0d4p Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e0200265f1e7d693',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut65f1e6107065f1e7d628' ,0,0 ,2,23.00,70000,?,?,?,?)
20240313@175222.6408 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175222.6423 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175222.6428 2qko06pj6tn947lgp01hvr0d4p Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e0200265f1e7d693','aut65f1e6107065f1e7d628' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175222.6433 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175222.6450 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175222.6476 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175222.6496 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175222.6501 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175222.6511 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175222.6524 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175222.6554 2qko06pj6tn947lgp01hvr0d4p Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e0847065f1e7d69e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e6107065f1e7d628' ,0,0 ,2,23.00,80000,?,?,?)
20240313@175222.6865 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175222.6882 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175222.6887 2qko06pj6tn947lgp01hvr0d4p Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e0847065f1e7d69e','aut65f1e6107065f1e7d628' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175222.6892 2qko06pj6tn947lgp01hvr0d4p Query : use flama_phc
20240313@175222.6896 2qko06pj6tn947lgp01hvr0d4p Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240313@175222.6908 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20240313@175222.6920 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175222.6933 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175222.6960 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175222.6974 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175222.6978 2qko06pj6tn947lgp01hvr0d4p Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301256100a'
20240313@175222.6990 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175222.7000 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175222.7014 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175222.7044 2qko06pj6tn947lgp01hvr0d4p Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e6864265f1e7d6aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65f1e6107065f1e7d628' ,0,0 ,2,23.00,100000,?,?,?,?)
20240313@175222.7586 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175222.8583 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175222.8588 2qko06pj6tn947lgp01hvr0d4p Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e6864265f1e7d6aa','aut65f1e6107065f1e7d628' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175222.8594 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175222.8609 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175222.8635 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175222.8662 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175222.8667 2qko06pj6tn947lgp01hvr0d4p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175222.8677 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175222.8690 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175222.8713 2qko06pj6tn947lgp01hvr0d4p Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e0886865f1e7d6d3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e6107065f1e7d628' ,0,0 ,2,23.00,110000,?,?,?)
20240313@175222.8998 2qko06pj6tn947lgp01hvr0d4p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175222.9015 2qko06pj6tn947lgp01hvr0d4p Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175222.9020 2qko06pj6tn947lgp01hvr0d4p Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e0886865f1e7d6d3','aut65f1e6107065f1e7d628' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175222.9024 2qko06pj6tn947lgp01hvr0d4p Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e6107065f1e7d628','2402089','wait',39,'ari17112337378,753000005')
20240313@175222.9042 2qko06pj6tn947lgp01hvr0d4p Query : use flama_phc
20240313@175222.9044 2qko06pj6tn947lgp01hvr0d4p Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175222.9055 2qko06pj6tn947lgp01hvr0d4p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='594';
20240313@175222.9091 2qko06pj6tn947lgp01hvr0d4p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='594';
20240313@175222.9104 2qko06pj6tn947lgp01hvr0d4p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='594';
20240313@175222.9116 2qko06pj6tn947lgp01hvr0d4p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='594';
20240313@175222.9855 0cc5q63p1r4rbci8d6veal99ni Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175222.9869 0cc5q63p1r4rbci8d6veal99ni Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175222.9888 0cc5q63p1r4rbci8d6veal99ni Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='595';
20240313@175222.9934 0cc5q63p1r4rbci8d6veal99ni Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='595';
20240313@175222.9953 0cc5q63p1r4rbci8d6veal99ni Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='595';
20240313@175222.9966 0cc5q63p1r4rbci8d6veal99ni Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='595';
20240313@175222.9980 0cc5q63p1r4rbci8d6veal99ni Query : use flama_phc
20240313@175222.9984 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175222.9999 0cc5q63p1r4rbci8d6veal99ni Query : use flama_phc
20240313@175223.3000 0cc5q63p1r4rbci8d6veal99ni Query : select no, estab,szadrsdesc from szadrs where u_coddest=3145
20240313@175223.8700 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240313@175223.9900 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240313@175223.1090 0cc5q63p1r4rbci8d6veal99ni Query : use flama_phc
20240313@175223.1120 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175223.1240 0cc5q63p1r4rbci8d6veal99ni Query : use flama_phc
20240313@175223.1280 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175223.1390 0cc5q63p1r4rbci8d6veal99ni Query : use flama_phc
20240313@175223.1430 0cc5q63p1r4rbci8d6veal99ni Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175223.1550 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175223.1730 0cc5q63p1r4rbci8d6veal99ni Query : use flama_phc
20240313@175223.1760 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240313@175223.1870 0cc5q63p1r4rbci8d6veal99ni Query : use flama_phc
20240313@175223.1910 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175223.2080 0cc5q63p1r4rbci8d6veal99ni Query : use flama_phc
20240313@175223.2120 0cc5q63p1r4rbci8d6veal99ni Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175223.2250 0cc5q63p1r4rbci8d6veal99ni Query : use flama_phc
20240313@175223.2280 0cc5q63p1r4rbci8d6veal99ni Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - caldas da rainha'
20240313@175223.2420 0cc5q63p1r4rbci8d6veal99ni Query : use flama_phc
20240313@175223.2450 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from td where ndoc = 39
20240313@175223.2580 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175223.2710 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175223.2870 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175223.3100 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175223.3260 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175223.3620 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175223.3800 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175223.3920 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175223.4950 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175223.5080 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175223.5240 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175223.5380 0cc5q63p1r4rbci8d6veal99ni Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e0213165f1e7d709' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175223.7790 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175223.8030 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175223.8370 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175223.8430 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175223.8470 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175223.8530 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175223.8580 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175223.8630 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175223.8670 0cc5q63p1r4rbci8d6veal99ni Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e0213165f1e7d709',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175223.1166 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175223.1185 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175223.1200 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175223.1221 0cc5q63p1r4rbci8d6veal99ni Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e0213165f1e7d709',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',436,101621,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175223.1561 0cc5q63p1r4rbci8d6veal99ni Query : use flama_phc
20240313@175223.1565 0cc5q63p1r4rbci8d6veal99ni Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240313@175223.1576 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20240313@175223.1587 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175223.1602 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175223.1627 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175223.1642 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175223.1646 0cc5q63p1r4rbci8d6veal99ni Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301256100a'
20240313@175223.1656 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175223.1666 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175223.1679 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175223.1704 0cc5q63p1r4rbci8d6veal99ni Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e5722865f1e7d728',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut65f1e0213165f1e7d709' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175223.1985 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175223.2002 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175223.2007 0cc5q63p1r4rbci8d6veal99ni Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e5722865f1e7d728','aut65f1e0213165f1e7d709' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175223.2012 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175223.2026 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175223.2053 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175223.2065 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175223.2069 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175223.2080 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175223.2093 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175223.2121 0cc5q63p1r4rbci8d6veal99ni Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e7216565f1e7d732',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e0213165f1e7d709' ,0,0 ,2,23.00,20000,?,?,?)
20240313@175223.2406 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175223.2455 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175223.2460 0cc5q63p1r4rbci8d6veal99ni Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e7216565f1e7d732','aut65f1e0213165f1e7d709' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175223.2465 0cc5q63p1r4rbci8d6veal99ni Query : use flama_phc
20240313@175223.2468 0cc5q63p1r4rbci8d6veal99ni Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240313@175223.2480 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20240313@175223.2493 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175223.2510 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175223.2538 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175223.2555 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175223.2560 0cc5q63p1r4rbci8d6veal99ni Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301256100a'
20240313@175223.2573 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175223.2585 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175223.2606 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175223.2633 0cc5q63p1r4rbci8d6veal99ni Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e2248665f1e7d73f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut65f1e0213165f1e7d709' ,0,0 ,2,23.00,40000,?,?,?,?)
20240313@175223.2910 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175223.2926 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175223.2931 0cc5q63p1r4rbci8d6veal99ni Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e2248665f1e7d73f','aut65f1e0213165f1e7d709' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175223.2937 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175223.2977 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175223.3003 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175223.3020 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175223.3025 0cc5q63p1r4rbci8d6veal99ni Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175223.4615 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175223.5330 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175223.5362 0cc5q63p1r4rbci8d6veal99ni Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e9608065f1e7d770',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e0213165f1e7d709' ,0,0 ,2,23.00,50000,?,?,?)
20240313@175223.5640 0cc5q63p1r4rbci8d6veal99ni Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175223.5657 0cc5q63p1r4rbci8d6veal99ni Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175223.5662 0cc5q63p1r4rbci8d6veal99ni Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e9608065f1e7d770','aut65f1e0213165f1e7d709' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175223.5667 0cc5q63p1r4rbci8d6veal99ni Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e0213165f1e7d709','2402090','wait',39,'ari17112337378,753000005')
20240313@175223.5684 0cc5q63p1r4rbci8d6veal99ni Query : use flama_phc
20240313@175223.5687 0cc5q63p1r4rbci8d6veal99ni Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175223.5699 0cc5q63p1r4rbci8d6veal99ni Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='595';
20240313@175223.5718 0cc5q63p1r4rbci8d6veal99ni Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='595';
20240313@175223.5730 0cc5q63p1r4rbci8d6veal99ni Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='595';
20240313@175223.5811 0cc5q63p1r4rbci8d6veal99ni Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='595';
20240313@175223.6257 9kdr90tu1j7tgjogauivkksclp Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175223.6270 9kdr90tu1j7tgjogauivkksclp Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175223.6288 9kdr90tu1j7tgjogauivkksclp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='596';
20240313@175223.6358 9kdr90tu1j7tgjogauivkksclp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='596';
20240313@175223.6373 9kdr90tu1j7tgjogauivkksclp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='596';
20240313@175223.6387 9kdr90tu1j7tgjogauivkksclp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='596';
20240313@175223.6401 9kdr90tu1j7tgjogauivkksclp Query : use flama_phc
20240313@175223.6404 9kdr90tu1j7tgjogauivkksclp Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175223.6418 9kdr90tu1j7tgjogauivkksclp Query : use flama_phc
20240313@175223.6421 9kdr90tu1j7tgjogauivkksclp Query : select no, estab,szadrsdesc from szadrs where u_coddest=1453
20240313@175223.6514 9kdr90tu1j7tgjogauivkksclp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20240313@175223.6526 9kdr90tu1j7tgjogauivkksclp Query : use flama_phc
20240313@175223.6529 9kdr90tu1j7tgjogauivkksclp Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175223.6543 9kdr90tu1j7tgjogauivkksclp Query : use flama_phc
20240313@175223.6547 9kdr90tu1j7tgjogauivkksclp Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175223.6558 9kdr90tu1j7tgjogauivkksclp Query : use flama_phc
20240313@175223.6561 9kdr90tu1j7tgjogauivkksclp Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175223.6573 9kdr90tu1j7tgjogauivkksclp Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175223.6588 9kdr90tu1j7tgjogauivkksclp Query : use flama_phc
20240313@175223.6592 9kdr90tu1j7tgjogauivkksclp Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240313@175223.6604 9kdr90tu1j7tgjogauivkksclp Query : use flama_phc
20240313@175223.6607 9kdr90tu1j7tgjogauivkksclp Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175223.6620 9kdr90tu1j7tgjogauivkksclp Query : use flama_phc
20240313@175223.6631 9kdr90tu1j7tgjogauivkksclp Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175223.6677 9kdr90tu1j7tgjogauivkksclp Query : use flama_phc
20240313@175223.6681 9kdr90tu1j7tgjogauivkksclp Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - batalha'
20240313@175223.6696 9kdr90tu1j7tgjogauivkksclp Query : use flama_phc
20240313@175223.6700 9kdr90tu1j7tgjogauivkksclp Query : select 1 valor from td where ndoc = 39
20240313@175223.6711 9kdr90tu1j7tgjogauivkksclp Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175223.6731 9kdr90tu1j7tgjogauivkksclp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175223.6747 9kdr90tu1j7tgjogauivkksclp Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175223.6928 9kdr90tu1j7tgjogauivkksclp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175223.7107 9kdr90tu1j7tgjogauivkksclp Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175223.7139 9kdr90tu1j7tgjogauivkksclp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175223.7154 9kdr90tu1j7tgjogauivkksclp Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175223.7165 9kdr90tu1j7tgjogauivkksclp Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175223.7264 9kdr90tu1j7tgjogauivkksclp Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175223.7275 9kdr90tu1j7tgjogauivkksclp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175223.7290 9kdr90tu1j7tgjogauivkksclp Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175223.7301 9kdr90tu1j7tgjogauivkksclp Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e9041965f1e7d7ae' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175223.7489 9kdr90tu1j7tgjogauivkksclp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175223.7506 9kdr90tu1j7tgjogauivkksclp Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175223.7537 9kdr90tu1j7tgjogauivkksclp Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175223.7543 9kdr90tu1j7tgjogauivkksclp Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175223.7549 9kdr90tu1j7tgjogauivkksclp Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175223.7554 9kdr90tu1j7tgjogauivkksclp Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175223.7560 9kdr90tu1j7tgjogauivkksclp Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175223.7565 9kdr90tu1j7tgjogauivkksclp Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175223.7570 9kdr90tu1j7tgjogauivkksclp Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e9041965f1e7d7ae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175223.7839 9kdr90tu1j7tgjogauivkksclp Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175223.7856 9kdr90tu1j7tgjogauivkksclp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175223.7870 9kdr90tu1j7tgjogauivkksclp Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175223.7890 9kdr90tu1j7tgjogauivkksclp Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e9041965f1e7d7ae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',437,101621,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175223.8194 9kdr90tu1j7tgjogauivkksclp Query : use flama_phc
20240313@175223.8199 9kdr90tu1j7tgjogauivkksclp Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20240313@175223.8213 9kdr90tu1j7tgjogauivkksclp Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1832.00.2'
20240313@175223.8227 9kdr90tu1j7tgjogauivkksclp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175223.8242 9kdr90tu1j7tgjogauivkksclp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175223.8274 9kdr90tu1j7tgjogauivkksclp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175223.8293 9kdr90tu1j7tgjogauivkksclp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175223.8298 9kdr90tu1j7tgjogauivkksclp Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2301256100a'
20240313@175223.8309 9kdr90tu1j7tgjogauivkksclp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175223.8323 9kdr90tu1j7tgjogauivkksclp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175223.8337 9kdr90tu1j7tgjogauivkksclp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175223.8414 9kdr90tu1j7tgjogauivkksclp Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e6254865f1e7d7cb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut65f1e9041965f1e7d7ae' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175223.8719 9kdr90tu1j7tgjogauivkksclp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175223.8738 9kdr90tu1j7tgjogauivkksclp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175223.8744 9kdr90tu1j7tgjogauivkksclp Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e6254865f1e7d7cb','aut65f1e9041965f1e7d7ae' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175223.8749 9kdr90tu1j7tgjogauivkksclp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175223.8762 9kdr90tu1j7tgjogauivkksclp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175223.8786 9kdr90tu1j7tgjogauivkksclp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175223.8798 9kdr90tu1j7tgjogauivkksclp Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175223.8803 9kdr90tu1j7tgjogauivkksclp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175223.8812 9kdr90tu1j7tgjogauivkksclp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175223.8825 9kdr90tu1j7tgjogauivkksclp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175223.8851 9kdr90tu1j7tgjogauivkksclp Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut65f1e1514365f1e7d7d7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut65f1e9041965f1e7d7ae' ,0,0 ,2,23.00,20000,?,?,?)
20240313@175223.9176 9kdr90tu1j7tgjogauivkksclp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175223.9193 9kdr90tu1j7tgjogauivkksclp Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175223.9198 9kdr90tu1j7tgjogauivkksclp Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e1514365f1e7d7d7','aut65f1e9041965f1e7d7ae' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240313@175223.9202 9kdr90tu1j7tgjogauivkksclp Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut65f1e9041965f1e7d7ae','2402091','wait',39,'ari17112337378,753000005')
20240313@175223.9290 9kdr90tu1j7tgjogauivkksclp Query : use flama_phc
20240313@175223.9294 9kdr90tu1j7tgjogauivkksclp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240313@175223.9307 9kdr90tu1j7tgjogauivkksclp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='596';
20240313@175223.9325 9kdr90tu1j7tgjogauivkksclp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='596';
20240313@175223.9342 9kdr90tu1j7tgjogauivkksclp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='596';
20240313@175223.9355 9kdr90tu1j7tgjogauivkksclp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='596';
20240313@175223.9693 v91kvb7n54849om9rdr30243h6 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240313@175223.9712 v91kvb7n54849om9rdr30243h6 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240313@175223.9732 v91kvb7n54849om9rdr30243h6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='597';
20240313@175223.9779 v91kvb7n54849om9rdr30243h6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='597';
20240313@175223.9796 v91kvb7n54849om9rdr30243h6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='597';
20240313@175223.9811 v91kvb7n54849om9rdr30243h6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='597';
20240313@175223.9823 v91kvb7n54849om9rdr30243h6 Query : use flama_phc
20240313@175223.9827 v91kvb7n54849om9rdr30243h6 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240313@175223.9842 v91kvb7n54849om9rdr30243h6 Query : use flama_phc
20240313@175223.9845 v91kvb7n54849om9rdr30243h6 Query : select no, estab,szadrsdesc from szadrs where u_coddest=886
20240313@175223.9932 v91kvb7n54849om9rdr30243h6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240313@175223.9945 v91kvb7n54849om9rdr30243h6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240313@175223.9956 v91kvb7n54849om9rdr30243h6 Query : use flama_phc
20240313@175223.9960 v91kvb7n54849om9rdr30243h6 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240313@175223.9974 v91kvb7n54849om9rdr30243h6 Query : use flama_phc
20240313@175223.9978 v91kvb7n54849om9rdr30243h6 Query : select top 1 1 valor from td where td.ndoc = 39
20240313@175223.9994 v91kvb7n54849om9rdr30243h6 Query : use flama_phc
20240313@175223.9998 v91kvb7n54849om9rdr30243h6 Query : select descricao ,case when valor='s' then 1 else 0 end usalotes from para1 where descricao in ('st_lote')
20240313@175224.9000 v91kvb7n54849om9rdr30243h6 Query : select top 1 assinadoc issigned ,td.lancasl stocks ,'cl' origin ,case when (cmsl between 1 and 50 ) then 1 else 0 end entrada ,case when (cmsl>50 ) then 1 else 0 end saida ,~lotestock validatestock ,tiposaft from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc =39
20240313@175224.2500 v91kvb7n54849om9rdr30243h6 Query : use flama_phc
20240313@175224.2800 v91kvb7n54849om9rdr30243h6 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20240313@175224.3800 v91kvb7n54849om9rdr30243h6 Query : use flama_phc
20240313@175224.4100 v91kvb7n54849om9rdr30243h6 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240313@175224.5200 v91kvb7n54849om9rdr30243h6 Query : use flama_phc
20240313@175224.5600 v91kvb7n54849om9rdr30243h6 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240313@175224.6700 v91kvb7n54849om9rdr30243h6 Query : use flama_phc
20240313@175224.7000 v91kvb7n54849om9rdr30243h6 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda coimbra'
20240313@175224.8500 v91kvb7n54849om9rdr30243h6 Query : use flama_phc
20240313@175224.8900 v91kvb7n54849om9rdr30243h6 Query : select 1 valor from td where ndoc = 39
20240313@175224.9900 v91kvb7n54849om9rdr30243h6 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240313@175224.1120 v91kvb7n54849om9rdr30243h6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175224.1270 v91kvb7n54849om9rdr30243h6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft039fields
20240313@175224.1460 v91kvb7n54849om9rdr30243h6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175224.1590 v91kvb7n54849om9rdr30243h6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft2039fields
20240313@175224.1850 v91kvb7n54849om9rdr30243h6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175224.1990 v91kvb7n54849om9rdr30243h6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsft3039fields
20240313@175224.2100 v91kvb7n54849om9rdr30243h6 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175224.3090 v91kvb7n54849om9rdr30243h6 Query : select top 1 ft.fno valor from wsft039data ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240313@175224.3200 v91kvb7n54849om9rdr30243h6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft3039fields'
20240313@175224.3410 v91kvb7n54849om9rdr30243h6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft3039fields
20240313@175224.3510 v91kvb7n54849om9rdr30243h6 Query : insert into wsft3039data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut65f1e8171765f1e7d805' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240313@175224.5560 v91kvb7n54849om9rdr30243h6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft2039fields'
20240313@175224.5750 v91kvb7n54849om9rdr30243h6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft2039fields
20240313@175224.6080 v91kvb7n54849om9rdr30243h6 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240313@175224.6130 v91kvb7n54849om9rdr30243h6 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240313@175224.6180 v91kvb7n54849om9rdr30243h6 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240313@175224.6290 v91kvb7n54849om9rdr30243h6 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240313@175224.6340 v91kvb7n54849om9rdr30243h6 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240313@175224.6390 v91kvb7n54849om9rdr30243h6 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240313@175224.6430 v91kvb7n54849om9rdr30243h6 Query : insert into wsft2039data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut65f1e8171765f1e7d805',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240313@175224.9300 v91kvb7n54849om9rdr30243h6 Query : select top 1 fno valor from wsft039data order by fno desc
20240313@175224.9470 v91kvb7n54849om9rdr30243h6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsft039fields'
20240313@175224.9630 v91kvb7n54849om9rdr30243h6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsft039fields
20240313@175224.9810 v91kvb7n54849om9rdr30243h6 Query : insert into wsft039data (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,cdata,chora,carga,descar,site ,classe ) values ('aut65f1e8171765f1e7d805',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',438,101621,0,'2024-03-13',39,'euro',0,0,2024 ,'20240313','1822',?,?,?,?)
20240313@175224.1334 v91kvb7n54849om9rdr30243h6 Query : use flama_phc
20240313@175224.1338 v91kvb7n54849om9rdr30243h6 Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240313@175224.1350 v91kvb7n54849om9rdr30243h6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240313@175224.1362 v91kvb7n54849om9rdr30243h6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175224.1378 v91kvb7n54849om9rdr30243h6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi039fields
20240313@175224.1403 v91kvb7n54849om9rdr30243h6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175224.1418 v91kvb7n54849om9rdr30243h6 Query : select fieldkey,fieldname,fieldtype,mandatory from wsfi2039fields
20240313@175224.1422 v91kvb7n54849om9rdr30243h6 Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301256200a'
20240313@175224.1432 v91kvb7n54849om9rdr30243h6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240313@175224.1483 v91kvb7n54849om9rdr30243h6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi039fields'
20240313@175224.1536 v91kvb7n54849om9rdr30243h6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi039fields
20240313@175224.1565 v91kvb7n54849om9rdr30243h6 Query : insert into wsfi039data (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem) values ('aut65f1e1036165f1e7d824',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut65f1e8171765f1e7d805' ,0,0 ,2,23.00,10000,?,?,?,?)
20240313@175224.1995 v91kvb7n54849om9rdr30243h6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wsfi2039fields'
20240313@175224.2011 v91kvb7n54849om9rdr30243h6 Query : select fieldkey,fieldname,fieldtype,calcformula from wsfi2039fields
20240313@175224.2016 v91kvb7n54849om9rdr30243h6 Query : insert into wsfi2039data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut65f1e1036165f1e7d824','aut65f1e8171765f1e7d805' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
