20241209@085156.6031 d5d78ndmvpafp6621or5q2pgej Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3786';
20241209@085156.6120 d5d78ndmvpafp6621or5q2pgej Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3786';
20241209@085156.6159 d5d78ndmvpafp6621or5q2pgej Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3786';
20241209@085156.6218 d5d78ndmvpafp6621or5q2pgej Query : use flama_phc
20241209@085156.6226 d5d78ndmvpafp6621or5q2pgej Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241209@085156.6289 d5d78ndmvpafp6621or5q2pgej Query : use flama_phc
20241209@085156.6292 d5d78ndmvpafp6621or5q2pgej Query : select no, estab,szadrsdesc from szadrs where u_coddest=2014
20241209@085156.6391 d5d78ndmvpafp6621or5q2pgej Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20241209@085156.6421 d5d78ndmvpafp6621or5q2pgej Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408358 and bi.ref ='324.1642.00.2' and bi.lordem =1
20241209@085156.6764 d5d78ndmvpafp6621or5q2pgej Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@085156.6792 d5d78ndmvpafp6621or5q2pgej Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408358 and bi.ref ='324.658.00.01' and bi.lordem =2
20241209@085156.7168 d5d78ndmvpafp6621or5q2pgej Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@085156.7190 d5d78ndmvpafp6621or5q2pgej Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408358 and bi.ref ='324.658.00.01' and bi.lordem =2
20241209@085156.7209 d5d78ndmvpafp6621or5q2pgej Query : use flama_phc
20241209@085156.7216 d5d78ndmvpafp6621or5q2pgej Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241209@085156.7251 d5d78ndmvpafp6621or5q2pgej Query : use flama_phc
20241209@085156.7254 d5d78ndmvpafp6621or5q2pgej Query : select top 1 1 valor from td where td.ndoc = 39
20241209@085156.7287 d5d78ndmvpafp6621or5q2pgej Query : use flama_phc
20241209@085156.7290 d5d78ndmvpafp6621or5q2pgej Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241209@085156.7322 d5d78ndmvpafp6621or5q2pgej Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241209@085156.7364 d5d78ndmvpafp6621or5q2pgej Query : use flama_phc
20241209@085156.7367 d5d78ndmvpafp6621or5q2pgej Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241209@085156.7398 d5d78ndmvpafp6621or5q2pgej Query : use flama_phc
20241209@085156.7401 d5d78ndmvpafp6621or5q2pgej Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241209@085156.7438 d5d78ndmvpafp6621or5q2pgej Query : use flama_phc
20241209@085156.7441 d5d78ndmvpafp6621or5q2pgej Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241209@085156.7488 d5d78ndmvpafp6621or5q2pgej Query : use flama_phc
20241209@085156.7491 d5d78ndmvpafp6621or5q2pgej Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - guarda'
20241209@085156.7539 d5d78ndmvpafp6621or5q2pgej Query : use flama_phc
20241209@085156.7542 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from td where ndoc = 39
20241209@085156.7555 d5d78ndmvpafp6621or5q2pgej Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241209@085156.7570 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085156.7587 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085156.7606 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085156.7621 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085156.7649 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085156.7663 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085156.7676 d5d78ndmvpafp6621or5q2pgej Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085156.7733 d5d78ndmvpafp6621or5q2pgej Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085156.7746 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085156.7763 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085156.7779 d5d78ndmvpafp6621or5q2pgej Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6756a544056756afacbb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241209@085156.7981 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085156.8201 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085156.8248 d5d78ndmvpafp6621or5q2pgej Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241209@085156.8264 d5d78ndmvpafp6621or5q2pgej Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241209@085156.8279 d5d78ndmvpafp6621or5q2pgej Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241209@085156.8293 d5d78ndmvpafp6621or5q2pgej Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241209@085156.8308 d5d78ndmvpafp6621or5q2pgej Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241209@085156.8324 d5d78ndmvpafp6621or5q2pgej Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241209@085156.8341 d5d78ndmvpafp6621or5q2pgej Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6756a544056756afacbb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241209@085156.8579 d5d78ndmvpafp6621or5q2pgej Query : select top 1 fno valor from wsftdata order by fno desc
20241209@085156.8632 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085156.8701 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085156.8956 d5d78ndmvpafp6621or5q2pgej Query : select 'normal' from dummy
20241209@085156.8974 d5d78ndmvpafp6621or5q2pgej Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6756a544056756afacbb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2289,101621,0,'2024-12-09',39,'euro',0,0,2024 ,?,?)
20241209@085157.2680 d5d78ndmvpafp6621or5q2pgej Query : use flama_phc
20241209@085157.2730 d5d78ndmvpafp6621or5q2pgej Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20241209@085157.2970 d5d78ndmvpafp6621or5q2pgej Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20241209@085157.3110 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.3330 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085157.3640 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.3800 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085157.3900 d5d78ndmvpafp6621or5q2pgej Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085157.4020 d5d78ndmvpafp6621or5q2pgej Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20241209@085157.4250 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.4400 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085157.4530 d5d78ndmvpafp6621or5q2pgej Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a081826756afad0a','aut6756a544056756afacbb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085157.4580 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.4730 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085157.5020 d5d78ndmvpafp6621or5q2pgej Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a081826756afad0a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6756a544056756afacbb' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241209@085157.9360 d5d78ndmvpafp6621or5q2pgej Query : use flama_phc
20241209@085157.9390 d5d78ndmvpafp6621or5q2pgej Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20241209@085157.9630 d5d78ndmvpafp6621or5q2pgej Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.658.00.01'
20241209@085157.9790 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.9960 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085157.1022 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.1038 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085157.1046 d5d78ndmvpafp6621or5q2pgej Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085157.1059 d5d78ndmvpafp6621or5q2pgej Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2301261100a'
20241209@085157.1072 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.1106 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085157.1118 d5d78ndmvpafp6621or5q2pgej Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a428796756afad1a','aut6756a544056756afacbb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085157.1123 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.1138 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085157.1170 d5d78ndmvpafp6621or5q2pgej Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a428796756afad1a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6756a544056756afacbb' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241209@085157.1473 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.1491 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085157.1528 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.1547 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085157.1557 d5d78ndmvpafp6621or5q2pgej Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085157.1577 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.1594 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085157.1608 d5d78ndmvpafp6621or5q2pgej Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a543676756afad26','aut6756a544056756afacbb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085157.1614 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.1633 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085157.1662 d5d78ndmvpafp6621or5q2pgej Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6756a543676756afad26',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6756a544056756afacbb' ,0,0 ,2,23.00,30000,?,?,?)
20241209@085157.1955 d5d78ndmvpafp6621or5q2pgej Query : use flama_phc
20241209@085157.1959 d5d78ndmvpafp6621or5q2pgej Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20241209@085157.1991 d5d78ndmvpafp6621or5q2pgej Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.658.00.01'
20241209@085157.2957 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.3695 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085157.3726 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.3745 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085157.3754 d5d78ndmvpafp6621or5q2pgej Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085157.3766 d5d78ndmvpafp6621or5q2pgej Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2301261100a'
20241209@085157.3781 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.3796 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085157.3808 d5d78ndmvpafp6621or5q2pgej Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a517296756afad5c','aut6756a544056756afacbb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085157.3813 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.3829 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085157.3859 d5d78ndmvpafp6621or5q2pgej Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a517296756afad5c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6756a544056756afacbb' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241209@085157.4091 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.4110 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085157.4136 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.4151 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085157.4160 d5d78ndmvpafp6621or5q2pgej Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085157.4173 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.4187 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085157.4199 d5d78ndmvpafp6621or5q2pgej Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a570426756afad65','aut6756a544056756afacbb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085157.4204 d5d78ndmvpafp6621or5q2pgej Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.4219 d5d78ndmvpafp6621or5q2pgej Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085157.4250 d5d78ndmvpafp6621or5q2pgej Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6756a570426756afad65',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6756a544056756afacbb' ,0,0 ,2,23.00,60000,?,?,?)
20241209@085157.4488 d5d78ndmvpafp6621or5q2pgej Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6756a544056756afacbb','2408358','wait',39,'adm09112754980.682000002')
20241209@085157.4558 d5d78ndmvpafp6621or5q2pgej Query : use flama_phc
20241209@085157.4561 d5d78ndmvpafp6621or5q2pgej Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241209@085157.4591 d5d78ndmvpafp6621or5q2pgej Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3786';
20241209@085157.4862 d5d78ndmvpafp6621or5q2pgej Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3786';
20241209@085157.4923 d5d78ndmvpafp6621or5q2pgej Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3786';
20241209@085157.4959 d5d78ndmvpafp6621or5q2pgej Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3786';
20241209@085157.5493 2k0g9t9tbdd5bhku3cfnav2a5t Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241209@085157.5548 2k0g9t9tbdd5bhku3cfnav2a5t Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241209@085157.5619 2k0g9t9tbdd5bhku3cfnav2a5t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3787';
20241209@085157.5689 2k0g9t9tbdd5bhku3cfnav2a5t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3787';
20241209@085157.5752 2k0g9t9tbdd5bhku3cfnav2a5t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3787';
20241209@085157.5786 2k0g9t9tbdd5bhku3cfnav2a5t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3787';
20241209@085157.5841 2k0g9t9tbdd5bhku3cfnav2a5t Query : use flama_phc
20241209@085157.5844 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241209@085157.5929 2k0g9t9tbdd5bhku3cfnav2a5t Query : use flama_phc
20241209@085157.5933 2k0g9t9tbdd5bhku3cfnav2a5t Query : select no, estab,szadrsdesc from szadrs where u_coddest=2632
20241209@085157.6026 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20241209@085157.6047 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408359 and bi.ref ='324.1642.00.2' and bi.lordem =1
20241209@085157.6362 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@085157.6383 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408359 and bi.ref ='324.658.00.01' and bi.lordem =2
20241209@085157.6804 2k0g9t9tbdd5bhku3cfnav2a5t Query : use flama_phc
20241209@085157.6808 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241209@085157.6840 2k0g9t9tbdd5bhku3cfnav2a5t Query : use flama_phc
20241209@085157.6843 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 1 valor from td where td.ndoc = 39
20241209@085157.6874 2k0g9t9tbdd5bhku3cfnav2a5t Query : use flama_phc
20241209@085157.6877 2k0g9t9tbdd5bhku3cfnav2a5t Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241209@085157.6921 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241209@085157.6955 2k0g9t9tbdd5bhku3cfnav2a5t Query : use flama_phc
20241209@085157.6958 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241209@085157.6989 2k0g9t9tbdd5bhku3cfnav2a5t Query : use flama_phc
20241209@085157.6992 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241209@085157.7023 2k0g9t9tbdd5bhku3cfnav2a5t Query : use flama_phc
20241209@085157.7026 2k0g9t9tbdd5bhku3cfnav2a5t Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241209@085157.7067 2k0g9t9tbdd5bhku3cfnav2a5t Query : use flama_phc
20241209@085157.7071 2k0g9t9tbdd5bhku3cfnav2a5t Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda- braganÇa'
20241209@085157.7118 2k0g9t9tbdd5bhku3cfnav2a5t Query : use flama_phc
20241209@085157.7122 2k0g9t9tbdd5bhku3cfnav2a5t Query : select 1 valor from td where ndoc = 39
20241209@085157.7136 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241209@085157.7150 2k0g9t9tbdd5bhku3cfnav2a5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.7168 2k0g9t9tbdd5bhku3cfnav2a5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085157.7188 2k0g9t9tbdd5bhku3cfnav2a5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.7203 2k0g9t9tbdd5bhku3cfnav2a5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085157.7232 2k0g9t9tbdd5bhku3cfnav2a5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.7247 2k0g9t9tbdd5bhku3cfnav2a5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085157.7261 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085157.7321 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085157.7339 2k0g9t9tbdd5bhku3cfnav2a5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.7355 2k0g9t9tbdd5bhku3cfnav2a5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085157.7371 2k0g9t9tbdd5bhku3cfnav2a5t Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6756a537386756afadb1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241209@085157.7526 2k0g9t9tbdd5bhku3cfnav2a5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.7703 2k0g9t9tbdd5bhku3cfnav2a5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085157.7819 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241209@085157.7835 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241209@085157.7850 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241209@085157.7865 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241209@085157.7880 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241209@085157.7895 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241209@085157.7910 2k0g9t9tbdd5bhku3cfnav2a5t Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6756a537386756afadb1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241209@085157.8134 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 fno valor from wsftdata order by fno desc
20241209@085157.8175 2k0g9t9tbdd5bhku3cfnav2a5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.8202 2k0g9t9tbdd5bhku3cfnav2a5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085157.8225 2k0g9t9tbdd5bhku3cfnav2a5t Query : select 'normal' from dummy
20241209@085157.8239 2k0g9t9tbdd5bhku3cfnav2a5t Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6756a537386756afadb1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2290,101621,0,'2024-12-09',39,'euro',0,0,2024 ,?,?)
20241209@085157.8499 2k0g9t9tbdd5bhku3cfnav2a5t Query : use flama_phc
20241209@085157.8503 2k0g9t9tbdd5bhku3cfnav2a5t Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20241209@085157.8524 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20241209@085157.8538 2k0g9t9tbdd5bhku3cfnav2a5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.8554 2k0g9t9tbdd5bhku3cfnav2a5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085157.8610 2k0g9t9tbdd5bhku3cfnav2a5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.8627 2k0g9t9tbdd5bhku3cfnav2a5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085157.8657 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085157.8675 2k0g9t9tbdd5bhku3cfnav2a5t Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20241209@085157.8888 2k0g9t9tbdd5bhku3cfnav2a5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.8907 2k0g9t9tbdd5bhku3cfnav2a5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085157.8920 2k0g9t9tbdd5bhku3cfnav2a5t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a903016756afadd8','aut6756a537386756afadb1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085157.8925 2k0g9t9tbdd5bhku3cfnav2a5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.8939 2k0g9t9tbdd5bhku3cfnav2a5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085157.8968 2k0g9t9tbdd5bhku3cfnav2a5t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a903016756afadd8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6756a537386756afadb1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241209@085157.9431 2k0g9t9tbdd5bhku3cfnav2a5t Query : use flama_phc
20241209@085157.9447 2k0g9t9tbdd5bhku3cfnav2a5t Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20241209@085157.9473 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.658.00.01'
20241209@085157.9489 2k0g9t9tbdd5bhku3cfnav2a5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.9507 2k0g9t9tbdd5bhku3cfnav2a5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085157.9534 2k0g9t9tbdd5bhku3cfnav2a5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085157.9550 2k0g9t9tbdd5bhku3cfnav2a5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085157.9561 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085157.9735 2k0g9t9tbdd5bhku3cfnav2a5t Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2301261100a'
20241209@085157.9986 2k0g9t9tbdd5bhku3cfnav2a5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.1330 2k0g9t9tbdd5bhku3cfnav2a5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085158.1480 2k0g9t9tbdd5bhku3cfnav2a5t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a852066756afadf3','aut6756a537386756afadb1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085158.1540 2k0g9t9tbdd5bhku3cfnav2a5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.1770 2k0g9t9tbdd5bhku3cfnav2a5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085158.2200 2k0g9t9tbdd5bhku3cfnav2a5t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a852066756afadf3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6756a537386756afadb1' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241209@085158.4700 2k0g9t9tbdd5bhku3cfnav2a5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.4900 2k0g9t9tbdd5bhku3cfnav2a5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085158.5190 2k0g9t9tbdd5bhku3cfnav2a5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.5330 2k0g9t9tbdd5bhku3cfnav2a5t Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085158.5430 2k0g9t9tbdd5bhku3cfnav2a5t Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085158.5550 2k0g9t9tbdd5bhku3cfnav2a5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.5690 2k0g9t9tbdd5bhku3cfnav2a5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085158.5810 2k0g9t9tbdd5bhku3cfnav2a5t Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a988886756afae0d','aut6756a537386756afadb1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085158.5860 2k0g9t9tbdd5bhku3cfnav2a5t Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.6000 2k0g9t9tbdd5bhku3cfnav2a5t Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085158.6300 2k0g9t9tbdd5bhku3cfnav2a5t Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6756a988886756afae0d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6756a537386756afadb1' ,0,0 ,2,23.00,30000,?,?,?)
20241209@085158.1241 2k0g9t9tbdd5bhku3cfnav2a5t Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6756a537386756afadb1','2408359','wait',39,'adm09112754980.682000002')
20241209@085158.1327 2k0g9t9tbdd5bhku3cfnav2a5t Query : use flama_phc
20241209@085158.1330 2k0g9t9tbdd5bhku3cfnav2a5t Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241209@085158.1359 2k0g9t9tbdd5bhku3cfnav2a5t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3787';
20241209@085158.1401 2k0g9t9tbdd5bhku3cfnav2a5t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3787';
20241209@085158.1455 2k0g9t9tbdd5bhku3cfnav2a5t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3787';
20241209@085158.1488 2k0g9t9tbdd5bhku3cfnav2a5t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3787';
20241209@085158.2961 l49jc1akjgg657d2gpcnt92ci2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241209@085158.2972 l49jc1akjgg657d2gpcnt92ci2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241209@085158.3049 l49jc1akjgg657d2gpcnt92ci2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3788';
20241209@085158.3115 l49jc1akjgg657d2gpcnt92ci2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3788';
20241209@085158.3188 l49jc1akjgg657d2gpcnt92ci2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3788';
20241209@085158.3223 l49jc1akjgg657d2gpcnt92ci2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3788';
20241209@085158.3279 l49jc1akjgg657d2gpcnt92ci2 Query : use flama_phc
20241209@085158.3282 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241209@085158.3350 l49jc1akjgg657d2gpcnt92ci2 Query : use flama_phc
20241209@085158.3353 l49jc1akjgg657d2gpcnt92ci2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=3304
20241209@085158.3444 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20241209@085158.3465 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408360 and bi.ref ='324.1642.00.2' and bi.lordem =1
20241209@085158.3879 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@085158.3899 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408360 and bi.ref ='324.658.00.01' and bi.lordem =2
20241209@085158.4205 l49jc1akjgg657d2gpcnt92ci2 Query : use flama_phc
20241209@085158.4250 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241209@085158.4287 l49jc1akjgg657d2gpcnt92ci2 Query : use flama_phc
20241209@085158.4290 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 1 valor from td where td.ndoc = 39
20241209@085158.4320 l49jc1akjgg657d2gpcnt92ci2 Query : use flama_phc
20241209@085158.4323 l49jc1akjgg657d2gpcnt92ci2 Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241209@085158.4350 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241209@085158.4389 l49jc1akjgg657d2gpcnt92ci2 Query : use flama_phc
20241209@085158.4394 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241209@085158.4425 l49jc1akjgg657d2gpcnt92ci2 Query : use flama_phc
20241209@085158.4428 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241209@085158.4459 l49jc1akjgg657d2gpcnt92ci2 Query : use flama_phc
20241209@085158.4462 l49jc1akjgg657d2gpcnt92ci2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241209@085158.4507 l49jc1akjgg657d2gpcnt92ci2 Query : use flama_phc
20241209@085158.4509 l49jc1akjgg657d2gpcnt92ci2 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m. - chaves'
20241209@085158.4555 l49jc1akjgg657d2gpcnt92ci2 Query : use flama_phc
20241209@085158.4558 l49jc1akjgg657d2gpcnt92ci2 Query : select 1 valor from td where ndoc = 39
20241209@085158.4573 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241209@085158.4587 l49jc1akjgg657d2gpcnt92ci2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.4604 l49jc1akjgg657d2gpcnt92ci2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085158.4624 l49jc1akjgg657d2gpcnt92ci2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.4639 l49jc1akjgg657d2gpcnt92ci2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085158.4828 l49jc1akjgg657d2gpcnt92ci2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.4921 l49jc1akjgg657d2gpcnt92ci2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085158.4935 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085158.4992 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085158.5005 l49jc1akjgg657d2gpcnt92ci2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.5020 l49jc1akjgg657d2gpcnt92ci2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085158.5036 l49jc1akjgg657d2gpcnt92ci2 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6756a473336756afae78' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241209@085158.5194 l49jc1akjgg657d2gpcnt92ci2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.5213 l49jc1akjgg657d2gpcnt92ci2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085158.5247 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241209@085158.5259 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241209@085158.5272 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241209@085158.5284 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241209@085158.5296 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241209@085158.5308 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241209@085158.5320 l49jc1akjgg657d2gpcnt92ci2 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6756a473336756afae78',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241209@085158.5539 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 fno valor from wsftdata order by fno desc
20241209@085158.5573 l49jc1akjgg657d2gpcnt92ci2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.5589 l49jc1akjgg657d2gpcnt92ci2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085158.5610 l49jc1akjgg657d2gpcnt92ci2 Query : select 'normal' from dummy
20241209@085158.5625 l49jc1akjgg657d2gpcnt92ci2 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6756a473336756afae78',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2291,101621,0,'2024-12-09',39,'euro',0,0,2024 ,?,?)
20241209@085158.6131 l49jc1akjgg657d2gpcnt92ci2 Query : use flama_phc
20241209@085158.6172 l49jc1akjgg657d2gpcnt92ci2 Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20241209@085158.6526 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20241209@085158.6611 l49jc1akjgg657d2gpcnt92ci2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.6631 l49jc1akjgg657d2gpcnt92ci2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085158.6672 l49jc1akjgg657d2gpcnt92ci2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.6706 l49jc1akjgg657d2gpcnt92ci2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085158.6715 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085158.6727 l49jc1akjgg657d2gpcnt92ci2 Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20241209@085158.6740 l49jc1akjgg657d2gpcnt92ci2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.6755 l49jc1akjgg657d2gpcnt92ci2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085158.6768 l49jc1akjgg657d2gpcnt92ci2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a109476756afaea4','aut6756a473336756afae78' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085158.6773 l49jc1akjgg657d2gpcnt92ci2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.6788 l49jc1akjgg657d2gpcnt92ci2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085158.6816 l49jc1akjgg657d2gpcnt92ci2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a109476756afaea4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6756a473336756afae78' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241209@085158.7089 l49jc1akjgg657d2gpcnt92ci2 Query : use flama_phc
20241209@085158.7093 l49jc1akjgg657d2gpcnt92ci2 Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20241209@085158.7119 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.658.00.01'
20241209@085158.7133 l49jc1akjgg657d2gpcnt92ci2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.7150 l49jc1akjgg657d2gpcnt92ci2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085158.7176 l49jc1akjgg657d2gpcnt92ci2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.7190 l49jc1akjgg657d2gpcnt92ci2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085158.7198 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085158.7212 l49jc1akjgg657d2gpcnt92ci2 Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2301261100a'
20241209@085158.7225 l49jc1akjgg657d2gpcnt92ci2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.7239 l49jc1akjgg657d2gpcnt92ci2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085158.7251 l49jc1akjgg657d2gpcnt92ci2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a749146756afaeb0','aut6756a473336756afae78' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085158.7256 l49jc1akjgg657d2gpcnt92ci2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.7274 l49jc1akjgg657d2gpcnt92ci2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085158.7312 l49jc1akjgg657d2gpcnt92ci2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a749146756afaeb0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6756a473336756afae78' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241209@085158.7533 l49jc1akjgg657d2gpcnt92ci2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.7549 l49jc1akjgg657d2gpcnt92ci2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085158.7575 l49jc1akjgg657d2gpcnt92ci2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.7589 l49jc1akjgg657d2gpcnt92ci2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085158.7598 l49jc1akjgg657d2gpcnt92ci2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085158.7612 l49jc1akjgg657d2gpcnt92ci2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.7628 l49jc1akjgg657d2gpcnt92ci2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085158.7640 l49jc1akjgg657d2gpcnt92ci2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a432716756afaeb9','aut6756a473336756afae78' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085158.7645 l49jc1akjgg657d2gpcnt92ci2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085158.7661 l49jc1akjgg657d2gpcnt92ci2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085158.7691 l49jc1akjgg657d2gpcnt92ci2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6756a432716756afaeb9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6756a473336756afae78' ,0,0 ,2,23.00,30000,?,?,?)
20241209@085158.7921 l49jc1akjgg657d2gpcnt92ci2 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6756a473336756afae78','2408360','wait',39,'adm09112754980.682000002')
20241209@085158.7991 l49jc1akjgg657d2gpcnt92ci2 Query : use flama_phc
20241209@085158.7994 l49jc1akjgg657d2gpcnt92ci2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241209@085158.8024 l49jc1akjgg657d2gpcnt92ci2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3788';
20241209@085158.8068 l49jc1akjgg657d2gpcnt92ci2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3788';
20241209@085158.8120 l49jc1akjgg657d2gpcnt92ci2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3788';
20241209@085158.8157 l49jc1akjgg657d2gpcnt92ci2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3788';
20241209@085158.8645 6acpofvitrd613q5d6uhq64cnf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241209@085158.8656 6acpofvitrd613q5d6uhq64cnf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241209@085158.8814 6acpofvitrd613q5d6uhq64cnf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3789';
20241209@085158.9073 6acpofvitrd613q5d6uhq64cnf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3789';
20241209@085158.9142 6acpofvitrd613q5d6uhq64cnf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3789';
20241209@085158.9179 6acpofvitrd613q5d6uhq64cnf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3789';
20241209@085158.9232 6acpofvitrd613q5d6uhq64cnf Query : use flama_phc
20241209@085158.9235 6acpofvitrd613q5d6uhq64cnf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241209@085158.9297 6acpofvitrd613q5d6uhq64cnf Query : use flama_phc
20241209@085158.9300 6acpofvitrd613q5d6uhq64cnf Query : select no, estab,szadrsdesc from szadrs where u_coddest=1498
20241209@085158.9388 6acpofvitrd613q5d6uhq64cnf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20241209@085158.9411 6acpofvitrd613q5d6uhq64cnf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408361 and bi.ref ='324.1642.00.2' and bi.lordem =1
20241209@085158.9741 6acpofvitrd613q5d6uhq64cnf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@085158.9768 6acpofvitrd613q5d6uhq64cnf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408361 and bi.ref ='324.658.00.01' and bi.lordem =2
20241209@085159.9600 6acpofvitrd613q5d6uhq64cnf Query : use flama_phc
20241209@085159.9900 6acpofvitrd613q5d6uhq64cnf Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241209@085159.1800 6acpofvitrd613q5d6uhq64cnf Query : use flama_phc
20241209@085159.1840 6acpofvitrd613q5d6uhq64cnf Query : select top 1 1 valor from td where td.ndoc = 39
20241209@085159.2150 6acpofvitrd613q5d6uhq64cnf Query : use flama_phc
20241209@085159.2180 6acpofvitrd613q5d6uhq64cnf Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241209@085159.2470 6acpofvitrd613q5d6uhq64cnf Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241209@085159.2860 6acpofvitrd613q5d6uhq64cnf Query : use flama_phc
20241209@085159.2890 6acpofvitrd613q5d6uhq64cnf Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241209@085159.3180 6acpofvitrd613q5d6uhq64cnf Query : use flama_phc
20241209@085159.3210 6acpofvitrd613q5d6uhq64cnf Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241209@085159.3520 6acpofvitrd613q5d6uhq64cnf Query : use flama_phc
20241209@085159.3550 6acpofvitrd613q5d6uhq64cnf Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241209@085159.3940 6acpofvitrd613q5d6uhq64cnf Query : use flama_phc
20241209@085159.3970 6acpofvitrd613q5d6uhq64cnf Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - viseu'
20241209@085159.4770 6acpofvitrd613q5d6uhq64cnf Query : use flama_phc
20241209@085159.4790 6acpofvitrd613q5d6uhq64cnf Query : select 1 valor from td where ndoc = 39
20241209@085159.4920 6acpofvitrd613q5d6uhq64cnf Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241209@085159.5190 6acpofvitrd613q5d6uhq64cnf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.5360 6acpofvitrd613q5d6uhq64cnf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085159.5550 6acpofvitrd613q5d6uhq64cnf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.5690 6acpofvitrd613q5d6uhq64cnf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085159.5980 6acpofvitrd613q5d6uhq64cnf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.6150 6acpofvitrd613q5d6uhq64cnf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085159.6280 6acpofvitrd613q5d6uhq64cnf Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085159.6890 6acpofvitrd613q5d6uhq64cnf Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085159.7020 6acpofvitrd613q5d6uhq64cnf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.7180 6acpofvitrd613q5d6uhq64cnf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085159.7330 6acpofvitrd613q5d6uhq64cnf Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6756a056326756afaf0f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241209@085159.8970 6acpofvitrd613q5d6uhq64cnf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.9160 6acpofvitrd613q5d6uhq64cnf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085159.9500 6acpofvitrd613q5d6uhq64cnf Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241209@085159.9620 6acpofvitrd613q5d6uhq64cnf Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241209@085159.9740 6acpofvitrd613q5d6uhq64cnf Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241209@085159.9880 6acpofvitrd613q5d6uhq64cnf Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241209@085159.1000 6acpofvitrd613q5d6uhq64cnf Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241209@085159.1012 6acpofvitrd613q5d6uhq64cnf Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241209@085159.1024 6acpofvitrd613q5d6uhq64cnf Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6756a056326756afaf0f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241209@085159.1298 6acpofvitrd613q5d6uhq64cnf Query : select top 1 fno valor from wsftdata order by fno desc
20241209@085159.1334 6acpofvitrd613q5d6uhq64cnf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.1351 6acpofvitrd613q5d6uhq64cnf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085159.1376 6acpofvitrd613q5d6uhq64cnf Query : select 'normal' from dummy
20241209@085159.1393 6acpofvitrd613q5d6uhq64cnf Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6756a056326756afaf0f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2292,101621,0,'2024-12-09',39,'euro',0,0,2024 ,?,?)
20241209@085159.1701 6acpofvitrd613q5d6uhq64cnf Query : use flama_phc
20241209@085159.1705 6acpofvitrd613q5d6uhq64cnf Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20241209@085159.1729 6acpofvitrd613q5d6uhq64cnf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20241209@085159.1746 6acpofvitrd613q5d6uhq64cnf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.1765 6acpofvitrd613q5d6uhq64cnf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085159.1794 6acpofvitrd613q5d6uhq64cnf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.1810 6acpofvitrd613q5d6uhq64cnf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085159.1820 6acpofvitrd613q5d6uhq64cnf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085159.1835 6acpofvitrd613q5d6uhq64cnf Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20241209@085159.1848 6acpofvitrd613q5d6uhq64cnf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.1864 6acpofvitrd613q5d6uhq64cnf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085159.1876 6acpofvitrd613q5d6uhq64cnf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a084456756afaf2d','aut6756a056326756afaf0f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085159.1887 6acpofvitrd613q5d6uhq64cnf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.1905 6acpofvitrd613q5d6uhq64cnf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085159.1938 6acpofvitrd613q5d6uhq64cnf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a084456756afaf2d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6756a056326756afaf0f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241209@085159.2772 6acpofvitrd613q5d6uhq64cnf Query : use flama_phc
20241209@085159.2778 6acpofvitrd613q5d6uhq64cnf Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20241209@085159.3269 6acpofvitrd613q5d6uhq64cnf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.658.00.01'
20241209@085159.3546 6acpofvitrd613q5d6uhq64cnf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.3565 6acpofvitrd613q5d6uhq64cnf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085159.3591 6acpofvitrd613q5d6uhq64cnf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.3606 6acpofvitrd613q5d6uhq64cnf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085159.3620 6acpofvitrd613q5d6uhq64cnf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085159.3635 6acpofvitrd613q5d6uhq64cnf Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2301261100a'
20241209@085159.3650 6acpofvitrd613q5d6uhq64cnf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.3668 6acpofvitrd613q5d6uhq64cnf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085159.3682 6acpofvitrd613q5d6uhq64cnf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a874866756afaf59','aut6756a056326756afaf0f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085159.3688 6acpofvitrd613q5d6uhq64cnf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.3704 6acpofvitrd613q5d6uhq64cnf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085159.3736 6acpofvitrd613q5d6uhq64cnf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a874866756afaf59',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6756a056326756afaf0f' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241209@085159.3967 6acpofvitrd613q5d6uhq64cnf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.3983 6acpofvitrd613q5d6uhq64cnf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085159.4012 6acpofvitrd613q5d6uhq64cnf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.4027 6acpofvitrd613q5d6uhq64cnf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085159.4035 6acpofvitrd613q5d6uhq64cnf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085159.4047 6acpofvitrd613q5d6uhq64cnf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.4061 6acpofvitrd613q5d6uhq64cnf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085159.4073 6acpofvitrd613q5d6uhq64cnf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a909676756afaf62','aut6756a056326756afaf0f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085159.4078 6acpofvitrd613q5d6uhq64cnf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.4094 6acpofvitrd613q5d6uhq64cnf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085159.4122 6acpofvitrd613q5d6uhq64cnf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6756a909676756afaf62',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6756a056326756afaf0f' ,0,0 ,2,23.00,30000,?,?,?)
20241209@085159.4352 6acpofvitrd613q5d6uhq64cnf Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6756a056326756afaf0f','2408361','wait',39,'adm09112754980.682000002')
20241209@085159.4433 6acpofvitrd613q5d6uhq64cnf Query : use flama_phc
20241209@085159.4436 6acpofvitrd613q5d6uhq64cnf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241209@085159.4466 6acpofvitrd613q5d6uhq64cnf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3789';
20241209@085159.4508 6acpofvitrd613q5d6uhq64cnf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3789';
20241209@085159.4559 6acpofvitrd613q5d6uhq64cnf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3789';
20241209@085159.4590 6acpofvitrd613q5d6uhq64cnf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3789';
20241209@085159.5133 tlvocd374a8eun34n3can298st Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241209@085159.5178 tlvocd374a8eun34n3can298st Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241209@085159.5253 tlvocd374a8eun34n3can298st Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3790';
20241209@085159.5322 tlvocd374a8eun34n3can298st Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3790';
20241209@085159.5386 tlvocd374a8eun34n3can298st Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3790';
20241209@085159.5418 tlvocd374a8eun34n3can298st Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3790';
20241209@085159.5476 tlvocd374a8eun34n3can298st Query : use flama_phc
20241209@085159.5479 tlvocd374a8eun34n3can298st Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241209@085159.5539 tlvocd374a8eun34n3can298st Query : use flama_phc
20241209@085159.5543 tlvocd374a8eun34n3can298st Query : select no, estab,szadrsdesc from szadrs where u_coddest=3145
20241209@085159.5645 tlvocd374a8eun34n3can298st Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20241209@085159.5667 tlvocd374a8eun34n3can298st Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408362 and bi.ref ='324.1642.00.2' and bi.lordem =1
20241209@085159.6038 tlvocd374a8eun34n3can298st Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@085159.6058 tlvocd374a8eun34n3can298st Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408362 and bi.ref ='324.658.00.01' and bi.lordem =2
20241209@085159.6471 tlvocd374a8eun34n3can298st Query : use flama_phc
20241209@085159.6474 tlvocd374a8eun34n3can298st Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241209@085159.6506 tlvocd374a8eun34n3can298st Query : use flama_phc
20241209@085159.6509 tlvocd374a8eun34n3can298st Query : select top 1 1 valor from td where td.ndoc = 39
20241209@085159.6539 tlvocd374a8eun34n3can298st Query : use flama_phc
20241209@085159.6543 tlvocd374a8eun34n3can298st Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241209@085159.6570 tlvocd374a8eun34n3can298st Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241209@085159.6603 tlvocd374a8eun34n3can298st Query : use flama_phc
20241209@085159.6606 tlvocd374a8eun34n3can298st Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241209@085159.6634 tlvocd374a8eun34n3can298st Query : use flama_phc
20241209@085159.6637 tlvocd374a8eun34n3can298st Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241209@085159.6666 tlvocd374a8eun34n3can298st Query : use flama_phc
20241209@085159.6669 tlvocd374a8eun34n3can298st Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241209@085159.6719 tlvocd374a8eun34n3can298st Query : use flama_phc
20241209@085159.6722 tlvocd374a8eun34n3can298st Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - caldas da rainha'
20241209@085159.6772 tlvocd374a8eun34n3can298st Query : use flama_phc
20241209@085159.6775 tlvocd374a8eun34n3can298st Query : select 1 valor from td where ndoc = 39
20241209@085159.6787 tlvocd374a8eun34n3can298st Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241209@085159.6801 tlvocd374a8eun34n3can298st Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.6830 tlvocd374a8eun34n3can298st Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085159.6848 tlvocd374a8eun34n3can298st Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.6866 tlvocd374a8eun34n3can298st Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085159.6898 tlvocd374a8eun34n3can298st Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.6913 tlvocd374a8eun34n3can298st Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085159.6926 tlvocd374a8eun34n3can298st Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085159.6983 tlvocd374a8eun34n3can298st Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085159.6995 tlvocd374a8eun34n3can298st Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.7013 tlvocd374a8eun34n3can298st Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085159.7028 tlvocd374a8eun34n3can298st Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6756a465006756afafa9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241209@085159.7179 tlvocd374a8eun34n3can298st Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.7200 tlvocd374a8eun34n3can298st Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085159.7232 tlvocd374a8eun34n3can298st Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241209@085159.7245 tlvocd374a8eun34n3can298st Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241209@085159.7256 tlvocd374a8eun34n3can298st Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241209@085159.7267 tlvocd374a8eun34n3can298st Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241209@085159.7282 tlvocd374a8eun34n3can298st Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241209@085159.7295 tlvocd374a8eun34n3can298st Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241209@085159.7307 tlvocd374a8eun34n3can298st Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6756a465006756afafa9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241209@085159.7538 tlvocd374a8eun34n3can298st Query : select top 1 fno valor from wsftdata order by fno desc
20241209@085159.7577 tlvocd374a8eun34n3can298st Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.7595 tlvocd374a8eun34n3can298st Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085159.7619 tlvocd374a8eun34n3can298st Query : select 'normal' from dummy
20241209@085159.7634 tlvocd374a8eun34n3can298st Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6756a465006756afafa9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2293,101621,0,'2024-12-09',39,'euro',0,0,2024 ,?,?)
20241209@085159.7890 tlvocd374a8eun34n3can298st Query : use flama_phc
20241209@085159.7893 tlvocd374a8eun34n3can298st Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20241209@085159.7915 tlvocd374a8eun34n3can298st Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20241209@085159.7928 tlvocd374a8eun34n3can298st Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.7944 tlvocd374a8eun34n3can298st Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085159.7969 tlvocd374a8eun34n3can298st Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.7984 tlvocd374a8eun34n3can298st Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085159.7993 tlvocd374a8eun34n3can298st Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085159.8005 tlvocd374a8eun34n3can298st Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20241209@085159.8018 tlvocd374a8eun34n3can298st Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.8032 tlvocd374a8eun34n3can298st Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085159.8043 tlvocd374a8eun34n3can298st Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a762666756afafc3','aut6756a465006756afafa9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085159.8048 tlvocd374a8eun34n3can298st Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.8068 tlvocd374a8eun34n3can298st Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085159.8096 tlvocd374a8eun34n3can298st Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a762666756afafc3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6756a465006756afafa9' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241209@085159.8352 tlvocd374a8eun34n3can298st Query : use flama_phc
20241209@085159.8356 tlvocd374a8eun34n3can298st Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20241209@085159.8376 tlvocd374a8eun34n3can298st Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.658.00.01'
20241209@085159.8388 tlvocd374a8eun34n3can298st Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.8405 tlvocd374a8eun34n3can298st Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085159.8430 tlvocd374a8eun34n3can298st Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.8449 tlvocd374a8eun34n3can298st Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085159.8458 tlvocd374a8eun34n3can298st Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085159.8472 tlvocd374a8eun34n3can298st Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2301261100a'
20241209@085159.8484 tlvocd374a8eun34n3can298st Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.8497 tlvocd374a8eun34n3can298st Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085159.8510 tlvocd374a8eun34n3can298st Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a180126756afafcf','aut6756a465006756afafa9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085159.8514 tlvocd374a8eun34n3can298st Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.8528 tlvocd374a8eun34n3can298st Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085159.8554 tlvocd374a8eun34n3can298st Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a180126756afafcf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6756a465006756afafa9' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241209@085159.8796 tlvocd374a8eun34n3can298st Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.8813 tlvocd374a8eun34n3can298st Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085159.8838 tlvocd374a8eun34n3can298st Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.8852 tlvocd374a8eun34n3can298st Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085159.8861 tlvocd374a8eun34n3can298st Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085159.8873 tlvocd374a8eun34n3can298st Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.8887 tlvocd374a8eun34n3can298st Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085159.8898 tlvocd374a8eun34n3can298st Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a129626756afafd8','aut6756a465006756afafa9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085159.8902 tlvocd374a8eun34n3can298st Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085159.8917 tlvocd374a8eun34n3can298st Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085159.8943 tlvocd374a8eun34n3can298st Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6756a129626756afafd8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6756a465006756afafa9' ,0,0 ,2,23.00,30000,?,?,?)
20241209@085159.9179 tlvocd374a8eun34n3can298st Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6756a465006756afafa9','2408362','wait',39,'adm09112754980.682000002')
20241209@085159.9283 tlvocd374a8eun34n3can298st Query : use flama_phc
20241209@085159.9287 tlvocd374a8eun34n3can298st Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241209@085159.9322 tlvocd374a8eun34n3can298st Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3790';
20241209@085159.9367 tlvocd374a8eun34n3can298st Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3790';
20241209@085159.9604 tlvocd374a8eun34n3can298st Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3790';
20241209@085159.9667 tlvocd374a8eun34n3can298st Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3790';
20241209@085200.1840 l1c06r5ft038j3f4720un9hjeu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241209@085200.1940 l1c06r5ft038j3f4720un9hjeu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241209@085200.2820 l1c06r5ft038j3f4720un9hjeu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3791';
20241209@085200.3480 l1c06r5ft038j3f4720un9hjeu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3791';
20241209@085200.4120 l1c06r5ft038j3f4720un9hjeu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3791';
20241209@085200.4490 l1c06r5ft038j3f4720un9hjeu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3791';
20241209@085200.5080 l1c06r5ft038j3f4720un9hjeu Query : use flama_phc
20241209@085200.5120 l1c06r5ft038j3f4720un9hjeu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241209@085200.5750 l1c06r5ft038j3f4720un9hjeu Query : use flama_phc
20241209@085200.5780 l1c06r5ft038j3f4720un9hjeu Query : select no, estab,szadrsdesc from szadrs where u_coddest=9388
20241209@085200.6690 l1c06r5ft038j3f4720un9hjeu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20241209@085200.1010 l1c06r5ft038j3f4720un9hjeu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408363 and bi.ref ='324.1642.00.2' and bi.lordem =1
20241209@085200.1493 l1c06r5ft038j3f4720un9hjeu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@085200.1513 l1c06r5ft038j3f4720un9hjeu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408363 and bi.ref ='324.658.00.01' and bi.lordem =2
20241209@085200.1827 l1c06r5ft038j3f4720un9hjeu Query : use flama_phc
20241209@085200.1831 l1c06r5ft038j3f4720un9hjeu Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241209@085200.1863 l1c06r5ft038j3f4720un9hjeu Query : use flama_phc
20241209@085200.1866 l1c06r5ft038j3f4720un9hjeu Query : select top 1 1 valor from td where td.ndoc = 39
20241209@085200.1938 l1c06r5ft038j3f4720un9hjeu Query : use flama_phc
20241209@085200.1942 l1c06r5ft038j3f4720un9hjeu Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241209@085200.1975 l1c06r5ft038j3f4720un9hjeu Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241209@085200.2014 l1c06r5ft038j3f4720un9hjeu Query : use flama_phc
20241209@085200.2017 l1c06r5ft038j3f4720un9hjeu Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241209@085200.2045 l1c06r5ft038j3f4720un9hjeu Query : use flama_phc
20241209@085200.2047 l1c06r5ft038j3f4720un9hjeu Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241209@085200.2079 l1c06r5ft038j3f4720un9hjeu Query : use flama_phc
20241209@085200.2082 l1c06r5ft038j3f4720un9hjeu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241209@085200.2123 l1c06r5ft038j3f4720un9hjeu Query : use flama_phc
20241209@085200.2126 l1c06r5ft038j3f4720un9hjeu Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda- penafiel'
20241209@085200.2170 l1c06r5ft038j3f4720un9hjeu Query : use flama_phc
20241209@085200.2173 l1c06r5ft038j3f4720un9hjeu Query : select 1 valor from td where ndoc = 39
20241209@085200.2185 l1c06r5ft038j3f4720un9hjeu Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241209@085200.2199 l1c06r5ft038j3f4720un9hjeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.2216 l1c06r5ft038j3f4720un9hjeu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085200.2236 l1c06r5ft038j3f4720un9hjeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.2250 l1c06r5ft038j3f4720un9hjeu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085200.2333 l1c06r5ft038j3f4720un9hjeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.2350 l1c06r5ft038j3f4720un9hjeu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085200.2574 l1c06r5ft038j3f4720un9hjeu Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085200.2636 l1c06r5ft038j3f4720un9hjeu Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085200.2653 l1c06r5ft038j3f4720un9hjeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.2670 l1c06r5ft038j3f4720un9hjeu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085200.2685 l1c06r5ft038j3f4720un9hjeu Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6756a929346756afb03e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241209@085200.2865 l1c06r5ft038j3f4720un9hjeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.2919 l1c06r5ft038j3f4720un9hjeu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085200.2951 l1c06r5ft038j3f4720un9hjeu Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241209@085200.3028 l1c06r5ft038j3f4720un9hjeu Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241209@085200.3040 l1c06r5ft038j3f4720un9hjeu Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241209@085200.3051 l1c06r5ft038j3f4720un9hjeu Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241209@085200.3069 l1c06r5ft038j3f4720un9hjeu Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241209@085200.3080 l1c06r5ft038j3f4720un9hjeu Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241209@085200.3091 l1c06r5ft038j3f4720un9hjeu Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6756a929346756afb03e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241209@085200.3317 l1c06r5ft038j3f4720un9hjeu Query : select top 1 fno valor from wsftdata order by fno desc
20241209@085200.3348 l1c06r5ft038j3f4720un9hjeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.3365 l1c06r5ft038j3f4720un9hjeu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085200.3387 l1c06r5ft038j3f4720un9hjeu Query : select 'normal' from dummy
20241209@085200.3402 l1c06r5ft038j3f4720un9hjeu Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6756a929346756afb03e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2294,101621,0,'2024-12-09',39,'euro',0,0,2024 ,?,?)
20241209@085200.3735 l1c06r5ft038j3f4720un9hjeu Query : use flama_phc
20241209@085200.3739 l1c06r5ft038j3f4720un9hjeu Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20241209@085200.3776 l1c06r5ft038j3f4720un9hjeu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20241209@085200.3844 l1c06r5ft038j3f4720un9hjeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.3883 l1c06r5ft038j3f4720un9hjeu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085200.3937 l1c06r5ft038j3f4720un9hjeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.3968 l1c06r5ft038j3f4720un9hjeu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085200.3981 l1c06r5ft038j3f4720un9hjeu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085200.4015 l1c06r5ft038j3f4720un9hjeu Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20241209@085200.4040 l1c06r5ft038j3f4720un9hjeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.4074 l1c06r5ft038j3f4720un9hjeu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085200.4091 l1c06r5ft038j3f4720un9hjeu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a755636756afb062','aut6756a929346756afb03e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085200.4098 l1c06r5ft038j3f4720un9hjeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.4135 l1c06r5ft038j3f4720un9hjeu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085200.4187 l1c06r5ft038j3f4720un9hjeu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a755636756afb062',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6756a929346756afb03e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241209@085200.4462 l1c06r5ft038j3f4720un9hjeu Query : use flama_phc
20241209@085200.4468 l1c06r5ft038j3f4720un9hjeu Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20241209@085200.4497 l1c06r5ft038j3f4720un9hjeu Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.658.00.01'
20241209@085200.4518 l1c06r5ft038j3f4720un9hjeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.4540 l1c06r5ft038j3f4720un9hjeu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085200.4573 l1c06r5ft038j3f4720un9hjeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.4590 l1c06r5ft038j3f4720un9hjeu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085200.4599 l1c06r5ft038j3f4720un9hjeu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085200.4613 l1c06r5ft038j3f4720un9hjeu Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2301261100a'
20241209@085200.4629 l1c06r5ft038j3f4720un9hjeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.4649 l1c06r5ft038j3f4720un9hjeu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085200.4671 l1c06r5ft038j3f4720un9hjeu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a215256756afb071','aut6756a929346756afb03e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085200.4677 l1c06r5ft038j3f4720un9hjeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.4693 l1c06r5ft038j3f4720un9hjeu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085200.4762 l1c06r5ft038j3f4720un9hjeu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a215256756afb071',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6756a929346756afb03e' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241209@085200.5034 l1c06r5ft038j3f4720un9hjeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.5053 l1c06r5ft038j3f4720un9hjeu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085200.5097 l1c06r5ft038j3f4720un9hjeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.5115 l1c06r5ft038j3f4720un9hjeu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085200.5125 l1c06r5ft038j3f4720un9hjeu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085200.5141 l1c06r5ft038j3f4720un9hjeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.5161 l1c06r5ft038j3f4720un9hjeu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085200.5174 l1c06r5ft038j3f4720un9hjeu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a277586756afb07d','aut6756a929346756afb03e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085200.5178 l1c06r5ft038j3f4720un9hjeu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.5197 l1c06r5ft038j3f4720un9hjeu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085200.5238 l1c06r5ft038j3f4720un9hjeu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6756a277586756afb07d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6756a929346756afb03e' ,0,0 ,2,23.00,30000,?,?,?)
20241209@085200.5497 l1c06r5ft038j3f4720un9hjeu Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6756a929346756afb03e','2408363','wait',39,'adm09112754980.682000002')
20241209@085200.5580 l1c06r5ft038j3f4720un9hjeu Query : use flama_phc
20241209@085200.5584 l1c06r5ft038j3f4720un9hjeu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241209@085200.5618 l1c06r5ft038j3f4720un9hjeu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3791';
20241209@085200.5672 l1c06r5ft038j3f4720un9hjeu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3791';
20241209@085200.5789 l1c06r5ft038j3f4720un9hjeu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3791';
20241209@085200.5889 l1c06r5ft038j3f4720un9hjeu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3791';
20241209@085200.6505 anv9913st5hs58ivnngbfbpqgr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241209@085200.6516 anv9913st5hs58ivnngbfbpqgr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241209@085200.6599 anv9913st5hs58ivnngbfbpqgr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3792';
20241209@085200.7083 anv9913st5hs58ivnngbfbpqgr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3792';
20241209@085200.7688 anv9913st5hs58ivnngbfbpqgr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3792';
20241209@085200.7743 anv9913st5hs58ivnngbfbpqgr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3792';
20241209@085200.7823 anv9913st5hs58ivnngbfbpqgr Query : use flama_phc
20241209@085200.7826 anv9913st5hs58ivnngbfbpqgr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241209@085200.7896 anv9913st5hs58ivnngbfbpqgr Query : use flama_phc
20241209@085200.7899 anv9913st5hs58ivnngbfbpqgr Query : select no, estab,szadrsdesc from szadrs where u_coddest=1452
20241209@085200.7991 anv9913st5hs58ivnngbfbpqgr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20241209@085200.8013 anv9913st5hs58ivnngbfbpqgr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408364 and bi.ref ='324.1642.00.2' and bi.lordem =1
20241209@085200.8388 anv9913st5hs58ivnngbfbpqgr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@085200.8413 anv9913st5hs58ivnngbfbpqgr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408364 and bi.ref ='324.658.00.01' and bi.lordem =2
20241209@085200.8768 anv9913st5hs58ivnngbfbpqgr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@085200.8791 anv9913st5hs58ivnngbfbpqgr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408364 and bi.ref ='324.658.00.01' and bi.lordem =2
20241209@085200.8809 anv9913st5hs58ivnngbfbpqgr Query : use flama_phc
20241209@085200.8813 anv9913st5hs58ivnngbfbpqgr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241209@085200.8845 anv9913st5hs58ivnngbfbpqgr Query : use flama_phc
20241209@085200.8848 anv9913st5hs58ivnngbfbpqgr Query : select top 1 1 valor from td where td.ndoc = 39
20241209@085200.8877 anv9913st5hs58ivnngbfbpqgr Query : use flama_phc
20241209@085200.8880 anv9913st5hs58ivnngbfbpqgr Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241209@085200.8907 anv9913st5hs58ivnngbfbpqgr Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241209@085200.8942 anv9913st5hs58ivnngbfbpqgr Query : use flama_phc
20241209@085200.8945 anv9913st5hs58ivnngbfbpqgr Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241209@085200.8975 anv9913st5hs58ivnngbfbpqgr Query : use flama_phc
20241209@085200.8978 anv9913st5hs58ivnngbfbpqgr Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241209@085200.9009 anv9913st5hs58ivnngbfbpqgr Query : use flama_phc
20241209@085200.9012 anv9913st5hs58ivnngbfbpqgr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241209@085200.9058 anv9913st5hs58ivnngbfbpqgr Query : use flama_phc
20241209@085200.9062 anv9913st5hs58ivnngbfbpqgr Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m. - castelo branco'
20241209@085200.9120 anv9913st5hs58ivnngbfbpqgr Query : use flama_phc
20241209@085200.9123 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from td where ndoc = 39
20241209@085200.9136 anv9913st5hs58ivnngbfbpqgr Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241209@085200.9149 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.9167 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085200.9186 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.9205 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085200.9237 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.9251 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085200.9268 anv9913st5hs58ivnngbfbpqgr Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085200.9327 anv9913st5hs58ivnngbfbpqgr Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085200.9344 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.9366 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085200.9544 anv9913st5hs58ivnngbfbpqgr Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6756a118016756afb0e2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241209@085200.9820 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085200.9939 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085200.9986 anv9913st5hs58ivnngbfbpqgr Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241209@085201.1600 anv9913st5hs58ivnngbfbpqgr Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241209@085201.3100 anv9913st5hs58ivnngbfbpqgr Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241209@085201.4700 anv9913st5hs58ivnngbfbpqgr Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241209@085201.1930 anv9913st5hs58ivnngbfbpqgr Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241209@085201.2080 anv9913st5hs58ivnngbfbpqgr Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241209@085201.2190 anv9913st5hs58ivnngbfbpqgr Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6756a118016756afb0e2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241209@085201.4710 anv9913st5hs58ivnngbfbpqgr Query : select top 1 fno valor from wsftdata order by fno desc
20241209@085201.5130 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.5300 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085201.7090 anv9913st5hs58ivnngbfbpqgr Query : select 'normal' from dummy
20241209@085201.7270 anv9913st5hs58ivnngbfbpqgr Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6756a118016756afb0e2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2295,101621,0,'2024-12-09',39,'euro',0,0,2024 ,?,?)
20241209@085201.1039 anv9913st5hs58ivnngbfbpqgr Query : use flama_phc
20241209@085201.1043 anv9913st5hs58ivnngbfbpqgr Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20241209@085201.1064 anv9913st5hs58ivnngbfbpqgr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20241209@085201.1086 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.1104 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085201.1129 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.1144 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085201.1152 anv9913st5hs58ivnngbfbpqgr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085201.1170 anv9913st5hs58ivnngbfbpqgr Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20241209@085201.1381 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.1567 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085201.1580 anv9913st5hs58ivnngbfbpqgr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a647176756afb121','aut6756a118016756afb0e2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085201.1585 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.1601 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085201.1763 anv9913st5hs58ivnngbfbpqgr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a647176756afb121',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6756a118016756afb0e2' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241209@085201.2019 anv9913st5hs58ivnngbfbpqgr Query : use flama_phc
20241209@085201.2022 anv9913st5hs58ivnngbfbpqgr Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20241209@085201.2049 anv9913st5hs58ivnngbfbpqgr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.658.00.01'
20241209@085201.2067 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.2088 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085201.2220 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.2243 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085201.2253 anv9913st5hs58ivnngbfbpqgr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085201.2268 anv9913st5hs58ivnngbfbpqgr Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2301261100a'
20241209@085201.2281 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.2296 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085201.2308 anv9913st5hs58ivnngbfbpqgr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a812126756afb137','aut6756a118016756afb0e2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085201.2313 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.2327 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085201.2354 anv9913st5hs58ivnngbfbpqgr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a812126756afb137',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6756a118016756afb0e2' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241209@085201.2609 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.2627 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085201.2654 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.2669 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085201.2678 anv9913st5hs58ivnngbfbpqgr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085201.2690 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.2705 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085201.2718 anv9913st5hs58ivnngbfbpqgr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a423786756afb141','aut6756a118016756afb0e2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085201.2724 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.2740 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085201.2773 anv9913st5hs58ivnngbfbpqgr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6756a423786756afb141',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6756a118016756afb0e2' ,0,0 ,2,23.00,30000,?,?,?)
20241209@085201.3161 anv9913st5hs58ivnngbfbpqgr Query : use flama_phc
20241209@085201.3165 anv9913st5hs58ivnngbfbpqgr Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20241209@085201.3187 anv9913st5hs58ivnngbfbpqgr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.658.00.01'
20241209@085201.3204 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.3222 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085201.3250 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.3266 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085201.3275 anv9913st5hs58ivnngbfbpqgr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085201.3288 anv9913st5hs58ivnngbfbpqgr Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2301261100a'
20241209@085201.3301 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.3320 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085201.3334 anv9913st5hs58ivnngbfbpqgr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a463396756afb150','aut6756a118016756afb0e2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085201.3339 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.3358 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085201.3390 anv9913st5hs58ivnngbfbpqgr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a463396756afb150',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6756a118016756afb0e2' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241209@085201.3688 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.3766 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085201.3793 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.3812 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085201.3822 anv9913st5hs58ivnngbfbpqgr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085201.3836 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.3853 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085201.3867 anv9913st5hs58ivnngbfbpqgr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a479166756afb15d','aut6756a118016756afb0e2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085201.3873 anv9913st5hs58ivnngbfbpqgr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.3890 anv9913st5hs58ivnngbfbpqgr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085201.3953 anv9913st5hs58ivnngbfbpqgr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6756a479166756afb15d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6756a118016756afb0e2' ,0,0 ,2,23.00,60000,?,?,?)
20241209@085201.4205 anv9913st5hs58ivnngbfbpqgr Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6756a118016756afb0e2','2408364','wait',39,'adm09112754980.682000002')
20241209@085201.4325 anv9913st5hs58ivnngbfbpqgr Query : use flama_phc
20241209@085201.4333 anv9913st5hs58ivnngbfbpqgr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241209@085201.4419 anv9913st5hs58ivnngbfbpqgr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3792';
20241209@085201.4503 anv9913st5hs58ivnngbfbpqgr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3792';
20241209@085201.4567 anv9913st5hs58ivnngbfbpqgr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3792';
20241209@085201.4604 anv9913st5hs58ivnngbfbpqgr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3792';
20241209@085201.5196 ojmgrkhgt4pj95k2tfh0sbbmsp Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241209@085201.5209 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241209@085201.5336 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3793';
20241209@085201.5417 ojmgrkhgt4pj95k2tfh0sbbmsp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3793';
20241209@085201.5485 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3793';
20241209@085201.5595 ojmgrkhgt4pj95k2tfh0sbbmsp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3793';
20241209@085201.5694 ojmgrkhgt4pj95k2tfh0sbbmsp Query : use flama_phc
20241209@085201.5697 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241209@085201.5801 ojmgrkhgt4pj95k2tfh0sbbmsp Query : use flama_phc
20241209@085201.5805 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select no, estab,szadrsdesc from szadrs where u_coddest=6802
20241209@085201.5941 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@085201.6023 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408365 and bi.ref ='324.658.00.01' and bi.lordem =1
20241209@085201.6418 ojmgrkhgt4pj95k2tfh0sbbmsp Query : use flama_phc
20241209@085201.6423 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241209@085201.6539 ojmgrkhgt4pj95k2tfh0sbbmsp Query : use flama_phc
20241209@085201.6544 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select top 1 1 valor from td where td.ndoc = 39
20241209@085201.6581 ojmgrkhgt4pj95k2tfh0sbbmsp Query : use flama_phc
20241209@085201.6584 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241209@085201.6636 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241209@085201.6778 ojmgrkhgt4pj95k2tfh0sbbmsp Query : use flama_phc
20241209@085201.6782 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241209@085201.6880 ojmgrkhgt4pj95k2tfh0sbbmsp Query : use flama_phc
20241209@085201.6883 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241209@085201.6947 ojmgrkhgt4pj95k2tfh0sbbmsp Query : use flama_phc
20241209@085201.6951 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241209@085201.7000 ojmgrkhgt4pj95k2tfh0sbbmsp Query : use flama_phc
20241209@085201.7004 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m., lda - sintra'
20241209@085201.7077 ojmgrkhgt4pj95k2tfh0sbbmsp Query : use flama_phc
20241209@085201.7105 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select 1 valor from td where ndoc = 39
20241209@085201.7191 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241209@085201.7274 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.7358 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085201.7407 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.7436 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085201.7549 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.7613 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085201.7682 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085201.7828 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085201.7899 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.7973 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085201.8539 ojmgrkhgt4pj95k2tfh0sbbmsp Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6756a003176756afb1bb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241209@085201.9275 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085201.9903 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085202.6340 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241209@085202.7790 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241209@085202.9940 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241209@085202.1203 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241209@085202.1320 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241209@085202.1347 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241209@085202.1413 ojmgrkhgt4pj95k2tfh0sbbmsp Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6756a003176756afb1bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241209@085202.1665 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select top 1 fno valor from wsftdata order by fno desc
20241209@085202.1699 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085202.1743 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085202.1839 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select 'normal' from dummy
20241209@085202.2058 ojmgrkhgt4pj95k2tfh0sbbmsp Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6756a003176756afb1bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2296,101621,0,'2024-12-09',39,'euro',0,0,2024 ,?,?)
20241209@085202.2356 ojmgrkhgt4pj95k2tfh0sbbmsp Query : use flama_phc
20241209@085202.2372 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20241209@085202.2732 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.658.00.01'
20241209@085202.2789 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085202.2984 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085202.3636 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085202.3892 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085202.4060 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085202.4311 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2301261100a'
20241209@085202.4563 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085202.4857 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085202.5066 ojmgrkhgt4pj95k2tfh0sbbmsp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a058956756afb26f','aut6756a003176756afb1bb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085202.5110 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085202.5368 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085202.5988 ojmgrkhgt4pj95k2tfh0sbbmsp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a058956756afb26f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6756a003176756afb1bb' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241209@085202.6938 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085202.8057 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085202.9330 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085202.9583 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085202.9753 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085203.3500 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085203.2890 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085203.4980 ojmgrkhgt4pj95k2tfh0sbbmsp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a879066756afb300','aut6756a003176756afb1bb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085203.5420 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085203.7950 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085203.1415 ojmgrkhgt4pj95k2tfh0sbbmsp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6756a879066756afb300',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6756a003176756afb1bb' ,0,0 ,2,23.00,20000,?,?,?)
20241209@085203.1926 ojmgrkhgt4pj95k2tfh0sbbmsp Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6756a003176756afb1bb','2408365','wait',39,'adm09112754980.682000002')
20241209@085203.2546 ojmgrkhgt4pj95k2tfh0sbbmsp Query : use flama_phc
20241209@085203.2589 ojmgrkhgt4pj95k2tfh0sbbmsp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241209@085203.2838 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3793';
20241209@085203.3148 ojmgrkhgt4pj95k2tfh0sbbmsp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3793';
20241209@085203.3420 ojmgrkhgt4pj95k2tfh0sbbmsp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3793';
20241209@085203.3730 ojmgrkhgt4pj95k2tfh0sbbmsp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3793';
20241209@085203.4420 ihhrk3g03o35h8mvqk2b1cr7rg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241209@085203.4432 ihhrk3g03o35h8mvqk2b1cr7rg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241209@085203.4505 ihhrk3g03o35h8mvqk2b1cr7rg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3794';
20241209@085203.4575 ihhrk3g03o35h8mvqk2b1cr7rg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3794';
20241209@085203.4884 ihhrk3g03o35h8mvqk2b1cr7rg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3794';
20241209@085203.4947 ihhrk3g03o35h8mvqk2b1cr7rg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3794';
20241209@085203.5012 ihhrk3g03o35h8mvqk2b1cr7rg Query : use flama_phc
20241209@085203.5017 ihhrk3g03o35h8mvqk2b1cr7rg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241209@085203.5081 ihhrk3g03o35h8mvqk2b1cr7rg Query : use flama_phc
20241209@085203.5084 ihhrk3g03o35h8mvqk2b1cr7rg Query : select no, estab,szadrsdesc from szadrs where u_coddest=6855
20241209@085203.5172 ihhrk3g03o35h8mvqk2b1cr7rg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@085203.5192 ihhrk3g03o35h8mvqk2b1cr7rg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408366 and bi.ref ='324.658.00.01' and bi.lordem =1
20241209@085203.5516 ihhrk3g03o35h8mvqk2b1cr7rg Query : use flama_phc
20241209@085203.5519 ihhrk3g03o35h8mvqk2b1cr7rg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241209@085203.5863 ihhrk3g03o35h8mvqk2b1cr7rg Query : use flama_phc
20241209@085203.5868 ihhrk3g03o35h8mvqk2b1cr7rg Query : select top 1 1 valor from td where td.ndoc = 39
20241209@085203.5900 ihhrk3g03o35h8mvqk2b1cr7rg Query : use flama_phc
20241209@085203.5903 ihhrk3g03o35h8mvqk2b1cr7rg Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241209@085203.5942 ihhrk3g03o35h8mvqk2b1cr7rg Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241209@085203.5980 ihhrk3g03o35h8mvqk2b1cr7rg Query : use flama_phc
20241209@085203.5983 ihhrk3g03o35h8mvqk2b1cr7rg Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241209@085203.6016 ihhrk3g03o35h8mvqk2b1cr7rg Query : use flama_phc
20241209@085203.6019 ihhrk3g03o35h8mvqk2b1cr7rg Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241209@085203.6054 ihhrk3g03o35h8mvqk2b1cr7rg Query : use flama_phc
20241209@085203.6058 ihhrk3g03o35h8mvqk2b1cr7rg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241209@085203.6099 ihhrk3g03o35h8mvqk2b1cr7rg Query : use flama_phc
20241209@085203.6102 ihhrk3g03o35h8mvqk2b1cr7rg Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - montijo nova'
20241209@085203.6159 ihhrk3g03o35h8mvqk2b1cr7rg Query : use flama_phc
20241209@085203.6163 ihhrk3g03o35h8mvqk2b1cr7rg Query : select 1 valor from td where ndoc = 39
20241209@085203.6178 ihhrk3g03o35h8mvqk2b1cr7rg Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241209@085203.6192 ihhrk3g03o35h8mvqk2b1cr7rg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085203.6211 ihhrk3g03o35h8mvqk2b1cr7rg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085203.6234 ihhrk3g03o35h8mvqk2b1cr7rg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085203.6250 ihhrk3g03o35h8mvqk2b1cr7rg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085203.6282 ihhrk3g03o35h8mvqk2b1cr7rg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085203.6298 ihhrk3g03o35h8mvqk2b1cr7rg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085203.6314 ihhrk3g03o35h8mvqk2b1cr7rg Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085203.6373 ihhrk3g03o35h8mvqk2b1cr7rg Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085203.6389 ihhrk3g03o35h8mvqk2b1cr7rg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085203.6407 ihhrk3g03o35h8mvqk2b1cr7rg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085203.6424 ihhrk3g03o35h8mvqk2b1cr7rg Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6756a676856756afb39a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241209@085203.6582 ihhrk3g03o35h8mvqk2b1cr7rg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085203.6604 ihhrk3g03o35h8mvqk2b1cr7rg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085203.6644 ihhrk3g03o35h8mvqk2b1cr7rg Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241209@085203.6658 ihhrk3g03o35h8mvqk2b1cr7rg Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241209@085203.6671 ihhrk3g03o35h8mvqk2b1cr7rg Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241209@085203.6684 ihhrk3g03o35h8mvqk2b1cr7rg Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241209@085203.6696 ihhrk3g03o35h8mvqk2b1cr7rg Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241209@085203.6709 ihhrk3g03o35h8mvqk2b1cr7rg Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241209@085203.6721 ihhrk3g03o35h8mvqk2b1cr7rg Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6756a676856756afb39a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241209@085203.6984 ihhrk3g03o35h8mvqk2b1cr7rg Query : select top 1 fno valor from wsftdata order by fno desc
20241209@085203.7017 ihhrk3g03o35h8mvqk2b1cr7rg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085203.7034 ihhrk3g03o35h8mvqk2b1cr7rg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085203.7060 ihhrk3g03o35h8mvqk2b1cr7rg Query : select 'normal' from dummy
20241209@085203.7077 ihhrk3g03o35h8mvqk2b1cr7rg Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6756a676856756afb39a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2297,101621,0,'2024-12-09',39,'euro',0,0,2024 ,?,?)
20241209@085203.7380 ihhrk3g03o35h8mvqk2b1cr7rg Query : use flama_phc
20241209@085203.7383 ihhrk3g03o35h8mvqk2b1cr7rg Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20241209@085203.7406 ihhrk3g03o35h8mvqk2b1cr7rg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.658.00.01'
20241209@085203.7420 ihhrk3g03o35h8mvqk2b1cr7rg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085203.7437 ihhrk3g03o35h8mvqk2b1cr7rg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085203.7463 ihhrk3g03o35h8mvqk2b1cr7rg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085203.7478 ihhrk3g03o35h8mvqk2b1cr7rg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085203.7487 ihhrk3g03o35h8mvqk2b1cr7rg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085203.7499 ihhrk3g03o35h8mvqk2b1cr7rg Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2301261100a'
20241209@085203.7512 ihhrk3g03o35h8mvqk2b1cr7rg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085203.7527 ihhrk3g03o35h8mvqk2b1cr7rg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085203.7538 ihhrk3g03o35h8mvqk2b1cr7rg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a796186756afb3b7','aut6756a676856756afb39a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085203.7543 ihhrk3g03o35h8mvqk2b1cr7rg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085203.7558 ihhrk3g03o35h8mvqk2b1cr7rg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085203.7585 ihhrk3g03o35h8mvqk2b1cr7rg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a796186756afb3b7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6756a676856756afb39a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241209@085203.8011 ihhrk3g03o35h8mvqk2b1cr7rg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085203.8521 ihhrk3g03o35h8mvqk2b1cr7rg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085203.8629 ihhrk3g03o35h8mvqk2b1cr7rg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085203.8653 ihhrk3g03o35h8mvqk2b1cr7rg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085203.8664 ihhrk3g03o35h8mvqk2b1cr7rg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085203.8677 ihhrk3g03o35h8mvqk2b1cr7rg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085203.8692 ihhrk3g03o35h8mvqk2b1cr7rg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085203.8704 ihhrk3g03o35h8mvqk2b1cr7rg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a252946756afb3d3','aut6756a676856756afb39a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085203.8710 ihhrk3g03o35h8mvqk2b1cr7rg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085203.8725 ihhrk3g03o35h8mvqk2b1cr7rg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085203.8758 ihhrk3g03o35h8mvqk2b1cr7rg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6756a252946756afb3d3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6756a676856756afb39a' ,0,0 ,2,23.00,20000,?,?,?)
20241209@085203.8996 ihhrk3g03o35h8mvqk2b1cr7rg Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6756a676856756afb39a','2408366','wait',39,'adm09112754980.682000002')
20241209@085203.9091 ihhrk3g03o35h8mvqk2b1cr7rg Query : use flama_phc
20241209@085203.9094 ihhrk3g03o35h8mvqk2b1cr7rg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241209@085203.9130 ihhrk3g03o35h8mvqk2b1cr7rg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3794';
20241209@085203.9173 ihhrk3g03o35h8mvqk2b1cr7rg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3794';
20241209@085203.9231 ihhrk3g03o35h8mvqk2b1cr7rg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3794';
20241209@085203.9264 ihhrk3g03o35h8mvqk2b1cr7rg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3794';
20241209@085204.9840 7o51gaqkfdocm5n0oea6c3hhgt Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241209@085204.9950 7o51gaqkfdocm5n0oea6c3hhgt Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241209@085204.1065 7o51gaqkfdocm5n0oea6c3hhgt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3795';
20241209@085204.1222 7o51gaqkfdocm5n0oea6c3hhgt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3795';
20241209@085204.1292 7o51gaqkfdocm5n0oea6c3hhgt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3795';
20241209@085204.1360 7o51gaqkfdocm5n0oea6c3hhgt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3795';
20241209@085204.1428 7o51gaqkfdocm5n0oea6c3hhgt Query : use flama_phc
20241209@085204.1431 7o51gaqkfdocm5n0oea6c3hhgt Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241209@085204.1492 7o51gaqkfdocm5n0oea6c3hhgt Query : use flama_phc
20241209@085204.1495 7o51gaqkfdocm5n0oea6c3hhgt Query : select no, estab,szadrsdesc from szadrs where u_coddest=1474
20241209@085204.1588 7o51gaqkfdocm5n0oea6c3hhgt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@085204.1615 7o51gaqkfdocm5n0oea6c3hhgt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408367 and bi.ref ='324.658.00.01' and bi.lordem =1
20241209@085204.1942 7o51gaqkfdocm5n0oea6c3hhgt Query : use flama_phc
20241209@085204.1945 7o51gaqkfdocm5n0oea6c3hhgt Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241209@085204.1983 7o51gaqkfdocm5n0oea6c3hhgt Query : use flama_phc
20241209@085204.1988 7o51gaqkfdocm5n0oea6c3hhgt Query : select top 1 1 valor from td where td.ndoc = 39
20241209@085204.2018 7o51gaqkfdocm5n0oea6c3hhgt Query : use flama_phc
20241209@085204.2022 7o51gaqkfdocm5n0oea6c3hhgt Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241209@085204.2051 7o51gaqkfdocm5n0oea6c3hhgt Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241209@085204.2094 7o51gaqkfdocm5n0oea6c3hhgt Query : use flama_phc
20241209@085204.2098 7o51gaqkfdocm5n0oea6c3hhgt Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241209@085204.2150 7o51gaqkfdocm5n0oea6c3hhgt Query : use flama_phc
20241209@085204.2153 7o51gaqkfdocm5n0oea6c3hhgt Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241209@085204.2196 7o51gaqkfdocm5n0oea6c3hhgt Query : use flama_phc
20241209@085204.2199 7o51gaqkfdocm5n0oea6c3hhgt Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241209@085204.2246 7o51gaqkfdocm5n0oea6c3hhgt Query : use flama_phc
20241209@085204.2249 7o51gaqkfdocm5n0oea6c3hhgt Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - corroios'
20241209@085204.2378 7o51gaqkfdocm5n0oea6c3hhgt Query : use flama_phc
20241209@085204.2382 7o51gaqkfdocm5n0oea6c3hhgt Query : select 1 valor from td where ndoc = 39
20241209@085204.2397 7o51gaqkfdocm5n0oea6c3hhgt Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241209@085204.2419 7o51gaqkfdocm5n0oea6c3hhgt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.2438 7o51gaqkfdocm5n0oea6c3hhgt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085204.2462 7o51gaqkfdocm5n0oea6c3hhgt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.2639 7o51gaqkfdocm5n0oea6c3hhgt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085204.2750 7o51gaqkfdocm5n0oea6c3hhgt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.2768 7o51gaqkfdocm5n0oea6c3hhgt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085204.2781 7o51gaqkfdocm5n0oea6c3hhgt Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085204.2848 7o51gaqkfdocm5n0oea6c3hhgt Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085204.2862 7o51gaqkfdocm5n0oea6c3hhgt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.2878 7o51gaqkfdocm5n0oea6c3hhgt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085204.2893 7o51gaqkfdocm5n0oea6c3hhgt Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6756a637976756afb443' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241209@085204.3067 7o51gaqkfdocm5n0oea6c3hhgt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.3088 7o51gaqkfdocm5n0oea6c3hhgt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085204.3122 7o51gaqkfdocm5n0oea6c3hhgt Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241209@085204.3134 7o51gaqkfdocm5n0oea6c3hhgt Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241209@085204.3149 7o51gaqkfdocm5n0oea6c3hhgt Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241209@085204.3407 7o51gaqkfdocm5n0oea6c3hhgt Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241209@085204.3617 7o51gaqkfdocm5n0oea6c3hhgt Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241209@085204.3684 7o51gaqkfdocm5n0oea6c3hhgt Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241209@085204.3696 7o51gaqkfdocm5n0oea6c3hhgt Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6756a637976756afb443',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241209@085204.3913 7o51gaqkfdocm5n0oea6c3hhgt Query : select top 1 fno valor from wsftdata order by fno desc
20241209@085204.3943 7o51gaqkfdocm5n0oea6c3hhgt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.3962 7o51gaqkfdocm5n0oea6c3hhgt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085204.3988 7o51gaqkfdocm5n0oea6c3hhgt Query : select 'normal' from dummy
20241209@085204.4005 7o51gaqkfdocm5n0oea6c3hhgt Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6756a637976756afb443',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2298,101621,0,'2024-12-09',39,'euro',0,0,2024 ,?,?)
20241209@085204.4284 7o51gaqkfdocm5n0oea6c3hhgt Query : use flama_phc
20241209@085204.4288 7o51gaqkfdocm5n0oea6c3hhgt Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20241209@085204.4309 7o51gaqkfdocm5n0oea6c3hhgt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.658.00.01'
20241209@085204.4323 7o51gaqkfdocm5n0oea6c3hhgt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.4339 7o51gaqkfdocm5n0oea6c3hhgt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085204.4367 7o51gaqkfdocm5n0oea6c3hhgt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.4382 7o51gaqkfdocm5n0oea6c3hhgt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085204.4431 7o51gaqkfdocm5n0oea6c3hhgt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085204.4456 7o51gaqkfdocm5n0oea6c3hhgt Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2301261100a'
20241209@085204.4469 7o51gaqkfdocm5n0oea6c3hhgt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.4485 7o51gaqkfdocm5n0oea6c3hhgt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085204.4496 7o51gaqkfdocm5n0oea6c3hhgt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a248816756afb46d','aut6756a637976756afb443' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085204.4501 7o51gaqkfdocm5n0oea6c3hhgt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.4515 7o51gaqkfdocm5n0oea6c3hhgt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085204.4541 7o51gaqkfdocm5n0oea6c3hhgt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a248816756afb46d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6756a637976756afb443' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241209@085204.4789 7o51gaqkfdocm5n0oea6c3hhgt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.4807 7o51gaqkfdocm5n0oea6c3hhgt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085204.4834 7o51gaqkfdocm5n0oea6c3hhgt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.4850 7o51gaqkfdocm5n0oea6c3hhgt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085204.4862 7o51gaqkfdocm5n0oea6c3hhgt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085204.4877 7o51gaqkfdocm5n0oea6c3hhgt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.4893 7o51gaqkfdocm5n0oea6c3hhgt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085204.4906 7o51gaqkfdocm5n0oea6c3hhgt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a059286756afb477','aut6756a637976756afb443' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085204.4911 7o51gaqkfdocm5n0oea6c3hhgt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.4927 7o51gaqkfdocm5n0oea6c3hhgt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085204.4961 7o51gaqkfdocm5n0oea6c3hhgt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6756a059286756afb477',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6756a637976756afb443' ,0,0 ,2,23.00,20000,?,?,?)
20241209@085204.5181 7o51gaqkfdocm5n0oea6c3hhgt Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6756a637976756afb443','2408367','wait',39,'adm09112754980.682000002')
20241209@085204.5258 7o51gaqkfdocm5n0oea6c3hhgt Query : use flama_phc
20241209@085204.5262 7o51gaqkfdocm5n0oea6c3hhgt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241209@085204.5365 7o51gaqkfdocm5n0oea6c3hhgt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3795';
20241209@085204.5418 7o51gaqkfdocm5n0oea6c3hhgt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3795';
20241209@085204.5471 7o51gaqkfdocm5n0oea6c3hhgt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3795';
20241209@085204.5503 7o51gaqkfdocm5n0oea6c3hhgt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3795';
20241209@085204.6068 iortomtjfuvdn36js6qltefsjt Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241209@085204.6080 iortomtjfuvdn36js6qltefsjt Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241209@085204.6151 iortomtjfuvdn36js6qltefsjt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3796';
20241209@085204.6225 iortomtjfuvdn36js6qltefsjt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3796';
20241209@085204.6291 iortomtjfuvdn36js6qltefsjt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3796';
20241209@085204.6327 iortomtjfuvdn36js6qltefsjt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3796';
20241209@085204.6386 iortomtjfuvdn36js6qltefsjt Query : use flama_phc
20241209@085204.6391 iortomtjfuvdn36js6qltefsjt Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241209@085204.6454 iortomtjfuvdn36js6qltefsjt Query : use flama_phc
20241209@085204.6457 iortomtjfuvdn36js6qltefsjt Query : select no, estab,szadrsdesc from szadrs where u_coddest=4500
20241209@085204.6544 iortomtjfuvdn36js6qltefsjt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@085204.6564 iortomtjfuvdn36js6qltefsjt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408368 and bi.ref ='324.658.00.01' and bi.lordem =1
20241209@085204.6886 iortomtjfuvdn36js6qltefsjt Query : use flama_phc
20241209@085204.6890 iortomtjfuvdn36js6qltefsjt Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241209@085204.6925 iortomtjfuvdn36js6qltefsjt Query : use flama_phc
20241209@085204.6928 iortomtjfuvdn36js6qltefsjt Query : select top 1 1 valor from td where td.ndoc = 39
20241209@085204.6963 iortomtjfuvdn36js6qltefsjt Query : use flama_phc
20241209@085204.6965 iortomtjfuvdn36js6qltefsjt Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241209@085204.6993 iortomtjfuvdn36js6qltefsjt Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241209@085204.7028 iortomtjfuvdn36js6qltefsjt Query : use flama_phc
20241209@085204.7032 iortomtjfuvdn36js6qltefsjt Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241209@085204.7083 iortomtjfuvdn36js6qltefsjt Query : use flama_phc
20241209@085204.7087 iortomtjfuvdn36js6qltefsjt Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241209@085204.7125 iortomtjfuvdn36js6qltefsjt Query : use flama_phc
20241209@085204.7133 iortomtjfuvdn36js6qltefsjt Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241209@085204.7173 iortomtjfuvdn36js6qltefsjt Query : use flama_phc
20241209@085204.7176 iortomtjfuvdn36js6qltefsjt Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - portimão'
20241209@085204.7223 iortomtjfuvdn36js6qltefsjt Query : use flama_phc
20241209@085204.7226 iortomtjfuvdn36js6qltefsjt Query : select 1 valor from td where ndoc = 39
20241209@085204.7237 iortomtjfuvdn36js6qltefsjt Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241209@085204.7252 iortomtjfuvdn36js6qltefsjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.7271 iortomtjfuvdn36js6qltefsjt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085204.7294 iortomtjfuvdn36js6qltefsjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.7310 iortomtjfuvdn36js6qltefsjt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085204.7339 iortomtjfuvdn36js6qltefsjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.7354 iortomtjfuvdn36js6qltefsjt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085204.7367 iortomtjfuvdn36js6qltefsjt Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085204.7426 iortomtjfuvdn36js6qltefsjt Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085204.7440 iortomtjfuvdn36js6qltefsjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.7456 iortomtjfuvdn36js6qltefsjt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085204.7472 iortomtjfuvdn36js6qltefsjt Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6756a971646756afb4b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241209@085204.7669 iortomtjfuvdn36js6qltefsjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.7872 iortomtjfuvdn36js6qltefsjt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085204.7907 iortomtjfuvdn36js6qltefsjt Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241209@085204.7920 iortomtjfuvdn36js6qltefsjt Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241209@085204.7934 iortomtjfuvdn36js6qltefsjt Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241209@085204.7946 iortomtjfuvdn36js6qltefsjt Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241209@085204.7959 iortomtjfuvdn36js6qltefsjt Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241209@085204.7971 iortomtjfuvdn36js6qltefsjt Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241209@085204.7983 iortomtjfuvdn36js6qltefsjt Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6756a971646756afb4b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241209@085204.8222 iortomtjfuvdn36js6qltefsjt Query : select top 1 fno valor from wsftdata order by fno desc
20241209@085204.8542 iortomtjfuvdn36js6qltefsjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.8632 iortomtjfuvdn36js6qltefsjt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085204.8656 iortomtjfuvdn36js6qltefsjt Query : select 'normal' from dummy
20241209@085204.8671 iortomtjfuvdn36js6qltefsjt Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6756a971646756afb4b3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2299,101621,0,'2024-12-09',39,'euro',0,0,2024 ,?,?)
20241209@085204.8951 iortomtjfuvdn36js6qltefsjt Query : use flama_phc
20241209@085204.8958 iortomtjfuvdn36js6qltefsjt Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20241209@085204.8997 iortomtjfuvdn36js6qltefsjt Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.658.00.01'
20241209@085204.9017 iortomtjfuvdn36js6qltefsjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.9037 iortomtjfuvdn36js6qltefsjt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085204.9068 iortomtjfuvdn36js6qltefsjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.9099 iortomtjfuvdn36js6qltefsjt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085204.9108 iortomtjfuvdn36js6qltefsjt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085204.9122 iortomtjfuvdn36js6qltefsjt Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2301261100a'
20241209@085204.9137 iortomtjfuvdn36js6qltefsjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.9154 iortomtjfuvdn36js6qltefsjt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085204.9167 iortomtjfuvdn36js6qltefsjt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a858906756afb4df','aut6756a971646756afb4b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085204.9173 iortomtjfuvdn36js6qltefsjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.9251 iortomtjfuvdn36js6qltefsjt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085204.9304 iortomtjfuvdn36js6qltefsjt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a858906756afb4df',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6756a971646756afb4b3' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241209@085204.9576 iortomtjfuvdn36js6qltefsjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.9596 iortomtjfuvdn36js6qltefsjt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085204.9661 iortomtjfuvdn36js6qltefsjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.9701 iortomtjfuvdn36js6qltefsjt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085204.9717 iortomtjfuvdn36js6qltefsjt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085204.9730 iortomtjfuvdn36js6qltefsjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.9745 iortomtjfuvdn36js6qltefsjt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085204.9757 iortomtjfuvdn36js6qltefsjt Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a567066756afb4ed','aut6756a971646756afb4b3' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085204.9768 iortomtjfuvdn36js6qltefsjt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085204.9801 iortomtjfuvdn36js6qltefsjt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085204.9905 iortomtjfuvdn36js6qltefsjt Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6756a567066756afb4ed',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6756a971646756afb4b3' ,0,0 ,2,23.00,20000,?,?,?)
20241209@085205.1840 iortomtjfuvdn36js6qltefsjt Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6756a971646756afb4b3','2408368','wait',39,'adm09112754980.682000002')
20241209@085205.4760 iortomtjfuvdn36js6qltefsjt Query : use flama_phc
20241209@085205.4800 iortomtjfuvdn36js6qltefsjt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241209@085205.5130 iortomtjfuvdn36js6qltefsjt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3796';
20241209@085205.5570 iortomtjfuvdn36js6qltefsjt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3796';
20241209@085205.6130 iortomtjfuvdn36js6qltefsjt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3796';
20241209@085205.6560 iortomtjfuvdn36js6qltefsjt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3796';
20241209@085205.1280 ts9t3pd2jpvqeaplj1s4panuhg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241209@085205.1293 ts9t3pd2jpvqeaplj1s4panuhg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241209@085205.1379 ts9t3pd2jpvqeaplj1s4panuhg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3797';
20241209@085205.1484 ts9t3pd2jpvqeaplj1s4panuhg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3797';
20241209@085205.1555 ts9t3pd2jpvqeaplj1s4panuhg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3797';
20241209@085205.1595 ts9t3pd2jpvqeaplj1s4panuhg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3797';
20241209@085205.1665 ts9t3pd2jpvqeaplj1s4panuhg Query : use flama_phc
20241209@085205.1668 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241209@085205.1731 ts9t3pd2jpvqeaplj1s4panuhg Query : use flama_phc
20241209@085205.1734 ts9t3pd2jpvqeaplj1s4panuhg Query : select no, estab,szadrsdesc from szadrs where u_coddest=201
20241209@085205.1830 ts9t3pd2jpvqeaplj1s4panuhg 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'
20241209@085205.1955 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408369 and bi.ref ='324.4421.00.1' and bi.lordem =2
20241209@085205.2266 ts9t3pd2jpvqeaplj1s4panuhg 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'
20241209@085205.2289 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408369 and bi.ref ='324.4421.00.1' and bi.lordem =2
20241209@085205.2336 ts9t3pd2jpvqeaplj1s4panuhg 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'
20241209@085205.2358 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408369 and bi.ref ='324.4421.00.1' and bi.lordem =2
20241209@085205.2377 ts9t3pd2jpvqeaplj1s4panuhg Query : use flama_phc
20241209@085205.2382 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241209@085205.2416 ts9t3pd2jpvqeaplj1s4panuhg Query : use flama_phc
20241209@085205.2419 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 1 valor from td where td.ndoc = 39
20241209@085205.2449 ts9t3pd2jpvqeaplj1s4panuhg Query : use flama_phc
20241209@085205.2452 ts9t3pd2jpvqeaplj1s4panuhg Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241209@085205.2485 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241209@085205.2579 ts9t3pd2jpvqeaplj1s4panuhg Query : use flama_phc
20241209@085205.2583 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 ~inactivo valor from cl where no = '100080' and estab = 0 order by inactivo desc
20241209@085205.2717 ts9t3pd2jpvqeaplj1s4panuhg Query : use flama_phc
20241209@085205.2720 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241209@085205.2754 ts9t3pd2jpvqeaplj1s4panuhg Query : use flama_phc
20241209@085205.2758 ts9t3pd2jpvqeaplj1s4panuhg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241209@085205.2804 ts9t3pd2jpvqeaplj1s4panuhg Query : use flama_phc
20241209@085205.2807 ts9t3pd2jpvqeaplj1s4panuhg Query : select szadrsstamp valor from szadrs where szadrsdesc='sorefoz - electrod. e equipamentos, s.a.'
20241209@085205.2854 ts9t3pd2jpvqeaplj1s4panuhg Query : use flama_phc
20241209@085205.2857 ts9t3pd2jpvqeaplj1s4panuhg Query : select 1 valor from td where ndoc = 39
20241209@085205.2869 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241209@085205.2883 ts9t3pd2jpvqeaplj1s4panuhg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085205.2899 ts9t3pd2jpvqeaplj1s4panuhg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085205.2957 ts9t3pd2jpvqeaplj1s4panuhg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085205.3516 ts9t3pd2jpvqeaplj1s4panuhg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085205.4182 ts9t3pd2jpvqeaplj1s4panuhg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085205.4237 ts9t3pd2jpvqeaplj1s4panuhg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085205.4254 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085205.4328 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085205.4350 ts9t3pd2jpvqeaplj1s4panuhg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085205.4369 ts9t3pd2jpvqeaplj1s4panuhg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085205.4388 ts9t3pd2jpvqeaplj1s4panuhg Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6756a731796756afb567' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241209@085205.4542 ts9t3pd2jpvqeaplj1s4panuhg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085205.4602 ts9t3pd2jpvqeaplj1s4panuhg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085205.4659 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241209@085205.4673 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241209@085205.4687 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241209@085205.4701 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241209@085205.4716 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241209@085205.4730 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241209@085205.4743 ts9t3pd2jpvqeaplj1s4panuhg Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6756a731796756afb567',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241209@085205.4990 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 fno valor from wsftdata order by fno desc
20241209@085205.5023 ts9t3pd2jpvqeaplj1s4panuhg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085205.5042 ts9t3pd2jpvqeaplj1s4panuhg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085205.5068 ts9t3pd2jpvqeaplj1s4panuhg Query : select 'normal' from dummy
20241209@085205.5084 ts9t3pd2jpvqeaplj1s4panuhg Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6756a731796756afb567',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2300,100080,0,'2024-12-09',39,'euro',0,0,2024 ,?,?)
20241209@085205.5356 ts9t3pd2jpvqeaplj1s4panuhg Query : use flama_phc
20241209@085205.5360 ts9t3pd2jpvqeaplj1s4panuhg Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20241209@085205.5383 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4421.00.1'
20241209@085205.5515 ts9t3pd2jpvqeaplj1s4panuhg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085205.5538 ts9t3pd2jpvqeaplj1s4panuhg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085205.5573 ts9t3pd2jpvqeaplj1s4panuhg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085205.5672 ts9t3pd2jpvqeaplj1s4panuhg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085205.5683 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085205.5698 ts9t3pd2jpvqeaplj1s4panuhg Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2400920200a'
20241209@085205.5716 ts9t3pd2jpvqeaplj1s4panuhg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085205.5736 ts9t3pd2jpvqeaplj1s4panuhg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085205.5750 ts9t3pd2jpvqeaplj1s4panuhg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a330976756afb58b','aut6756a731796756afb567' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085205.5756 ts9t3pd2jpvqeaplj1s4panuhg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085205.5773 ts9t3pd2jpvqeaplj1s4panuhg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085205.5816 ts9t3pd2jpvqeaplj1s4panuhg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a330976756afb58b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',9.000 ,'aut6756a731796756afb567' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241209@085205.6053 ts9t3pd2jpvqeaplj1s4panuhg Query : use flama_phc
20241209@085205.6057 ts9t3pd2jpvqeaplj1s4panuhg Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20241209@085205.6079 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4421.00.1'
20241209@085205.6096 ts9t3pd2jpvqeaplj1s4panuhg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085205.6114 ts9t3pd2jpvqeaplj1s4panuhg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085205.6139 ts9t3pd2jpvqeaplj1s4panuhg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085205.6154 ts9t3pd2jpvqeaplj1s4panuhg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085205.6162 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085205.6176 ts9t3pd2jpvqeaplj1s4panuhg Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2400920200a'
20241209@085205.6189 ts9t3pd2jpvqeaplj1s4panuhg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085205.6206 ts9t3pd2jpvqeaplj1s4panuhg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085205.6218 ts9t3pd2jpvqeaplj1s4panuhg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a326196756afb597','aut6756a731796756afb567' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085205.6222 ts9t3pd2jpvqeaplj1s4panuhg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085205.6237 ts9t3pd2jpvqeaplj1s4panuhg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085205.6271 ts9t3pd2jpvqeaplj1s4panuhg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a326196756afb597',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6756a731796756afb567' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241209@085205.6565 ts9t3pd2jpvqeaplj1s4panuhg Query : use flama_phc
20241209@085205.6568 ts9t3pd2jpvqeaplj1s4panuhg Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20241209@085205.6601 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4421.00.1'
20241209@085205.6618 ts9t3pd2jpvqeaplj1s4panuhg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085205.6637 ts9t3pd2jpvqeaplj1s4panuhg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085205.6667 ts9t3pd2jpvqeaplj1s4panuhg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085205.6683 ts9t3pd2jpvqeaplj1s4panuhg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085205.6695 ts9t3pd2jpvqeaplj1s4panuhg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085205.6709 ts9t3pd2jpvqeaplj1s4panuhg Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2400920200a'
20241209@085205.6722 ts9t3pd2jpvqeaplj1s4panuhg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085205.6737 ts9t3pd2jpvqeaplj1s4panuhg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085205.6749 ts9t3pd2jpvqeaplj1s4panuhg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a328336756afb5a4','aut6756a731796756afb567' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085205.6762 ts9t3pd2jpvqeaplj1s4panuhg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085205.6778 ts9t3pd2jpvqeaplj1s4panuhg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085205.6809 ts9t3pd2jpvqeaplj1s4panuhg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a328336756afb5a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut6756a731796756afb567' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241209@085205.7056 ts9t3pd2jpvqeaplj1s4panuhg Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6756a731796756afb567','2408369','wait',39,'adm09112754980.682000002')
20241209@085205.7140 ts9t3pd2jpvqeaplj1s4panuhg Query : use flama_phc
20241209@085205.7143 ts9t3pd2jpvqeaplj1s4panuhg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241209@085205.7249 ts9t3pd2jpvqeaplj1s4panuhg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3797';
20241209@085205.7909 ts9t3pd2jpvqeaplj1s4panuhg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3797';
20241209@085205.8587 ts9t3pd2jpvqeaplj1s4panuhg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3797';
20241209@085205.8644 ts9t3pd2jpvqeaplj1s4panuhg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3797';
20241209@085205.9167 tibaloc0fqhrgodbf71dl6pv4c Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241209@085205.9177 tibaloc0fqhrgodbf71dl6pv4c Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241209@085205.9248 tibaloc0fqhrgodbf71dl6pv4c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3798';
20241209@085205.9359 tibaloc0fqhrgodbf71dl6pv4c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3798';
20241209@085205.9483 tibaloc0fqhrgodbf71dl6pv4c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3798';
20241209@085205.9528 tibaloc0fqhrgodbf71dl6pv4c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3798';
20241209@085205.9636 tibaloc0fqhrgodbf71dl6pv4c Query : use flama_phc
20241209@085205.9641 tibaloc0fqhrgodbf71dl6pv4c Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241209@085205.9837 tibaloc0fqhrgodbf71dl6pv4c Query : use flama_phc
20241209@085205.9841 tibaloc0fqhrgodbf71dl6pv4c Query : select no, estab,szadrsdesc from szadrs where u_coddest=909
20241209@085205.9997 tibaloc0fqhrgodbf71dl6pv4c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@085206.6100 tibaloc0fqhrgodbf71dl6pv4c Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408370 and bi.ref ='324.658.00.01' and bi.lordem =1
20241209@085206.3950 tibaloc0fqhrgodbf71dl6pv4c Query : use flama_phc
20241209@085206.3990 tibaloc0fqhrgodbf71dl6pv4c Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241209@085206.4710 tibaloc0fqhrgodbf71dl6pv4c Query : use flama_phc
20241209@085206.4760 tibaloc0fqhrgodbf71dl6pv4c Query : select top 1 1 valor from td where td.ndoc = 39
20241209@085206.5070 tibaloc0fqhrgodbf71dl6pv4c Query : use flama_phc
20241209@085206.5100 tibaloc0fqhrgodbf71dl6pv4c Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241209@085206.5400 tibaloc0fqhrgodbf71dl6pv4c Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241209@085206.5760 tibaloc0fqhrgodbf71dl6pv4c Query : use flama_phc
20241209@085206.5790 tibaloc0fqhrgodbf71dl6pv4c Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241209@085206.6140 tibaloc0fqhrgodbf71dl6pv4c Query : use flama_phc
20241209@085206.6180 tibaloc0fqhrgodbf71dl6pv4c Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241209@085206.6510 tibaloc0fqhrgodbf71dl6pv4c Query : use flama_phc
20241209@085206.6540 tibaloc0fqhrgodbf71dl6pv4c Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241209@085206.6930 tibaloc0fqhrgodbf71dl6pv4c Query : use flama_phc
20241209@085206.6960 tibaloc0fqhrgodbf71dl6pv4c Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - ovar'
20241209@085206.7410 tibaloc0fqhrgodbf71dl6pv4c Query : use flama_phc
20241209@085206.7440 tibaloc0fqhrgodbf71dl6pv4c Query : select 1 valor from td where ndoc = 39
20241209@085206.7590 tibaloc0fqhrgodbf71dl6pv4c Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241209@085206.7730 tibaloc0fqhrgodbf71dl6pv4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.7910 tibaloc0fqhrgodbf71dl6pv4c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085206.8130 tibaloc0fqhrgodbf71dl6pv4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.8280 tibaloc0fqhrgodbf71dl6pv4c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085206.8540 tibaloc0fqhrgodbf71dl6pv4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.8680 tibaloc0fqhrgodbf71dl6pv4c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085206.8800 tibaloc0fqhrgodbf71dl6pv4c Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085206.9590 tibaloc0fqhrgodbf71dl6pv4c Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085206.9730 tibaloc0fqhrgodbf71dl6pv4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.9880 tibaloc0fqhrgodbf71dl6pv4c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085206.1003 tibaloc0fqhrgodbf71dl6pv4c Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6756a495696756afb615' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241209@085206.1172 tibaloc0fqhrgodbf71dl6pv4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.1191 tibaloc0fqhrgodbf71dl6pv4c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085206.1227 tibaloc0fqhrgodbf71dl6pv4c Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241209@085206.1239 tibaloc0fqhrgodbf71dl6pv4c Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241209@085206.1250 tibaloc0fqhrgodbf71dl6pv4c Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241209@085206.1264 tibaloc0fqhrgodbf71dl6pv4c Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241209@085206.1304 tibaloc0fqhrgodbf71dl6pv4c Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241209@085206.1316 tibaloc0fqhrgodbf71dl6pv4c Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241209@085206.1327 tibaloc0fqhrgodbf71dl6pv4c Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6756a495696756afb615',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241209@085206.1540 tibaloc0fqhrgodbf71dl6pv4c Query : select top 1 fno valor from wsftdata order by fno desc
20241209@085206.1573 tibaloc0fqhrgodbf71dl6pv4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.1590 tibaloc0fqhrgodbf71dl6pv4c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085206.1613 tibaloc0fqhrgodbf71dl6pv4c Query : select 'normal' from dummy
20241209@085206.1628 tibaloc0fqhrgodbf71dl6pv4c Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6756a495696756afb615',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2301,101621,0,'2024-12-09',39,'euro',0,0,2024 ,?,?)
20241209@085206.1886 tibaloc0fqhrgodbf71dl6pv4c Query : use flama_phc
20241209@085206.1890 tibaloc0fqhrgodbf71dl6pv4c Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20241209@085206.1915 tibaloc0fqhrgodbf71dl6pv4c Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.658.00.01'
20241209@085206.1930 tibaloc0fqhrgodbf71dl6pv4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.1948 tibaloc0fqhrgodbf71dl6pv4c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085206.1974 tibaloc0fqhrgodbf71dl6pv4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.1989 tibaloc0fqhrgodbf71dl6pv4c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085206.1997 tibaloc0fqhrgodbf71dl6pv4c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085206.2064 tibaloc0fqhrgodbf71dl6pv4c Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2301261100a'
20241209@085206.2077 tibaloc0fqhrgodbf71dl6pv4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.2093 tibaloc0fqhrgodbf71dl6pv4c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085206.2105 tibaloc0fqhrgodbf71dl6pv4c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a372636756afb632','aut6756a495696756afb615' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085206.2110 tibaloc0fqhrgodbf71dl6pv4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.2124 tibaloc0fqhrgodbf71dl6pv4c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085206.2151 tibaloc0fqhrgodbf71dl6pv4c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a372636756afb632',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut6756a495696756afb615' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241209@085206.2388 tibaloc0fqhrgodbf71dl6pv4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.2405 tibaloc0fqhrgodbf71dl6pv4c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085206.2430 tibaloc0fqhrgodbf71dl6pv4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.2444 tibaloc0fqhrgodbf71dl6pv4c Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085206.2453 tibaloc0fqhrgodbf71dl6pv4c Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085206.2465 tibaloc0fqhrgodbf71dl6pv4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.2488 tibaloc0fqhrgodbf71dl6pv4c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085206.2500 tibaloc0fqhrgodbf71dl6pv4c Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a618816756afb63c','aut6756a495696756afb615' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085206.2505 tibaloc0fqhrgodbf71dl6pv4c Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.2520 tibaloc0fqhrgodbf71dl6pv4c Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085206.2546 tibaloc0fqhrgodbf71dl6pv4c Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6756a618816756afb63c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6756a495696756afb615' ,0,0 ,2,23.00,20000,?,?,?)
20241209@085206.2797 tibaloc0fqhrgodbf71dl6pv4c Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6756a495696756afb615','2408370','wait',39,'adm09112754980.682000002')
20241209@085206.2873 tibaloc0fqhrgodbf71dl6pv4c Query : use flama_phc
20241209@085206.2876 tibaloc0fqhrgodbf71dl6pv4c Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241209@085206.2906 tibaloc0fqhrgodbf71dl6pv4c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3798';
20241209@085206.2947 tibaloc0fqhrgodbf71dl6pv4c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3798';
20241209@085206.3002 tibaloc0fqhrgodbf71dl6pv4c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3798';
20241209@085206.3034 tibaloc0fqhrgodbf71dl6pv4c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3798';
20241209@085206.3567 u9minqg550369d2ka5k52sfkki Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241209@085206.3580 u9minqg550369d2ka5k52sfkki Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241209@085206.3656 u9minqg550369d2ka5k52sfkki Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3799';
20241209@085206.3727 u9minqg550369d2ka5k52sfkki Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3799';
20241209@085206.3793 u9minqg550369d2ka5k52sfkki Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3799';
20241209@085206.3833 u9minqg550369d2ka5k52sfkki Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3799';
20241209@085206.3892 u9minqg550369d2ka5k52sfkki Query : use flama_phc
20241209@085206.3895 u9minqg550369d2ka5k52sfkki Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241209@085206.3965 u9minqg550369d2ka5k52sfkki Query : use flama_phc
20241209@085206.3969 u9minqg550369d2ka5k52sfkki Query : select no, estab,szadrsdesc from szadrs where u_coddest=908
20241209@085206.4059 u9minqg550369d2ka5k52sfkki Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@085206.4080 u9minqg550369d2ka5k52sfkki Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408371 and bi.ref ='324.658.00.01' and bi.lordem =1
20241209@085206.4403 u9minqg550369d2ka5k52sfkki Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@085206.4427 u9minqg550369d2ka5k52sfkki Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408371 and bi.ref ='324.658.00.01' and bi.lordem =1
20241209@085206.4444 u9minqg550369d2ka5k52sfkki Query : use flama_phc
20241209@085206.4448 u9minqg550369d2ka5k52sfkki Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241209@085206.4482 u9minqg550369d2ka5k52sfkki Query : use flama_phc
20241209@085206.4485 u9minqg550369d2ka5k52sfkki Query : select top 1 1 valor from td where td.ndoc = 39
20241209@085206.4516 u9minqg550369d2ka5k52sfkki Query : use flama_phc
20241209@085206.4519 u9minqg550369d2ka5k52sfkki Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241209@085206.4548 u9minqg550369d2ka5k52sfkki Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241209@085206.4586 u9minqg550369d2ka5k52sfkki Query : use flama_phc
20241209@085206.4590 u9minqg550369d2ka5k52sfkki Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20241209@085206.4621 u9minqg550369d2ka5k52sfkki Query : use flama_phc
20241209@085206.4624 u9minqg550369d2ka5k52sfkki Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241209@085206.4657 u9minqg550369d2ka5k52sfkki Query : use flama_phc
20241209@085206.4661 u9minqg550369d2ka5k52sfkki Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241209@085206.4704 u9minqg550369d2ka5k52sfkki Query : use flama_phc
20241209@085206.4707 u9minqg550369d2ka5k52sfkki Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda-aveiro'
20241209@085206.4755 u9minqg550369d2ka5k52sfkki Query : use flama_phc
20241209@085206.4758 u9minqg550369d2ka5k52sfkki Query : select 1 valor from td where ndoc = 39
20241209@085206.4771 u9minqg550369d2ka5k52sfkki Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241209@085206.4785 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.4802 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085206.4822 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.4837 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085206.4866 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.5080 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085206.5331 u9minqg550369d2ka5k52sfkki Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085206.5428 u9minqg550369d2ka5k52sfkki Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@085206.5442 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.5459 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@085206.5477 u9minqg550369d2ka5k52sfkki Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6756a015146756afb682' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241209@085206.5627 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.5762 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@085206.5799 u9minqg550369d2ka5k52sfkki Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241209@085206.5812 u9minqg550369d2ka5k52sfkki Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241209@085206.5825 u9minqg550369d2ka5k52sfkki Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241209@085206.5837 u9minqg550369d2ka5k52sfkki Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241209@085206.5849 u9minqg550369d2ka5k52sfkki Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241209@085206.5862 u9minqg550369d2ka5k52sfkki Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241209@085206.5874 u9minqg550369d2ka5k52sfkki Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6756a015146756afb682',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241209@085206.6091 u9minqg550369d2ka5k52sfkki Query : select top 1 fno valor from wsftdata order by fno desc
20241209@085206.6123 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.6142 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@085206.6316 u9minqg550369d2ka5k52sfkki Query : select 'normal' from dummy
20241209@085206.6333 u9minqg550369d2ka5k52sfkki Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut6756a015146756afb682',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2302,101621,0,'2024-12-09',39,'euro',0,0,2024 ,?,?)
20241209@085206.6594 u9minqg550369d2ka5k52sfkki Query : use flama_phc
20241209@085206.6597 u9minqg550369d2ka5k52sfkki Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20241209@085206.6627 u9minqg550369d2ka5k52sfkki Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.658.00.01'
20241209@085206.6643 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.6662 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085206.6689 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.6705 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085206.6714 u9minqg550369d2ka5k52sfkki Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085206.6727 u9minqg550369d2ka5k52sfkki Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2301261100a'
20241209@085206.6740 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.6756 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085206.6768 u9minqg550369d2ka5k52sfkki Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a013566756afb6a4','aut6756a015146756afb682' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085206.6773 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.6788 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085206.6822 u9minqg550369d2ka5k52sfkki Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a013566756afb6a4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut6756a015146756afb682' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241209@085206.7173 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.7192 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085206.7219 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.7266 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085206.7280 u9minqg550369d2ka5k52sfkki Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085206.7298 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.7318 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085206.7333 u9minqg550369d2ka5k52sfkki Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a642026756afb6b2','aut6756a015146756afb682' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085206.7340 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.7363 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085206.7393 u9minqg550369d2ka5k52sfkki Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6756a642026756afb6b2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6756a015146756afb682' ,0,0 ,2,23.00,20000,?,?,?)
20241209@085206.7673 u9minqg550369d2ka5k52sfkki Query : use flama_phc
20241209@085206.7678 u9minqg550369d2ka5k52sfkki Query : select st.usalote valor from st where st.ref = '324.658.00.01'
20241209@085206.7700 u9minqg550369d2ka5k52sfkki Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.658.00.01'
20241209@085206.7716 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.7733 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085206.7760 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.7780 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085206.7789 u9minqg550369d2ka5k52sfkki Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085206.7803 u9minqg550369d2ka5k52sfkki Query : select sestamp valor from se where ref ='324.658.00.01' and lote = 'r2301261100a'
20241209@085206.7819 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.7836 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085206.7849 u9minqg550369d2ka5k52sfkki Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a601126756afb6be','aut6756a015146756afb682' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085206.7853 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.7869 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085206.7911 u9minqg550369d2ka5k52sfkki Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut6756a601126756afb6be',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6756a015146756afb682' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241209@085206.8152 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.8170 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085206.8198 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.8215 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085206.8225 u9minqg550369d2ka5k52sfkki Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@085206.8238 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.8255 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@085206.8270 u9minqg550369d2ka5k52sfkki Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6756a113126756afb6c9','aut6756a015146756afb682' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@085206.8275 u9minqg550369d2ka5k52sfkki Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@085206.8291 u9minqg550369d2ka5k52sfkki Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@085206.8320 u9minqg550369d2ka5k52sfkki Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6756a113126756afb6c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6756a015146756afb682' ,0,0 ,2,23.00,50000,?,?,?)
20241209@085206.8544 u9minqg550369d2ka5k52sfkki Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6756a015146756afb682','2408371','wait',39,'adm09112754980.682000002')
20241209@085206.9198 u9minqg550369d2ka5k52sfkki Query : use flama_phc
20241209@085206.9203 u9minqg550369d2ka5k52sfkki Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241209@085206.9235 u9minqg550369d2ka5k52sfkki Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3799';
20241209@085206.9279 u9minqg550369d2ka5k52sfkki Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3799';
20241209@085206.9338 u9minqg550369d2ka5k52sfkki Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3799';
20241209@085206.9379 u9minqg550369d2ka5k52sfkki Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3799';

20241209@153831.9507 4vl0ire24okcl5neijsof9ldch Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3800';
20241209@153831.9588 4vl0ire24okcl5neijsof9ldch Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3800';
20241209@153831.9629 4vl0ire24okcl5neijsof9ldch Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3800';
20241209@153831.9684 4vl0ire24okcl5neijsof9ldch Query : use flama_phc
20241209@153831.9690 4vl0ire24okcl5neijsof9ldch Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241209@153831.9796 4vl0ire24okcl5neijsof9ldch Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1684.00.1'
20241209@153831.9888 4vl0ire24okcl5neijsof9ldch Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =002 and bo.boano =2024 and bo.obrano = 2400208 and bi.ref ='324.1684.00.1' and bi.lordem =10000
20241209@153832.2160 4vl0ire24okcl5neijsof9ldch Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'cps24022633896,617000002 ' 
20241209@153832.5350 4vl0ire24okcl5neijsof9ldch Query : use flama_phc
20241209@153832.5380 4vl0ire24okcl5neijsof9ldch Query : select top 1 1 valor from ts where ts.ndos = 61
20241209@153832.6040 4vl0ire24okcl5neijsof9ldch Query : use flama_phc
20241209@153832.6080 4vl0ire24okcl5neijsof9ldch Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241209@153832.6830 4vl0ire24okcl5neijsof9ldch Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =61
20241209@153832.8080 4vl0ire24okcl5neijsof9ldch Query : use flama_phc
20241209@153832.8110 4vl0ire24okcl5neijsof9ldch Query : select top 1 ~inactivo valor from fl where no = '202430' and estab = 00 order by inactivo desc
20241209@153832.9090 4vl0ire24okcl5neijsof9ldch Query : use flama_phc
20241209@153832.9120 4vl0ire24okcl5neijsof9ldch Query : select 1 valor from ts where ndos = 61
20241209@153832.9580 4vl0ire24okcl5neijsof9ldch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@153832.1389 4vl0ire24okcl5neijsof9ldch Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20241209@153832.1454 4vl0ire24okcl5neijsof9ldch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@153832.1469 4vl0ire24okcl5neijsof9ldch Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20241209@153832.1479 4vl0ire24okcl5neijsof9ldch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@153832.1493 4vl0ire24okcl5neijsof9ldch Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20241209@153832.1503 4vl0ire24okcl5neijsof9ldch Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 61
20241209@153832.1590 4vl0ire24okcl5neijsof9ldch Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20241209@153832.1664 4vl0ire24okcl5neijsof9ldch Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20241209@153832.1685 4vl0ire24okcl5neijsof9ldch Query : use flama_phc
20241209@153832.1693 4vl0ire24okcl5neijsof9ldch Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202430' and estab=00
20241209@153832.1763 4vl0ire24okcl5neijsof9ldch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@153832.1780 4vl0ire24okcl5neijsof9ldch Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20241209@153832.1818 4vl0ire24okcl5neijsof9ldch Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675707026967570ef829',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241209@153832.1880 4vl0ire24okcl5neijsof9ldch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@153832.1899 4vl0ire24okcl5neijsof9ldch Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20241209@153832.1912 4vl0ire24okcl5neijsof9ldch Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675707026967570ef829','--','bo',7.7734375000000000000 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241209@153832.2245 4vl0ire24okcl5neijsof9ldch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@153832.2344 4vl0ire24okcl5neijsof9ldch Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20241209@153832.2359 4vl0ire24okcl5neijsof9ldch Query : insert into bo (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675707026967570ef829','guia r. fornecedor','2024-12-09',61,2403827,?,?,?,?,?,?,?,?,2024, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20241209@153832.2879 4vl0ire24okcl5neijsof9ldch Query : use flama_phc
20241209@153832.2883 4vl0ire24okcl5neijsof9ldch Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20241209@153832.2992 4vl0ire24okcl5neijsof9ldch Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1684.00.1'
20241209@153832.3111 4vl0ire24okcl5neijsof9ldch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@153832.3128 4vl0ire24okcl5neijsof9ldch Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20241209@153832.3147 4vl0ire24okcl5neijsof9ldch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@153832.3162 4vl0ire24okcl5neijsof9ldch Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20241209@153832.3171 4vl0ire24okcl5neijsof9ldch Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2400208100a'
20241209@153832.3222 4vl0ire24okcl5neijsof9ldch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@153832.3237 4vl0ire24okcl5neijsof9ldch Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20241209@153832.3247 4vl0ire24okcl5neijsof9ldch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@153832.3263 4vl0ire24okcl5neijsof9ldch Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20241209@153832.3275 4vl0ire24okcl5neijsof9ldch Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675704422267570ef84f',?,?,'20241209',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20241209@153832.3765 4vl0ire24okcl5neijsof9ldch Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@153832.3808 4vl0ire24okcl5neijsof9ldch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@153832.3828 4vl0ire24okcl5neijsof9ldch Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20241209@153832.3843 4vl0ire24okcl5neijsof9ldch Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut675700487467570ef85c','aut675707026967570ef829',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from bo bo where bo.bostamp = 'aut675707026967570ef829'
20241209@153832.4027 4vl0ire24okcl5neijsof9ldch Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@153832.4054 4vl0ire24okcl5neijsof9ldch Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20241209@153832.4079 4vl0ire24okcl5neijsof9ldch Query : insert into bi (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,obistamp ,stipo) select 'aut675700487467570ef85c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 2550, 2550*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,10000 ,17.92,17.92*200.48,17.92,17.92*200.48 ,0,0,'un ','' ,bo.marcada,1 ,17.92*2550,17.92*2550*200.48 ,20.129000,20.129000*200.48 ,20.129000,20.129000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,17.92,17.92*200.48,17.92*2550,17.92*2550*200.48,'cps24022633896,617000002 ',139.3,139.3*2550,139.3,139.3*2550,?,?,?,4 from bo bo where bo.bostamp = 'aut675707026967570ef829'
20241209@153839.6596 4vl0ire24okcl5neijsof9ldch Query : use flama_phc
20241209@153839.6605 4vl0ire24okcl5neijsof9ldch Query : declare @bostamp varchar(25) = 'aut675707026967570ef829' ,@bistamp varchar(25) = '' update bi set tecoval = qtt * ecoval ,etecoval = qtt * eecoval ,tecoval2 = qtt * ecoval2 ,etecoval2 = qtt * eecoval2 where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end -- se tiver classificação e não for normal, não calcula nada update bi set ttdeb = 0 ,ettdeb = 0 ,ttmoeda = 0 where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and bi.classifc <> '' and bi.classifc <> 'normal' -- no caso normal com moeda euro if exists ( select 1 from bo cross apply ( select valor moeda from para1 where descricao = 'ge_pteoueuro' ) par where bo.bostamp = @bostamp and bo.moeda = par.moeda ) begin -- sem ecovalores update bi set ettdeb = round(bi.qtt * ((bi.edebito * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100))), 6) ,ttdeb = round(bi.qtt * ((bi.debito * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100))), 6) ,ttmoeda = 0 from bi inner join bo on bi.bostamp = bo.bostamp where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.econotcalc = 1 -- com ecovalores update bi set ettdeb = round(bi.qtt * ( ( bi.edebito + ( iif(p.st_econotdesc = 1, - bi.eecoval2, bi.eecoval) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ) ) ) * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) ), 6) + ( bi.qtt * iif(p.st_econotdesc = 1, (bi.eecoval + bi.eecoval2) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ), 0) ) ,ttdeb = round(bi.qtt * ( ( bi.debito + ( iif(p.st_econotdesc = 1, - bi.ecoval2, bi.ecoval) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ) ) ) * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) ), 6) + ( bi.qtt * iif(p.st_econotdesc = 1, (bi.ecoval + bi.ecoval2) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ), 0) ) ,ttmoeda = 0 from bi inner join bo on bi.bostamp = bo.bostamp left join st on bi.ref = st.ref left join taxasiva tiva on bi.tabiva = tiva.codigo cross apply ( select max(valor) st_econotdesc from ( select case when valor = 's' then 1 else 0 end valor from para1 where descricao = 'st_econotdesc' union all select 0 ) a ) p where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.econotcalc = 0 --acrescenta os descontos em valor, caso existam: update bi set ettdeb = round(bi.ettdeb - (bi.qtt * bi.evaldesc), 2) ,ttdeb = round(bi.ttdeb - (bi.qtt * bi.valdesc), 2) ,ttmoeda = 0 from bi where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.valdesc <> 0 end else begin update bi set ttmoeda = round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2) ,ettdeb = case when bo2.cambio <> 0 then round((round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2)) / bo2.cambio, 2) else 0 end ,edebito = case when bi.qtt = 0 then 0 else round(abs(( case when bo2.cambio <> 0 then round((round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2)) / bo2.cambio, 2) else 0 end ) / (1 - bi.desconto / 100) / (1 - bi.desc2 / 100) / (1 - bi.desc3 / 100) / (1 - bi.desc4 / 100) / (1 - bi.desc5 / 100) / (1 - bi.desc6 / 100) / bi.qtt), 2) end ,debito = case when bi.qtt = 0 then 0 else round(abs(( case when bo2.cambio <> 0 then round((round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2)) / bo2.cambio, 2) else 0 end ) / (1 - bi.desconto / 100) / (1 - bi.desc2 / 100) / (1 - bi.desc3 / 100) / (1 - bi.desc4 / 100) / (1 - bi.desc5 / 100) / (1 - bi.desc6 / 100) / bi.qtt), 2) end * 200.482 from bi inner join bo2 on bi.bostamp = bo2.bo2stamp where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) update bi set ttdeb = round(bi.ttdeb - (bi.qtt * bi.valdesc), 2) ,ettdeb = round(bi.ettdeb - (bi.qtt * bi.evaldesc), 0) ,debito = round(bi.debito - (bi.qtt * bi.valdesc), 2) ,edebito = round(bi.edebito - (bi.qtt * bi.evaldesc), 2) where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.valdesc <> 0 end 
20241209@153851.2928 4vl0ire24okcl5neijsof9ldch Query : use flama_phc
20241209@153851.2931 4vl0ire24okcl5neijsof9ldch Query : select 1 valor from bo where bo.bostamp = 'aut675707026967570ef829'
20241209@153851.3018 4vl0ire24okcl5neijsof9ldch Query : declare @errno int ,@errmsg varchar(255) ,@prod bit ,@nrdec numeric(10, 0) ,@totaldeb numeric(18, 5) ,@etotaldeb numeric(19, 6) ,@total numeric(18, 5) ,@etotal numeric(19, 6) ,@custo numeric(18, 5) ,@ecusto numeric(19, 6) ,@bo_1iliq numeric(19, 6) ,@bo_2iliq numeric(19, 6) ,@base1 numeric(19, 6) ,@base2 numeric(19, 6) ,@moetotal numeric(13, 3) ,@smoe1 numeric(13, 3) ,@smoe2 numeric(13, 3) ,@smoe3 numeric(13, 3) ,@smoe4 numeric(13, 3) ,@bo11_bins numeric(18, 5) ,@bo21_bins numeric(18, 5) ,@bo31_bins numeric(18, 5) ,@bo41_bins numeric(18, 5) ,@bo51_bins numeric(18, 5) ,@bo61_bins numeric(18, 5) ,@bo71_bins numeric(18, 5) ,@bo81_bins numeric(18, 5) ,@bo91_bins numeric(18, 5) ,@bo12_bins numeric(18, 5) ,@bo22_bins numeric(18, 5) ,@bo32_bins numeric(18, 5) ,@bo42_bins numeric(18, 5) ,@bo52_bins numeric(18, 5) ,@bo62_bins numeric(18, 5) ,@bo72_bins numeric(18, 5) ,@bo82_bins numeric(18, 5) ,@bo92_bins numeric(18, 5) ,@ebo11_bins numeric(19, 6) ,@ebo21_bins numeric(19, 6) ,@ebo31_bins numeric(19, 6) ,@ebo41_bins numeric(19, 6) ,@ebo51_bins numeric(19, 6) ,@ebo61_bins numeric(19, 6) ,@ebo71_bins numeric(18, 5) ,@ebo81_bins numeric(18, 5) ,@ebo91_bins numeric(18, 5) ,@ebo12_bins numeric(19, 6) ,@ebo22_bins numeric(19, 6) ,@ebo32_bins numeric(19, 6) ,@ebo42_bins numeric(19, 6) ,@ebo52_bins numeric(19, 6) ,@ebo62_bins numeric(19, 6) ,@ebo72_bins numeric(18, 5) ,@ebo82_bins numeric(18, 5) ,@ebo92_bins numeric(18, 5) ,@bo11_iva numeric(18, 5) ,@bo21_iva numeric(18, 5) ,@bo31_iva numeric(18, 5) ,@bo41_iva numeric(18, 5) ,@bo51_iva numeric(18, 5) ,@bo61_iva numeric(18, 5) ,@bo71_iva numeric(18, 5) ,@bo81_iva numeric(18, 5) ,@bo91_iva numeric(18, 5) ,@bo12_iva numeric(18, 5) ,@bo22_iva numeric(18, 5) ,@bo32_iva numeric(18, 5) ,@bo42_iva numeric(18, 5) ,@bo52_iva numeric(18, 5) ,@bo62_iva numeric(18, 5) ,@bo72_iva numeric(18, 5) ,@bo82_iva numeric(18, 5) ,@bo92_iva numeric(18, 5) ,@ebo11_iva numeric(19, 6) ,@ebo21_iva numeric(19, 6) ,@ebo31_iva numeric(19, 6) ,@ebo41_iva numeric(19, 6) ,@ebo51_iva numeric(19, 6) ,@ebo61_iva numeric(19, 6) ,@ebo71_iva numeric(18, 5) ,@ebo81_iva numeric(18, 5) ,@ebo91_iva numeric(18, 5) ,@ebo12_iva numeric(19, 6) ,@ebo22_iva numeric(19, 6) ,@ebo32_iva numeric(19, 6) ,@ebo42_iva numeric(19, 6) ,@ebo52_iva numeric(19, 6) ,@ebo62_iva numeric(19, 6) ,@ebo72_iva numeric(18, 5) ,@ebo82_iva numeric(18, 5) ,@ebo92_iva numeric(18, 5) ,@esdeb1 numeric(19, 6) ,@esdeb2 numeric(19, 6) ,@esdeb3 numeric(19, 6) ,@esdeb4 numeric(19, 6) ,@sdeb1 numeric(18, 5) ,@sdeb2 numeric(18, 5) ,@sdeb3 numeric(18, 5) ,@sdeb4 numeric(18, 5) ,@estot1 numeric(19, 6) ,@estot2 numeric(19, 6) ,@estot3 numeric(19, 6) ,@estot4 numeric(19, 6) ,@stot1 numeric(18, 5) ,@stot2 numeric(18, 5) ,@stot3 numeric(18, 5) ,@stot4 numeric(18, 5) ,@ebo_1tvall numeric(19, 6) ,@ebo_2tvall numeric(19, 6) ,@bo_1tvall numeric(18, 5) ,@bo_2tvall numeric(18, 5) ,@ebo_totp1 numeric(19, 6) ,@ebo_totp2 numeric(19, 6) ,@bo_totp1 numeric(18, 5) ,@bo_totp2 numeric(18, 5) ,@sqtt11 numeric(13, 3) ,@sqtt21 numeric(13, 3) ,@sqtt12 numeric(13, 3) ,@sqtt22 numeric(13, 3) ,@sqtt13 numeric(13, 3) ,@sqtt23 numeric(13, 3) ,@sqtt14 numeric(13, 3) ,@sqtt24 numeric(13, 3) ,@userinis varchar (30) ,@mybostamp char(25) = 'aut675707026967570ef829' declare @totaisiva table ( bostamp varchar (25), codigo numeric(1), taxa numeric (5,2), ebaseinc numeric (19,6), baseinc numeric (18,5), evalor numeric (19,6), valor numeric (18,5) ) set @prod = ( select ts.producao from bo(nolock) inner join ts(nolock) on bo.ndos = ts.ndos and bo.bostamp = @mybostamp ) set @nrdec = ( select convert(numeric(10, 0), valor) from para1(nolock) where descricao = 'de_euro' ) --set @prod = 0 --set @nrdec = 2 select @ecusto = sum(bi.epcusto * bi.qtt) ,@custo = sum(bi.pcusto * bi.qtt) ,@bo11_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo21_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo31_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo41_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo51_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo61_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo71_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo81_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo91_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo12_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo22_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo32_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo42_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo52_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo62_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo72_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo82_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo92_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo11_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo21_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo31_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo41_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo51_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo61_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo71_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo81_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo91_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo12_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo22_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo32_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo42_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo52_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo62_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo72_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo82_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo92_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo_1iliq = round(sum(bi.qtt * bi.epu), @nrdec) ,@bo_2iliq = round(sum(bi.ettdeb), @nrdec) ,@bo11_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo12_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo21_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo22_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo31_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo32_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo41_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo42_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo51_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo52_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo61_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo62_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo71_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo72_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo81_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo82_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo91_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo92_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo11_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo12_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo21_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo22_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo31_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo32_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo41_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo42_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo51_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo52_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo61_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo62_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo71_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo72_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo81_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo82_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo91_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else bi.ettdeb - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo92_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@esdeb1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.ettdeb else bi.ettdeb - round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@esdeb2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.ettdeb else bi.ettdeb - round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@esdeb3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.ettdeb else bi.ettdeb - round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@esdeb4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) * bi.iva / 100, @nrdec) end else 0 end) ,@sdeb1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.ttdeb else bi.ttdeb - round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@sdeb2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.ttdeb else bi.ttdeb - round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@sdeb3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.ttdeb else bi.ttdeb - round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@sdeb4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) * bi.iva / 100, @nrdec) end else 0 end) ,@smoe1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@smoe2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@smoe3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@smoe4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@total = @stot1 + @stot2 + @stot3 + @stot4 ,@etotal = @estot1 + @estot2 + @estot3 + @estot4 ,@totaldeb = @sdeb1 + @sdeb2 + @sdeb3 + @sdeb4 ,@etotaldeb = @esdeb1 + @esdeb2 + @esdeb3 + @esdeb4 ,@moetotal = @smoe1 + @smoe2 + @smoe3 + @smoe4 ,@ebo_1tvall = @ebo11_bins + @ebo21_bins + @ebo31_bins + @ebo41_bins + @ebo51_bins + @ebo61_bins + @ebo71_bins + @ebo81_bins + @ebo91_bins ,@ebo_2tvall = @ebo12_bins + @ebo22_bins + @ebo32_bins + @ebo42_bins + @ebo52_bins + @ebo62_bins + @ebo72_bins + @ebo82_bins + @ebo92_bins ,@bo_1tvall = @bo11_bins + @bo21_bins + @bo31_bins + @bo41_bins + @bo51_bins + @bo61_bins + @bo71_bins + @bo81_bins + @bo91_bins ,@bo_2tvall = @bo12_bins + @bo22_bins + @bo32_bins + @bo42_bins + @bo52_bins + @bo62_bins + @bo72_bins + @bo82_bins + @bo92_bins ,@ebo_totp1 = sum(case when bi.ivaincl = 0 then (bi.epu * bi.qtt) else round((bi.epu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@ebo_totp2 = sum(case when bi.ivaincl = 0 then (bi.edebito * bi.qtt) else round((bi.edebito * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@bo_totp1 = sum(case when bi.ivaincl = 0 then (bi.pu * bi.qtt) else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@bo_totp2 = sum(case when bi.ivaincl = 0 then (bi.debito * bi.qtt) else round((bi.debito * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@sqtt11 = sum(case when bi.stipo = 1 then bi.qtt else 0 end) ,@sqtt21 = sum(case when bi.stipo = 1 then bi.qtt else 0 end) ,@sqtt12 = sum(case when bi.stipo = 2 then bi.qtt else 0 end) ,@sqtt22 = sum(case when bi.stipo = 2 then bi.qtt else 0 end) ,@sqtt13 = sum(case when bi.stipo = 3 then bi.qtt else 0 end) ,@sqtt23 = sum(case when bi.stipo = 3 then bi.qtt else 0 end) ,@sqtt14 = sum(case when bi.stipo = 4 then bi.qtt else 0 end) ,@sqtt24 = sum(case when bi.stipo = 5 then bi.qtt else 0 end) from bi(nolock) where bi.bostamp = @mybostamp and bi.producao = case when @prod = 1 then 1 else bi.producao end and bi.composto = 0 and bi.qtt <> 0 update bo set bo.totaldeb = isnull(@totaldeb, 0) ,bo.total = isnull(@total, 0) ,bo.etotaldeb = isnull(@etotaldeb, 0) ,bo.moetotal = isnull(@moetotal, 0) ,bo.etotal = isnull(@etotal, 0) ,bo.ecusto = isnull(@ecusto, 0) ,bo.custo = isnull(@custo, 0) ,bo.bo11_bins = isnull(@bo11_bins, 0) ,bo.bo12_bins = isnull(@bo12_bins, 0) ,bo.bo21_bins = isnull(@bo21_bins, 0) ,bo.bo22_bins = isnull(@bo22_bins, 0) ,bo.bo31_bins = isnull(@bo31_bins, 0) ,bo.bo32_bins = isnull(@bo32_bins, 0) ,bo.bo41_bins = isnull(@bo41_bins, 0) ,bo.bo42_bins = isnull(@bo42_bins, 0) ,bo.bo51_bins = isnull(@bo51_bins, 0) ,bo.bo52_bins = isnull(@bo52_bins, 0) ,bo.bo61_bins = isnull(@bo61_bins, 0) ,bo.bo62_bins = isnull(@bo62_bins, 0) ,bo.ebo11_bins = isnull(@ebo11_bins, 0) ,bo.ebo12_bins = isnull(@ebo12_bins, 0) ,bo.ebo21_bins = isnull(@ebo21_bins, 0) ,bo.ebo22_bins = isnull(@ebo22_bins, 0) ,bo.ebo31_bins = isnull(@ebo31_bins, 0) ,bo.ebo32_bins = isnull(@ebo32_bins, 0) ,bo.ebo41_bins = isnull(@ebo41_bins, 0) ,bo.ebo42_bins = isnull(@ebo42_bins, 0) ,bo.ebo51_bins = isnull(@ebo51_bins, 0) ,bo.ebo52_bins = isnull(@ebo52_bins, 0) ,bo.ebo61_bins = isnull(@ebo61_bins, 0) ,bo.ebo62_bins = isnull(@ebo62_bins, 0) ,bo.bo11_iva = isnull(@bo11_iva, 0) ,bo.bo12_iva = isnull(@bo12_iva, 0) ,bo.bo21_iva = isnull(@bo21_iva, 0) ,bo.bo22_iva = isnull(@bo22_iva, 0) ,bo.bo31_iva = isnull(@bo31_iva, 0) ,bo.bo32_iva = isnull(@bo32_iva, 0) ,bo.bo41_iva = isnull(@bo41_iva, 0) ,bo.bo42_iva = isnull(@bo42_iva, 0) ,bo.bo51_iva = isnull(@bo51_iva, 0) ,bo.bo52_iva = isnull(@bo52_iva, 0) ,bo.bo61_iva = isnull(@bo61_iva, 0) ,bo.bo62_iva = isnull(@bo62_iva, 0) ,bo.ebo11_iva = isnull(@ebo11_iva, 0) ,bo.ebo12_iva = isnull(@ebo12_iva, 0) ,bo.ebo21_iva = isnull(@ebo21_iva, 0) ,bo.ebo22_iva = isnull(@ebo22_iva, 0) ,bo.ebo31_iva = isnull(@ebo31_iva, 0) ,bo.ebo32_iva = isnull(@ebo32_iva, 0) ,bo.ebo41_iva = isnull(@ebo41_iva, 0) ,bo.ebo42_iva = isnull(@ebo42_iva, 0) ,bo.ebo51_iva = isnull(@ebo51_iva, 0) ,bo.ebo52_iva = isnull(@ebo52_iva, 0) ,bo.ebo61_iva = isnull(@ebo61_iva, 0) ,bo.ebo62_iva = isnull(@ebo62_iva, 0) ,bo.esdeb1 = isnull(@esdeb1, 0) ,bo.esdeb2 = isnull(@esdeb2, 0) ,bo.esdeb3 = isnull(@esdeb3, 0) ,bo.esdeb4 = isnull(@esdeb4, 0) ,bo.sdeb1 = isnull(@sdeb1, 0) ,bo.sdeb2 = isnull(@sdeb2, 0) ,bo.sdeb3 = isnull(@sdeb3, 0) ,bo.sdeb4 = isnull(@sdeb4, 0) ,bo.smoe1 = isnull(@smoe1, 0) ,bo.smoe2 = isnull(@smoe2, 0) ,bo.smoe3 = isnull(@smoe3, 0) ,bo.smoe4 = isnull(@smoe4, 0) ,bo.estot1 = isnull(@estot1, 0) ,bo.estot2 = isnull(@estot2, 0) ,bo.estot3 = isnull(@estot3, 0) ,bo.estot4 = isnull(@estot4, 0) ,bo.stot1 = isnull(@stot1, 0) ,bo.stot2 = isnull(@stot2, 0) ,bo.stot3 = isnull(@stot3, 0) ,bo.stot4 = isnull(@stot4, 0) ,bo.ebo_1tvall = isnull(@ebo_1tvall, 0) ,bo.ebo_2tvall = isnull(@ebo_2tvall, 0) ,bo.bo_1tvall = isnull(@bo_1tvall, 0) ,bo.bo_2tvall = isnull(@bo_2tvall, 0) ,bo.ebo_totp1 = isnull(@ebo_totp1, 0) ,bo.ebo_totp2 = isnull(@ebo_totp2, 0) ,bo.bo_totp1 = isnull(@bo_totp1, 0) ,bo.bo_totp2 = isnull(@bo_totp2, 0) ,bo.sqtt11 = isnull(@sqtt11, 0) ,bo.sqtt21 = isnull(@sqtt21, 0) ,bo.sqtt12 = isnull(@sqtt12, 0) ,bo.sqtt22 = isnull(@sqtt22, 0) ,bo.sqtt13 = isnull(@sqtt13, 0) ,bo.sqtt23 = isnull(@sqtt23, 0) ,bo.sqtt14 = isnull(@sqtt14, 0) ,bo.sqtt24 = isnull(@sqtt24, 0) where bostamp = @mybostamp update bo2 set bo2.bo71_bins = isnull(@bo71_bins, 0) ,bo2.bo72_bins = isnull(@bo72_bins, 0) ,bo2.bo81_bins = isnull(@bo81_bins, 0) ,bo2.bo82_bins = isnull(@bo82_bins, 0) ,bo2.bo91_bins = isnull(@bo91_bins, 0) ,bo2.bo92_bins = isnull(@bo92_bins, 0) ,bo2.ebo71_bins = isnull(@ebo71_bins, 0) ,bo2.ebo72_bins = isnull(@ebo72_bins, 0) ,bo2.ebo81_bins = isnull(@ebo81_bins, 0) ,bo2.ebo82_bins = isnull(@ebo82_bins, 0) ,bo2.ebo91_bins = isnull(@ebo91_bins, 0) ,bo2.ebo92_bins = isnull(@ebo92_bins, 0) ,bo2.bo71_iva = isnull(@bo71_iva, 0) ,bo2.bo72_iva = isnull(@bo72_iva, 0) ,bo2.bo81_iva = isnull(@bo81_iva, 0) ,bo2.bo82_iva = isnull(@bo82_iva, 0) ,bo2.bo91_iva = isnull(@bo91_iva, 0) ,bo2.bo92_iva = isnull(@bo92_iva, 0) ,bo2.ebo71_iva = isnull(@ebo71_iva, 0) ,bo2.ebo72_iva = isnull(@ebo72_iva, 0) ,bo2.ebo81_iva = isnull(@ebo81_iva, 0) ,bo2.ebo82_iva = isnull(@ebo82_iva, 0) ,bo2.ebo91_iva = isnull(@ebo91_iva, 0) ,bo2.ebo92_iva = isnull(@ebo92_iva, 0) ,bo2.etotalciva = isnull(@etotaldeb, 0) + isnull(@ebo12_iva, 0) +isnull(@ebo22_iva, 0) +isnull(@ebo32_iva, 0) +isnull(@ebo42_iva, 0) +isnull(@ebo52_iva, 0) +isnull(@ebo62_iva, 0) +isnull(@ebo72_iva, 0) +isnull(@ebo82_iva, 0) +isnull(@ebo92_iva, 0) --,bo2.mtotalciva =isnull(@moetotal, 0) where bo2stamp = @mybostamp -- trata os bot select @userinis = usrinis from bo where bo.bostamp=@mybostamp insert into @totaisiva ( bostamp, codigo, taxa, ebaseinc, baseinc, evalor, valor ) select @mybostamp,codigo,taxa ,case when (@ebo11_bins <>0) then @ebo11_bins else @ebo12_bins end ,case when (@ebo11_bins <>0) then @bo11_bins else @bo12_bins end ,case when (@ebo11_bins <>0) then @ebo11_iva else @ebo12_iva end ,case when (@ebo11_bins <>0) then @bo11_iva else @bo12_iva end from taxasiva where codigo = 1 union all select @mybostamp,codigo,taxa ,case when (@ebo21_bins <>0) then @ebo21_bins else @ebo22_bins end ,case when (@ebo21_bins <>0) then @bo21_bins else @bo22_bins end ,case when (@ebo21_bins <>0) then @ebo21_iva else @ebo22_iva end ,case when (@ebo21_bins <>0) then @bo21_iva else @bo22_iva end from taxasiva where codigo = 2 union all select @mybostamp,codigo,taxa ,case when (@ebo31_bins <>0) then @ebo31_bins else @ebo32_bins end ,case when (@ebo31_bins <>0) then @bo31_bins else @bo32_bins end ,case when (@ebo31_bins <>0) then @ebo31_iva else @ebo32_iva end ,case when (@ebo31_bins <>0) then @bo31_iva else @bo32_iva end from taxasiva where codigo = 3 union all select @mybostamp,codigo,taxa ,case when (@ebo41_bins <>0) then @ebo41_bins else @ebo42_bins end ,case when (@ebo41_bins <>0) then @bo41_bins else @bo42_bins end ,case when (@ebo41_bins <>0) then @ebo41_iva else @ebo42_iva end ,case when (@ebo41_bins <>0) then @bo41_iva else @bo42_iva end from taxasiva where codigo = 4 union all select @mybostamp,codigo,taxa ,case when (@ebo51_bins <>0) then @ebo51_bins else @ebo52_bins end ,case when (@ebo51_bins <>0) then @bo51_bins else @bo52_bins end ,case when (@ebo51_bins <>0) then @ebo51_iva else @ebo52_iva end ,case when (@ebo51_bins <>0) then @bo51_iva else @bo52_iva end from taxasiva where codigo = 5 union all select @mybostamp,codigo,taxa ,case when (@ebo61_bins <>0) then @ebo61_bins else @ebo62_bins end ,case when (@ebo61_bins <>0) then @bo61_bins else @bo62_bins end ,case when (@ebo61_bins <>0) then @ebo61_iva else @ebo62_iva end ,case when (@ebo61_bins <>0) then @bo61_iva else @bo62_iva end from taxasiva where codigo = 6 union all select @mybostamp,codigo,taxa ,case when (@ebo71_bins <>0) then @ebo71_bins else @ebo72_bins end ,case when (@ebo71_bins <>0) then @bo71_bins else @bo72_bins end ,case when (@ebo71_bins <>0) then @ebo71_iva else @ebo72_iva end ,case when (@ebo71_bins <>0) then @bo71_iva else @bo72_iva end from taxasiva where codigo = 7 union all select @mybostamp,codigo,taxa ,case when (@ebo81_bins <>0) then @ebo81_bins else @ebo82_bins end ,case when (@ebo81_bins <>0) then @bo81_bins else @bo82_bins end ,case when (@ebo81_bins <>0) then @ebo81_iva else @ebo82_iva end ,case when (@ebo81_bins <>0) then @bo81_iva else @bo82_iva end from taxasiva where codigo = 8 union all select @mybostamp,codigo,taxa ,case when (@ebo91_bins <>0) then @ebo91_bins else @ebo92_bins end ,case when (@ebo91_bins <>0) then @bo91_bins else @bo92_bins end ,case when (@ebo91_bins <>0) then @ebo91_iva else @ebo92_iva end ,case when (@ebo91_bins <>0) then @bo91_iva else @bo92_iva end from taxasiva where codigo = 9 update bot set ebaseinc = totiva.ebaseinc, baseinc = totiva.baseinc, evalor = totiva.evalor, valor = totiva.valor, usrinis = @userinis, usrdata = convert (date,getdate()), usrhora = convert (time,getdate()) from @totaisiva totiva inner join bot on totiva.bostamp = bot.bostamp and totiva.codigo = bot.codigo insert into bot ( botstamp ,bostamp ,codigo ,taxa ,ebaseinc ,baseinc ,evalor ,valor ,ousrinis ,ousrdata ,ousrhora ,usrinis ,usrdata ,usrhora ) select ( left(@userinis,3) + 'tt' + left(newid(),5) + right(newid(),5) + left(newid(),5) + right(newid(),5)) stamp ,@mybostamp stampbo ,totiva.codigo ,totiva.taxa ,totiva.ebaseinc ,totiva.baseinc ,totiva.evalor ,totiva.valor ,@userinis ,convert (date,getdate()) ,convert (time,getdate()) ,@userinis ,convert (date,getdate()) ,convert (time,getdate()) from @totaisiva totiva left join bot on totiva.bostamp = bot.bostamp and totiva.codigo = bot.codigo where bot.botstamp is null -- atualiza os campo bi.series e bi.series2, caso tenha equipamentos update bi set series = s1, series2=s2 from bi inner join ( select distinct bistamp,ser.s1, ser.s2 from boma cross apply (select stuff ( ( select ',' + rtrim(serie) from boma myboma where myboma.bistamp = boma.bistamp order by serie for xml path('') ), 1, 1, '' ) s1 , stuff ( ( select ',' + rtrim(serie2) from boma myboma where myboma.bistamp = boma.bistamp order by serie for xml path('') ), 1, 1, '' ) s2 ) ser where boma.bostamp = @mybostamp ) myboma on bi.bistamp = myboma.bistamp where bi.bostamp = @mybostamp 
20241209@153853.4234 4vl0ire24okcl5neijsof9ldch Query : use flama_phc
20241209@153853.4242 4vl0ire24okcl5neijsof9ldch Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241209@153853.4295 4vl0ire24okcl5neijsof9ldch Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3800';
20241209@153853.4377 4vl0ire24okcl5neijsof9ldch Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3800';

20241209@163016.3984 1ebjshbj4hn95dbkne8j10ioed Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3801';
20241209@163016.4989 1ebjshbj4hn95dbkne8j10ioed Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3801';
20241209@163016.5919 1ebjshbj4hn95dbkne8j10ioed Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3801';
20241209@163016.6656 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163016.6771 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241209@163016.8151 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163016.8240 1ebjshbj4hn95dbkne8j10ioed Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241209@163016.9460 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163017.5430 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163017.2553 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163017.3254 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163017.3753 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163017.4430 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163017.4725 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163017.5556 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163017.6169 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163017.6682 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163017.7102 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163017.7514 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163017.8064 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163017.8775 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163017.9315 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163017.9994 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163018.1095 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163018.1800 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163018.2292 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163018.3943 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163018.4434 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163018.5240 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163018.5802 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163018.6529 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163018.7045 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163018.8473 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163018.9638 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163019.3540 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163019.8350 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163019.1504 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163019.1768 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163019.2249 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163019.3118 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163019.3920 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163019.4377 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163019.5044 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163019.5481 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163019.6223 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163019.6674 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163019.7333 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163019.8196 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163019.9218 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163019.9710 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163020.4100 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163020.8570 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163020.2107 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163020.2621 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163020.3376 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163020.4000 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20241209@163020.5014 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408311 and bi.ref ='324.649.00.01' and bi.lordem =1
20241209@163020.5471 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163020.5573 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241209@163020.6827 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163020.6932 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 1 valor from td where td.ndoc = 39
20241209@163020.7807 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163020.7902 1ebjshbj4hn95dbkne8j10ioed Query : select lower(descricao) descricao ,case when valor='s' then 1 else 0 end valor from para1 where descricao in ('st_lote','st_usalogifunc', 'st_grelha')
20241209@163020.8988 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20241209@163021.2670 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163021.4480 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241209@163021.1581 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163021.1676 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241209@163021.2560 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163021.2666 1ebjshbj4hn95dbkne8j10ioed Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241209@163021.3799 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163021.3903 1ebjshbj4hn95dbkne8j10ioed Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241209@163021.5746 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163021.5832 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from td where ndoc = 39
20241209@163021.6570 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241209@163021.7329 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163021.7910 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@163021.8983 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163021.9581 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@163022.1150 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163022.1739 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@163022.2554 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@163022.3614 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241209@163022.4584 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163022.5774 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241209@163022.6809 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241209@163022.7933 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163022.8910 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241209@163023.9330 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241209@163023.1633 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241209@163023.2280 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241209@163023.2921 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241209@163023.3766 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241209@163023.4425 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241209@163023.5133 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut675715834467571b1e3e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241209@163023.7850 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 fno valor from wsftdata order by fno desc
20241209@163023.8599 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163023.9215 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241209@163024.3150 1ebjshbj4hn95dbkne8j10ioed Query : select 'normal' from dummy
20241209@163024.1109 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut675715834467571b1e3e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2303,100810,0,'2024-12-09',39,'euro',0,0,2024 ,?,?)
20241209@163024.3229 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163024.3420 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163024.4627 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163024.6056 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163024.6542 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163024.7992 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163024.8789 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163024.9444 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163025.2490 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163025.1180 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163025.1891 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163025.2369 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675710621867571b211c','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163025.2612 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163025.3318 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163025.5078 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675710621867571b211c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241209@163025.8751 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163025.9320 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163026.6440 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163026.1219 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163026.1606 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163026.2213 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163026.2819 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163026.3322 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675717102567571b2236','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163026.3427 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163026.4007 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163026.6270 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675717102567571b2236',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,20000,?,?,?)
20241209@163026.7403 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163026.7554 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163026.9078 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163026.9660 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163027.4250 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163027.1797 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163027.2394 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163027.2771 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163027.3378 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163027.4127 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163027.4722 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163027.5218 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675711379467571b2364','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163027.5306 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163027.5874 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163027.7391 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675711379467571b2364',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241209@163027.8726 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163027.9785 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163028.1457 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163028.2144 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163028.2543 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163028.3212 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163028.3796 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163028.4300 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675714581167571b244e','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163028.4417 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163028.5477 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163028.7243 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675714581167571b244e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,50000,?,?,?)
20241209@163028.8223 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163028.8324 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163028.9105 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163028.9689 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163029.2880 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163029.2346 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163029.3265 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163029.3984 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163029.4653 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163029.5218 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163029.5789 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163029.6275 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675713280767571b257f','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163029.6372 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163029.6943 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163029.9821 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675713280767571b257f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241209@163030.1303 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163030.1882 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163030.3649 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163030.4588 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163030.4926 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163030.5428 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163030.6227 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163030.6746 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675717994667571b2684','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163030.6834 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163030.7539 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163030.9157 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675717994667571b2684',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,80000,?,?,?)
20241209@163031.5270 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163031.8840 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163031.1795 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163031.2423 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163031.3133 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163031.4643 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163031.5399 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163031.5798 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163031.6466 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163031.7149 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163031.7821 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163031.8341 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675712224967571b27ae','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163031.8478 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163031.9080 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163032.1201 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675712224967571b27ae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241209@163032.2627 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163032.3264 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163032.4715 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163032.5321 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163032.5771 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163032.6365 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163032.6991 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163032.7531 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675716901467571b289b','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163032.7650 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163032.8327 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163032.9955 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675716901467571b289b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,110000,?,?,?)
20241209@163033.9160 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163033.1029 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163033.1829 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163033.2468 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163033.3083 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163033.4329 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163033.4686 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163033.4922 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163033.5451 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163033.5990 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163033.6493 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163033.6830 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675710870067571b2992','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163033.6881 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163033.7259 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163033.8358 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675710870067571b2992',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241209@163033.9538 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163034.1610 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163034.1532 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163034.2122 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163034.2509 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163034.3105 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163034.3745 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163034.4223 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675712191467571b2a4b','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163034.4336 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163034.4926 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163034.6440 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675712191467571b2a4b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,140000,?,?,?)
20241209@163034.7383 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163034.7466 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163034.8265 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163034.8851 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163034.9443 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163035.8210 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163035.1435 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163035.1827 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163035.2421 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163035.3027 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163035.3629 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163035.4133 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675713716667571b2b49','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163035.4223 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163035.4846 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163035.6374 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675713716667571b2b49',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241209@163035.7691 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163035.8254 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163035.9131 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163035.9471 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163035.9706 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163036.5900 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163036.3830 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163036.6490 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675718992167571b2c01','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163036.7200 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163036.1044 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163036.2047 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675718992167571b2c01',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,170000,?,?,?)
20241209@163036.2727 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163036.2813 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163036.3631 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163036.4212 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163036.4663 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163036.5427 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163036.6015 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163036.6411 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163036.7066 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163036.7658 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163036.8253 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163036.8743 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675718926167571b2cba','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163036.8858 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163036.9442 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163037.9700 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675718926167571b2cba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,190000,?,?,?,?,?)
20241209@163037.2149 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163037.2719 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163037.4102 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163037.4686 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163037.5069 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163037.5692 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163037.6289 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163037.6808 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675716914967571b2d8a','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163037.6893 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163037.7582 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163037.9774 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675716914967571b2d8a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,200000,?,?,?)
20241209@163038.8530 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163038.9390 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163038.1818 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163038.2487 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163038.3102 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163038.4555 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163038.5197 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163038.5630 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163038.6208 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163038.6851 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163038.7488 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163038.7991 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675718312267571b2ea7','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163038.8101 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163038.8690 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163039.1850 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675718312267571b2ea7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,220000,?,?,?,?,?)
20241209@163039.1377 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163039.1987 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163039.3353 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163039.3972 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163039.4374 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163039.4997 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163039.5598 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163039.6147 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675712217467571b2f7a','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163039.6231 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163039.6843 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163039.8487 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675712217467571b2f7a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,230000,?,?,?)
20241209@163039.9615 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163039.9700 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163040.5480 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163040.1144 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163040.1741 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163040.3281 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163040.3985 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163040.4373 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163040.5101 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163040.5771 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163040.6467 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163040.7005 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675717101367571b308c','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163040.7136 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163040.7802 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163040.9472 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675717101367571b308c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,250000,?,?,?,?,?)
20241209@163041.1010 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163041.1678 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163041.3251 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163041.4000 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163041.4375 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163041.4925 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163041.5574 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163041.6165 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675713267667571b3178','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163041.6278 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163041.6931 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163041.8573 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675713267667571b3178',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,260000,?,?,?)
20241209@163041.9539 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163041.9621 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163042.3880 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163042.9660 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163042.1615 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163042.2840 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163042.3442 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163042.3771 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163042.4344 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163042.4840 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163042.5435 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163042.5847 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675716904167571b3276','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163042.5932 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163042.6541 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163042.7885 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675716904167571b3276',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,280000,?,?,?,?,?)
20241209@163042.9359 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163042.9964 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163043.1212 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163043.1788 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163043.2116 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163043.2737 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163043.3507 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163043.4205 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675719751267571b3342','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163043.4590 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163043.5231 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163043.6569 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675719751267571b3342',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,290000,?,?,?)
20241209@163043.7367 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163043.7450 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163043.8133 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163043.8634 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163043.9249 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163044.6900 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163044.1317 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163044.1687 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163044.2311 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163044.2967 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163044.3557 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163044.4112 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675716961467571b3448','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163044.4196 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163044.4932 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163044.6442 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675716961467571b3448',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,310000,?,?,?,?,?)
20241209@163044.7457 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163044.8100 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163044.9347 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.6900 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.3990 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163045.4200 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.4410 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.4560 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675711021967571b350a','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163045.4620 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.4820 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.5600 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675711021967571b350a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,320000,?,?,?)
20241209@163045.8850 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163045.8890 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163045.9130 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163045.9300 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.9840 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.1015 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.1033 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.1044 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163045.1058 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163045.1073 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.1122 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.1137 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675717805967571b351a','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163045.1142 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.1160 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.1194 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675717805967571b351a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,340000,?,?,?,?,?)
20241209@163045.1567 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.1586 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.1614 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.1633 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.1643 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163045.1691 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.1709 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.1723 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675716400367571b3529','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163045.1729 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.1746 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.1811 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675716400367571b3529',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,350000,?,?,?)
20241209@163045.2134 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163045.2138 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163045.2163 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163045.2180 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.2200 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.2265 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.2284 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.2295 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163045.2310 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163045.2326 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.2346 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.2394 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675713626067571b3538','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163045.2400 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.2419 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.2456 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675713626067571b3538',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,370000,?,?,?,?,?)
20241209@163045.2836 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.2856 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.2887 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.2905 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.2915 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163045.2962 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.2980 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.2994 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675712385367571b3548','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163045.3000 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.3018 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.3085 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675712385367571b3548',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,380000,?,?,?)
20241209@163045.3402 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163045.3406 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163045.3427 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163045.3443 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.3509 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.3541 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.3560 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.3570 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163045.3585 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163045.3666 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.3686 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.3700 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675714609867571b3559','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163045.3706 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.3725 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.3796 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675714609867571b3559',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,400000,?,?,?,?,?)
20241209@163045.4112 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.4132 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.4158 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.4173 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.4182 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163045.4194 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.4242 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.4254 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675719020467571b3566','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163045.4259 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.4275 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.4303 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675719020467571b3566',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,410000,?,?,?)
20241209@163045.4605 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163045.4609 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163045.4663 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163045.4681 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.4698 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.4723 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.4738 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.4747 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163045.4793 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163045.4805 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.4822 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.4835 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675713423567571b3575','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163045.4840 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.4854 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.4917 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675713423567571b3575',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,430000,?,?,?,?,?)
20241209@163045.5221 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.5238 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.5264 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.5278 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.5287 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163045.5302 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.5351 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.5363 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675712690267571b3581','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163045.5367 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.5383 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.5411 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675712690267571b3581',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,440000,?,?,?)
20241209@163045.5719 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163045.5723 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163045.5791 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163045.5806 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.5823 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.5848 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.5898 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.5906 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163045.5918 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163045.5931 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.5946 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.5958 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675717145167571b3590','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163045.5963 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.5978 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.6038 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675717145167571b3590',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,460000,?,?,?,?,?)
20241209@163045.6352 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.6370 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.6395 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.6443 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.6452 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163045.6465 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.6480 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.6491 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675719562767571b359d','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163045.6496 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.6509 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.6571 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675719562767571b359d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,470000,?,?,?)
20241209@163045.6865 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163045.6869 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163045.6890 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163045.6906 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.6924 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.6988 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.7007 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.7020 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163045.7033 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163045.7047 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.7098 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.7110 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675718862267571b35ac','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163045.7114 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.7132 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.7163 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675718862267571b35ac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,490000,?,?,?,?,?)
20241209@163045.7463 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.7482 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.7575 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.7669 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.7901 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163045.7987 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.8005 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.8019 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675715510767571b35c3','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163045.8024 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.8043 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.8075 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675715510767571b35c3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,500000,?,?,?)
20241209@163045.8375 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163045.8379 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163045.8401 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163045.8447 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.8465 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.8495 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.8512 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.8522 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163045.8567 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163045.8582 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.8598 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.8611 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675716796367571b35d1','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163045.8616 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.8632 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.8694 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675716796367571b35d1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,520000,?,?,?,?,?)
20241209@163045.8991 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.9009 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.9039 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.9059 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.9107 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163045.9123 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.9140 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.9155 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675715540867571b35de','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163045.9160 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.9178 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.9243 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675715540867571b35de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,530000,?,?,?)
20241209@163045.9533 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163045.9556 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163045.9578 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163045.9593 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.9611 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.9673 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.9690 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.9699 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163045.9711 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163045.9725 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.9740 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163045.9783 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675711415667571b35ed','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163045.9789 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163045.9804 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163045.9846 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675711415667571b35ed',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,550000,?,?,?,?,?)
20241209@163046.1470 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.2020 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.2340 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.2520 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.2620 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163046.2770 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.2950 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.3400 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675710886067571b3606','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163046.3450 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.3620 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.3970 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675710886067571b3606',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,560000,?,?,?)
20241209@163046.6870 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163046.6900 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163046.7100 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163046.7560 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.7760 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.8050 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.8240 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.8340 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163046.8870 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163046.9000 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.9150 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.9280 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675716077267571b3615','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163046.9320 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.9490 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.9780 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675716077267571b3615',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,580000,?,?,?,?,?)
20241209@163046.1347 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.1363 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.1387 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.1403 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.1411 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163046.1423 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.1437 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.1477 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675712973367571b3622','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163046.1482 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.1496 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.1523 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675712973367571b3622',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,590000,?,?,?)
20241209@163046.1815 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163046.1818 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163046.1839 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163046.1886 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.1902 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.1928 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.1943 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.1952 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163046.1964 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163046.2007 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.2028 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.2041 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675715039767571b3631','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163046.2046 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.2062 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.2093 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675715039767571b3631',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,610000,?,?,?,?,?)
20241209@163046.2413 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.2432 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.2463 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.2515 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.2525 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163046.2539 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.2555 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.2568 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675718756667571b363d','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163046.2574 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.2590 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.2653 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675718756667571b363d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,620000,?,?,?)
20241209@163046.2962 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163046.2966 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163046.2989 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163046.3003 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.3054 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.3082 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.3100 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.3110 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163046.3125 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163046.3179 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.3197 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.3210 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675712058667571b364d','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163046.3214 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.3231 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.3265 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675712058667571b364d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,640000,?,?,?,?,?)
20241209@163046.3557 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.3573 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.3629 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.3643 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.3652 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163046.3664 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.3679 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.3690 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675717543367571b3659','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163046.3695 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.3740 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.3768 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675717543367571b3659',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,650000,?,?,?)
20241209@163046.4061 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163046.4065 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163046.4089 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163046.4106 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.4125 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.4186 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.4204 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.4214 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163046.4230 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163046.4245 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.4293 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.4305 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675714107967571b3667','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163046.4310 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.4326 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.4355 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675714107967571b3667',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,670000,?,?,?,?,?)
20241209@163046.4644 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.4661 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.4719 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.4735 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.4743 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163046.4755 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.4768 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.4782 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675713658367571b3674','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163046.4787 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.4845 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.4874 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675713658367571b3674',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,680000,?,?,?)
20241209@163046.5159 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163046.5163 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163046.5184 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163046.5198 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.5216 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.5275 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.5291 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.5300 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163046.5313 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163046.5326 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.5342 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.5355 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675715309167571b3682','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163046.5360 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.5410 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.5441 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675715309167571b3682',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,700000,?,?,?,?,?)
20241209@163046.5758 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.5780 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.5808 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.5828 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.5838 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163046.5886 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.5902 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.5914 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675710417367571b368f','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163046.5920 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.5936 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.5966 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675710417367571b368f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,710000,?,?,?)
20241209@163046.6284 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163046.6288 1ebjshbj4hn95dbkne8j10ioed Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241209@163046.6341 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.649.00.01'
20241209@163046.6355 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.6371 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.6397 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.6413 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.6422 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163046.6464 1ebjshbj4hn95dbkne8j10ioed Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400408200a'
20241209@163046.6477 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.6493 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.6504 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675711347567571b369e','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163046.6509 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.6524 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.6588 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut675711347567571b369e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,730000,?,?,?,?,?)
20241209@163046.6889 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.6908 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.6936 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.6952 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.6962 1ebjshbj4hn95dbkne8j10ioed Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241209@163046.7007 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.7027 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241209@163046.7041 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut675715860467571b36ab','aut675715834467571b1e3e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241209@163046.7046 1ebjshbj4hn95dbkne8j10ioed Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241209@163046.7063 1ebjshbj4hn95dbkne8j10ioed Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241209@163046.7094 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut675715860467571b36ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut675715834467571b1e3e' ,0,0 ,2,23.00,740000,?,?,?)
20241209@163046.7393 1ebjshbj4hn95dbkne8j10ioed Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut675715834467571b1e3e','2408311','wait',39,'adm09112754980.682000002')
20241209@163046.7526 1ebjshbj4hn95dbkne8j10ioed Query : use flama_phc
20241209@163046.7530 1ebjshbj4hn95dbkne8j10ioed Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241209@163046.7590 1ebjshbj4hn95dbkne8j10ioed Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3801';
20241209@163046.7631 1ebjshbj4hn95dbkne8j10ioed Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3801';
20241209@163046.7721 1ebjshbj4hn95dbkne8j10ioed Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3801';
20241209@163046.7771 1ebjshbj4hn95dbkne8j10ioed Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3801';

20241209@190437.2547 4r0eqf7fmkesuq0r27iotne26i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3802';
20241209@190437.2628 4r0eqf7fmkesuq0r27iotne26i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3802';
20241209@190437.2668 4r0eqf7fmkesuq0r27iotne26i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3802';
20241209@190437.2743 4r0eqf7fmkesuq0r27iotne26i Query : use flama_phc
20241209@190437.2746 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241209@190437.2820 4r0eqf7fmkesuq0r27iotne26i Query : use flama_phc
20241209@190437.2823 4r0eqf7fmkesuq0r27iotne26i Query : select no, estab,szadrsdesc from szadrs where u_coddest=2459
20241209@190437.2913 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4840.00.1'
20241209@190437.3029 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.4840.00.1' and bi.lordem =1
20241209@190437.3369 4r0eqf7fmkesuq0r27iotne26i 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'
20241209@190437.3490 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.1608.00.1' and bi.lordem =2
20241209@190437.3809 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20241209@190437.3925 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='304.421.00.04' and bi.lordem =3
20241209@190437.4480 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1417.00.1'
20241209@190437.4685 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.1417.00.1' and bi.lordem =4
20241209@190437.4995 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1417.00.1'
20241209@190437.5018 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.1417.00.1' and bi.lordem =4
20241209@190437.5035 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2066.00.1'
20241209@190437.5155 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.2066.00.1' and bi.lordem =5
20241209@190437.5460 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20241209@190437.5584 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.2221.00.1' and bi.lordem =6
20241209@190437.7469 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20241209@190437.7501 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.2221.00.1' and bi.lordem =6
20241209@190437.7520 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20241209@190437.7731 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.2222.00.1' and bi.lordem =7
20241209@190437.8047 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2223.00.1'
20241209@190437.8171 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.2223.00.1' and bi.lordem =8
20241209@190437.8480 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20241209@190437.8599 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.2224.00.1' and bi.lordem =9
20241209@190437.8912 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1256.00.1'
20241209@190437.9035 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.1256.00.1' and bi.lordem =10
20241209@190437.9352 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1293.00.1'
20241209@190437.9545 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.1293.00.1' and bi.lordem =11
20241209@190437.9872 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20241209@190437.9999 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.2907.00.1' and bi.lordem =12
20241209@190438.3020 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20241209@190438.3240 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.2907.00.1' and bi.lordem =12
20241209@190438.3420 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@190438.4630 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.658.00.01' and bi.lordem =13
20241209@190438.8150 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@190438.8390 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.658.00.01' and bi.lordem =13
20241209@190438.8570 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@190438.8790 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.658.00.01' and bi.lordem =13
20241209@190438.8970 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@190438.9190 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.658.00.01' and bi.lordem =13
20241209@190438.9370 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@190438.9590 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.658.00.01' and bi.lordem =13
20241209@190438.9770 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@190438.1001 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.658.00.01' and bi.lordem =13
20241209@190438.1019 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@190438.1042 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.658.00.01' and bi.lordem =13
20241209@190438.1061 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@190438.1082 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.658.00.01' and bi.lordem =13
20241209@190438.1099 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20241209@190438.1123 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.658.00.01' and bi.lordem =13
20241209@190438.1141 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.678.00.01'
20241209@190438.1278 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.678.00.01' and bi.lordem =14
20241209@190438.1594 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.678.00.01'
20241209@190438.1618 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.678.00.01' and bi.lordem =14
20241209@190438.1635 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.678.00.01'
20241209@190438.1657 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.678.00.01' and bi.lordem =14
20241209@190438.1675 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.678.00.01'
20241209@190438.1696 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.678.00.01' and bi.lordem =14
20241209@190438.1713 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241209@190438.1841 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.681.00.01' and bi.lordem =15
20241209@190438.2158 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241209@190438.2183 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.681.00.01' and bi.lordem =15
20241209@190438.2200 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241209@190438.2222 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.681.00.01' and bi.lordem =15
20241209@190438.2240 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241209@190438.2262 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.681.00.01' and bi.lordem =15
20241209@190438.2279 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241209@190438.2300 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.681.00.01' and bi.lordem =15
20241209@190438.2318 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241209@190438.2338 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.681.00.01' and bi.lordem =15
20241209@190438.2356 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241209@190438.2378 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.681.00.01' and bi.lordem =15
20241209@190438.2395 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.681.00.01'
20241209@190438.2420 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.681.00.01' and bi.lordem =15
20241209@190438.2437 4r0eqf7fmkesuq0r27iotne26i 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'
20241209@190438.2571 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.691.00.01' and bi.lordem =16
20241209@190438.2992 4r0eqf7fmkesuq0r27iotne26i 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'
20241209@190438.3015 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.691.00.01' and bi.lordem =16
20241209@190438.3033 4r0eqf7fmkesuq0r27iotne26i 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'
20241209@190438.3054 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.691.00.01' and bi.lordem =16
20241209@190438.3073 4r0eqf7fmkesuq0r27iotne26i 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'
20241209@190438.3095 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.691.00.01' and bi.lordem =16
20241209@190438.3114 4r0eqf7fmkesuq0r27iotne26i 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'
20241209@190438.3147 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.691.00.01' and bi.lordem =16
20241209@190438.3168 4r0eqf7fmkesuq0r27iotne26i 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'
20241209@190438.3190 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.691.00.01' and bi.lordem =16
20241209@190438.3209 4r0eqf7fmkesuq0r27iotne26i 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'
20241209@190438.3232 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.691.00.01' and bi.lordem =16
20241209@190438.3251 4r0eqf7fmkesuq0r27iotne26i 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'
20241209@190438.3273 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.691.00.01' and bi.lordem =16
20241209@190438.3298 4r0eqf7fmkesuq0r27iotne26i 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'
20241209@190438.3321 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.691.00.01' and bi.lordem =16
20241209@190438.3339 4r0eqf7fmkesuq0r27iotne26i 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'
20241209@190438.3383 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.691.00.01' and bi.lordem =17
20241209@190438.4815 4r0eqf7fmkesuq0r27iotne26i 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'
20241209@190438.4984 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.691.00.01' and bi.lordem =17
20241209@190438.5003 4r0eqf7fmkesuq0r27iotne26i 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'
20241209@190438.5028 4r0eqf7fmkesuq0r27iotne26i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2083 and bo.obrano = 2408341 and bi.ref ='324.691.00.01' and bi.lordem =17
20241209@190438.5048 4r0eqf7fmkesuq0r27iotne26i 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'
