20241108@105315.5278 jpimak7drsp7u6hs6afhcvr6gh INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20241108@105315.5277 jpimak7drsp7u6hs6afhcvr6gh Query : insert into wsbidata (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,ar2mazem,obistamp ,stipo) select 'aut672de87222672ded9b7b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 3.000, 3.000*.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,110000 ,149.99,149.99*200.48,149.99,149.99*200.48 ,0,0,'un ','' ,bo.marcada,1 ,149.99*3.000,149.99*3.000*200.48 ,32.008000,32.008000*200.48 ,32.008000,32.008000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,149.99,149.99*200.48,149.99*3.000,149.99*3.000*200.48,'pll24110560361,022000007 ',149.99,149.99*3.000,149.99,149.99*3.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut672de32847672ded9a4f'
20241108@105315.5638 jpimak7drsp7u6hs6afhcvr6gh Query : use flama_phc
20241108@105315.5642 jpimak7drsp7u6hs6afhcvr6gh Query : select st.usalote valor from st where st.ref = '324.649.00.01'
20241108@105315.5666 jpimak7drsp7u6hs6afhcvr6gh Query : use flama_phc
20241108@105315.5669 jpimak7drsp7u6hs6afhcvr6gh Query : select st.stns valor from st where st.ref = '324.649.00.01'
20241108@105315.5692 jpimak7drsp7u6hs6afhcvr6gh Query : use flama_phc
20241108@105315.5695 jpimak7drsp7u6hs6afhcvr6gh Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.649.00.01' and sa.armazem = 133 
20241108@105315.5727 jpimak7drsp7u6hs6afhcvr6gh Query : use flama_phc
20241108@105315.5730 jpimak7drsp7u6hs6afhcvr6gh Query : select st.stns valor from st where st.ref = '324.649.00.01'
20241108@105315.5753 jpimak7drsp7u6hs6afhcvr6gh 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'
20241108@105315.5768 jpimak7drsp7u6hs6afhcvr6gh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@105315.5785 jpimak7drsp7u6hs6afhcvr6gh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241108@105315.5803 jpimak7drsp7u6hs6afhcvr6gh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@105315.5818 jpimak7drsp7u6hs6afhcvr6gh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241108@105315.5827 jpimak7drsp7u6hs6afhcvr6gh Query : select sestamp valor from se where ref ='324.649.00.01' and lote = 'r2400682200a'
20241108@105315.5841 jpimak7drsp7u6hs6afhcvr6gh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@105315.5856 jpimak7drsp7u6hs6afhcvr6gh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@105315.5871 jpimak7drsp7u6hs6afhcvr6gh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241108@105315.5883 jpimak7drsp7u6hs6afhcvr6gh Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut672de53575672ded9b8e','aut672de32847672ded9a4f',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut672de32847672ded9a4f'
20241108@105315.6050 jpimak7drsp7u6hs6afhcvr6gh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@105315.6069 jpimak7drsp7u6hs6afhcvr6gh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241108@105315.6085 jpimak7drsp7u6hs6afhcvr6gh Query : insert into wsbidata (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,ar2mazem,obistamp ,stipo) select 'aut672de53575672ded9b8e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1.000, 1.000*.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,120000 ,149.99,149.99*200.48,149.99,149.99*200.48 ,0,0,'un ','' ,bo.marcada,1 ,149.99*1.000,149.99*1.000*200.48 ,32.008000,32.008000*200.48 ,32.008000,32.008000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,149.99,149.99*200.48,149.99*1.000,149.99*1.000*200.48,'pll24110560361,022000007 ',149.99,149.99*1.000,149.99,149.99*1.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut672de32847672ded9a4f'
20241108@105315.6406 jpimak7drsp7u6hs6afhcvr6gh Query : use flama_phc
20241108@105315.6769 jpimak7drsp7u6hs6afhcvr6gh Query : select st.usalote valor from st where st.ref = '326.597.00.01'
20241108@105315.8171 jpimak7drsp7u6hs6afhcvr6gh Query : use flama_phc
20241108@105315.8175 jpimak7drsp7u6hs6afhcvr6gh Query : select st.stns valor from st where st.ref = '326.597.00.01'
20241108@105315.8194 jpimak7drsp7u6hs6afhcvr6gh Query : use flama_phc
20241108@105315.8197 jpimak7drsp7u6hs6afhcvr6gh Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '326.597.00.01' and sa.armazem = 133 
20241108@105315.8271 jpimak7drsp7u6hs6afhcvr6gh Query : use flama_phc
20241108@105315.8275 jpimak7drsp7u6hs6afhcvr6gh Query : select st.stns valor from st where st.ref = '326.597.00.01'
20241108@105315.8299 jpimak7drsp7u6hs6afhcvr6gh Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '326.597.00.01'
20241108@105315.8449 jpimak7drsp7u6hs6afhcvr6gh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@105315.8465 jpimak7drsp7u6hs6afhcvr6gh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241108@105315.8478 jpimak7drsp7u6hs6afhcvr6gh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@105315.8494 jpimak7drsp7u6hs6afhcvr6gh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241108@105315.8504 jpimak7drsp7u6hs6afhcvr6gh Query : select sestamp valor from se where ref ='326.597.00.01' and lote = 'r2400936200a'
20241108@105315.8518 jpimak7drsp7u6hs6afhcvr6gh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@105315.8532 jpimak7drsp7u6hs6afhcvr6gh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@105315.8549 jpimak7drsp7u6hs6afhcvr6gh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241108@105315.8561 jpimak7drsp7u6hs6afhcvr6gh Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut672de02002672ded9bd0','aut672de32847672ded9a4f',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut672de32847672ded9a4f'
20241108@105315.8710 jpimak7drsp7u6hs6afhcvr6gh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@105315.8728 jpimak7drsp7u6hs6afhcvr6gh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241108@105315.8746 jpimak7drsp7u6hs6afhcvr6gh Query : insert into wsbidata (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,ar2mazem,obistamp ,stipo) select 'aut672de02002672ded9bd0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 4.000, 4.000*.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,130000 ,64.99,64.99*200.48,64.99,64.99*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,64.99*4.000,64.99*4.000*200.48 ,18.703000,18.703000*200.48 ,18.703000,18.703000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,64.99,64.99*200.48,64.99*4.000,64.99*4.000*200.48,'pll24110560378,101000008 ',64.99,64.99*4.000,64.99,64.99*4.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut672de32847672ded9a4f'
20241108@105315.9144 jpimak7drsp7u6hs6afhcvr6gh Query : use flama_phc
20241108@105315.9170 jpimak7drsp7u6hs6afhcvr6gh Query : select st.usalote valor from st where st.ref = '326.597.00.01'
20241108@105315.9215 jpimak7drsp7u6hs6afhcvr6gh Query : use flama_phc
20241108@105315.9227 jpimak7drsp7u6hs6afhcvr6gh Query : select st.stns valor from st where st.ref = '326.597.00.01'
20241108@105315.9245 jpimak7drsp7u6hs6afhcvr6gh Query : use flama_phc
20241108@105315.9248 jpimak7drsp7u6hs6afhcvr6gh Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '326.597.00.01' and sa.armazem = 133 
20241108@105315.9290 jpimak7drsp7u6hs6afhcvr6gh Query : use flama_phc
20241108@105315.9293 jpimak7drsp7u6hs6afhcvr6gh Query : select st.stns valor from st where st.ref = '326.597.00.01'
20241108@105315.9398 jpimak7drsp7u6hs6afhcvr6gh Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '326.597.00.01'
20241108@105315.9412 jpimak7drsp7u6hs6afhcvr6gh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@105315.9448 jpimak7drsp7u6hs6afhcvr6gh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241108@105315.9464 jpimak7drsp7u6hs6afhcvr6gh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@105315.9507 jpimak7drsp7u6hs6afhcvr6gh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241108@105315.9550 jpimak7drsp7u6hs6afhcvr6gh Query : select sestamp valor from se where ref ='326.597.00.01' and lote = 'r2400936200a'
20241108@105315.9563 jpimak7drsp7u6hs6afhcvr6gh Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@105315.9612 jpimak7drsp7u6hs6afhcvr6gh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@105315.9628 jpimak7drsp7u6hs6afhcvr6gh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20241108@105315.9662 jpimak7drsp7u6hs6afhcvr6gh Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut672de48300672ded9bea','aut672de32847672ded9a4f',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut672de32847672ded9a4f'
20241108@105315.9891 jpimak7drsp7u6hs6afhcvr6gh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@105315.9911 jpimak7drsp7u6hs6afhcvr6gh Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20241108@105316.7030 jpimak7drsp7u6hs6afhcvr6gh Query : insert into wsbidata (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,ar2mazem,obistamp ,stipo) select 'aut672de48300672ded9bea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 4.000, 4.000*.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,140000 ,64.99,64.99*200.48,64.99,64.99*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,64.99*4.000,64.99*4.000*200.48 ,18.703000,18.703000*200.48 ,18.703000,18.703000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,64.99,64.99*200.48,64.99*4.000,64.99*4.000*200.48,'pll24110560378,101000008 ',64.99,64.99*4.000,64.99,64.99*4.000,?,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut672de32847672ded9a4f'
20241108@105316.1129 jpimak7drsp7u6hs6afhcvr6gh Query : use flama_phc
20241108@105316.1133 jpimak7drsp7u6hs6afhcvr6gh Query : select st.usalote valor from st where st.ref = '324.2231.00.2'
20241108@105316.1150 jpimak7drsp7u6hs6afhcvr6gh Query : use flama_phc
20241108@105316.1152 jpimak7drsp7u6hs6afhcvr6gh Query : select st.stns valor from st where st.ref = '324.2231.00.2'
20241108@105316.1169 jpimak7drsp7u6hs6afhcvr6gh Query : use flama_phc
20241108@105316.1171 jpimak7drsp7u6hs6afhcvr6gh Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.2231.00.2' and sa.armazem = 133 
20241108@105316.1243 jpimak7drsp7u6hs6afhcvr6gh Query : use flama_phc
20241108@105316.1246 jpimak7drsp7u6hs6afhcvr6gh Query : select st.stns valor from st where st.ref = '324.2231.00.2'
20241108@105316.1264 jpimak7drsp7u6hs6afhcvr6gh Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2231.00.2'
20241108@105316.1422 jpimak7drsp7u6hs6afhcvr6gh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@105316.1438 jpimak7drsp7u6hs6afhcvr6gh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20241108@105316.1452 jpimak7drsp7u6hs6afhcvr6gh Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@105316.1470 jpimak7drsp7u6hs6afhcvr6gh Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20241108@105316.1479 jpimak7drsp7u6hs6afhcvr6gh Query : select sestamp valor from se where ref ='324.2231.00.2' and lote = 'r230114127'
20241108@105316.1489 jpimak7drsp7u6hs6afhcvr6gh Query : use flama_phc
20241108@105316.1492 jpimak7drsp7u6hs6afhcvr6gh Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20241108@105316.1507 jpimak7drsp7u6hs6afhcvr6gh Query : use flama_phc
20241108@105316.1510 jpimak7drsp7u6hs6afhcvr6gh Query : select st.usalote valor from st where st.ref = '321.181.45.00'
20241108@105316.1621 jpimak7drsp7u6hs6afhcvr6gh Query : use flama_phc
20241108@105316.1624 jpimak7drsp7u6hs6afhcvr6gh Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241108@105316.1729 jpimak7drsp7u6hs6afhcvr6gh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3183';
20241108@105316.1768 jpimak7drsp7u6hs6afhcvr6gh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3183';

20241108@150407.1824 s7a8hrstcfknvu4fvat838lq9b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3184';
20241108@150407.2013 s7a8hrstcfknvu4fvat838lq9b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3184';
20241108@150407.2047 s7a8hrstcfknvu4fvat838lq9b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3184';
20241108@150407.2099 s7a8hrstcfknvu4fvat838lq9b Query : use flama_phc
20241108@150407.2103 s7a8hrstcfknvu4fvat838lq9b Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241108@150407.2249 s7a8hrstcfknvu4fvat838lq9b Query : use flama_phc
20241108@150407.2266 s7a8hrstcfknvu4fvat838lq9b Query : select no, estab,szadrsdesc from szadrs where u_coddest=8748
20241108@150407.2356 s7a8hrstcfknvu4fvat838lq9b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2301.00.3'
20241108@150407.2514 s7a8hrstcfknvu4fvat838lq9b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407318 and bi.ref ='324.2301.00.3' and bi.lordem =1
20241108@150407.2825 s7a8hrstcfknvu4fvat838lq9b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2301.00.3'
20241108@150407.2904 s7a8hrstcfknvu4fvat838lq9b Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407318 and bi.ref ='324.2301.00.3' and bi.lordem =1
20241108@150407.2922 s7a8hrstcfknvu4fvat838lq9b Query : use flama_phc
20241108@150407.2926 s7a8hrstcfknvu4fvat838lq9b Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241108@150407.3113 s7a8hrstcfknvu4fvat838lq9b Query : use flama_phc
20241108@150407.3116 s7a8hrstcfknvu4fvat838lq9b Query : select top 1 1 valor from td where td.ndoc = 39
20241108@150407.3202 s7a8hrstcfknvu4fvat838lq9b Query : use flama_phc
20241108@150407.3205 s7a8hrstcfknvu4fvat838lq9b 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')
20241108@150407.3273 s7a8hrstcfknvu4fvat838lq9b 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
20241108@150407.3450 s7a8hrstcfknvu4fvat838lq9b Query : use flama_phc
20241108@150407.3453 s7a8hrstcfknvu4fvat838lq9b Query : select top 1 ~inactivo valor from cl where no = '102253' and estab = 0 order by inactivo desc
20241108@150407.3589 s7a8hrstcfknvu4fvat838lq9b Query : use flama_phc
20241108@150407.3593 s7a8hrstcfknvu4fvat838lq9b Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241108@150407.3712 s7a8hrstcfknvu4fvat838lq9b Query : use flama_phc
20241108@150407.3716 s7a8hrstcfknvu4fvat838lq9b Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241108@150407.3801 s7a8hrstcfknvu4fvat838lq9b Query : use flama_phc
20241108@150407.3804 s7a8hrstcfknvu4fvat838lq9b Query : select szadrsstamp valor from szadrs where szadrsdesc='fnac - entrega'
20241108@150407.3863 s7a8hrstcfknvu4fvat838lq9b Query : use flama_phc
20241108@150407.3866 s7a8hrstcfknvu4fvat838lq9b Query : select 1 valor from td where ndoc = 39
20241108@150407.3942 s7a8hrstcfknvu4fvat838lq9b Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241108@150407.4011 s7a8hrstcfknvu4fvat838lq9b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150407.4324 s7a8hrstcfknvu4fvat838lq9b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150407.4480 s7a8hrstcfknvu4fvat838lq9b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150407.4496 s7a8hrstcfknvu4fvat838lq9b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150407.4530 s7a8hrstcfknvu4fvat838lq9b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150407.4547 s7a8hrstcfknvu4fvat838lq9b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150407.4602 s7a8hrstcfknvu4fvat838lq9b Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150407.4947 s7a8hrstcfknvu4fvat838lq9b Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150407.5054 s7a8hrstcfknvu4fvat838lq9b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150407.5070 s7a8hrstcfknvu4fvat838lq9b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150407.5115 s7a8hrstcfknvu4fvat838lq9b Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut672e285844672e286770' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241108@150407.5376 s7a8hrstcfknvu4fvat838lq9b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150407.5394 s7a8hrstcfknvu4fvat838lq9b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150407.5431 s7a8hrstcfknvu4fvat838lq9b Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241108@150407.5520 s7a8hrstcfknvu4fvat838lq9b Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241108@150407.5598 s7a8hrstcfknvu4fvat838lq9b Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241108@150407.5676 s7a8hrstcfknvu4fvat838lq9b Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241108@150407.5751 s7a8hrstcfknvu4fvat838lq9b Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241108@150407.5831 s7a8hrstcfknvu4fvat838lq9b Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241108@150407.5901 s7a8hrstcfknvu4fvat838lq9b Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut672e285844672e286770',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241108@150407.6406 s7a8hrstcfknvu4fvat838lq9b Query : select top 1 fno valor from wsftdata order by fno desc
20241108@150407.6505 s7a8hrstcfknvu4fvat838lq9b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150407.6521 s7a8hrstcfknvu4fvat838lq9b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150407.6543 s7a8hrstcfknvu4fvat838lq9b Query : select 'normal' from dummy
20241108@150407.6588 s7a8hrstcfknvu4fvat838lq9b Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut672e285844672e286770',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1748,102253,0,'2024-11-08',39,'euro',0,0,2024 ,?,?)
20241108@150407.7242 s7a8hrstcfknvu4fvat838lq9b Query : use flama_phc
20241108@150407.7245 s7a8hrstcfknvu4fvat838lq9b Query : select st.usalote valor from st where st.ref = '324.2301.00.3'
20241108@150407.7366 s7a8hrstcfknvu4fvat838lq9b 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.2301.00.3'
20241108@150407.7533 s7a8hrstcfknvu4fvat838lq9b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150407.7551 s7a8hrstcfknvu4fvat838lq9b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150407.7579 s7a8hrstcfknvu4fvat838lq9b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150407.7594 s7a8hrstcfknvu4fvat838lq9b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150407.7603 s7a8hrstcfknvu4fvat838lq9b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150407.7644 s7a8hrstcfknvu4fvat838lq9b Query : select sestamp valor from se where ref ='324.2301.00.3' and lote = 'r2400474200a'
20241108@150407.7699 s7a8hrstcfknvu4fvat838lq9b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150407.7713 s7a8hrstcfknvu4fvat838lq9b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150407.7726 s7a8hrstcfknvu4fvat838lq9b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e230819672e2867bb','aut672e285844672e286770' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150407.7779 s7a8hrstcfknvu4fvat838lq9b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150407.7794 s7a8hrstcfknvu4fvat838lq9b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150407.7846 s7a8hrstcfknvu4fvat838lq9b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e230819672e2867bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut672e285844672e286770' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241108@150407.8226 s7a8hrstcfknvu4fvat838lq9b Query : use flama_phc
20241108@150407.8229 s7a8hrstcfknvu4fvat838lq9b Query : select st.usalote valor from st where st.ref = '324.2301.00.3'
20241108@150407.8249 s7a8hrstcfknvu4fvat838lq9b 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.2301.00.3'
20241108@150407.8264 s7a8hrstcfknvu4fvat838lq9b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150407.8278 s7a8hrstcfknvu4fvat838lq9b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150407.8301 s7a8hrstcfknvu4fvat838lq9b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150407.8316 s7a8hrstcfknvu4fvat838lq9b Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150407.8340 s7a8hrstcfknvu4fvat838lq9b Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150407.8352 s7a8hrstcfknvu4fvat838lq9b Query : select sestamp valor from se where ref ='324.2301.00.3' and lote = 'r2400474200a'
20241108@150407.8366 s7a8hrstcfknvu4fvat838lq9b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150407.8386 s7a8hrstcfknvu4fvat838lq9b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150407.8398 s7a8hrstcfknvu4fvat838lq9b Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e299341672e2867cc','aut672e285844672e286770' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150407.8402 s7a8hrstcfknvu4fvat838lq9b Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150407.8418 s7a8hrstcfknvu4fvat838lq9b Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150407.8475 s7a8hrstcfknvu4fvat838lq9b Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e299341672e2867cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut672e285844672e286770' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241108@150407.8801 s7a8hrstcfknvu4fvat838lq9b Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut672e285844672e286770','2407318','wait',39,'adm09112754980.682000002')
20241108@150407.8887 s7a8hrstcfknvu4fvat838lq9b Query : use flama_phc
20241108@150407.8890 s7a8hrstcfknvu4fvat838lq9b Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241108@150407.8918 s7a8hrstcfknvu4fvat838lq9b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3184';
20241108@150407.8951 s7a8hrstcfknvu4fvat838lq9b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3184';
20241108@150407.8993 s7a8hrstcfknvu4fvat838lq9b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3184';
20241108@150407.9020 s7a8hrstcfknvu4fvat838lq9b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3184';
20241108@150407.9824 cesajbcubdknr3hg6bjem2aesa Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241108@150407.9835 cesajbcubdknr3hg6bjem2aesa Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241108@150407.9898 cesajbcubdknr3hg6bjem2aesa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3185';
20241108@150407.9958 cesajbcubdknr3hg6bjem2aesa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3185';
20241108@150408.1800 cesajbcubdknr3hg6bjem2aesa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3185';
20241108@150408.5100 cesajbcubdknr3hg6bjem2aesa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3185';
20241108@150408.1030 cesajbcubdknr3hg6bjem2aesa Query : use flama_phc
20241108@150408.1080 cesajbcubdknr3hg6bjem2aesa Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241108@150408.1680 cesajbcubdknr3hg6bjem2aesa Query : use flama_phc
20241108@150408.1710 cesajbcubdknr3hg6bjem2aesa Query : select no, estab,szadrsdesc from szadrs where u_coddest=8748
20241108@150408.2150 cesajbcubdknr3hg6bjem2aesa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20241108@150408.3870 cesajbcubdknr3hg6bjem2aesa Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407320 and bi.ref ='324.1879.00.1' and bi.lordem =1
20241108@150408.6880 cesajbcubdknr3hg6bjem2aesa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20241108@150408.7080 cesajbcubdknr3hg6bjem2aesa Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407320 and bi.ref ='324.1879.00.1' and bi.lordem =1
20241108@150408.7610 cesajbcubdknr3hg6bjem2aesa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20241108@150408.1063 cesajbcubdknr3hg6bjem2aesa Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407320 and bi.ref ='324.1879.00.1' and bi.lordem =1
20241108@150408.1080 cesajbcubdknr3hg6bjem2aesa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20241108@150408.1099 cesajbcubdknr3hg6bjem2aesa Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407320 and bi.ref ='324.1879.00.1' and bi.lordem =1
20241108@150408.1114 cesajbcubdknr3hg6bjem2aesa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241108@150408.1263 cesajbcubdknr3hg6bjem2aesa Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407320 and bi.ref ='324.1824.00.1' and bi.lordem =2
20241108@150408.1571 cesajbcubdknr3hg6bjem2aesa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241108@150408.1590 cesajbcubdknr3hg6bjem2aesa Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407320 and bi.ref ='324.1824.00.1' and bi.lordem =2
20241108@150408.1606 cesajbcubdknr3hg6bjem2aesa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241108@150408.1625 cesajbcubdknr3hg6bjem2aesa Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407320 and bi.ref ='324.1824.00.1' and bi.lordem =2
20241108@150408.1641 cesajbcubdknr3hg6bjem2aesa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241108@150408.1660 cesajbcubdknr3hg6bjem2aesa Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407320 and bi.ref ='324.1824.00.1' and bi.lordem =2
20241108@150408.1675 cesajbcubdknr3hg6bjem2aesa Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20241108@150408.1694 cesajbcubdknr3hg6bjem2aesa Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407320 and bi.ref ='324.1824.00.1' and bi.lordem =2
20241108@150408.1710 cesajbcubdknr3hg6bjem2aesa Query : use flama_phc
20241108@150408.1715 cesajbcubdknr3hg6bjem2aesa Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241108@150408.1747 cesajbcubdknr3hg6bjem2aesa Query : use flama_phc
20241108@150408.1750 cesajbcubdknr3hg6bjem2aesa Query : select top 1 1 valor from td where td.ndoc = 39
20241108@150408.1789 cesajbcubdknr3hg6bjem2aesa Query : use flama_phc
20241108@150408.1792 cesajbcubdknr3hg6bjem2aesa 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')
20241108@150408.1825 cesajbcubdknr3hg6bjem2aesa 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
20241108@150408.1858 cesajbcubdknr3hg6bjem2aesa Query : use flama_phc
20241108@150408.1862 cesajbcubdknr3hg6bjem2aesa Query : select top 1 ~inactivo valor from cl where no = '102253' and estab = 0 order by inactivo desc
20241108@150408.1892 cesajbcubdknr3hg6bjem2aesa Query : use flama_phc
20241108@150408.1895 cesajbcubdknr3hg6bjem2aesa Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241108@150408.1923 cesajbcubdknr3hg6bjem2aesa Query : use flama_phc
20241108@150408.1926 cesajbcubdknr3hg6bjem2aesa Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241108@150408.1969 cesajbcubdknr3hg6bjem2aesa Query : use flama_phc
20241108@150408.1973 cesajbcubdknr3hg6bjem2aesa Query : select szadrsstamp valor from szadrs where szadrsdesc='fnac - entrega'
20241108@150408.2016 cesajbcubdknr3hg6bjem2aesa Query : use flama_phc
20241108@150408.2019 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from td where ndoc = 39
20241108@150408.2030 cesajbcubdknr3hg6bjem2aesa Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241108@150408.2045 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.2061 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150408.2082 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.2098 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150408.2127 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.2142 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150408.2155 cesajbcubdknr3hg6bjem2aesa Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150408.2217 cesajbcubdknr3hg6bjem2aesa Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150408.2230 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.2246 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150408.2261 cesajbcubdknr3hg6bjem2aesa Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut672e227990672e286834' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241108@150408.2466 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.2485 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150408.2520 cesajbcubdknr3hg6bjem2aesa Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241108@150408.2532 cesajbcubdknr3hg6bjem2aesa Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241108@150408.2544 cesajbcubdknr3hg6bjem2aesa Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241108@150408.2556 cesajbcubdknr3hg6bjem2aesa Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241108@150408.2572 cesajbcubdknr3hg6bjem2aesa Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241108@150408.2587 cesajbcubdknr3hg6bjem2aesa Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241108@150408.2599 cesajbcubdknr3hg6bjem2aesa Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut672e227990672e286834',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241108@150408.2858 cesajbcubdknr3hg6bjem2aesa Query : select top 1 fno valor from wsftdata order by fno desc
20241108@150408.2882 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.2898 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150408.2921 cesajbcubdknr3hg6bjem2aesa Query : select 'normal' from dummy
20241108@150408.2935 cesajbcubdknr3hg6bjem2aesa Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut672e227990672e286834',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1749,102253,0,'2024-11-08',39,'euro',0,0,2024 ,?,?)
20241108@150408.3230 cesajbcubdknr3hg6bjem2aesa Query : use flama_phc
20241108@150408.3233 cesajbcubdknr3hg6bjem2aesa Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20241108@150408.3261 cesajbcubdknr3hg6bjem2aesa Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1879.00.1'
20241108@150408.3398 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.3416 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150408.3441 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.3455 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150408.3464 cesajbcubdknr3hg6bjem2aesa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150408.3476 cesajbcubdknr3hg6bjem2aesa Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2400283200a'
20241108@150408.3489 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.3502 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150408.3514 cesajbcubdknr3hg6bjem2aesa Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e242923672e286855','aut672e227990672e286834' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150408.3517 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.3531 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150408.3558 cesajbcubdknr3hg6bjem2aesa Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e242923672e286855',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut672e227990672e286834' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241108@150408.3834 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.3849 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150408.3872 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.3886 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150408.3893 cesajbcubdknr3hg6bjem2aesa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150408.3905 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.3919 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150408.3930 cesajbcubdknr3hg6bjem2aesa Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e222431672e28685f','aut672e227990672e286834' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150408.3934 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.3947 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150408.3973 cesajbcubdknr3hg6bjem2aesa Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut672e222431672e28685f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut672e227990672e286834' ,0,0 ,2,23.00,20000,?,?,?)
20241108@150408.4227 cesajbcubdknr3hg6bjem2aesa Query : use flama_phc
20241108@150408.4230 cesajbcubdknr3hg6bjem2aesa Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20241108@150408.4248 cesajbcubdknr3hg6bjem2aesa Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1879.00.1'
20241108@150408.4261 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.4275 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150408.4299 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.4314 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150408.4322 cesajbcubdknr3hg6bjem2aesa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150408.4333 cesajbcubdknr3hg6bjem2aesa Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2400283200a'
20241108@150408.4344 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.4358 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150408.4369 cesajbcubdknr3hg6bjem2aesa Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e276962672e28686a','aut672e227990672e286834' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150408.4373 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.4387 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150408.4416 cesajbcubdknr3hg6bjem2aesa Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e276962672e28686a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut672e227990672e286834' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241108@150408.5303 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.5321 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150408.5824 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.5841 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150408.5849 cesajbcubdknr3hg6bjem2aesa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150408.5862 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.5876 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150408.5887 cesajbcubdknr3hg6bjem2aesa Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e212010672e28688f','aut672e227990672e286834' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150408.5891 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.5904 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150408.5931 cesajbcubdknr3hg6bjem2aesa Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut672e212010672e28688f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut672e227990672e286834' ,0,0 ,2,23.00,50000,?,?,?)
20241108@150408.6356 cesajbcubdknr3hg6bjem2aesa Query : use flama_phc
20241108@150408.6360 cesajbcubdknr3hg6bjem2aesa Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20241108@150408.6379 cesajbcubdknr3hg6bjem2aesa Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1879.00.1'
20241108@150408.6392 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.6407 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150408.6431 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.6445 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150408.6453 cesajbcubdknr3hg6bjem2aesa Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150408.6465 cesajbcubdknr3hg6bjem2aesa Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2301073100a'
20241108@150408.6475 cesajbcubdknr3hg6bjem2aesa Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.6490 cesajbcubdknr3hg6bjem2aesa Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150408.6502 cesajbcubdknr3hg6bjem2aesa Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e272856672e28689e','aut672e227990672e286834' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150408.6522 cesajbcubdknr3hg6bjem2aesa Query : use flama_phc
20241108@150408.6525 cesajbcubdknr3hg6bjem2aesa Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -116
20241108@150408.6930 cesajbcubdknr3hg6bjem2aesa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3185';
20241108@150408.6964 cesajbcubdknr3hg6bjem2aesa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3185';
20241108@150408.7581 jqkufe7t96g4s39nbrt99vg55l Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241108@150408.7592 jqkufe7t96g4s39nbrt99vg55l Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241108@150408.7651 jqkufe7t96g4s39nbrt99vg55l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3186';
20241108@150408.7705 jqkufe7t96g4s39nbrt99vg55l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3186';
20241108@150408.7758 jqkufe7t96g4s39nbrt99vg55l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3186';
20241108@150408.7787 jqkufe7t96g4s39nbrt99vg55l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3186';
20241108@150408.7838 jqkufe7t96g4s39nbrt99vg55l Query : use flama_phc
20241108@150408.7840 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241108@150408.7905 jqkufe7t96g4s39nbrt99vg55l Query : use flama_phc
20241108@150408.7908 jqkufe7t96g4s39nbrt99vg55l Query : select no, estab,szadrsdesc from szadrs where u_coddest=4779
20241108@150408.7986 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20241108@150408.8138 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407354 and bi.ref ='304.422.00.07' and bi.lordem =1
20241108@150408.8431 jqkufe7t96g4s39nbrt99vg55l 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'
20241108@150408.8583 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407354 and bi.ref ='304.421.00.04' and bi.lordem =2
20241108@150408.8896 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20241108@150408.9043 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407354 and bi.ref ='324.4960.00.1' and bi.lordem =3
20241108@150408.9331 jqkufe7t96g4s39nbrt99vg55l Query : use flama_phc
20241108@150408.9335 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241108@150408.9367 jqkufe7t96g4s39nbrt99vg55l Query : use flama_phc
20241108@150408.9370 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 1 valor from td where td.ndoc = 39
20241108@150408.9399 jqkufe7t96g4s39nbrt99vg55l Query : use flama_phc
20241108@150408.9402 jqkufe7t96g4s39nbrt99vg55l 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')
20241108@150408.9434 jqkufe7t96g4s39nbrt99vg55l 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
20241108@150408.9470 jqkufe7t96g4s39nbrt99vg55l Query : use flama_phc
20241108@150408.9473 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20241108@150408.9596 jqkufe7t96g4s39nbrt99vg55l Query : use flama_phc
20241108@150408.9600 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241108@150408.9630 jqkufe7t96g4s39nbrt99vg55l Query : use flama_phc
20241108@150408.9634 jqkufe7t96g4s39nbrt99vg55l Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241108@150408.9673 jqkufe7t96g4s39nbrt99vg55l Query : use flama_phc
20241108@150408.9676 jqkufe7t96g4s39nbrt99vg55l Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alcochete'
20241108@150408.9722 jqkufe7t96g4s39nbrt99vg55l Query : use flama_phc
20241108@150408.9725 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from td where ndoc = 39
20241108@150408.9738 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241108@150408.9751 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.9768 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150408.9788 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.9802 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150408.9831 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.9846 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150408.9859 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150408.9920 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150408.9933 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150408.9949 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150408.9987 jqkufe7t96g4s39nbrt99vg55l Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut672e291345672e2868f0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241108@150409.1690 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150409.1890 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150409.2240 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241108@150409.2370 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241108@150409.2480 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241108@150409.2600 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241108@150409.2730 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241108@150409.2840 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241108@150409.2960 jqkufe7t96g4s39nbrt99vg55l Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut672e291345672e2868f0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241108@150409.5890 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 fno valor from wsftdata order by fno desc
20241108@150409.6160 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150409.6820 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150409.7030 jqkufe7t96g4s39nbrt99vg55l Query : select 'normal' from dummy
20241108@150409.7400 jqkufe7t96g4s39nbrt99vg55l Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut672e291345672e2868f0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1749,101900,0,'2024-11-08',39,'euro',0,0,2024 ,?,?)
20241108@150409.1063 jqkufe7t96g4s39nbrt99vg55l Query : use flama_phc
20241108@150409.1067 jqkufe7t96g4s39nbrt99vg55l Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20241108@150409.1127 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.422.00.07'
20241108@150409.1315 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150409.1362 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150409.1389 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150409.1431 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150409.1465 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150409.1480 jqkufe7t96g4s39nbrt99vg55l Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '241004'
20241108@150409.1501 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150409.1549 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150409.1563 jqkufe7t96g4s39nbrt99vg55l Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e203448672e286924','aut672e291345672e2868f0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150409.1574 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150409.1590 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150409.1621 jqkufe7t96g4s39nbrt99vg55l Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e203448672e286924',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut672e291345672e2868f0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241108@150409.1941 jqkufe7t96g4s39nbrt99vg55l Query : use flama_phc
20241108@150409.1945 jqkufe7t96g4s39nbrt99vg55l Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20241108@150409.1968 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20241108@150409.2113 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150409.2130 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150409.2155 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150409.2172 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150409.2182 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150409.2194 jqkufe7t96g4s39nbrt99vg55l Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '241002'
20241108@150409.2208 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150409.2223 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150409.2236 jqkufe7t96g4s39nbrt99vg55l Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e280406672e286935','aut672e291345672e2868f0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150409.2240 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150409.2256 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150409.2287 jqkufe7t96g4s39nbrt99vg55l Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e280406672e286935',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut672e291345672e2868f0' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241108@150409.2572 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150409.2590 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150409.2619 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150409.2635 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150409.2644 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150409.2659 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150409.2676 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150409.2690 jqkufe7t96g4s39nbrt99vg55l Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e214418672e286940','aut672e291345672e2868f0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150409.2695 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150409.2712 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150409.2747 jqkufe7t96g4s39nbrt99vg55l Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut672e214418672e286940',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut672e291345672e2868f0' ,0,0 ,2,23.00,30000,?,?,?)
20241108@150409.3044 jqkufe7t96g4s39nbrt99vg55l Query : use flama_phc
20241108@150409.3048 jqkufe7t96g4s39nbrt99vg55l Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20241108@150409.5213 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4960.00.1'
20241108@150409.5491 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150409.5506 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150409.5533 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150409.5547 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150409.5556 jqkufe7t96g4s39nbrt99vg55l Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150409.5569 jqkufe7t96g4s39nbrt99vg55l Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20241108@150409.5595 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150409.5611 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150409.5623 jqkufe7t96g4s39nbrt99vg55l Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e262805672e286988','aut672e291345672e2868f0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150409.5627 jqkufe7t96g4s39nbrt99vg55l Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150409.5641 jqkufe7t96g4s39nbrt99vg55l Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150409.5672 jqkufe7t96g4s39nbrt99vg55l Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e262805672e286988',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut672e291345672e2868f0' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241108@150409.5942 jqkufe7t96g4s39nbrt99vg55l Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut672e291345672e2868f0','2407354','wait',39,'adm09112754980.682000002')
20241108@150409.6016 jqkufe7t96g4s39nbrt99vg55l Query : use flama_phc
20241108@150409.6019 jqkufe7t96g4s39nbrt99vg55l Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241108@150409.6047 jqkufe7t96g4s39nbrt99vg55l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3186';
20241108@150409.6081 jqkufe7t96g4s39nbrt99vg55l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3186';
20241108@150409.6126 jqkufe7t96g4s39nbrt99vg55l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3186';
20241108@150409.6156 jqkufe7t96g4s39nbrt99vg55l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3186';
20241108@150409.6647 i30t4mmmf0tt6mr8v5k6r32tqg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241108@150409.6658 i30t4mmmf0tt6mr8v5k6r32tqg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241108@150409.6720 i30t4mmmf0tt6mr8v5k6r32tqg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3187';
20241108@150409.6838 i30t4mmmf0tt6mr8v5k6r32tqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3187';
20241108@150409.7071 i30t4mmmf0tt6mr8v5k6r32tqg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3187';
20241108@150409.7116 i30t4mmmf0tt6mr8v5k6r32tqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3187';
20241108@150409.7173 i30t4mmmf0tt6mr8v5k6r32tqg Query : use flama_phc
20241108@150409.7177 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241108@150409.7245 i30t4mmmf0tt6mr8v5k6r32tqg Query : use flama_phc
20241108@150409.7248 i30t4mmmf0tt6mr8v5k6r32tqg Query : select no, estab,szadrsdesc from szadrs where u_coddest=2448
20241108@150409.7335 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1578.00.1'
20241108@150409.7495 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407357 and bi.ref ='324.1578.00.1' and bi.lordem =1
20241108@150409.7871 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1578.00.1'
20241108@150409.7893 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407357 and bi.ref ='324.1578.00.1' and bi.lordem =1
20241108@150409.7923 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1578.00.1'
20241108@150409.7943 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407357 and bi.ref ='324.1578.00.1' and bi.lordem =1
20241108@150409.7959 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20241108@150409.7979 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407357 and bi.ref ='324.4960.00.1' and bi.lordem =2
20241108@150409.8526 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.724.00.01'
20241108@150409.8680 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407357 and bi.ref ='324.724.00.01' and bi.lordem =3
20241108@150409.8982 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20241108@150409.9129 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407357 and bi.ref ='324.1646.00.1' and bi.lordem =4
20241108@150409.9489 i30t4mmmf0tt6mr8v5k6r32tqg Query : use flama_phc
20241108@150409.9494 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241108@150409.9526 i30t4mmmf0tt6mr8v5k6r32tqg Query : use flama_phc
20241108@150409.9529 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 1 valor from td where td.ndoc = 39
20241108@150409.9567 i30t4mmmf0tt6mr8v5k6r32tqg Query : use flama_phc
20241108@150409.9570 i30t4mmmf0tt6mr8v5k6r32tqg 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')
20241108@150409.9596 i30t4mmmf0tt6mr8v5k6r32tqg 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
20241108@150409.9629 i30t4mmmf0tt6mr8v5k6r32tqg Query : use flama_phc
20241108@150409.9632 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 ~inactivo valor from cl where no = '101889' and estab = 0 order by inactivo desc
20241108@150409.9747 i30t4mmmf0tt6mr8v5k6r32tqg Query : use flama_phc
20241108@150409.9750 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241108@150409.9779 i30t4mmmf0tt6mr8v5k6r32tqg Query : use flama_phc
20241108@150409.9782 i30t4mmmf0tt6mr8v5k6r32tqg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241108@150409.9820 i30t4mmmf0tt6mr8v5k6r32tqg Query : use flama_phc
20241108@150409.9823 i30t4mmmf0tt6mr8v5k6r32tqg Query : select szadrsstamp valor from szadrs where szadrsdesc='cooplecnorte,crl'
20241108@150409.9866 i30t4mmmf0tt6mr8v5k6r32tqg Query : use flama_phc
20241108@150409.9869 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from td where ndoc = 39
20241108@150409.9880 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241108@150409.9895 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150409.9910 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150409.9929 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150409.9953 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150409.9987 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.1000 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150410.1400 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150410.7500 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150410.8700 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.1020 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150410.1180 i30t4mmmf0tt6mr8v5k6r32tqg Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut672e285186672e286a00' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241108@150410.2950 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.3140 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150410.3450 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241108@150410.3570 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241108@150410.3700 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241108@150410.3810 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241108@150410.3920 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241108@150410.4030 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241108@150410.4150 i30t4mmmf0tt6mr8v5k6r32tqg Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut672e285186672e286a00',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241108@150410.7170 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 fno valor from wsftdata order by fno desc
20241108@150410.8980 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.9160 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150410.9410 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 'normal' from dummy
20241108@150410.9580 i30t4mmmf0tt6mr8v5k6r32tqg Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut672e285186672e286a00',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1750,101889,0,'2024-11-08',39,'euro',0,0,2024 ,?,?)
20241108@150410.1272 i30t4mmmf0tt6mr8v5k6r32tqg Query : use flama_phc
20241108@150410.1275 i30t4mmmf0tt6mr8v5k6r32tqg Query : select st.usalote valor from st where st.ref = '324.1578.00.1'
20241108@150410.1300 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1578.00.1'
20241108@150410.1927 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.2522 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150410.2844 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.2866 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150410.2875 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150410.2889 i30t4mmmf0tt6mr8v5k6r32tqg Query : select sestamp valor from se where ref ='324.1578.00.1' and lote = 'r2101115200a'
20241108@150410.2911 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.2925 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150410.2936 i30t4mmmf0tt6mr8v5k6r32tqg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e235814672e286a47','aut672e285186672e286a00' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150410.2941 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.2954 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150410.3022 i30t4mmmf0tt6mr8v5k6r32tqg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e235814672e286a47',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut672e285186672e286a00' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241108@150410.3306 i30t4mmmf0tt6mr8v5k6r32tqg Query : use flama_phc
20241108@150410.3310 i30t4mmmf0tt6mr8v5k6r32tqg Query : select st.usalote valor from st where st.ref = '324.1578.00.1'
20241108@150410.3603 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1578.00.1'
20241108@150410.3734 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.3750 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150410.3791 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.3807 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150410.3817 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150410.3829 i30t4mmmf0tt6mr8v5k6r32tqg Query : select sestamp valor from se where ref ='324.1578.00.1' and lote = 'r2101115200a'
20241108@150410.3841 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.3858 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150410.3872 i30t4mmmf0tt6mr8v5k6r32tqg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e263414672e286a5d','aut672e285186672e286a00' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150410.3876 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.3893 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150410.3924 i30t4mmmf0tt6mr8v5k6r32tqg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e263414672e286a5d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut672e285186672e286a00' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241108@150410.4397 i30t4mmmf0tt6mr8v5k6r32tqg Query : use flama_phc
20241108@150410.4480 i30t4mmmf0tt6mr8v5k6r32tqg Query : select st.usalote valor from st where st.ref = '324.1578.00.1'
20241108@150410.5379 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1578.00.1'
20241108@150410.5411 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.5428 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150410.5453 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.5468 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150410.5477 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150410.5490 i30t4mmmf0tt6mr8v5k6r32tqg Query : select sestamp valor from se where ref ='324.1578.00.1' and lote = 'r2101115200a'
20241108@150410.5502 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.5517 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150410.5528 i30t4mmmf0tt6mr8v5k6r32tqg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e223799672e286a86','aut672e285186672e286a00' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150410.5532 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.5546 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150410.5577 i30t4mmmf0tt6mr8v5k6r32tqg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e223799672e286a86',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut672e285186672e286a00' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241108@150410.5848 i30t4mmmf0tt6mr8v5k6r32tqg Query : use flama_phc
20241108@150410.5852 i30t4mmmf0tt6mr8v5k6r32tqg Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20241108@150410.5872 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4960.00.1'
20241108@150410.5885 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.5900 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150410.5925 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.5938 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150410.5946 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150410.5958 i30t4mmmf0tt6mr8v5k6r32tqg Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20241108@150410.5971 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.5985 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150410.5996 i30t4mmmf0tt6mr8v5k6r32tqg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e299443672e286a91','aut672e285186672e286a00' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150410.6000 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.6018 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150410.6046 i30t4mmmf0tt6mr8v5k6r32tqg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e299443672e286a91',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut672e285186672e286a00' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241108@150410.6310 i30t4mmmf0tt6mr8v5k6r32tqg Query : use flama_phc
20241108@150410.6314 i30t4mmmf0tt6mr8v5k6r32tqg Query : select st.usalote valor from st where st.ref = '324.724.00.01'
20241108@150410.6334 i30t4mmmf0tt6mr8v5k6r32tqg 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.724.00.01'
20241108@150410.6665 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.6681 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150410.6706 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.6724 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150410.6732 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150410.6744 i30t4mmmf0tt6mr8v5k6r32tqg Query : select sestamp valor from se where ref ='324.724.00.01' and lote = '11/18'
20241108@150410.6770 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.6786 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150410.6797 i30t4mmmf0tt6mr8v5k6r32tqg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e228536672e286aa5','aut672e285186672e286a00' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150410.6801 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.6817 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150410.6845 i30t4mmmf0tt6mr8v5k6r32tqg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e228536672e286aa5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',72.000 ,'aut672e285186672e286a00' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241108@150410.7111 i30t4mmmf0tt6mr8v5k6r32tqg Query : use flama_phc
20241108@150410.7114 i30t4mmmf0tt6mr8v5k6r32tqg Query : select st.usalote valor from st where st.ref = '324.1646.00.1'
20241108@150410.7135 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1646.00.1'
20241108@150410.7280 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.7298 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150410.7326 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.7340 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150410.7349 i30t4mmmf0tt6mr8v5k6r32tqg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150410.7361 i30t4mmmf0tt6mr8v5k6r32tqg Query : select sestamp valor from se where ref ='324.1646.00.1' and lote = 'r2400725100a'
20241108@150410.7375 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.7389 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150410.7453 i30t4mmmf0tt6mr8v5k6r32tqg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e228998672e286ab4','aut672e285186672e286a00' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150410.7458 i30t4mmmf0tt6mr8v5k6r32tqg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150410.7474 i30t4mmmf0tt6mr8v5k6r32tqg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150410.7505 i30t4mmmf0tt6mr8v5k6r32tqg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e228998672e286ab4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',22.000 ,'aut672e285186672e286a00' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241108@150410.7963 i30t4mmmf0tt6mr8v5k6r32tqg Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut672e285186672e286a00','2407357','wait',39,'adm09112754980.682000002')
20241108@150410.8114 i30t4mmmf0tt6mr8v5k6r32tqg Query : use flama_phc
20241108@150410.8118 i30t4mmmf0tt6mr8v5k6r32tqg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241108@150410.8149 i30t4mmmf0tt6mr8v5k6r32tqg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3187';
20241108@150410.8186 i30t4mmmf0tt6mr8v5k6r32tqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3187';
20241108@150410.8234 i30t4mmmf0tt6mr8v5k6r32tqg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3187';
20241108@150410.8264 i30t4mmmf0tt6mr8v5k6r32tqg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3187';
20241108@150410.8968 td3tj78oon6m3hkek5khi5oj7p Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241108@150410.8979 td3tj78oon6m3hkek5khi5oj7p Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241108@150410.9038 td3tj78oon6m3hkek5khi5oj7p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3188';
20241108@150410.9100 td3tj78oon6m3hkek5khi5oj7p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3188';
20241108@150410.9157 td3tj78oon6m3hkek5khi5oj7p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3188';
20241108@150410.9200 td3tj78oon6m3hkek5khi5oj7p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3188';
20241108@150410.9253 td3tj78oon6m3hkek5khi5oj7p Query : use flama_phc
20241108@150410.9256 td3tj78oon6m3hkek5khi5oj7p Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241108@150410.9320 td3tj78oon6m3hkek5khi5oj7p Query : use flama_phc
20241108@150410.9323 td3tj78oon6m3hkek5khi5oj7p Query : select no, estab,szadrsdesc from szadrs where u_coddest=2448
20241108@150410.9372 td3tj78oon6m3hkek5khi5oj7p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1536.00.1'
20241108@150410.9535 td3tj78oon6m3hkek5khi5oj7p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407358 and bi.ref ='324.1536.00.1' and bi.lordem =1
20241108@150410.9843 td3tj78oon6m3hkek5khi5oj7p Query : use flama_phc
20241108@150410.9846 td3tj78oon6m3hkek5khi5oj7p Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241108@150411.2500 td3tj78oon6m3hkek5khi5oj7p Query : use flama_phc
20241108@150411.6700 td3tj78oon6m3hkek5khi5oj7p Query : select top 1 1 valor from td where td.ndoc = 39
20241108@150411.1000 td3tj78oon6m3hkek5khi5oj7p Query : use flama_phc
20241108@150411.1030 td3tj78oon6m3hkek5khi5oj7p 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')
20241108@150411.1310 td3tj78oon6m3hkek5khi5oj7p 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
20241108@150411.1700 td3tj78oon6m3hkek5khi5oj7p Query : use flama_phc
20241108@150411.1730 td3tj78oon6m3hkek5khi5oj7p Query : select top 1 ~inactivo valor from cl where no = '101889' and estab = 0 order by inactivo desc
20241108@150411.2020 td3tj78oon6m3hkek5khi5oj7p Query : use flama_phc
20241108@150411.2050 td3tj78oon6m3hkek5khi5oj7p Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241108@150411.2340 td3tj78oon6m3hkek5khi5oj7p Query : use flama_phc
20241108@150411.2370 td3tj78oon6m3hkek5khi5oj7p Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241108@150411.2760 td3tj78oon6m3hkek5khi5oj7p Query : use flama_phc
20241108@150411.2790 td3tj78oon6m3hkek5khi5oj7p Query : select szadrsstamp valor from szadrs where szadrsdesc='cooplecnorte,crl'
20241108@150411.3210 td3tj78oon6m3hkek5khi5oj7p Query : use flama_phc
20241108@150411.3240 td3tj78oon6m3hkek5khi5oj7p Query : select 1 valor from td where ndoc = 39
20241108@150411.3360 td3tj78oon6m3hkek5khi5oj7p Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241108@150411.3490 td3tj78oon6m3hkek5khi5oj7p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.3660 td3tj78oon6m3hkek5khi5oj7p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150411.3850 td3tj78oon6m3hkek5khi5oj7p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.3990 td3tj78oon6m3hkek5khi5oj7p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150411.4280 td3tj78oon6m3hkek5khi5oj7p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.4430 td3tj78oon6m3hkek5khi5oj7p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150411.4550 td3tj78oon6m3hkek5khi5oj7p Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150411.5280 td3tj78oon6m3hkek5khi5oj7p Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150411.5400 td3tj78oon6m3hkek5khi5oj7p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.5550 td3tj78oon6m3hkek5khi5oj7p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150411.5710 td3tj78oon6m3hkek5khi5oj7p Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut672e286241672e286b0b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241108@150411.7500 td3tj78oon6m3hkek5khi5oj7p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.7710 td3tj78oon6m3hkek5khi5oj7p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150411.8020 td3tj78oon6m3hkek5khi5oj7p Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241108@150411.8140 td3tj78oon6m3hkek5khi5oj7p Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241108@150411.8250 td3tj78oon6m3hkek5khi5oj7p Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241108@150411.8360 td3tj78oon6m3hkek5khi5oj7p Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241108@150411.8600 td3tj78oon6m3hkek5khi5oj7p Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241108@150411.8720 td3tj78oon6m3hkek5khi5oj7p Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241108@150411.8830 td3tj78oon6m3hkek5khi5oj7p Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut672e286241672e286b0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241108@150411.1144 td3tj78oon6m3hkek5khi5oj7p Query : select top 1 fno valor from wsftdata order by fno desc
20241108@150411.1171 td3tj78oon6m3hkek5khi5oj7p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.1185 td3tj78oon6m3hkek5khi5oj7p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150411.1206 td3tj78oon6m3hkek5khi5oj7p Query : select 'normal' from dummy
20241108@150411.1275 td3tj78oon6m3hkek5khi5oj7p Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut672e286241672e286b0b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1751,101889,0,'2024-11-08',39,'euro',0,0,2024 ,?,?)
20241108@150411.1576 td3tj78oon6m3hkek5khi5oj7p Query : use flama_phc
20241108@150411.1579 td3tj78oon6m3hkek5khi5oj7p Query : select st.usalote valor from st where st.ref = '324.1536.00.1'
20241108@150411.1601 td3tj78oon6m3hkek5khi5oj7p Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1536.00.1'
20241108@150411.1981 td3tj78oon6m3hkek5khi5oj7p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.2122 td3tj78oon6m3hkek5khi5oj7p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150411.2147 td3tj78oon6m3hkek5khi5oj7p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.2162 td3tj78oon6m3hkek5khi5oj7p Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150411.2170 td3tj78oon6m3hkek5khi5oj7p Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150411.2182 td3tj78oon6m3hkek5khi5oj7p Query : select sestamp valor from se where ref ='324.1536.00.1' and lote = 'r2100240100a'
20241108@150411.2200 td3tj78oon6m3hkek5khi5oj7p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.2215 td3tj78oon6m3hkek5khi5oj7p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150411.2225 td3tj78oon6m3hkek5khi5oj7p Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e222044672e286b35','aut672e286241672e286b0b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150411.2229 td3tj78oon6m3hkek5khi5oj7p Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.2243 td3tj78oon6m3hkek5khi5oj7p Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150411.2270 td3tj78oon6m3hkek5khi5oj7p Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e222044672e286b35',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut672e286241672e286b0b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241108@150411.2545 td3tj78oon6m3hkek5khi5oj7p Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut672e286241672e286b0b','2407358','wait',39,'adm09112754980.682000002')
20241108@150411.2613 td3tj78oon6m3hkek5khi5oj7p Query : use flama_phc
20241108@150411.2616 td3tj78oon6m3hkek5khi5oj7p Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241108@150411.2645 td3tj78oon6m3hkek5khi5oj7p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3188';
20241108@150411.2678 td3tj78oon6m3hkek5khi5oj7p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3188';
20241108@150411.2722 td3tj78oon6m3hkek5khi5oj7p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3188';
20241108@150411.2750 td3tj78oon6m3hkek5khi5oj7p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3188';
20241108@150411.5327 o0svs4kucupo8suiqcc18a9ah9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241108@150411.5338 o0svs4kucupo8suiqcc18a9ah9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241108@150411.5400 o0svs4kucupo8suiqcc18a9ah9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3189';
20241108@150411.5455 o0svs4kucupo8suiqcc18a9ah9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3189';
20241108@150411.5509 o0svs4kucupo8suiqcc18a9ah9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3189';
20241108@150411.5535 o0svs4kucupo8suiqcc18a9ah9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3189';
20241108@150411.5586 o0svs4kucupo8suiqcc18a9ah9 Query : use flama_phc
20241108@150411.5590 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241108@150411.5650 o0svs4kucupo8suiqcc18a9ah9 Query : use flama_phc
20241108@150411.5653 o0svs4kucupo8suiqcc18a9ah9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6917
20241108@150411.5733 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20241108@150411.5883 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407362 and bi.ref ='324.600.94.01' and bi.lordem =1
20241108@150411.6198 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20241108@150411.6398 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407362 and bi.ref ='324.900.94.01' and bi.lordem =2
20241108@150411.6705 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.700.94.01'
20241108@150411.6893 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407362 and bi.ref ='324.700.94.01' and bi.lordem =3
20241108@150411.7361 o0svs4kucupo8suiqcc18a9ah9 Query : use flama_phc
20241108@150411.7365 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241108@150411.7396 o0svs4kucupo8suiqcc18a9ah9 Query : use flama_phc
20241108@150411.7399 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 1 valor from td where td.ndoc = 39
20241108@150411.7428 o0svs4kucupo8suiqcc18a9ah9 Query : use flama_phc
20241108@150411.7431 o0svs4kucupo8suiqcc18a9ah9 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')
20241108@150411.7458 o0svs4kucupo8suiqcc18a9ah9 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
20241108@150411.7497 o0svs4kucupo8suiqcc18a9ah9 Query : use flama_phc
20241108@150411.7500 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 ~inactivo valor from cl where no = '199800' and estab = 0 order by inactivo desc
20241108@150411.7651 o0svs4kucupo8suiqcc18a9ah9 Query : use flama_phc
20241108@150411.7655 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241108@150411.7686 o0svs4kucupo8suiqcc18a9ah9 Query : use flama_phc
20241108@150411.7688 o0svs4kucupo8suiqcc18a9ah9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241108@150411.7727 o0svs4kucupo8suiqcc18a9ah9 Query : use flama_phc
20241108@150411.7730 o0svs4kucupo8suiqcc18a9ah9 Query : select szadrsstamp valor from szadrs where szadrsdesc='740 ent vnr bligeiro'
20241108@150411.7775 o0svs4kucupo8suiqcc18a9ah9 Query : use flama_phc
20241108@150411.7778 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from td where ndoc = 39
20241108@150411.7790 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241108@150411.7803 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.7820 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150411.7838 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.7853 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150411.7881 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.7895 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150411.7907 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150411.7967 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150411.7980 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.7994 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150411.8010 o0svs4kucupo8suiqcc18a9ah9 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut672e203962672e286bc1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241108@150411.8234 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.8251 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150411.8285 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241108@150411.8297 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241108@150411.8308 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241108@150411.8319 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241108@150411.8330 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241108@150411.8341 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241108@150411.8352 o0svs4kucupo8suiqcc18a9ah9 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut672e203962672e286bc1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241108@150411.8606 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 fno valor from wsftdata order by fno desc
20241108@150411.8632 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.8650 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150411.8674 o0svs4kucupo8suiqcc18a9ah9 Query : select 'normal' from dummy
20241108@150411.8690 o0svs4kucupo8suiqcc18a9ah9 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut672e203962672e286bc1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1752,199800,0,'2024-11-08',39,'euro',0,0,2024 ,?,?)
20241108@150411.9165 o0svs4kucupo8suiqcc18a9ah9 Query : use flama_phc
20241108@150411.9168 o0svs4kucupo8suiqcc18a9ah9 Query : select st.usalote valor from st where st.ref = '324.600.94.01'
20241108@150411.9190 o0svs4kucupo8suiqcc18a9ah9 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.600.94.01'
20241108@150411.9357 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.9373 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150411.9398 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.9429 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150411.9437 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150411.9449 o0svs4kucupo8suiqcc18a9ah9 Query : select sestamp valor from se where ref ='324.600.94.01' and lote = 'r2400047200a'
20241108@150411.9475 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.9490 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150411.9502 o0svs4kucupo8suiqcc18a9ah9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e251930672e286be7','aut672e203962672e286bc1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150411.9506 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.9521 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150411.9549 o0svs4kucupo8suiqcc18a9ah9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e251930672e286be7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut672e203962672e286bc1' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241108@150411.9881 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.9897 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150411.9922 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.9936 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150411.9943 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150411.9956 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150411.9970 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150411.9984 o0svs4kucupo8suiqcc18a9ah9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e252178672e286bf3','aut672e203962672e286bc1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150411.9995 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.9000 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150412.3900 o0svs4kucupo8suiqcc18a9ah9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut672e252178672e286bf3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut672e203962672e286bc1' ,0,0 ,2,23.00,20000,?,?,?)
20241108@150412.3050 o0svs4kucupo8suiqcc18a9ah9 Query : use flama_phc
20241108@150412.3080 o0svs4kucupo8suiqcc18a9ah9 Query : select st.usalote valor from st where st.ref = '324.900.94.01'
20241108@150412.3280 o0svs4kucupo8suiqcc18a9ah9 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.900.94.01'
20241108@150412.4850 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.5020 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150412.5300 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.5490 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150412.5590 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150412.5710 o0svs4kucupo8suiqcc18a9ah9 Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20241108@150412.5850 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.6000 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150412.6140 o0svs4kucupo8suiqcc18a9ah9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e248524672e286c0e','aut672e203962672e286bc1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150412.6180 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.6330 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150412.6620 o0svs4kucupo8suiqcc18a9ah9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e248524672e286c0e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut672e203962672e286bc1' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241108@150412.9370 o0svs4kucupo8suiqcc18a9ah9 Query : use flama_phc
20241108@150412.9400 o0svs4kucupo8suiqcc18a9ah9 Query : select st.usalote valor from st where st.ref = '324.700.94.01'
20241108@150412.9630 o0svs4kucupo8suiqcc18a9ah9 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.700.94.01'
20241108@150412.2278 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.2297 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150412.2324 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.2339 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150412.2347 o0svs4kucupo8suiqcc18a9ah9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150412.2518 o0svs4kucupo8suiqcc18a9ah9 Query : select sestamp valor from se where ref ='324.700.94.01' and lote = 'r2300913100a'
20241108@150412.2626 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.2664 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150412.2676 o0svs4kucupo8suiqcc18a9ah9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e277683672e286c40','aut672e203962672e286bc1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150412.2681 o0svs4kucupo8suiqcc18a9ah9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.2697 o0svs4kucupo8suiqcc18a9ah9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150412.2725 o0svs4kucupo8suiqcc18a9ah9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e277683672e286c40',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut672e203962672e286bc1' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241108@150412.3012 o0svs4kucupo8suiqcc18a9ah9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut672e203962672e286bc1','2407362','wait',39,'adm09112754980.682000002')
20241108@150412.3085 o0svs4kucupo8suiqcc18a9ah9 Query : use flama_phc
20241108@150412.3088 o0svs4kucupo8suiqcc18a9ah9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241108@150412.3118 o0svs4kucupo8suiqcc18a9ah9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3189';
20241108@150412.3162 o0svs4kucupo8suiqcc18a9ah9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3189';
20241108@150412.3211 o0svs4kucupo8suiqcc18a9ah9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3189';
20241108@150412.3243 o0svs4kucupo8suiqcc18a9ah9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3189';
20241108@150412.4247 veknebimdh1uc45e0h1fae00q7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241108@150412.4258 veknebimdh1uc45e0h1fae00q7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241108@150412.4318 veknebimdh1uc45e0h1fae00q7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3190';
20241108@150412.4378 veknebimdh1uc45e0h1fae00q7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3190';
20241108@150412.4433 veknebimdh1uc45e0h1fae00q7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3190';
20241108@150412.4465 veknebimdh1uc45e0h1fae00q7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3190';
20241108@150412.4518 veknebimdh1uc45e0h1fae00q7 Query : use flama_phc
20241108@150412.4521 veknebimdh1uc45e0h1fae00q7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241108@150412.4584 veknebimdh1uc45e0h1fae00q7 Query : use flama_phc
20241108@150412.4587 veknebimdh1uc45e0h1fae00q7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20241108@150412.4676 veknebimdh1uc45e0h1fae00q7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.698.00.01'
20241108@150412.4826 veknebimdh1uc45e0h1fae00q7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407371 and bi.ref ='324.698.00.01' and bi.lordem =1
20241108@150412.5132 veknebimdh1uc45e0h1fae00q7 Query : use flama_phc
20241108@150412.5135 veknebimdh1uc45e0h1fae00q7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241108@150412.5168 veknebimdh1uc45e0h1fae00q7 Query : use flama_phc
20241108@150412.5171 veknebimdh1uc45e0h1fae00q7 Query : select top 1 1 valor from td where td.ndoc = 39
20241108@150412.5200 veknebimdh1uc45e0h1fae00q7 Query : use flama_phc
20241108@150412.5203 veknebimdh1uc45e0h1fae00q7 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')
20241108@150412.5289 veknebimdh1uc45e0h1fae00q7 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
20241108@150412.5330 veknebimdh1uc45e0h1fae00q7 Query : use flama_phc
20241108@150412.5333 veknebimdh1uc45e0h1fae00q7 Query : select top 1 ~inactivo valor from cl where no = '102943' and estab = 0 order by inactivo desc
20241108@150412.5455 veknebimdh1uc45e0h1fae00q7 Query : use flama_phc
20241108@150412.5458 veknebimdh1uc45e0h1fae00q7 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241108@150412.5489 veknebimdh1uc45e0h1fae00q7 Query : use flama_phc
20241108@150412.5492 veknebimdh1uc45e0h1fae00q7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241108@150412.5532 veknebimdh1uc45e0h1fae00q7 Query : use flama_phc
20241108@150412.5535 veknebimdh1uc45e0h1fae00q7 Query : select szadrsstamp valor from szadrs where szadrsdesc='pll-plataformalogistica lisboa norte'
20241108@150412.5581 veknebimdh1uc45e0h1fae00q7 Query : use flama_phc
20241108@150412.5584 veknebimdh1uc45e0h1fae00q7 Query : select 1 valor from td where ndoc = 39
20241108@150412.5600 veknebimdh1uc45e0h1fae00q7 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241108@150412.5616 veknebimdh1uc45e0h1fae00q7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.5632 veknebimdh1uc45e0h1fae00q7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150412.5653 veknebimdh1uc45e0h1fae00q7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.5668 veknebimdh1uc45e0h1fae00q7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150412.5697 veknebimdh1uc45e0h1fae00q7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.5712 veknebimdh1uc45e0h1fae00q7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150412.5725 veknebimdh1uc45e0h1fae00q7 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150412.5787 veknebimdh1uc45e0h1fae00q7 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150412.5799 veknebimdh1uc45e0h1fae00q7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.5815 veknebimdh1uc45e0h1fae00q7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150412.5831 veknebimdh1uc45e0h1fae00q7 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut672e250166672e286c8b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241108@150412.6003 veknebimdh1uc45e0h1fae00q7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.6021 veknebimdh1uc45e0h1fae00q7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150412.6055 veknebimdh1uc45e0h1fae00q7 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241108@150412.6068 veknebimdh1uc45e0h1fae00q7 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241108@150412.6080 veknebimdh1uc45e0h1fae00q7 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241108@150412.6095 veknebimdh1uc45e0h1fae00q7 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241108@150412.6107 veknebimdh1uc45e0h1fae00q7 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241108@150412.6120 veknebimdh1uc45e0h1fae00q7 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241108@150412.6132 veknebimdh1uc45e0h1fae00q7 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut672e250166672e286c8b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241108@150412.6385 veknebimdh1uc45e0h1fae00q7 Query : select top 1 fno valor from wsftdata order by fno desc
20241108@150412.6411 veknebimdh1uc45e0h1fae00q7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.6437 veknebimdh1uc45e0h1fae00q7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150412.6461 veknebimdh1uc45e0h1fae00q7 Query : select 'normal' from dummy
20241108@150412.6477 veknebimdh1uc45e0h1fae00q7 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut672e250166672e286c8b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1753,102943,0,'2024-11-08',39,'euro',0,0,2024 ,?,?)
20241108@150412.6797 veknebimdh1uc45e0h1fae00q7 Query : use flama_phc
20241108@150412.6801 veknebimdh1uc45e0h1fae00q7 Query : select st.usalote valor from st where st.ref = '324.698.00.01'
20241108@150412.6825 veknebimdh1uc45e0h1fae00q7 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.698.00.01'
20241108@150412.6966 veknebimdh1uc45e0h1fae00q7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.6982 veknebimdh1uc45e0h1fae00q7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150412.7007 veknebimdh1uc45e0h1fae00q7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.7023 veknebimdh1uc45e0h1fae00q7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150412.7032 veknebimdh1uc45e0h1fae00q7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150412.7043 veknebimdh1uc45e0h1fae00q7 Query : select sestamp valor from se where ref ='324.698.00.01' and lote = 'r2400061200a'
20241108@150412.7065 veknebimdh1uc45e0h1fae00q7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.7080 veknebimdh1uc45e0h1fae00q7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150412.7091 veknebimdh1uc45e0h1fae00q7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e274947672e286cac','aut672e250166672e286c8b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150412.7095 veknebimdh1uc45e0h1fae00q7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.7149 veknebimdh1uc45e0h1fae00q7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150412.7211 veknebimdh1uc45e0h1fae00q7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e274947672e286cac',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut672e250166672e286c8b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241108@150412.7497 veknebimdh1uc45e0h1fae00q7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.7513 veknebimdh1uc45e0h1fae00q7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150412.7773 veknebimdh1uc45e0h1fae00q7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.7790 veknebimdh1uc45e0h1fae00q7 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150412.7799 veknebimdh1uc45e0h1fae00q7 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150412.7813 veknebimdh1uc45e0h1fae00q7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.7829 veknebimdh1uc45e0h1fae00q7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150412.7841 veknebimdh1uc45e0h1fae00q7 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e284155672e286cbe','aut672e250166672e286c8b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150412.7845 veknebimdh1uc45e0h1fae00q7 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150412.7860 veknebimdh1uc45e0h1fae00q7 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150412.7888 veknebimdh1uc45e0h1fae00q7 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut672e284155672e286cbe',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut672e250166672e286c8b' ,0,0 ,2,23.00,20000,?,?,?)
20241108@150412.8160 veknebimdh1uc45e0h1fae00q7 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut672e250166672e286c8b','2407371','wait',39,'adm09112754980.682000002')
20241108@150412.8255 veknebimdh1uc45e0h1fae00q7 Query : use flama_phc
20241108@150412.8260 veknebimdh1uc45e0h1fae00q7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241108@150412.8291 veknebimdh1uc45e0h1fae00q7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3190';
20241108@150412.8334 veknebimdh1uc45e0h1fae00q7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3190';
20241108@150412.8383 veknebimdh1uc45e0h1fae00q7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3190';
20241108@150412.8410 veknebimdh1uc45e0h1fae00q7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3190';
20241108@150412.8880 mom1vdjbiul32tlvomplqi6ahu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241108@150412.8891 mom1vdjbiul32tlvomplqi6ahu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241108@150412.8954 mom1vdjbiul32tlvomplqi6ahu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3191';
20241108@150412.9010 mom1vdjbiul32tlvomplqi6ahu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3191';
20241108@150412.9069 mom1vdjbiul32tlvomplqi6ahu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3191';
20241108@150412.9097 mom1vdjbiul32tlvomplqi6ahu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3191';
20241108@150412.9149 mom1vdjbiul32tlvomplqi6ahu Query : use flama_phc
20241108@150412.9152 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241108@150412.9212 mom1vdjbiul32tlvomplqi6ahu Query : use flama_phc
20241108@150412.9215 mom1vdjbiul32tlvomplqi6ahu Query : select no, estab,szadrsdesc from szadrs where u_coddest=8748
20241108@150412.9258 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2334.00.1'
20241108@150412.9406 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407373 and bi.ref ='324.2334.00.1' and bi.lordem =1
20241108@150412.9909 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2318.00.1'
20241108@150413.7100 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407373 and bi.ref ='324.2318.00.1' and bi.lordem =2
20241108@150413.3750 mom1vdjbiul32tlvomplqi6ahu Query : use flama_phc
20241108@150413.3780 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241108@150413.4150 mom1vdjbiul32tlvomplqi6ahu Query : use flama_phc
20241108@150413.4180 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 1 valor from td where td.ndoc = 39
20241108@150413.4480 mom1vdjbiul32tlvomplqi6ahu Query : use flama_phc
20241108@150413.4510 mom1vdjbiul32tlvomplqi6ahu 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')
20241108@150413.4770 mom1vdjbiul32tlvomplqi6ahu 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
20241108@150413.5100 mom1vdjbiul32tlvomplqi6ahu Query : use flama_phc
20241108@150413.5130 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 ~inactivo valor from cl where no = '102253' and estab = 0 order by inactivo desc
20241108@150413.5430 mom1vdjbiul32tlvomplqi6ahu Query : use flama_phc
20241108@150413.5470 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241108@150413.5760 mom1vdjbiul32tlvomplqi6ahu Query : use flama_phc
20241108@150413.5780 mom1vdjbiul32tlvomplqi6ahu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241108@150413.6170 mom1vdjbiul32tlvomplqi6ahu Query : use flama_phc
20241108@150413.6200 mom1vdjbiul32tlvomplqi6ahu Query : select szadrsstamp valor from szadrs where szadrsdesc='fnac - entrega'
20241108@150413.7040 mom1vdjbiul32tlvomplqi6ahu Query : use flama_phc
20241108@150413.7070 mom1vdjbiul32tlvomplqi6ahu Query : select 1 valor from td where ndoc = 39
20241108@150413.7200 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241108@150413.7330 mom1vdjbiul32tlvomplqi6ahu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.7490 mom1vdjbiul32tlvomplqi6ahu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150413.7680 mom1vdjbiul32tlvomplqi6ahu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.7820 mom1vdjbiul32tlvomplqi6ahu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150413.8090 mom1vdjbiul32tlvomplqi6ahu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.8220 mom1vdjbiul32tlvomplqi6ahu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150413.8340 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150413.8940 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150413.9060 mom1vdjbiul32tlvomplqi6ahu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.9210 mom1vdjbiul32tlvomplqi6ahu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150413.9370 mom1vdjbiul32tlvomplqi6ahu Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut672e283945672e286d14' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241108@150413.1245 mom1vdjbiul32tlvomplqi6ahu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.1495 mom1vdjbiul32tlvomplqi6ahu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150413.1538 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241108@150413.1550 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241108@150413.1561 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241108@150413.1573 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241108@150413.1584 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241108@150413.1595 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241108@150413.1606 mom1vdjbiul32tlvomplqi6ahu Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut672e283945672e286d14',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241108@150413.1856 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 fno valor from wsftdata order by fno desc
20241108@150413.1881 mom1vdjbiul32tlvomplqi6ahu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.1896 mom1vdjbiul32tlvomplqi6ahu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150413.1918 mom1vdjbiul32tlvomplqi6ahu Query : select 'normal' from dummy
20241108@150413.1933 mom1vdjbiul32tlvomplqi6ahu Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut672e283945672e286d14',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1754,102253,0,'2024-11-08',39,'euro',0,0,2024 ,?,?)
20241108@150413.2217 mom1vdjbiul32tlvomplqi6ahu Query : use flama_phc
20241108@150413.2220 mom1vdjbiul32tlvomplqi6ahu Query : select st.usalote valor from st where st.ref = '324.2334.00.1'
20241108@150413.2242 mom1vdjbiul32tlvomplqi6ahu 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.2334.00.1'
20241108@150413.2386 mom1vdjbiul32tlvomplqi6ahu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.2401 mom1vdjbiul32tlvomplqi6ahu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150413.2427 mom1vdjbiul32tlvomplqi6ahu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.2441 mom1vdjbiul32tlvomplqi6ahu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150413.2449 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150413.2460 mom1vdjbiul32tlvomplqi6ahu Query : select sestamp valor from se where ref ='324.2334.00.1' and lote = '1'
20241108@150413.2485 mom1vdjbiul32tlvomplqi6ahu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.2499 mom1vdjbiul32tlvomplqi6ahu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150413.2510 mom1vdjbiul32tlvomplqi6ahu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e202601672e286d3c','aut672e283945672e286d14' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150413.2514 mom1vdjbiul32tlvomplqi6ahu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.2528 mom1vdjbiul32tlvomplqi6ahu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150413.2555 mom1vdjbiul32tlvomplqi6ahu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e202601672e286d3c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut672e283945672e286d14' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241108@150413.2971 mom1vdjbiul32tlvomplqi6ahu Query : use flama_phc
20241108@150413.2974 mom1vdjbiul32tlvomplqi6ahu Query : select st.usalote valor from st where st.ref = '324.2318.00.1'
20241108@150413.2997 mom1vdjbiul32tlvomplqi6ahu 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.2318.00.1'
20241108@150413.3143 mom1vdjbiul32tlvomplqi6ahu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.3159 mom1vdjbiul32tlvomplqi6ahu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150413.4315 mom1vdjbiul32tlvomplqi6ahu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.4333 mom1vdjbiul32tlvomplqi6ahu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150413.4342 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150413.4354 mom1vdjbiul32tlvomplqi6ahu Query : select sestamp valor from se where ref ='324.2318.00.1' and lote = 'r2100669100a'
20241108@150413.4374 mom1vdjbiul32tlvomplqi6ahu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.4389 mom1vdjbiul32tlvomplqi6ahu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150413.4558 mom1vdjbiul32tlvomplqi6ahu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e204069672e286d6a','aut672e283945672e286d14' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150413.4597 mom1vdjbiul32tlvomplqi6ahu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.4615 mom1vdjbiul32tlvomplqi6ahu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150413.4644 mom1vdjbiul32tlvomplqi6ahu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e204069672e286d6a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut672e283945672e286d14' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241108@150413.4904 mom1vdjbiul32tlvomplqi6ahu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.4922 mom1vdjbiul32tlvomplqi6ahu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150413.4949 mom1vdjbiul32tlvomplqi6ahu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.4964 mom1vdjbiul32tlvomplqi6ahu Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150413.4973 mom1vdjbiul32tlvomplqi6ahu Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150413.4988 mom1vdjbiul32tlvomplqi6ahu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.5003 mom1vdjbiul32tlvomplqi6ahu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150413.5018 mom1vdjbiul32tlvomplqi6ahu Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e290062672e286d79','aut672e283945672e286d14' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150413.5023 mom1vdjbiul32tlvomplqi6ahu Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.5038 mom1vdjbiul32tlvomplqi6ahu Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150413.5067 mom1vdjbiul32tlvomplqi6ahu Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut672e290062672e286d79',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut672e283945672e286d14' ,0,0 ,2,23.00,30000,?,?,?)
20241108@150413.5347 mom1vdjbiul32tlvomplqi6ahu Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut672e283945672e286d14','2407373','wait',39,'adm09112754980.682000002')
20241108@150413.5419 mom1vdjbiul32tlvomplqi6ahu Query : use flama_phc
20241108@150413.5423 mom1vdjbiul32tlvomplqi6ahu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241108@150413.5454 mom1vdjbiul32tlvomplqi6ahu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3191';
20241108@150413.5752 mom1vdjbiul32tlvomplqi6ahu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3191';
20241108@150413.5801 mom1vdjbiul32tlvomplqi6ahu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3191';
20241108@150413.5835 mom1vdjbiul32tlvomplqi6ahu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3191';
20241108@150413.6330 nsblndivif1phaqobjdcjo605f Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241108@150413.6342 nsblndivif1phaqobjdcjo605f Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241108@150413.6405 nsblndivif1phaqobjdcjo605f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3192';
20241108@150413.6462 nsblndivif1phaqobjdcjo605f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3192';
20241108@150413.6521 nsblndivif1phaqobjdcjo605f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3192';
20241108@150413.6550 nsblndivif1phaqobjdcjo605f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3192';
20241108@150413.6605 nsblndivif1phaqobjdcjo605f Query : use flama_phc
20241108@150413.6608 nsblndivif1phaqobjdcjo605f Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241108@150413.6672 nsblndivif1phaqobjdcjo605f Query : use flama_phc
20241108@150413.6675 nsblndivif1phaqobjdcjo605f Query : select no, estab,szadrsdesc from szadrs where u_coddest=4804
20241108@150413.6757 nsblndivif1phaqobjdcjo605f Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2031.00.1'
20241108@150413.6904 nsblndivif1phaqobjdcjo605f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407374 and bi.ref ='324.2031.00.1' and bi.lordem =1
20241108@150413.7204 nsblndivif1phaqobjdcjo605f 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'
20241108@150413.7546 nsblndivif1phaqobjdcjo605f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407374 and bi.ref ='324.4840.00.1' and bi.lordem =2
20241108@150413.7845 nsblndivif1phaqobjdcjo605f Query : use flama_phc
20241108@150413.7848 nsblndivif1phaqobjdcjo605f Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241108@150413.7894 nsblndivif1phaqobjdcjo605f Query : use flama_phc
20241108@150413.7897 nsblndivif1phaqobjdcjo605f Query : select top 1 1 valor from td where td.ndoc = 39
20241108@150413.7928 nsblndivif1phaqobjdcjo605f Query : use flama_phc
20241108@150413.7931 nsblndivif1phaqobjdcjo605f 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')
20241108@150413.7957 nsblndivif1phaqobjdcjo605f 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
20241108@150413.7994 nsblndivif1phaqobjdcjo605f Query : use flama_phc
20241108@150413.7998 nsblndivif1phaqobjdcjo605f Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20241108@150413.8036 nsblndivif1phaqobjdcjo605f Query : use flama_phc
20241108@150413.8039 nsblndivif1phaqobjdcjo605f Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241108@150413.8073 nsblndivif1phaqobjdcjo605f Query : use flama_phc
20241108@150413.8076 nsblndivif1phaqobjdcjo605f Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241108@150413.8120 nsblndivif1phaqobjdcjo605f Query : use flama_phc
20241108@150413.8124 nsblndivif1phaqobjdcjo605f Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alfena n/p'
20241108@150413.8194 nsblndivif1phaqobjdcjo605f Query : use flama_phc
20241108@150413.8197 nsblndivif1phaqobjdcjo605f Query : select 1 valor from td where ndoc = 39
20241108@150413.8211 nsblndivif1phaqobjdcjo605f Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241108@150413.8228 nsblndivif1phaqobjdcjo605f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.8244 nsblndivif1phaqobjdcjo605f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150413.8264 nsblndivif1phaqobjdcjo605f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.8279 nsblndivif1phaqobjdcjo605f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150413.8307 nsblndivif1phaqobjdcjo605f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.8322 nsblndivif1phaqobjdcjo605f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150413.8334 nsblndivif1phaqobjdcjo605f Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150413.8395 nsblndivif1phaqobjdcjo605f Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150413.8407 nsblndivif1phaqobjdcjo605f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.8422 nsblndivif1phaqobjdcjo605f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150413.8437 nsblndivif1phaqobjdcjo605f Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut672e219999672e286dcb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241108@150413.8749 nsblndivif1phaqobjdcjo605f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.8999 nsblndivif1phaqobjdcjo605f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150413.9045 nsblndivif1phaqobjdcjo605f Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241108@150413.9057 nsblndivif1phaqobjdcjo605f Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241108@150413.9068 nsblndivif1phaqobjdcjo605f Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241108@150413.9079 nsblndivif1phaqobjdcjo605f Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241108@150413.9090 nsblndivif1phaqobjdcjo605f Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241108@150413.9101 nsblndivif1phaqobjdcjo605f Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241108@150413.9112 nsblndivif1phaqobjdcjo605f Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut672e219999672e286dcb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241108@150413.9364 nsblndivif1phaqobjdcjo605f Query : select top 1 fno valor from wsftdata order by fno desc
20241108@150413.9389 nsblndivif1phaqobjdcjo605f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.9405 nsblndivif1phaqobjdcjo605f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150413.9441 nsblndivif1phaqobjdcjo605f Query : select 'normal' from dummy
20241108@150413.9457 nsblndivif1phaqobjdcjo605f Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut672e219999672e286dcb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1755,101900,0,'2024-11-08',39,'euro',0,0,2024 ,?,?)
20241108@150413.9761 nsblndivif1phaqobjdcjo605f Query : use flama_phc
20241108@150413.9765 nsblndivif1phaqobjdcjo605f Query : select st.usalote valor from st where st.ref = '324.2031.00.1'
20241108@150413.9787 nsblndivif1phaqobjdcjo605f Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2031.00.1'
20241108@150413.9932 nsblndivif1phaqobjdcjo605f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.9947 nsblndivif1phaqobjdcjo605f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150413.9975 nsblndivif1phaqobjdcjo605f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150413.9991 nsblndivif1phaqobjdcjo605f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150413.9999 nsblndivif1phaqobjdcjo605f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150414.2400 nsblndivif1phaqobjdcjo605f Query : select sestamp valor from se where ref ='324.2031.00.1' and lote = 'r2100232100a'
20241108@150414.3900 nsblndivif1phaqobjdcjo605f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.5300 nsblndivif1phaqobjdcjo605f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150414.6500 nsblndivif1phaqobjdcjo605f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e285442672e286e00','aut672e219999672e286dcb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150414.6900 nsblndivif1phaqobjdcjo605f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.8400 nsblndivif1phaqobjdcjo605f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150414.1130 nsblndivif1phaqobjdcjo605f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e285442672e286e00',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut672e219999672e286dcb' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241108@150414.3650 nsblndivif1phaqobjdcjo605f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.3810 nsblndivif1phaqobjdcjo605f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150414.4040 nsblndivif1phaqobjdcjo605f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.4180 nsblndivif1phaqobjdcjo605f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150414.4260 nsblndivif1phaqobjdcjo605f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150414.4380 nsblndivif1phaqobjdcjo605f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.4520 nsblndivif1phaqobjdcjo605f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150414.4630 nsblndivif1phaqobjdcjo605f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e260739672e286e0a','aut672e219999672e286dcb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150414.4670 nsblndivif1phaqobjdcjo605f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.4810 nsblndivif1phaqobjdcjo605f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150414.5080 nsblndivif1phaqobjdcjo605f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut672e260739672e286e0a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut672e219999672e286dcb' ,0,0 ,2,23.00,20000,?,?,?)
20241108@150414.1790 nsblndivif1phaqobjdcjo605f Query : use flama_phc
20241108@150414.1796 nsblndivif1phaqobjdcjo605f Query : select st.usalote valor from st where st.ref = '324.4840.00.1'
20241108@150414.1818 nsblndivif1phaqobjdcjo605f Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4840.00.1'
20241108@150414.2158 nsblndivif1phaqobjdcjo605f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.2174 nsblndivif1phaqobjdcjo605f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150414.2197 nsblndivif1phaqobjdcjo605f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.2210 nsblndivif1phaqobjdcjo605f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150414.2219 nsblndivif1phaqobjdcjo605f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150414.2230 nsblndivif1phaqobjdcjo605f Query : select sestamp valor from se where ref ='324.4840.00.1' and lote = 'r2400064200a'
20241108@150414.2242 nsblndivif1phaqobjdcjo605f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.2256 nsblndivif1phaqobjdcjo605f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150414.2267 nsblndivif1phaqobjdcjo605f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e299977672e286e36','aut672e219999672e286dcb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150414.2271 nsblndivif1phaqobjdcjo605f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.2285 nsblndivif1phaqobjdcjo605f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150414.2311 nsblndivif1phaqobjdcjo605f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e299977672e286e36',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut672e219999672e286dcb' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241108@150414.2568 nsblndivif1phaqobjdcjo605f Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut672e219999672e286dcb','2407374','wait',39,'adm09112754980.682000002')
20241108@150414.2638 nsblndivif1phaqobjdcjo605f Query : use flama_phc
20241108@150414.2641 nsblndivif1phaqobjdcjo605f Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241108@150414.2674 nsblndivif1phaqobjdcjo605f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3192';
20241108@150414.2757 nsblndivif1phaqobjdcjo605f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3192';
20241108@150414.2806 nsblndivif1phaqobjdcjo605f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3192';
20241108@150414.2836 nsblndivif1phaqobjdcjo605f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3192';
20241108@150414.3384 c9i7da1c6mhor2g2r8theedheq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241108@150414.3396 c9i7da1c6mhor2g2r8theedheq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241108@150414.3462 c9i7da1c6mhor2g2r8theedheq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3193';
20241108@150414.3535 c9i7da1c6mhor2g2r8theedheq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3193';
20241108@150414.3599 c9i7da1c6mhor2g2r8theedheq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3193';
20241108@150414.3634 c9i7da1c6mhor2g2r8theedheq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3193';
20241108@150414.3692 c9i7da1c6mhor2g2r8theedheq Query : use flama_phc
20241108@150414.3695 c9i7da1c6mhor2g2r8theedheq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241108@150414.3764 c9i7da1c6mhor2g2r8theedheq Query : use flama_phc
20241108@150414.3767 c9i7da1c6mhor2g2r8theedheq Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241108@150414.3854 c9i7da1c6mhor2g2r8theedheq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.711.00.01'
20241108@150414.4146 c9i7da1c6mhor2g2r8theedheq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407375 and bi.ref ='324.711.00.01' and bi.lordem =1
20241108@150414.4453 c9i7da1c6mhor2g2r8theedheq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.711.00.01'
20241108@150414.4473 c9i7da1c6mhor2g2r8theedheq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407375 and bi.ref ='324.711.00.01' and bi.lordem =1
20241108@150414.4492 c9i7da1c6mhor2g2r8theedheq Query : use flama_phc
20241108@150414.4495 c9i7da1c6mhor2g2r8theedheq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241108@150414.4528 c9i7da1c6mhor2g2r8theedheq Query : use flama_phc
20241108@150414.4532 c9i7da1c6mhor2g2r8theedheq Query : select top 1 1 valor from td where td.ndoc = 39
20241108@150414.4560 c9i7da1c6mhor2g2r8theedheq Query : use flama_phc
20241108@150414.4563 c9i7da1c6mhor2g2r8theedheq 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')
20241108@150414.4591 c9i7da1c6mhor2g2r8theedheq 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
20241108@150414.4624 c9i7da1c6mhor2g2r8theedheq Query : use flama_phc
20241108@150414.4627 c9i7da1c6mhor2g2r8theedheq Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241108@150414.4751 c9i7da1c6mhor2g2r8theedheq Query : use flama_phc
20241108@150414.4755 c9i7da1c6mhor2g2r8theedheq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241108@150414.4789 c9i7da1c6mhor2g2r8theedheq Query : use flama_phc
20241108@150414.4791 c9i7da1c6mhor2g2r8theedheq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241108@150414.4834 c9i7da1c6mhor2g2r8theedheq Query : use flama_phc
20241108@150414.4837 c9i7da1c6mhor2g2r8theedheq Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241108@150414.4884 c9i7da1c6mhor2g2r8theedheq Query : use flama_phc
20241108@150414.4887 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from td where ndoc = 39
20241108@150414.4899 c9i7da1c6mhor2g2r8theedheq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241108@150414.4912 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.4953 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150414.4972 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.4999 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150414.5029 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.5044 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150414.5057 c9i7da1c6mhor2g2r8theedheq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150414.5117 c9i7da1c6mhor2g2r8theedheq Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150414.5129 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.5144 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150414.5160 c9i7da1c6mhor2g2r8theedheq Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut672e279020672e286e7b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241108@150414.5348 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.5366 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150414.5400 c9i7da1c6mhor2g2r8theedheq Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241108@150414.5412 c9i7da1c6mhor2g2r8theedheq Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241108@150414.5424 c9i7da1c6mhor2g2r8theedheq Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241108@150414.5435 c9i7da1c6mhor2g2r8theedheq Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241108@150414.5447 c9i7da1c6mhor2g2r8theedheq Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241108@150414.5459 c9i7da1c6mhor2g2r8theedheq Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241108@150414.5470 c9i7da1c6mhor2g2r8theedheq Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut672e279020672e286e7b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241108@150414.5728 c9i7da1c6mhor2g2r8theedheq Query : select top 1 fno valor from wsftdata order by fno desc
20241108@150414.5753 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.5769 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150414.5792 c9i7da1c6mhor2g2r8theedheq Query : select 'normal' from dummy
20241108@150414.5807 c9i7da1c6mhor2g2r8theedheq Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut672e279020672e286e7b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1756,100810,0,'2024-11-08',39,'euro',0,0,2024 ,?,?)
20241108@150414.6100 c9i7da1c6mhor2g2r8theedheq Query : use flama_phc
20241108@150414.6103 c9i7da1c6mhor2g2r8theedheq Query : select st.usalote valor from st where st.ref = '324.711.00.01'
20241108@150414.6127 c9i7da1c6mhor2g2r8theedheq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.711.00.01'
20241108@150414.6302 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.6320 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150414.6347 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.6361 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150414.6370 c9i7da1c6mhor2g2r8theedheq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150414.6382 c9i7da1c6mhor2g2r8theedheq Query : select sestamp valor from se where ref ='324.711.00.01' and lote = 'r2301222100a'
20241108@150414.6406 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.6421 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150414.6434 c9i7da1c6mhor2g2r8theedheq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e279481672e286e9c','aut672e279020672e286e7b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150414.6438 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.6452 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150414.6481 c9i7da1c6mhor2g2r8theedheq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e279481672e286e9c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut672e279020672e286e7b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241108@150414.6811 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.6829 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150414.6854 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.6869 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150414.6877 c9i7da1c6mhor2g2r8theedheq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150414.6889 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.6902 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150414.6917 c9i7da1c6mhor2g2r8theedheq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e270857672e286ea8','aut672e279020672e286e7b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150414.6921 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.6935 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150414.6962 c9i7da1c6mhor2g2r8theedheq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut672e270857672e286ea8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut672e279020672e286e7b' ,0,0 ,2,23.00,20000,?,?,?)
20241108@150414.7226 c9i7da1c6mhor2g2r8theedheq Query : use flama_phc
20241108@150414.7229 c9i7da1c6mhor2g2r8theedheq Query : select st.usalote valor from st where st.ref = '324.711.00.01'
20241108@150414.7247 c9i7da1c6mhor2g2r8theedheq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.711.00.01'
20241108@150414.7261 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.7276 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150414.8426 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.8443 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150414.8453 c9i7da1c6mhor2g2r8theedheq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150414.8468 c9i7da1c6mhor2g2r8theedheq Query : select sestamp valor from se where ref ='324.711.00.01' and lote = 'r2301222100a'
20241108@150414.8481 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.8496 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150414.8510 c9i7da1c6mhor2g2r8theedheq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e239250672e286ecf','aut672e279020672e286e7b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150414.8516 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.8532 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150414.8562 c9i7da1c6mhor2g2r8theedheq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e239250672e286ecf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',128.000 ,'aut672e279020672e286e7b' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241108@150414.8840 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.8857 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150414.8881 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.8895 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150414.8903 c9i7da1c6mhor2g2r8theedheq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150414.8917 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.8930 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150414.8942 c9i7da1c6mhor2g2r8theedheq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e231607672e286ed9','aut672e279020672e286e7b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150414.8946 c9i7da1c6mhor2g2r8theedheq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150414.8961 c9i7da1c6mhor2g2r8theedheq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150414.8991 c9i7da1c6mhor2g2r8theedheq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut672e231607672e286ed9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut672e279020672e286e7b' ,0,0 ,2,23.00,50000,?,?,?)
20241108@150414.9248 c9i7da1c6mhor2g2r8theedheq Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut672e279020672e286e7b','2407375','wait',39,'adm09112754980.682000002')
20241108@150414.9318 c9i7da1c6mhor2g2r8theedheq Query : use flama_phc
20241108@150414.9322 c9i7da1c6mhor2g2r8theedheq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241108@150414.9354 c9i7da1c6mhor2g2r8theedheq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3193';
20241108@150414.9415 c9i7da1c6mhor2g2r8theedheq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3193';
20241108@150414.9460 c9i7da1c6mhor2g2r8theedheq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3193';
20241108@150414.9488 c9i7da1c6mhor2g2r8theedheq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3193';
20241108@150414.9992 l71mbcjj4sf67e2c1m5mv1l29v Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241108@150415.5000 l71mbcjj4sf67e2c1m5mv1l29v Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241108@150415.6900 l71mbcjj4sf67e2c1m5mv1l29v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3194';
20241108@150415.1280 l71mbcjj4sf67e2c1m5mv1l29v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3194';
20241108@150415.1850 l71mbcjj4sf67e2c1m5mv1l29v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3194';
20241108@150415.2160 l71mbcjj4sf67e2c1m5mv1l29v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3194';
20241108@150415.2720 l71mbcjj4sf67e2c1m5mv1l29v Query : use flama_phc
20241108@150415.2750 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241108@150415.3400 l71mbcjj4sf67e2c1m5mv1l29v Query : use flama_phc
20241108@150415.3430 l71mbcjj4sf67e2c1m5mv1l29v Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241108@150415.3860 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20241108@150415.5410 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407376 and bi.ref ='324.4980.00.1' and bi.lordem =1
20241108@150415.8400 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20241108@150415.8720 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407376 and bi.ref ='324.4980.00.1' and bi.lordem =1
20241108@150415.8880 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20241108@150415.9080 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407376 and bi.ref ='324.4980.00.1' and bi.lordem =2
20241108@150415.1212 l71mbcjj4sf67e2c1m5mv1l29v Query : use flama_phc
20241108@150415.1216 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241108@150415.1252 l71mbcjj4sf67e2c1m5mv1l29v Query : use flama_phc
20241108@150415.1256 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 1 valor from td where td.ndoc = 39
20241108@150415.1287 l71mbcjj4sf67e2c1m5mv1l29v Query : use flama_phc
20241108@150415.1290 l71mbcjj4sf67e2c1m5mv1l29v 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')
20241108@150415.1320 l71mbcjj4sf67e2c1m5mv1l29v 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
20241108@150415.1356 l71mbcjj4sf67e2c1m5mv1l29v Query : use flama_phc
20241108@150415.1359 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241108@150415.1389 l71mbcjj4sf67e2c1m5mv1l29v Query : use flama_phc
20241108@150415.1392 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241108@150415.1424 l71mbcjj4sf67e2c1m5mv1l29v Query : use flama_phc
20241108@150415.1427 l71mbcjj4sf67e2c1m5mv1l29v Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241108@150415.1474 l71mbcjj4sf67e2c1m5mv1l29v Query : use flama_phc
20241108@150415.1477 l71mbcjj4sf67e2c1m5mv1l29v Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241108@150415.1524 l71mbcjj4sf67e2c1m5mv1l29v Query : use flama_phc
20241108@150415.1527 l71mbcjj4sf67e2c1m5mv1l29v Query : select 1 valor from td where ndoc = 39
20241108@150415.1540 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241108@150415.1555 l71mbcjj4sf67e2c1m5mv1l29v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.1572 l71mbcjj4sf67e2c1m5mv1l29v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150415.1592 l71mbcjj4sf67e2c1m5mv1l29v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.1608 l71mbcjj4sf67e2c1m5mv1l29v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150415.1638 l71mbcjj4sf67e2c1m5mv1l29v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.1654 l71mbcjj4sf67e2c1m5mv1l29v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150415.1668 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150415.1776 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150415.1790 l71mbcjj4sf67e2c1m5mv1l29v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.1806 l71mbcjj4sf67e2c1m5mv1l29v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150415.1824 l71mbcjj4sf67e2c1m5mv1l29v Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut672e250209672e286f28' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241108@150415.2027 l71mbcjj4sf67e2c1m5mv1l29v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.2045 l71mbcjj4sf67e2c1m5mv1l29v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150415.2082 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241108@150415.2096 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241108@150415.2109 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241108@150415.2123 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241108@150415.2137 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241108@150415.2150 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241108@150415.2163 l71mbcjj4sf67e2c1m5mv1l29v Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut672e250209672e286f28',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241108@150415.2446 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 fno valor from wsftdata order by fno desc
20241108@150415.2474 l71mbcjj4sf67e2c1m5mv1l29v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.2494 l71mbcjj4sf67e2c1m5mv1l29v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150415.2519 l71mbcjj4sf67e2c1m5mv1l29v Query : select 'normal' from dummy
20241108@150415.2537 l71mbcjj4sf67e2c1m5mv1l29v Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut672e250209672e286f28',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1757,100810,0,'2024-11-08',39,'euro',0,0,2024 ,?,?)
20241108@150415.2830 l71mbcjj4sf67e2c1m5mv1l29v Query : use flama_phc
20241108@150415.2833 l71mbcjj4sf67e2c1m5mv1l29v Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20241108@150415.2858 l71mbcjj4sf67e2c1m5mv1l29v 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.4980.00.1'
20241108@150415.4143 l71mbcjj4sf67e2c1m5mv1l29v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.4161 l71mbcjj4sf67e2c1m5mv1l29v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150415.4187 l71mbcjj4sf67e2c1m5mv1l29v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.4203 l71mbcjj4sf67e2c1m5mv1l29v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150415.4213 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150415.4226 l71mbcjj4sf67e2c1m5mv1l29v Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2400145100a'
20241108@150415.4241 l71mbcjj4sf67e2c1m5mv1l29v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.4257 l71mbcjj4sf67e2c1m5mv1l29v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150415.4270 l71mbcjj4sf67e2c1m5mv1l29v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e270500672e286f67','aut672e250209672e286f28' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150415.4275 l71mbcjj4sf67e2c1m5mv1l29v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.4290 l71mbcjj4sf67e2c1m5mv1l29v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150415.4321 l71mbcjj4sf67e2c1m5mv1l29v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e270500672e286f67',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',16.000 ,'aut672e250209672e286f28' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241108@150415.4597 l71mbcjj4sf67e2c1m5mv1l29v Query : use flama_phc
20241108@150415.4601 l71mbcjj4sf67e2c1m5mv1l29v Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20241108@150415.4625 l71mbcjj4sf67e2c1m5mv1l29v 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.4980.00.1'
20241108@150415.4640 l71mbcjj4sf67e2c1m5mv1l29v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.4656 l71mbcjj4sf67e2c1m5mv1l29v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150415.4683 l71mbcjj4sf67e2c1m5mv1l29v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.4699 l71mbcjj4sf67e2c1m5mv1l29v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150415.4708 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150415.4722 l71mbcjj4sf67e2c1m5mv1l29v Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2400145100a'
20241108@150415.4736 l71mbcjj4sf67e2c1m5mv1l29v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.4751 l71mbcjj4sf67e2c1m5mv1l29v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150415.4764 l71mbcjj4sf67e2c1m5mv1l29v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e251836672e286f73','aut672e250209672e286f28' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150415.4769 l71mbcjj4sf67e2c1m5mv1l29v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.4785 l71mbcjj4sf67e2c1m5mv1l29v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150415.4816 l71mbcjj4sf67e2c1m5mv1l29v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e251836672e286f73',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut672e250209672e286f28' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241108@150415.5094 l71mbcjj4sf67e2c1m5mv1l29v Query : use flama_phc
20241108@150415.5097 l71mbcjj4sf67e2c1m5mv1l29v Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20241108@150415.5119 l71mbcjj4sf67e2c1m5mv1l29v 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.4980.00.1'
20241108@150415.5133 l71mbcjj4sf67e2c1m5mv1l29v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.5148 l71mbcjj4sf67e2c1m5mv1l29v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150415.5175 l71mbcjj4sf67e2c1m5mv1l29v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.5191 l71mbcjj4sf67e2c1m5mv1l29v Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150415.5202 l71mbcjj4sf67e2c1m5mv1l29v Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150415.5216 l71mbcjj4sf67e2c1m5mv1l29v Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2400145100a'
20241108@150415.5229 l71mbcjj4sf67e2c1m5mv1l29v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.5244 l71mbcjj4sf67e2c1m5mv1l29v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150415.5261 l71mbcjj4sf67e2c1m5mv1l29v Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e222088672e286f7f','aut672e250209672e286f28' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150415.5266 l71mbcjj4sf67e2c1m5mv1l29v Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.5281 l71mbcjj4sf67e2c1m5mv1l29v Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150415.5313 l71mbcjj4sf67e2c1m5mv1l29v Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e222088672e286f7f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',56.000 ,'aut672e250209672e286f28' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241108@150415.5578 l71mbcjj4sf67e2c1m5mv1l29v Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut672e250209672e286f28','2407376','wait',39,'adm09112754980.682000002')
20241108@150415.5649 l71mbcjj4sf67e2c1m5mv1l29v Query : use flama_phc
20241108@150415.5653 l71mbcjj4sf67e2c1m5mv1l29v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241108@150415.5686 l71mbcjj4sf67e2c1m5mv1l29v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3194';
20241108@150415.5726 l71mbcjj4sf67e2c1m5mv1l29v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3194';
20241108@150415.5772 l71mbcjj4sf67e2c1m5mv1l29v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3194';
20241108@150415.5805 l71mbcjj4sf67e2c1m5mv1l29v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3194';
20241108@150415.6364 tqupoar8v4qmmjvtctia8q1dln Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241108@150415.6375 tqupoar8v4qmmjvtctia8q1dln Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241108@150415.6435 tqupoar8v4qmmjvtctia8q1dln Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3195';
20241108@150415.6495 tqupoar8v4qmmjvtctia8q1dln Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3195';
20241108@150415.6552 tqupoar8v4qmmjvtctia8q1dln Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3195';
20241108@150415.6583 tqupoar8v4qmmjvtctia8q1dln Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3195';
20241108@150415.6634 tqupoar8v4qmmjvtctia8q1dln Query : use flama_phc
20241108@150415.6637 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241108@150415.6704 tqupoar8v4qmmjvtctia8q1dln Query : use flama_phc
20241108@150415.6708 tqupoar8v4qmmjvtctia8q1dln Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20241108@150415.6758 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.938.00.01'
20241108@150415.6925 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407378 and bi.ref ='324.938.00.01' and bi.lordem =1
20241108@150415.7245 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.938.00.01'
20241108@150415.7269 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407378 and bi.ref ='324.938.00.01' and bi.lordem =1
20241108@150415.7287 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.938.00.01'
20241108@150415.7307 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407378 and bi.ref ='324.938.00.01' and bi.lordem =1
20241108@150415.7325 tqupoar8v4qmmjvtctia8q1dln Query : use flama_phc
20241108@150415.7328 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241108@150415.7363 tqupoar8v4qmmjvtctia8q1dln Query : use flama_phc
20241108@150415.7366 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 1 valor from td where td.ndoc = 39
20241108@150415.7396 tqupoar8v4qmmjvtctia8q1dln Query : use flama_phc
20241108@150415.7399 tqupoar8v4qmmjvtctia8q1dln 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')
20241108@150415.7428 tqupoar8v4qmmjvtctia8q1dln 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
20241108@150415.7465 tqupoar8v4qmmjvtctia8q1dln Query : use flama_phc
20241108@150415.7469 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20241108@150415.7506 tqupoar8v4qmmjvtctia8q1dln Query : use flama_phc
20241108@150415.7509 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241108@150415.7537 tqupoar8v4qmmjvtctia8q1dln Query : use flama_phc
20241108@150415.7540 tqupoar8v4qmmjvtctia8q1dln Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241108@150415.7583 tqupoar8v4qmmjvtctia8q1dln Query : use flama_phc
20241108@150415.7586 tqupoar8v4qmmjvtctia8q1dln Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20241108@150415.7631 tqupoar8v4qmmjvtctia8q1dln Query : use flama_phc
20241108@150415.7634 tqupoar8v4qmmjvtctia8q1dln Query : select 1 valor from td where ndoc = 39
20241108@150415.7647 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241108@150415.7663 tqupoar8v4qmmjvtctia8q1dln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.7679 tqupoar8v4qmmjvtctia8q1dln Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150415.7699 tqupoar8v4qmmjvtctia8q1dln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.7713 tqupoar8v4qmmjvtctia8q1dln Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150415.7742 tqupoar8v4qmmjvtctia8q1dln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.7755 tqupoar8v4qmmjvtctia8q1dln Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150415.7768 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150415.7829 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150415.7841 tqupoar8v4qmmjvtctia8q1dln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.7856 tqupoar8v4qmmjvtctia8q1dln Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150415.7871 tqupoar8v4qmmjvtctia8q1dln Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut672e262350672e286fbd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241108@150415.8063 tqupoar8v4qmmjvtctia8q1dln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.8081 tqupoar8v4qmmjvtctia8q1dln Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150415.8119 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241108@150415.8132 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241108@150415.8144 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241108@150415.8155 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241108@150415.8167 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241108@150415.8179 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241108@150415.8190 tqupoar8v4qmmjvtctia8q1dln Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut672e262350672e286fbd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241108@150415.8529 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 fno valor from wsftdata order by fno desc
20241108@150415.8561 tqupoar8v4qmmjvtctia8q1dln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.8582 tqupoar8v4qmmjvtctia8q1dln Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150415.8606 tqupoar8v4qmmjvtctia8q1dln Query : select 'normal' from dummy
20241108@150415.8621 tqupoar8v4qmmjvtctia8q1dln Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut672e262350672e286fbd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1758,100810,0,'2024-11-08',39,'euro',0,0,2024 ,?,?)
20241108@150415.8961 tqupoar8v4qmmjvtctia8q1dln Query : use flama_phc
20241108@150415.8964 tqupoar8v4qmmjvtctia8q1dln Query : select st.usalote valor from st where st.ref = '324.938.00.01'
20241108@150415.8987 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.938.00.01'
20241108@150415.9129 tqupoar8v4qmmjvtctia8q1dln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.9145 tqupoar8v4qmmjvtctia8q1dln Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150415.9170 tqupoar8v4qmmjvtctia8q1dln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.9185 tqupoar8v4qmmjvtctia8q1dln Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150415.9194 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150415.9206 tqupoar8v4qmmjvtctia8q1dln Query : select sestamp valor from se where ref ='324.938.00.01' and lote = 'r2301371100a'
20241108@150415.9226 tqupoar8v4qmmjvtctia8q1dln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.9240 tqupoar8v4qmmjvtctia8q1dln Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150415.9251 tqupoar8v4qmmjvtctia8q1dln Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e287864672e286fe1','aut672e262350672e286fbd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150415.9256 tqupoar8v4qmmjvtctia8q1dln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.9270 tqupoar8v4qmmjvtctia8q1dln Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150415.9297 tqupoar8v4qmmjvtctia8q1dln Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e287864672e286fe1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut672e262350672e286fbd' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241108@150415.9561 tqupoar8v4qmmjvtctia8q1dln Query : use flama_phc
20241108@150415.9565 tqupoar8v4qmmjvtctia8q1dln Query : select st.usalote valor from st where st.ref = '324.938.00.01'
20241108@150415.9585 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.938.00.01'
20241108@150415.9598 tqupoar8v4qmmjvtctia8q1dln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.9615 tqupoar8v4qmmjvtctia8q1dln Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150415.9641 tqupoar8v4qmmjvtctia8q1dln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.9656 tqupoar8v4qmmjvtctia8q1dln Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150415.9665 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150415.9677 tqupoar8v4qmmjvtctia8q1dln Query : select sestamp valor from se where ref ='324.938.00.01' and lote = 'r2301371100a'
20241108@150415.9689 tqupoar8v4qmmjvtctia8q1dln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.9704 tqupoar8v4qmmjvtctia8q1dln Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150415.9716 tqupoar8v4qmmjvtctia8q1dln Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e212221672e286fec','aut672e262350672e286fbd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150415.9720 tqupoar8v4qmmjvtctia8q1dln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150415.9735 tqupoar8v4qmmjvtctia8q1dln Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150415.9762 tqupoar8v4qmmjvtctia8q1dln Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e212221672e286fec',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut672e262350672e286fbd' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241108@150416.2600 tqupoar8v4qmmjvtctia8q1dln Query : use flama_phc
20241108@150416.3000 tqupoar8v4qmmjvtctia8q1dln Query : select st.usalote valor from st where st.ref = '324.938.00.01'
20241108@150416.5200 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.938.00.01'
20241108@150416.6600 tqupoar8v4qmmjvtctia8q1dln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150416.8200 tqupoar8v4qmmjvtctia8q1dln Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150416.1070 tqupoar8v4qmmjvtctia8q1dln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150416.1210 tqupoar8v4qmmjvtctia8q1dln Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150416.1300 tqupoar8v4qmmjvtctia8q1dln Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150416.1420 tqupoar8v4qmmjvtctia8q1dln Query : select sestamp valor from se where ref ='324.938.00.01' and lote = 'r2301371100a'
20241108@150416.1540 tqupoar8v4qmmjvtctia8q1dln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150416.1680 tqupoar8v4qmmjvtctia8q1dln Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150416.1790 tqupoar8v4qmmjvtctia8q1dln Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e277230672e287003','aut672e262350672e286fbd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150416.1830 tqupoar8v4qmmjvtctia8q1dln Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150416.1970 tqupoar8v4qmmjvtctia8q1dln Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150416.2250 tqupoar8v4qmmjvtctia8q1dln Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e277230672e287003',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',60.000 ,'aut672e262350672e286fbd' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241108@150416.4780 tqupoar8v4qmmjvtctia8q1dln Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut672e262350672e286fbd','2407378','wait',39,'adm09112754980.682000002')
20241108@150416.5560 tqupoar8v4qmmjvtctia8q1dln Query : use flama_phc
20241108@150416.5590 tqupoar8v4qmmjvtctia8q1dln Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241108@150416.5890 tqupoar8v4qmmjvtctia8q1dln Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3195';
20241108@150416.6280 tqupoar8v4qmmjvtctia8q1dln Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3195';
20241108@150416.1730 tqupoar8v4qmmjvtctia8q1dln Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3195';
20241108@150416.1768 tqupoar8v4qmmjvtctia8q1dln Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3195';
20241108@150416.2309 rvc7hqjub5oqv9gin9qh45k306 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241108@150416.2328 rvc7hqjub5oqv9gin9qh45k306 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241108@150416.3529 rvc7hqjub5oqv9gin9qh45k306 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3196';
20241108@150416.3767 rvc7hqjub5oqv9gin9qh45k306 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3196';
20241108@150416.3825 rvc7hqjub5oqv9gin9qh45k306 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3196';
20241108@150416.3855 rvc7hqjub5oqv9gin9qh45k306 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3196';
20241108@150416.3909 rvc7hqjub5oqv9gin9qh45k306 Query : use flama_phc
20241108@150416.3912 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241108@150416.3972 rvc7hqjub5oqv9gin9qh45k306 Query : use flama_phc
20241108@150416.3975 rvc7hqjub5oqv9gin9qh45k306 Query : select no, estab,szadrsdesc from szadrs where u_coddest=5483
20241108@150416.4060 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20241108@150416.4080 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407383 and bi.ref ='324.1646.00.1' and bi.lordem =1
20241108@150416.4390 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20241108@150416.4410 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407383 and bi.ref ='324.1646.00.1' and bi.lordem =1
20241108@150416.4429 rvc7hqjub5oqv9gin9qh45k306 Query : use flama_phc
20241108@150416.4432 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241108@150416.4465 rvc7hqjub5oqv9gin9qh45k306 Query : use flama_phc
20241108@150416.4468 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 1 valor from td where td.ndoc = 39
20241108@150416.4500 rvc7hqjub5oqv9gin9qh45k306 Query : use flama_phc
20241108@150416.4502 rvc7hqjub5oqv9gin9qh45k306 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')
20241108@150416.4529 rvc7hqjub5oqv9gin9qh45k306 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
20241108@150416.4563 rvc7hqjub5oqv9gin9qh45k306 Query : use flama_phc
20241108@150416.4567 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 ~inactivo valor from cl where no = '100693' and estab = 0 order by inactivo desc
20241108@150416.4686 rvc7hqjub5oqv9gin9qh45k306 Query : use flama_phc
20241108@150416.4690 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241108@150416.4719 rvc7hqjub5oqv9gin9qh45k306 Query : use flama_phc
20241108@150416.4722 rvc7hqjub5oqv9gin9qh45k306 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241108@150416.4765 rvc7hqjub5oqv9gin9qh45k306 Query : use flama_phc
20241108@150416.4768 rvc7hqjub5oqv9gin9qh45k306 Query : select szadrsstamp valor from szadrs where szadrsdesc='manuel gomes do couto-uti.domesticas,lda-entrega'
20241108@150416.4817 rvc7hqjub5oqv9gin9qh45k306 Query : use flama_phc
20241108@150416.4820 rvc7hqjub5oqv9gin9qh45k306 Query : select 1 valor from td where ndoc = 39
20241108@150416.4832 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241108@150416.4846 rvc7hqjub5oqv9gin9qh45k306 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150416.4861 rvc7hqjub5oqv9gin9qh45k306 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150416.4879 rvc7hqjub5oqv9gin9qh45k306 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150416.4894 rvc7hqjub5oqv9gin9qh45k306 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150416.4920 rvc7hqjub5oqv9gin9qh45k306 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150416.4934 rvc7hqjub5oqv9gin9qh45k306 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150416.4946 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150416.5008 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150416.5021 rvc7hqjub5oqv9gin9qh45k306 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150416.5036 rvc7hqjub5oqv9gin9qh45k306 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150416.5051 rvc7hqjub5oqv9gin9qh45k306 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut672e258606672e287078' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241108@150416.5224 rvc7hqjub5oqv9gin9qh45k306 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150416.5240 rvc7hqjub5oqv9gin9qh45k306 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150416.5272 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241108@150416.5285 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241108@150416.5296 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241108@150416.5308 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241108@150416.5320 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241108@150416.5332 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241108@150416.5343 rvc7hqjub5oqv9gin9qh45k306 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut672e258606672e287078',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241108@150416.5582 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 fno valor from wsftdata order by fno desc
20241108@150416.5608 rvc7hqjub5oqv9gin9qh45k306 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150416.5623 rvc7hqjub5oqv9gin9qh45k306 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150416.5646 rvc7hqjub5oqv9gin9qh45k306 Query : select 'normal' from dummy
20241108@150416.5660 rvc7hqjub5oqv9gin9qh45k306 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut672e258606672e287078',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1759,100693,0,'2024-11-08',39,'euro',0,0,2024 ,?,?)
20241108@150416.5946 rvc7hqjub5oqv9gin9qh45k306 Query : use flama_phc
20241108@150416.5949 rvc7hqjub5oqv9gin9qh45k306 Query : select st.usalote valor from st where st.ref = '324.1646.00.1'
20241108@150416.5970 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1646.00.1'
20241108@150416.5984 rvc7hqjub5oqv9gin9qh45k306 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150416.6000 rvc7hqjub5oqv9gin9qh45k306 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150416.6025 rvc7hqjub5oqv9gin9qh45k306 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150416.6039 rvc7hqjub5oqv9gin9qh45k306 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150416.6047 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150416.6059 rvc7hqjub5oqv9gin9qh45k306 Query : select sestamp valor from se where ref ='324.1646.00.1' and lote = 'r2400725100a'
20241108@150416.6071 rvc7hqjub5oqv9gin9qh45k306 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150416.6085 rvc7hqjub5oqv9gin9qh45k306 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150416.6097 rvc7hqjub5oqv9gin9qh45k306 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e276164672e287094','aut672e258606672e287078' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150416.6101 rvc7hqjub5oqv9gin9qh45k306 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150416.6115 rvc7hqjub5oqv9gin9qh45k306 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150416.6142 rvc7hqjub5oqv9gin9qh45k306 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e276164672e287094',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut672e258606672e287078' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241108@150416.6416 rvc7hqjub5oqv9gin9qh45k306 Query : use flama_phc
20241108@150416.6419 rvc7hqjub5oqv9gin9qh45k306 Query : select st.usalote valor from st where st.ref = '324.1646.00.1'
20241108@150416.6438 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1646.00.1'
20241108@150416.6458 rvc7hqjub5oqv9gin9qh45k306 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150416.6479 rvc7hqjub5oqv9gin9qh45k306 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150416.6505 rvc7hqjub5oqv9gin9qh45k306 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150416.6519 rvc7hqjub5oqv9gin9qh45k306 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150416.6528 rvc7hqjub5oqv9gin9qh45k306 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150416.6540 rvc7hqjub5oqv9gin9qh45k306 Query : select sestamp valor from se where ref ='324.1646.00.1' and lote = 'r2100904100a'
20241108@150416.6566 rvc7hqjub5oqv9gin9qh45k306 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150416.6583 rvc7hqjub5oqv9gin9qh45k306 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150416.6596 rvc7hqjub5oqv9gin9qh45k306 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e295821672e2870a0','aut672e258606672e287078' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150416.6599 rvc7hqjub5oqv9gin9qh45k306 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150416.6616 rvc7hqjub5oqv9gin9qh45k306 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150416.6648 rvc7hqjub5oqv9gin9qh45k306 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e295821672e2870a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut672e258606672e287078' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241108@150416.6917 rvc7hqjub5oqv9gin9qh45k306 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut672e258606672e287078','2407383','wait',39,'adm09112754980.682000002')
20241108@150416.6992 rvc7hqjub5oqv9gin9qh45k306 Query : use flama_phc
20241108@150416.6994 rvc7hqjub5oqv9gin9qh45k306 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241108@150416.7030 rvc7hqjub5oqv9gin9qh45k306 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3196';
20241108@150416.7065 rvc7hqjub5oqv9gin9qh45k306 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3196';
20241108@150416.7113 rvc7hqjub5oqv9gin9qh45k306 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3196';
20241108@150416.7143 rvc7hqjub5oqv9gin9qh45k306 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3196';
20241108@150416.7720 0o3bnb6o69lgvdqm84ktplbj3e Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241108@150416.7731 0o3bnb6o69lgvdqm84ktplbj3e Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241108@150416.7800 0o3bnb6o69lgvdqm84ktplbj3e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3197';
20241108@150416.8154 0o3bnb6o69lgvdqm84ktplbj3e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3197';
20241108@150416.8248 0o3bnb6o69lgvdqm84ktplbj3e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3197';
20241108@150416.8281 0o3bnb6o69lgvdqm84ktplbj3e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3197';
20241108@150416.8334 0o3bnb6o69lgvdqm84ktplbj3e Query : use flama_phc
20241108@150416.8337 0o3bnb6o69lgvdqm84ktplbj3e Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241108@150416.8400 0o3bnb6o69lgvdqm84ktplbj3e Query : use flama_phc
20241108@150416.8403 0o3bnb6o69lgvdqm84ktplbj3e Query : select no, estab,szadrsdesc from szadrs where u_coddest=7117
20241108@150416.8490 0o3bnb6o69lgvdqm84ktplbj3e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1862.00.1'
20241108@150416.8643 0o3bnb6o69lgvdqm84ktplbj3e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407396 and bi.ref ='324.1862.00.1' and bi.lordem =1
20241108@150416.8977 0o3bnb6o69lgvdqm84ktplbj3e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1871.00.1'
20241108@150417.9770 0o3bnb6o69lgvdqm84ktplbj3e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407396 and bi.ref ='324.1871.00.1' and bi.lordem =2
20241108@150417.1316 0o3bnb6o69lgvdqm84ktplbj3e Query : use flama_phc
20241108@150417.1319 0o3bnb6o69lgvdqm84ktplbj3e Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241108@150417.1352 0o3bnb6o69lgvdqm84ktplbj3e Query : use flama_phc
20241108@150417.1355 0o3bnb6o69lgvdqm84ktplbj3e Query : select top 1 1 valor from td where td.ndoc = 39
20241108@150417.1386 0o3bnb6o69lgvdqm84ktplbj3e Query : use flama_phc
20241108@150417.1388 0o3bnb6o69lgvdqm84ktplbj3e 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')
20241108@150417.1418 0o3bnb6o69lgvdqm84ktplbj3e 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
20241108@150417.1453 0o3bnb6o69lgvdqm84ktplbj3e Query : use flama_phc
20241108@150417.1456 0o3bnb6o69lgvdqm84ktplbj3e Query : select top 1 ~inactivo valor from cl where no = '102155' and estab = 0 order by inactivo desc
20241108@150417.1595 0o3bnb6o69lgvdqm84ktplbj3e Query : use flama_phc
20241108@150417.1598 0o3bnb6o69lgvdqm84ktplbj3e Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241108@150417.1630 0o3bnb6o69lgvdqm84ktplbj3e Query : use flama_phc
20241108@150417.1633 0o3bnb6o69lgvdqm84ktplbj3e Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241108@150417.1675 0o3bnb6o69lgvdqm84ktplbj3e Query : use flama_phc
20241108@150417.1678 0o3bnb6o69lgvdqm84ktplbj3e Query : select szadrsstamp valor from szadrs where szadrsdesc='eternobom - loja leiria'
20241108@150417.1729 0o3bnb6o69lgvdqm84ktplbj3e Query : use flama_phc
20241108@150417.1732 0o3bnb6o69lgvdqm84ktplbj3e Query : select 1 valor from td where ndoc = 39
20241108@150417.1744 0o3bnb6o69lgvdqm84ktplbj3e Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241108@150417.1758 0o3bnb6o69lgvdqm84ktplbj3e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150417.1773 0o3bnb6o69lgvdqm84ktplbj3e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150417.1792 0o3bnb6o69lgvdqm84ktplbj3e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150417.1806 0o3bnb6o69lgvdqm84ktplbj3e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150417.1834 0o3bnb6o69lgvdqm84ktplbj3e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150417.1848 0o3bnb6o69lgvdqm84ktplbj3e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150417.1860 0o3bnb6o69lgvdqm84ktplbj3e Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150417.1920 0o3bnb6o69lgvdqm84ktplbj3e Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150417.1933 0o3bnb6o69lgvdqm84ktplbj3e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150417.1947 0o3bnb6o69lgvdqm84ktplbj3e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150417.1962 0o3bnb6o69lgvdqm84ktplbj3e Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut672e273135672e28712d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241108@150417.2230 0o3bnb6o69lgvdqm84ktplbj3e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150417.3262 0o3bnb6o69lgvdqm84ktplbj3e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150417.3294 0o3bnb6o69lgvdqm84ktplbj3e Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241108@150417.3305 0o3bnb6o69lgvdqm84ktplbj3e Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241108@150417.3316 0o3bnb6o69lgvdqm84ktplbj3e Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241108@150417.3327 0o3bnb6o69lgvdqm84ktplbj3e Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241108@150417.3338 0o3bnb6o69lgvdqm84ktplbj3e Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241108@150417.3349 0o3bnb6o69lgvdqm84ktplbj3e Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241108@150417.3360 0o3bnb6o69lgvdqm84ktplbj3e Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut672e273135672e28712d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241108@150417.3612 0o3bnb6o69lgvdqm84ktplbj3e Query : select top 1 fno valor from wsftdata order by fno desc
20241108@150417.3638 0o3bnb6o69lgvdqm84ktplbj3e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150417.3653 0o3bnb6o69lgvdqm84ktplbj3e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150417.3674 0o3bnb6o69lgvdqm84ktplbj3e Query : select 'normal' from dummy
20241108@150417.3689 0o3bnb6o69lgvdqm84ktplbj3e Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut672e273135672e28712d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1760,102155,0,'2024-11-08',39,'euro',0,0,2024 ,?,?)
20241108@150417.3988 0o3bnb6o69lgvdqm84ktplbj3e Query : use flama_phc
20241108@150417.3991 0o3bnb6o69lgvdqm84ktplbj3e Query : select st.usalote valor from st where st.ref = '324.1862.00.1'
20241108@150417.4078 0o3bnb6o69lgvdqm84ktplbj3e 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.1862.00.1'
20241108@150417.4575 0o3bnb6o69lgvdqm84ktplbj3e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150417.4596 0o3bnb6o69lgvdqm84ktplbj3e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150417.4627 0o3bnb6o69lgvdqm84ktplbj3e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150417.4645 0o3bnb6o69lgvdqm84ktplbj3e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150417.4729 0o3bnb6o69lgvdqm84ktplbj3e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150417.4859 0o3bnb6o69lgvdqm84ktplbj3e Query : select sestamp valor from se where ref ='324.1862.00.1' and lote = 'r2400440200a'
20241108@150417.4986 0o3bnb6o69lgvdqm84ktplbj3e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150417.5004 0o3bnb6o69lgvdqm84ktplbj3e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150417.5019 0o3bnb6o69lgvdqm84ktplbj3e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e205242672e287179','aut672e273135672e28712d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150417.5024 0o3bnb6o69lgvdqm84ktplbj3e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150417.5085 0o3bnb6o69lgvdqm84ktplbj3e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150417.5416 0o3bnb6o69lgvdqm84ktplbj3e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e205242672e287179',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut672e273135672e28712d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241108@150417.5683 0o3bnb6o69lgvdqm84ktplbj3e Query : use flama_phc
20241108@150417.5686 0o3bnb6o69lgvdqm84ktplbj3e Query : select st.usalote valor from st where st.ref = '324.1871.00.1'
20241108@150417.5706 0o3bnb6o69lgvdqm84ktplbj3e 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.1871.00.1'
20241108@150417.5848 0o3bnb6o69lgvdqm84ktplbj3e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150417.5863 0o3bnb6o69lgvdqm84ktplbj3e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150417.5888 0o3bnb6o69lgvdqm84ktplbj3e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150417.5902 0o3bnb6o69lgvdqm84ktplbj3e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150417.5911 0o3bnb6o69lgvdqm84ktplbj3e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150417.5924 0o3bnb6o69lgvdqm84ktplbj3e Query : select sestamp valor from se where ref ='324.1871.00.1' and lote = 'r2400437200a'
20241108@150417.5938 0o3bnb6o69lgvdqm84ktplbj3e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150417.5953 0o3bnb6o69lgvdqm84ktplbj3e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150417.5966 0o3bnb6o69lgvdqm84ktplbj3e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e241700672e287190','aut672e273135672e28712d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150417.5970 0o3bnb6o69lgvdqm84ktplbj3e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150417.5986 0o3bnb6o69lgvdqm84ktplbj3e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150417.6014 0o3bnb6o69lgvdqm84ktplbj3e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e241700672e287190',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',7.000 ,'aut672e273135672e28712d' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241108@150417.6338 0o3bnb6o69lgvdqm84ktplbj3e Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut672e273135672e28712d','2407396','wait',39,'adm09112754980.682000002')
20241108@150417.6415 0o3bnb6o69lgvdqm84ktplbj3e Query : use flama_phc
20241108@150417.6419 0o3bnb6o69lgvdqm84ktplbj3e Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241108@150417.6451 0o3bnb6o69lgvdqm84ktplbj3e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3197';
20241108@150417.6488 0o3bnb6o69lgvdqm84ktplbj3e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3197';
20241108@150417.6536 0o3bnb6o69lgvdqm84ktplbj3e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3197';
20241108@150417.6565 0o3bnb6o69lgvdqm84ktplbj3e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3197';
20241108@150417.7107 rccjvr7l8ebpotu77uqdrj8j92 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241108@150417.7120 rccjvr7l8ebpotu77uqdrj8j92 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241108@150417.7185 rccjvr7l8ebpotu77uqdrj8j92 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3198';
20241108@150417.7255 rccjvr7l8ebpotu77uqdrj8j92 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3198';
20241108@150417.7317 rccjvr7l8ebpotu77uqdrj8j92 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3198';
20241108@150417.7347 rccjvr7l8ebpotu77uqdrj8j92 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3198';
20241108@150417.7398 rccjvr7l8ebpotu77uqdrj8j92 Query : use flama_phc
20241108@150417.7401 rccjvr7l8ebpotu77uqdrj8j92 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241108@150417.7466 rccjvr7l8ebpotu77uqdrj8j92 Query : use flama_phc
20241108@150417.7468 rccjvr7l8ebpotu77uqdrj8j92 Query : select no, estab,szadrsdesc from szadrs where u_coddest=5084
20241108@150417.7557 rccjvr7l8ebpotu77uqdrj8j92 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1862.00.1'
20241108@150417.7576 rccjvr7l8ebpotu77uqdrj8j92 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407397 and bi.ref ='324.1862.00.1' and bi.lordem =1
20241108@150417.7884 rccjvr7l8ebpotu77uqdrj8j92 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1871.00.1'
20241108@150417.7904 rccjvr7l8ebpotu77uqdrj8j92 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407397 and bi.ref ='324.1871.00.1' and bi.lordem =2
20241108@150417.8200 rccjvr7l8ebpotu77uqdrj8j92 Query : use flama_phc
20241108@150417.8203 rccjvr7l8ebpotu77uqdrj8j92 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241108@150417.8238 rccjvr7l8ebpotu77uqdrj8j92 Query : use flama_phc
20241108@150417.8258 rccjvr7l8ebpotu77uqdrj8j92 Query : select top 1 1 valor from td where td.ndoc = 39
20241108@150417.8336 rccjvr7l8ebpotu77uqdrj8j92 Query : use flama_phc
20241108@150417.8340 rccjvr7l8ebpotu77uqdrj8j92 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')
20241108@150417.8368 rccjvr7l8ebpotu77uqdrj8j92 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
20241108@150417.8540 rccjvr7l8ebpotu77uqdrj8j92 Query : use flama_phc
20241108@150417.8660 rccjvr7l8ebpotu77uqdrj8j92 Query : select top 1 ~inactivo valor from cl where no = '102155' and estab = 0 order by inactivo desc
20241108@150417.8781 rccjvr7l8ebpotu77uqdrj8j92 Query : use flama_phc
20241108@150417.8785 rccjvr7l8ebpotu77uqdrj8j92 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241108@150417.8813 rccjvr7l8ebpotu77uqdrj8j92 Query : use flama_phc
20241108@150417.8816 rccjvr7l8ebpotu77uqdrj8j92 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241108@150417.8854 rccjvr7l8ebpotu77uqdrj8j92 Query : use flama_phc
20241108@150417.8858 rccjvr7l8ebpotu77uqdrj8j92 Query : select szadrsstamp valor from szadrs where szadrsdesc='eternobom-electrodomÉsticos, lda.- ourem( novo)'
20241108@150417.8934 rccjvr7l8ebpotu77uqdrj8j92 Query : use flama_phc
20241108@150417.8973 rccjvr7l8ebpotu77uqdrj8j92 Query : select 1 valor from td where ndoc = 39
20241108@150417.9268 rccjvr7l8ebpotu77uqdrj8j92 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241108@150417.9288 rccjvr7l8ebpotu77uqdrj8j92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150417.9305 rccjvr7l8ebpotu77uqdrj8j92 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150417.9343 rccjvr7l8ebpotu77uqdrj8j92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150417.9514 rccjvr7l8ebpotu77uqdrj8j92 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150417.9562 rccjvr7l8ebpotu77uqdrj8j92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150417.9580 rccjvr7l8ebpotu77uqdrj8j92 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150417.9593 rccjvr7l8ebpotu77uqdrj8j92 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150417.9652 rccjvr7l8ebpotu77uqdrj8j92 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150417.9665 rccjvr7l8ebpotu77uqdrj8j92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150417.9680 rccjvr7l8ebpotu77uqdrj8j92 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150417.9698 rccjvr7l8ebpotu77uqdrj8j92 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut672e216980672e2871ea' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241108@150417.9868 rccjvr7l8ebpotu77uqdrj8j92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150417.9883 rccjvr7l8ebpotu77uqdrj8j92 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150417.9915 rccjvr7l8ebpotu77uqdrj8j92 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241108@150417.9929 rccjvr7l8ebpotu77uqdrj8j92 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241108@150417.9940 rccjvr7l8ebpotu77uqdrj8j92 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241108@150417.9952 rccjvr7l8ebpotu77uqdrj8j92 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241108@150417.9964 rccjvr7l8ebpotu77uqdrj8j92 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241108@150417.9975 rccjvr7l8ebpotu77uqdrj8j92 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241108@150417.9988 rccjvr7l8ebpotu77uqdrj8j92 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut672e216980672e2871ea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241108@150418.2320 rccjvr7l8ebpotu77uqdrj8j92 Query : select top 1 fno valor from wsftdata order by fno desc
20241108@150418.2580 rccjvr7l8ebpotu77uqdrj8j92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.2740 rccjvr7l8ebpotu77uqdrj8j92 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150418.2960 rccjvr7l8ebpotu77uqdrj8j92 Query : select 'normal' from dummy
20241108@150418.3100 rccjvr7l8ebpotu77uqdrj8j92 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut672e216980672e2871ea',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1761,102155,0,'2024-11-08',39,'euro',0,0,2024 ,?,?)
20241108@150418.5920 rccjvr7l8ebpotu77uqdrj8j92 Query : use flama_phc
20241108@150418.5950 rccjvr7l8ebpotu77uqdrj8j92 Query : select st.usalote valor from st where st.ref = '324.1862.00.1'
20241108@150418.6160 rccjvr7l8ebpotu77uqdrj8j92 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.1862.00.1'
20241108@150418.6290 rccjvr7l8ebpotu77uqdrj8j92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.6440 rccjvr7l8ebpotu77uqdrj8j92 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150418.6690 rccjvr7l8ebpotu77uqdrj8j92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.6830 rccjvr7l8ebpotu77uqdrj8j92 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150418.6910 rccjvr7l8ebpotu77uqdrj8j92 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150418.7020 rccjvr7l8ebpotu77uqdrj8j92 Query : select sestamp valor from se where ref ='324.1862.00.1' and lote = 'r2400440200a'
20241108@150418.7150 rccjvr7l8ebpotu77uqdrj8j92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.7320 rccjvr7l8ebpotu77uqdrj8j92 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150418.7440 rccjvr7l8ebpotu77uqdrj8j92 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e203554672e287211','aut672e216980672e2871ea' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150418.7480 rccjvr7l8ebpotu77uqdrj8j92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.7620 rccjvr7l8ebpotu77uqdrj8j92 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150418.7940 rccjvr7l8ebpotu77uqdrj8j92 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e203554672e287211',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut672e216980672e2871ea' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241108@150418.1043 rccjvr7l8ebpotu77uqdrj8j92 Query : use flama_phc
20241108@150418.1046 rccjvr7l8ebpotu77uqdrj8j92 Query : select st.usalote valor from st where st.ref = '324.1871.00.1'
20241108@150418.1067 rccjvr7l8ebpotu77uqdrj8j92 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.1871.00.1'
20241108@150418.1082 rccjvr7l8ebpotu77uqdrj8j92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.1098 rccjvr7l8ebpotu77uqdrj8j92 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150418.1125 rccjvr7l8ebpotu77uqdrj8j92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.1140 rccjvr7l8ebpotu77uqdrj8j92 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150418.1148 rccjvr7l8ebpotu77uqdrj8j92 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150418.1160 rccjvr7l8ebpotu77uqdrj8j92 Query : select sestamp valor from se where ref ='324.1871.00.1' and lote = 'r2400437200a'
20241108@150418.1172 rccjvr7l8ebpotu77uqdrj8j92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.1187 rccjvr7l8ebpotu77uqdrj8j92 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150418.1198 rccjvr7l8ebpotu77uqdrj8j92 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e264287672e28721c','aut672e216980672e2871ea' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150418.1203 rccjvr7l8ebpotu77uqdrj8j92 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.1217 rccjvr7l8ebpotu77uqdrj8j92 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150418.1247 rccjvr7l8ebpotu77uqdrj8j92 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e264287672e28721c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut672e216980672e2871ea' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241108@150418.1493 rccjvr7l8ebpotu77uqdrj8j92 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut672e216980672e2871ea','2407397','wait',39,'adm09112754980.682000002')
20241108@150418.1570 rccjvr7l8ebpotu77uqdrj8j92 Query : use flama_phc
20241108@150418.1574 rccjvr7l8ebpotu77uqdrj8j92 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241108@150418.1604 rccjvr7l8ebpotu77uqdrj8j92 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3198';
20241108@150418.1640 rccjvr7l8ebpotu77uqdrj8j92 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3198';
20241108@150418.1686 rccjvr7l8ebpotu77uqdrj8j92 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3198';
20241108@150418.1713 rccjvr7l8ebpotu77uqdrj8j92 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3198';
20241108@150418.2216 m46q49uupfveo3jjieph9om3f4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241108@150418.2227 m46q49uupfveo3jjieph9om3f4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241108@150418.2288 m46q49uupfveo3jjieph9om3f4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3199';
20241108@150418.2346 m46q49uupfveo3jjieph9om3f4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3199';
20241108@150418.2428 m46q49uupfveo3jjieph9om3f4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3199';
20241108@150418.2459 m46q49uupfveo3jjieph9om3f4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3199';
20241108@150418.2517 m46q49uupfveo3jjieph9om3f4 Query : use flama_phc
20241108@150418.2520 m46q49uupfveo3jjieph9om3f4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241108@150418.2910 m46q49uupfveo3jjieph9om3f4 Query : use flama_phc
20241108@150418.2917 m46q49uupfveo3jjieph9om3f4 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1596
20241108@150418.3062 m46q49uupfveo3jjieph9om3f4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1862.00.1'
20241108@150418.3318 m46q49uupfveo3jjieph9om3f4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407398 and bi.ref ='324.1862.00.1' and bi.lordem =1
20241108@150418.3938 m46q49uupfveo3jjieph9om3f4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1871.00.1'
20241108@150418.3957 m46q49uupfveo3jjieph9om3f4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407398 and bi.ref ='324.1871.00.1' and bi.lordem =2
20241108@150418.4290 m46q49uupfveo3jjieph9om3f4 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1871.00.1'
20241108@150418.4310 m46q49uupfveo3jjieph9om3f4 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2073 and bo.obrano = 2407398 and bi.ref ='324.1871.00.1' and bi.lordem =2
20241108@150418.4326 m46q49uupfveo3jjieph9om3f4 Query : use flama_phc
20241108@150418.4330 m46q49uupfveo3jjieph9om3f4 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241108@150418.4360 m46q49uupfveo3jjieph9om3f4 Query : use flama_phc
20241108@150418.4363 m46q49uupfveo3jjieph9om3f4 Query : select top 1 1 valor from td where td.ndoc = 39
20241108@150418.4391 m46q49uupfveo3jjieph9om3f4 Query : use flama_phc
20241108@150418.4394 m46q49uupfveo3jjieph9om3f4 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')
20241108@150418.4425 m46q49uupfveo3jjieph9om3f4 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
20241108@150418.4461 m46q49uupfveo3jjieph9om3f4 Query : use flama_phc
20241108@150418.4464 m46q49uupfveo3jjieph9om3f4 Query : select top 1 ~inactivo valor from cl where no = '102155' and estab = 0 order by inactivo desc
20241108@150418.4500 m46q49uupfveo3jjieph9om3f4 Query : use flama_phc
20241108@150418.4503 m46q49uupfveo3jjieph9om3f4 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241108@150418.4539 m46q49uupfveo3jjieph9om3f4 Query : use flama_phc
20241108@150418.4542 m46q49uupfveo3jjieph9om3f4 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241108@150418.4606 m46q49uupfveo3jjieph9om3f4 Query : use flama_phc
20241108@150418.4609 m46q49uupfveo3jjieph9om3f4 Query : select szadrsstamp valor from szadrs where szadrsdesc='eternobom-electrodomÉsticos, lda. - crainha'
20241108@150418.4659 m46q49uupfveo3jjieph9om3f4 Query : use flama_phc
20241108@150418.4662 m46q49uupfveo3jjieph9om3f4 Query : select 1 valor from td where ndoc = 39
20241108@150418.4674 m46q49uupfveo3jjieph9om3f4 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241108@150418.4687 m46q49uupfveo3jjieph9om3f4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.4703 m46q49uupfveo3jjieph9om3f4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150418.4721 m46q49uupfveo3jjieph9om3f4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.4736 m46q49uupfveo3jjieph9om3f4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150418.4764 m46q49uupfveo3jjieph9om3f4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.4779 m46q49uupfveo3jjieph9om3f4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150418.4793 m46q49uupfveo3jjieph9om3f4 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150418.4852 m46q49uupfveo3jjieph9om3f4 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150418.4865 m46q49uupfveo3jjieph9om3f4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.4881 m46q49uupfveo3jjieph9om3f4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150418.4896 m46q49uupfveo3jjieph9om3f4 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut672e270507672e287275' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241108@150418.5074 m46q49uupfveo3jjieph9om3f4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.5092 m46q49uupfveo3jjieph9om3f4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150418.5127 m46q49uupfveo3jjieph9om3f4 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241108@150418.5140 m46q49uupfveo3jjieph9om3f4 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241108@150418.5152 m46q49uupfveo3jjieph9om3f4 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241108@150418.5164 m46q49uupfveo3jjieph9om3f4 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241108@150418.5176 m46q49uupfveo3jjieph9om3f4 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241108@150418.5188 m46q49uupfveo3jjieph9om3f4 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241108@150418.5199 m46q49uupfveo3jjieph9om3f4 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut672e270507672e287275',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241108@150418.5431 m46q49uupfveo3jjieph9om3f4 Query : select top 1 fno valor from wsftdata order by fno desc
20241108@150418.6114 m46q49uupfveo3jjieph9om3f4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.6613 m46q49uupfveo3jjieph9om3f4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150418.6672 m46q49uupfveo3jjieph9om3f4 Query : select 'normal' from dummy
20241108@150418.6687 m46q49uupfveo3jjieph9om3f4 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut672e270507672e287275',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1762,102155,0,'2024-11-08',39,'euro',0,0,2024 ,?,?)
20241108@150418.6987 m46q49uupfveo3jjieph9om3f4 Query : use flama_phc
20241108@150418.6990 m46q49uupfveo3jjieph9om3f4 Query : select st.usalote valor from st where st.ref = '324.1862.00.1'
20241108@150418.7011 m46q49uupfveo3jjieph9om3f4 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.1862.00.1'
20241108@150418.7024 m46q49uupfveo3jjieph9om3f4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.7040 m46q49uupfveo3jjieph9om3f4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150418.7065 m46q49uupfveo3jjieph9om3f4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.7080 m46q49uupfveo3jjieph9om3f4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150418.7088 m46q49uupfveo3jjieph9om3f4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150418.7100 m46q49uupfveo3jjieph9om3f4 Query : select sestamp valor from se where ref ='324.1862.00.1' and lote = 'r2400440200a'
20241108@150418.7113 m46q49uupfveo3jjieph9om3f4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.7127 m46q49uupfveo3jjieph9om3f4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150418.7139 m46q49uupfveo3jjieph9om3f4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e239599672e2872ad','aut672e270507672e287275' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150418.7143 m46q49uupfveo3jjieph9om3f4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.7157 m46q49uupfveo3jjieph9om3f4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150418.7188 m46q49uupfveo3jjieph9om3f4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e239599672e2872ad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut672e270507672e287275' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241108@150418.7513 m46q49uupfveo3jjieph9om3f4 Query : use flama_phc
20241108@150418.7516 m46q49uupfveo3jjieph9om3f4 Query : select st.usalote valor from st where st.ref = '324.1871.00.1'
20241108@150418.7536 m46q49uupfveo3jjieph9om3f4 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.1871.00.1'
20241108@150418.7550 m46q49uupfveo3jjieph9om3f4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.7565 m46q49uupfveo3jjieph9om3f4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150418.7591 m46q49uupfveo3jjieph9om3f4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.7606 m46q49uupfveo3jjieph9om3f4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150418.7615 m46q49uupfveo3jjieph9om3f4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150418.7627 m46q49uupfveo3jjieph9om3f4 Query : select sestamp valor from se where ref ='324.1871.00.1' and lote = 'r2400437200a'
20241108@150418.7639 m46q49uupfveo3jjieph9om3f4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.7654 m46q49uupfveo3jjieph9om3f4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150418.7666 m46q49uupfveo3jjieph9om3f4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e299890672e2872ba','aut672e270507672e287275' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150418.7670 m46q49uupfveo3jjieph9om3f4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.7685 m46q49uupfveo3jjieph9om3f4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150418.7714 m46q49uupfveo3jjieph9om3f4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e299890672e2872ba',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut672e270507672e287275' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241108@150418.7972 m46q49uupfveo3jjieph9om3f4 Query : use flama_phc
20241108@150418.7975 m46q49uupfveo3jjieph9om3f4 Query : select st.usalote valor from st where st.ref = '324.1871.00.1'
20241108@150418.7995 m46q49uupfveo3jjieph9om3f4 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.1871.00.1'
20241108@150418.8010 m46q49uupfveo3jjieph9om3f4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.8026 m46q49uupfveo3jjieph9om3f4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150418.8052 m46q49uupfveo3jjieph9om3f4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.8067 m46q49uupfveo3jjieph9om3f4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150418.8076 m46q49uupfveo3jjieph9om3f4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150418.8089 m46q49uupfveo3jjieph9om3f4 Query : select sestamp valor from se where ref ='324.1871.00.1' and lote = 'r2400437200a'
20241108@150418.8101 m46q49uupfveo3jjieph9om3f4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.8115 m46q49uupfveo3jjieph9om3f4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150418.8127 m46q49uupfveo3jjieph9om3f4 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e217468672e2872c5','aut672e270507672e287275' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150418.8131 m46q49uupfveo3jjieph9om3f4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150418.8145 m46q49uupfveo3jjieph9om3f4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150418.8174 m46q49uupfveo3jjieph9om3f4 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e217468672e2872c5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut672e270507672e287275' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241108@150418.8444 m46q49uupfveo3jjieph9om3f4 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut672e270507672e287275','2407398','wait',39,'adm09112754980.682000002')
20241108@150418.8523 m46q49uupfveo3jjieph9om3f4 Query : use flama_phc
20241108@150418.8526 m46q49uupfveo3jjieph9om3f4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241108@150418.8558 m46q49uupfveo3jjieph9om3f4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3199';
20241108@150418.8593 m46q49uupfveo3jjieph9om3f4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3199';
20241108@150418.8637 m46q49uupfveo3jjieph9om3f4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3199';
20241108@150418.8667 m46q49uupfveo3jjieph9om3f4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3199';
20241108@150418.9220 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241108@150418.9231 3ubl3g2ftt59bq5f7atjv1c752 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241108@150418.9295 3ubl3g2ftt59bq5f7atjv1c752 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3200';
20241108@150418.9355 3ubl3g2ftt59bq5f7atjv1c752 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3200';
20241108@150418.9413 3ubl3g2ftt59bq5f7atjv1c752 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3200';
20241108@150418.9443 3ubl3g2ftt59bq5f7atjv1c752 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3200';
20241108@150418.9560 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150418.9564 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241108@150418.9626 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150418.9629 3ubl3g2ftt59bq5f7atjv1c752 Query : select no, estab,szadrsdesc from szadrs where u_coddest=5187
20241108@150418.9848 3ubl3g2ftt59bq5f7atjv1c752 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'
20241108@150419.1850 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407409 and bi.ref ='324.2221.00.1' and bi.lordem =1
20241108@150419.6510 3ubl3g2ftt59bq5f7atjv1c752 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'
20241108@150419.8100 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407409 and bi.ref ='324.2223.00.1' and bi.lordem =2
20241108@150419.1101 3ubl3g2ftt59bq5f7atjv1c752 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'
20241108@150419.1246 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407409 and bi.ref ='324.681.00.01' and bi.lordem =3
20241108@150419.1545 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.642.00.01'
20241108@150419.1693 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407409 and bi.ref ='324.642.00.01' and bi.lordem =4
20241108@150419.2145 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20241108@150419.2301 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407409 and bi.ref ='324.4521.00.1' and bi.lordem =5
20241108@150419.2598 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20241108@150419.2742 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407409 and bi.ref ='324.736.00.01' and bi.lordem =6
20241108@150419.3049 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1578.00.1'
20241108@150419.3071 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407409 and bi.ref ='324.1578.00.1' and bi.lordem =7
20241108@150419.3377 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1578.00.1'
20241108@150419.3431 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407409 and bi.ref ='324.1578.00.1' and bi.lordem =7
20241108@150419.3470 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5342.00.1'
20241108@150419.3637 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407409 and bi.ref ='324.5342.00.1' and bi.lordem =8
20241108@150419.3965 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.1'
20241108@150419.4203 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407409 and bi.ref ='324.1461.00.1' and bi.lordem =9
20241108@150419.4520 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4930.00.1'
20241108@150419.4668 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407409 and bi.ref ='324.4930.00.1' and bi.lordem =10
20241108@150419.4969 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4961.00.1'
20241108@150419.5129 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407409 and bi.ref ='324.4961.00.1' and bi.lordem =11
20241108@150419.6407 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4902.00.1'
20241108@150419.6567 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407409 and bi.ref ='324.4902.00.1' and bi.lordem =12
20241108@150419.6877 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150419.6880 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241108@150419.6914 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150419.6918 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 1 valor from td where td.ndoc = 39
20241108@150419.6956 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150419.6959 3ubl3g2ftt59bq5f7atjv1c752 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')
20241108@150419.6987 3ubl3g2ftt59bq5f7atjv1c752 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
20241108@150419.7024 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150419.7027 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20241108@150419.7178 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150419.7197 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241108@150419.7228 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150419.7231 3ubl3g2ftt59bq5f7atjv1c752 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241108@150419.7275 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150419.7278 3ubl3g2ftt59bq5f7atjv1c752 Query : select szadrsstamp valor from szadrs where szadrsdesc='eldisser, s.a. - grucoga'
20241108@150419.7547 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150419.7596 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from td where ndoc = 39
20241108@150419.7629 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241108@150419.7645 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150419.7662 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150419.7682 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150419.7697 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150419.7727 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150419.7742 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150419.7755 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150419.7822 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150419.7837 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150419.7854 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150419.7871 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut672e291091672e2873bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241108@150419.8051 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150419.8070 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150419.8749 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241108@150419.8762 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241108@150419.8775 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241108@150419.8789 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241108@150419.8801 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241108@150419.8817 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241108@150419.8830 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut672e291091672e2873bd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241108@150419.9084 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 fno valor from wsftdata order by fno desc
20241108@150419.9113 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150419.9130 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150419.9157 3ubl3g2ftt59bq5f7atjv1c752 Query : select 'normal' from dummy
20241108@150419.9173 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut672e291091672e2873bd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1763,200500,0,'2024-11-08',39,'euro',0,0,2024 ,?,?)
20241108@150419.9479 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150419.9482 3ubl3g2ftt59bq5f7atjv1c752 Query : select st.usalote valor from st where st.ref = '324.2221.00.1'
20241108@150419.9505 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2221.00.1'
20241108@150419.9648 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150419.9664 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150419.9690 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150419.9704 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150419.9712 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150419.9724 3ubl3g2ftt59bq5f7atjv1c752 Query : select sestamp valor from se where ref ='324.2221.00.1' and lote = 'r2301280100a'
20241108@150419.9800 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150419.9819 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150419.9830 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e279847672e2873ef','aut672e291091672e2873bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150419.9835 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150419.9850 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150419.9878 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e279847672e2873ef',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut672e291091672e2873bd' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241108@150420.1590 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150420.1620 3ubl3g2ftt59bq5f7atjv1c752 Query : select st.usalote valor from st where st.ref = '324.2223.00.1'
20241108@150420.1820 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2223.00.1'
20241108@150420.3260 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.3430 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.3690 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.3830 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.3910 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150420.4030 3ubl3g2ftt59bq5f7atjv1c752 Query : select sestamp valor from se where ref ='324.2223.00.1' and lote = 'r2301280100a'
20241108@150420.4170 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.4310 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.4420 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e247503672e28740a','aut672e291091672e2873bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150420.4450 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.4590 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.4850 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e247503672e28740a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut672e291091672e2873bd' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241108@150420.7390 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150420.7420 3ubl3g2ftt59bq5f7atjv1c752 Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241108@150420.7650 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241108@150420.9210 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.9380 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.9660 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.9810 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.9900 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150420.1001 3ubl3g2ftt59bq5f7atjv1c752 Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400057200a'
20241108@150420.1016 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.1031 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.1043 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e203337672e287418','aut672e291091672e2873bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150420.1048 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.1063 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.1090 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e203337672e287418',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut672e291091672e2873bd' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241108@150420.1357 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.1373 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.1399 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.1416 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.1425 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150420.1439 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.1454 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.1467 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e240021672e287423','aut672e291091672e2873bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150420.1471 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.1487 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.1519 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut672e240021672e287423',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut672e291091672e2873bd' ,0,0 ,2,23.00,40000,?,?,?)
20241108@150420.1801 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150420.1805 3ubl3g2ftt59bq5f7atjv1c752 Query : select st.usalote valor from st where st.ref = '324.642.00.01'
20241108@150420.1826 3ubl3g2ftt59bq5f7atjv1c752 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.642.00.01'
20241108@150420.1983 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.2024 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.2048 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.2064 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.2073 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150420.2086 3ubl3g2ftt59bq5f7atjv1c752 Query : select sestamp valor from se where ref ='324.642.00.01' and lote = 'r2100892200a'
20241108@150420.2100 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.2115 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.2127 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e247776672e287433','aut672e291091672e2873bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150420.2131 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.2145 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.2175 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e247776672e287433',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut672e291091672e2873bd' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241108@150420.3561 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150420.3766 3ubl3g2ftt59bq5f7atjv1c752 Query : select st.usalote valor from st where st.ref = '324.4521.00.1'
20241108@150420.4274 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4521.00.1'
20241108@150420.4432 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.4447 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.4471 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.4485 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.4493 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150420.4507 3ubl3g2ftt59bq5f7atjv1c752 Query : select sestamp valor from se where ref ='324.4521.00.1' and lote = 'r2400052200a'
20241108@150420.4519 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.4533 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.4545 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e274517672e28746e','aut672e291091672e2873bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150420.4549 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.4564 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.4593 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e274517672e28746e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',32.000 ,'aut672e291091672e2873bd' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241108@150420.4858 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150420.4861 3ubl3g2ftt59bq5f7atjv1c752 Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20241108@150420.4883 3ubl3g2ftt59bq5f7atjv1c752 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.736.00.01'
20241108@150420.5023 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.5038 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.5064 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.5078 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.5087 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150420.5100 3ubl3g2ftt59bq5f7atjv1c752 Query : select sestamp valor from se where ref ='324.736.00.01' and lote = 'r2400239300a'
20241108@150420.5114 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.5127 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.5139 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e292640672e28747c','aut672e291091672e2873bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150420.5143 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.5157 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.5184 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e292640672e28747c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut672e291091672e2873bd' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20241108@150420.5432 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150420.5435 3ubl3g2ftt59bq5f7atjv1c752 Query : select st.usalote valor from st where st.ref = '324.1578.00.1'
20241108@150420.5453 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1578.00.1'
20241108@150420.5467 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.5482 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.5508 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.5523 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.5531 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150420.5543 3ubl3g2ftt59bq5f7atjv1c752 Query : select sestamp valor from se where ref ='324.1578.00.1' and lote = 'r2101115200a'
20241108@150420.5555 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.5569 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.5581 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e282807672e287487','aut672e291091672e2873bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150420.5585 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.5600 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.5628 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e282807672e287487',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut672e291091672e2873bd' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20241108@150420.5962 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150420.5965 3ubl3g2ftt59bq5f7atjv1c752 Query : select st.usalote valor from st where st.ref = '324.1578.00.1'
20241108@150420.5984 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1578.00.1'
20241108@150420.5998 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.6014 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.6038 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.6053 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.6062 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150420.6073 3ubl3g2ftt59bq5f7atjv1c752 Query : select sestamp valor from se where ref ='324.1578.00.1' and lote = 'r2101115200a'
20241108@150420.6085 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.6100 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.6111 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e268047672e287494','aut672e291091672e2873bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150420.6115 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.6129 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.6157 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e268047672e287494',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut672e291091672e2873bd' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241108@150420.6417 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150420.6421 3ubl3g2ftt59bq5f7atjv1c752 Query : select st.usalote valor from st where st.ref = '324.5342.00.1'
20241108@150420.6441 3ubl3g2ftt59bq5f7atjv1c752 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.5342.00.1'
20241108@150420.6583 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.6599 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.6624 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.6638 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.6646 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150420.6658 3ubl3g2ftt59bq5f7atjv1c752 Query : select sestamp valor from se where ref ='324.5342.00.1' and lote = 'r2300915100a'
20241108@150420.6672 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.6687 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.6699 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e233255672e2874a2','aut672e291091672e2873bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150420.6703 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.6717 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.6746 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e233255672e2874a2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',24.000 ,'aut672e291091672e2873bd' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20241108@150420.7017 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.7033 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.7059 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.7073 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.7081 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150420.7093 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.7107 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.7119 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e259074672e2874ad','aut672e291091672e2873bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150420.7123 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.7138 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.7166 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut672e259074672e2874ad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut672e291091672e2873bd' ,0,0 ,2,23.00,120000,?,?,?)
20241108@150420.7426 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150420.7429 3ubl3g2ftt59bq5f7atjv1c752 Query : select st.usalote valor from st where st.ref = '324.1461.00.1'
20241108@150420.7451 3ubl3g2ftt59bq5f7atjv1c752 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.1461.00.1'
20241108@150420.7595 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.7611 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.7636 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.7650 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.7659 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150420.7671 3ubl3g2ftt59bq5f7atjv1c752 Query : select sestamp valor from se where ref ='324.1461.00.1' and lote = 'r2100463200a'
20241108@150420.8773 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.8790 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.8801 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e298726672e2874d6','aut672e291091672e2873bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150420.8806 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.8821 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.8848 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e298726672e2874d6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut672e291091672e2873bd' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20241108@150420.9102 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150420.9105 3ubl3g2ftt59bq5f7atjv1c752 Query : select st.usalote valor from st where st.ref = '324.4930.00.1'
20241108@150420.9124 3ubl3g2ftt59bq5f7atjv1c752 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.4930.00.1'
20241108@150420.9267 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.9282 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.9306 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.9321 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.9329 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150420.9342 3ubl3g2ftt59bq5f7atjv1c752 Query : select sestamp valor from se where ref ='324.4930.00.1' and lote = 'r2400066200a'
20241108@150420.9354 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.9368 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.9380 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e273794672e2874e4','aut672e291091672e2873bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150420.9383 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.9398 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.9426 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e273794672e2874e4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut672e291091672e2873bd' ,0,0 ,2,23.00,150000,?,?,?,?,?)
20241108@150420.9672 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150420.9675 3ubl3g2ftt59bq5f7atjv1c752 Query : select st.usalote valor from st where st.ref = '324.4961.00.1'
20241108@150420.9695 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4961.00.1'
20241108@150420.9837 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.9856 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150420.9881 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.9897 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.9906 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150420.9919 3ubl3g2ftt59bq5f7atjv1c752 Query : select sestamp valor from se where ref ='324.4961.00.1' and lote = 'r2101092200a'
20241108@150420.9933 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.9950 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150420.9964 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e246775672e2874f2','aut672e291091672e2873bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150420.9968 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150420.9987 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150421.1600 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e246775672e2874f2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut672e291091672e2873bd' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241108@150421.2790 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150421.2820 3ubl3g2ftt59bq5f7atjv1c752 Query : select st.usalote valor from st where st.ref = '324.4902.00.1'
20241108@150421.3020 3ubl3g2ftt59bq5f7atjv1c752 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.4902.00.1'
20241108@150421.4450 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.4600 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150421.4870 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.5020 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150421.5110 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150421.5220 3ubl3g2ftt59bq5f7atjv1c752 Query : select sestamp valor from se where ref ='324.4902.00.1' and lote = 'r2400145200a'
20241108@150421.5350 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.5490 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150421.5600 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e270406672e28750d','aut672e291091672e2873bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150421.5640 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.5770 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150421.6040 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e270406672e28750d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut672e291091672e2873bd' ,0,0 ,2,23.00,170000,?,?,?,?,?)
20241108@150421.8730 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.8890 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150421.9170 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.9310 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150421.9400 3ubl3g2ftt59bq5f7atjv1c752 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150421.9520 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.9660 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150421.9770 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e282979672e287517','aut672e291091672e2873bd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150421.9810 3ubl3g2ftt59bq5f7atjv1c752 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.9950 3ubl3g2ftt59bq5f7atjv1c752 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150421.1022 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut672e282979672e287517',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut672e291091672e2873bd' ,0,0 ,2,23.00,180000,?,?,?)
20241108@150421.1287 3ubl3g2ftt59bq5f7atjv1c752 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut672e291091672e2873bd','2407409','wait',39,'adm09112754980.682000002')
20241108@150421.1359 3ubl3g2ftt59bq5f7atjv1c752 Query : use flama_phc
20241108@150421.1362 3ubl3g2ftt59bq5f7atjv1c752 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241108@150421.1394 3ubl3g2ftt59bq5f7atjv1c752 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3200';
20241108@150421.1429 3ubl3g2ftt59bq5f7atjv1c752 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3200';
20241108@150421.1478 3ubl3g2ftt59bq5f7atjv1c752 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3200';
20241108@150421.1507 3ubl3g2ftt59bq5f7atjv1c752 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3200';
20241108@150421.2228 k75d2t4mqfun31gel11t4s8i9n Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241108@150421.2239 k75d2t4mqfun31gel11t4s8i9n Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241108@150421.2337 k75d2t4mqfun31gel11t4s8i9n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3201';
20241108@150421.2394 k75d2t4mqfun31gel11t4s8i9n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3201';
20241108@150421.2451 k75d2t4mqfun31gel11t4s8i9n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3201';
20241108@150421.2478 k75d2t4mqfun31gel11t4s8i9n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3201';
20241108@150421.2537 k75d2t4mqfun31gel11t4s8i9n Query : use flama_phc
20241108@150421.2540 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241108@150421.2648 k75d2t4mqfun31gel11t4s8i9n Query : use flama_phc
20241108@150421.2651 k75d2t4mqfun31gel11t4s8i9n Query : select no, estab,szadrsdesc from szadrs where u_coddest=6625
20241108@150421.2750 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.642.00.01'
20241108@150421.2768 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407410 and bi.ref ='324.642.00.01' and bi.lordem =1
20241108@150421.3090 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20241108@150421.3147 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407410 and bi.ref ='324.4521.00.1' and bi.lordem =2
20241108@150421.3479 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20241108@150421.3498 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407410 and bi.ref ='324.4521.00.1' and bi.lordem =2
20241108@150421.3514 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1705.00.1'
20241108@150421.3667 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407410 and bi.ref ='324.1705.00.1' and bi.lordem =3
20241108@150421.3974 k75d2t4mqfun31gel11t4s8i9n Query : use flama_phc
20241108@150421.3977 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241108@150421.4009 k75d2t4mqfun31gel11t4s8i9n Query : use flama_phc
20241108@150421.4012 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 1 valor from td where td.ndoc = 39
20241108@150421.4040 k75d2t4mqfun31gel11t4s8i9n Query : use flama_phc
20241108@150421.4043 k75d2t4mqfun31gel11t4s8i9n 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')
20241108@150421.4071 k75d2t4mqfun31gel11t4s8i9n 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
20241108@150421.4106 k75d2t4mqfun31gel11t4s8i9n Query : use flama_phc
20241108@150421.4109 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20241108@150421.4137 k75d2t4mqfun31gel11t4s8i9n Query : use flama_phc
20241108@150421.4140 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241108@150421.4169 k75d2t4mqfun31gel11t4s8i9n Query : use flama_phc
20241108@150421.4171 k75d2t4mqfun31gel11t4s8i9n Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241108@150421.4210 k75d2t4mqfun31gel11t4s8i9n Query : use flama_phc
20241108@150421.4213 k75d2t4mqfun31gel11t4s8i9n Query : select szadrsstamp valor from szadrs where szadrsdesc='eldisser - mesur'
20241108@150421.4259 k75d2t4mqfun31gel11t4s8i9n Query : use flama_phc
20241108@150421.4262 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from td where ndoc = 39
20241108@150421.4273 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241108@150421.4288 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.4303 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150421.4321 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.4348 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150421.4375 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.4389 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150421.4401 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150421.4462 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150421.4474 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.4491 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150421.4507 k75d2t4mqfun31gel11t4s8i9n Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut672e210207672e28756b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241108@150421.4723 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.4741 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150421.4775 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241108@150421.4787 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241108@150421.4798 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241108@150421.4810 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241108@150421.4821 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241108@150421.4832 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241108@150421.4842 k75d2t4mqfun31gel11t4s8i9n Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut672e210207672e28756b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241108@150421.5144 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 fno valor from wsftdata order by fno desc
20241108@150421.5170 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.5185 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150421.5207 k75d2t4mqfun31gel11t4s8i9n Query : select 'normal' from dummy
20241108@150421.5221 k75d2t4mqfun31gel11t4s8i9n Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut672e210207672e28756b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1764,200500,0,'2024-11-08',39,'euro',0,0,2024 ,?,?)
20241108@150421.5500 k75d2t4mqfun31gel11t4s8i9n Query : use flama_phc
20241108@150421.5503 k75d2t4mqfun31gel11t4s8i9n Query : select st.usalote valor from st where st.ref = '324.642.00.01'
20241108@150421.5524 k75d2t4mqfun31gel11t4s8i9n 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.642.00.01'
20241108@150421.5537 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.5553 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150421.5578 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.5592 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150421.5601 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150421.5613 k75d2t4mqfun31gel11t4s8i9n Query : select sestamp valor from se where ref ='324.642.00.01' and lote = 'r2100892200a'
20241108@150421.5626 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.5641 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150421.5653 k75d2t4mqfun31gel11t4s8i9n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e289153672e287589','aut672e210207672e28756b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150421.5658 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.5672 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150421.5723 k75d2t4mqfun31gel11t4s8i9n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e289153672e287589',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut672e210207672e28756b' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241108@150421.5980 k75d2t4mqfun31gel11t4s8i9n Query : use flama_phc
20241108@150421.5983 k75d2t4mqfun31gel11t4s8i9n Query : select st.usalote valor from st where st.ref = '324.4521.00.1'
20241108@150421.6003 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4521.00.1'
20241108@150421.6016 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.6031 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150421.6057 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.6071 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150421.6080 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150421.6091 k75d2t4mqfun31gel11t4s8i9n Query : select sestamp valor from se where ref ='324.4521.00.1' and lote = 'r2400052200a'
20241108@150421.6103 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.6118 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150421.6129 k75d2t4mqfun31gel11t4s8i9n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e212858672e287595','aut672e210207672e28756b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150421.6133 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.6147 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150421.6175 k75d2t4mqfun31gel11t4s8i9n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e212858672e287595',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut672e210207672e28756b' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241108@150421.6423 k75d2t4mqfun31gel11t4s8i9n Query : use flama_phc
20241108@150421.6426 k75d2t4mqfun31gel11t4s8i9n Query : select st.usalote valor from st where st.ref = '324.4521.00.1'
20241108@150421.6445 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4521.00.1'
20241108@150421.6459 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.6474 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150421.6499 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.6514 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150421.6522 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150421.6535 k75d2t4mqfun31gel11t4s8i9n Query : select sestamp valor from se where ref ='324.4521.00.1' and lote = 'r2400052200a'
20241108@150421.6548 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.6562 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150421.6574 k75d2t4mqfun31gel11t4s8i9n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e261486672e28759f','aut672e210207672e28756b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150421.6578 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.6592 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150421.6620 k75d2t4mqfun31gel11t4s8i9n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e261486672e28759f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut672e210207672e28756b' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20241108@150421.6870 k75d2t4mqfun31gel11t4s8i9n Query : use flama_phc
20241108@150421.6873 k75d2t4mqfun31gel11t4s8i9n Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20241108@150421.6893 k75d2t4mqfun31gel11t4s8i9n 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.1705.00.1'
20241108@150421.7052 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.7790 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150421.8200 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.8216 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150421.8224 k75d2t4mqfun31gel11t4s8i9n Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150421.8236 k75d2t4mqfun31gel11t4s8i9n Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2400050500a'
20241108@150421.8250 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.8264 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150421.8276 k75d2t4mqfun31gel11t4s8i9n Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e273900672e2875c9','aut672e210207672e28756b' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150421.8280 k75d2t4mqfun31gel11t4s8i9n Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150421.8294 k75d2t4mqfun31gel11t4s8i9n Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150421.8321 k75d2t4mqfun31gel11t4s8i9n Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e273900672e2875c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut672e210207672e28756b' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20241108@150421.8626 k75d2t4mqfun31gel11t4s8i9n Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut672e210207672e28756b','2407410','wait',39,'adm09112754980.682000002')
20241108@150421.8702 k75d2t4mqfun31gel11t4s8i9n Query : use flama_phc
20241108@150421.8706 k75d2t4mqfun31gel11t4s8i9n Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241108@150421.8739 k75d2t4mqfun31gel11t4s8i9n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3201';
20241108@150421.8775 k75d2t4mqfun31gel11t4s8i9n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3201';
20241108@150421.8823 k75d2t4mqfun31gel11t4s8i9n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3201';
20241108@150421.8851 k75d2t4mqfun31gel11t4s8i9n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3201';
20241108@150421.9408 mt90n040mvgofrlt7v8md19o39 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241108@150421.9419 mt90n040mvgofrlt7v8md19o39 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241108@150421.9479 mt90n040mvgofrlt7v8md19o39 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3202';
20241108@150421.9535 mt90n040mvgofrlt7v8md19o39 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3202';
20241108@150421.9591 mt90n040mvgofrlt7v8md19o39 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3202';
20241108@150421.9619 mt90n040mvgofrlt7v8md19o39 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3202';
20241108@150421.9673 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150421.9676 mt90n040mvgofrlt7v8md19o39 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241108@150421.9744 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150421.9747 mt90n040mvgofrlt7v8md19o39 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6975
20241108@150421.9830 mt90n040mvgofrlt7v8md19o39 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'
20241108@150421.9983 mt90n040mvgofrlt7v8md19o39 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407411 and bi.ref ='324.1608.00.1' and bi.lordem =1
20241108@150422.3070 mt90n040mvgofrlt7v8md19o39 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'
20241108@150422.3300 mt90n040mvgofrlt7v8md19o39 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407411 and bi.ref ='304.421.00.04' and bi.lordem =2
20241108@150422.6420 mt90n040mvgofrlt7v8md19o39 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'
20241108@150422.1884 mt90n040mvgofrlt7v8md19o39 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407411 and bi.ref ='324.2222.00.1' and bi.lordem =3
20241108@150422.2200 mt90n040mvgofrlt7v8md19o39 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'
20241108@150422.2222 mt90n040mvgofrlt7v8md19o39 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407411 and bi.ref ='324.2223.00.1' and bi.lordem =4
20241108@150422.2524 mt90n040mvgofrlt7v8md19o39 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'
20241108@150422.2544 mt90n040mvgofrlt7v8md19o39 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407411 and bi.ref ='324.681.00.01' and bi.lordem =5
20241108@150422.2846 mt90n040mvgofrlt7v8md19o39 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'
20241108@150422.2869 mt90n040mvgofrlt7v8md19o39 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407411 and bi.ref ='324.681.00.01' and bi.lordem =5
20241108@150422.2889 mt90n040mvgofrlt7v8md19o39 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.642.00.01'
20241108@150422.2910 mt90n040mvgofrlt7v8md19o39 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407411 and bi.ref ='324.642.00.01' and bi.lordem =6
20241108@150422.3209 mt90n040mvgofrlt7v8md19o39 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20241108@150422.3235 mt90n040mvgofrlt7v8md19o39 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407411 and bi.ref ='324.4521.00.1' and bi.lordem =7
20241108@150422.3527 mt90n040mvgofrlt7v8md19o39 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4963.00.1'
20241108@150422.4789 mt90n040mvgofrlt7v8md19o39 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407411 and bi.ref ='324.4963.00.1' and bi.lordem =8
20241108@150422.5118 mt90n040mvgofrlt7v8md19o39 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.966.00.01'
20241108@150422.5271 mt90n040mvgofrlt7v8md19o39 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407411 and bi.ref ='324.966.00.01' and bi.lordem =9
20241108@150422.5594 mt90n040mvgofrlt7v8md19o39 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.969.00.01'
20241108@150422.5751 mt90n040mvgofrlt7v8md19o39 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407411 and bi.ref ='324.969.00.01' and bi.lordem =10
20241108@150422.6068 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150422.6073 mt90n040mvgofrlt7v8md19o39 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241108@150422.6109 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150422.6112 mt90n040mvgofrlt7v8md19o39 Query : select top 1 1 valor from td where td.ndoc = 39
20241108@150422.6146 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150422.6149 mt90n040mvgofrlt7v8md19o39 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')
20241108@150422.6183 mt90n040mvgofrlt7v8md19o39 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
20241108@150422.6222 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150422.6225 mt90n040mvgofrlt7v8md19o39 Query : select top 1 ~inactivo valor from cl where no = '200500' and estab = 0 order by inactivo desc
20241108@150422.6263 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150422.6267 mt90n040mvgofrlt7v8md19o39 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241108@150422.6302 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150422.6306 mt90n040mvgofrlt7v8md19o39 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241108@150422.6350 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150422.6353 mt90n040mvgofrlt7v8md19o39 Query : select szadrsstamp valor from szadrs where szadrsdesc='eldisser, s.a. - tarragona'
20241108@150422.6405 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150422.6411 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from td where ndoc = 39
20241108@150422.6427 mt90n040mvgofrlt7v8md19o39 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241108@150422.6444 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150422.6463 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150422.6485 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150422.6501 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150422.6533 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150422.6548 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150422.6562 mt90n040mvgofrlt7v8md19o39 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150422.6622 mt90n040mvgofrlt7v8md19o39 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150422.6637 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150422.6652 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150422.6671 mt90n040mvgofrlt7v8md19o39 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut672e201427672e2876a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241108@150422.6850 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150422.6869 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150422.6905 mt90n040mvgofrlt7v8md19o39 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241108@150422.6919 mt90n040mvgofrlt7v8md19o39 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241108@150422.6933 mt90n040mvgofrlt7v8md19o39 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241108@150422.6947 mt90n040mvgofrlt7v8md19o39 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241108@150422.6961 mt90n040mvgofrlt7v8md19o39 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241108@150422.6974 mt90n040mvgofrlt7v8md19o39 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241108@150422.6986 mt90n040mvgofrlt7v8md19o39 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut672e201427672e2876a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241108@150422.7242 mt90n040mvgofrlt7v8md19o39 Query : select top 1 fno valor from wsftdata order by fno desc
20241108@150422.7271 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150422.7289 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150422.7316 mt90n040mvgofrlt7v8md19o39 Query : select 'normal' from dummy
20241108@150422.7331 mt90n040mvgofrlt7v8md19o39 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut672e201427672e2876a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1765,200500,0,'2024-11-08',39,'euro',0,0,2024 ,?,?)
20241108@150422.7623 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150422.7626 mt90n040mvgofrlt7v8md19o39 Query : select st.usalote valor from st where st.ref = '324.1608.00.1'
20241108@150422.7676 mt90n040mvgofrlt7v8md19o39 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1608.00.1'
20241108@150422.9321 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150422.9686 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150422.9717 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150422.9732 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150422.9740 mt90n040mvgofrlt7v8md19o39 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150422.9753 mt90n040mvgofrlt7v8md19o39 Query : select sestamp valor from se where ref ='324.1608.00.1' and lote = 'r2400237100a'
20241108@150422.9776 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150422.9792 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150422.9804 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e282152672e2876ee','aut672e201427672e2876a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150422.9808 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150422.9824 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150422.9858 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e282152672e2876ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut672e201427672e2876a0' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20241108@150423.1180 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150423.1210 mt90n040mvgofrlt7v8md19o39 Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20241108@150423.1400 mt90n040mvgofrlt7v8md19o39 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '304.421.00.04'
20241108@150423.1550 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.1710 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.1980 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.2140 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.2220 mt90n040mvgofrlt7v8md19o39 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150423.2340 mt90n040mvgofrlt7v8md19o39 Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '241002'
20241108@150423.2460 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.2610 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.2720 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e274901672e287706','aut672e201427672e2876a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150423.2760 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.2900 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.3210 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e274901672e287706',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut672e201427672e2876a0' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20241108@150423.5770 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.5930 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.6200 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.6350 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.6430 mt90n040mvgofrlt7v8md19o39 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150423.6560 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.6710 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.6830 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e255114672e287710','aut672e201427672e2876a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150423.6870 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.7020 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.7310 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut672e255114672e287710',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut672e201427672e2876a0' ,0,0 ,2,23.00,30000,?,?,?)
20241108@150423.9830 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150423.9860 mt90n040mvgofrlt7v8md19o39 Query : select st.usalote valor from st where st.ref = '324.2222.00.1'
20241108@150423.1007 mt90n040mvgofrlt7v8md19o39 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.2222.00.1'
20241108@150423.1171 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.1188 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.1216 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.1233 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.1241 mt90n040mvgofrlt7v8md19o39 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150423.1253 mt90n040mvgofrlt7v8md19o39 Query : select sestamp valor from se where ref ='324.2222.00.1' and lote = 'r2301281400a'
20241108@150423.1270 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.1287 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.1299 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e205719672e28771f','aut672e201427672e2876a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150423.1303 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.1318 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.1345 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e205719672e28771f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut672e201427672e2876a0' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20241108@150423.1602 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150423.1605 mt90n040mvgofrlt7v8md19o39 Query : select st.usalote valor from st where st.ref = '324.2223.00.1'
20241108@150423.1624 mt90n040mvgofrlt7v8md19o39 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2223.00.1'
20241108@150423.1638 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.1656 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.1682 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.1697 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.1705 mt90n040mvgofrlt7v8md19o39 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150423.1717 mt90n040mvgofrlt7v8md19o39 Query : select sestamp valor from se where ref ='324.2223.00.1' and lote = 'r2301280100a'
20241108@150423.1730 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.1744 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.1755 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e250168672e28772a','aut672e201427672e2876a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150423.1759 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.1776 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.1804 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e250168672e28772a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut672e201427672e2876a0' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20241108@150423.2058 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150423.2062 mt90n040mvgofrlt7v8md19o39 Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241108@150423.2081 mt90n040mvgofrlt7v8md19o39 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241108@150423.2094 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.2110 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.2534 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.2549 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.2558 mt90n040mvgofrlt7v8md19o39 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150423.2570 mt90n040mvgofrlt7v8md19o39 Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400057200a'
20241108@150423.2581 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.2595 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.2606 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e281754672e28773f','aut672e201427672e2876a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150423.2611 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.2626 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.2654 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e281754672e28773f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut672e201427672e2876a0' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20241108@150423.3241 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.3258 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.3283 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.3297 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.3305 mt90n040mvgofrlt7v8md19o39 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150423.3317 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.3331 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.3685 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e226591672e287751','aut672e201427672e2876a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150423.3891 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.4519 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.4548 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut672e226591672e287751',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut672e201427672e2876a0' ,0,0 ,2,23.00,80000,?,?,?)
20241108@150423.4806 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150423.4809 mt90n040mvgofrlt7v8md19o39 Query : select st.usalote valor from st where st.ref = '324.681.00.01'
20241108@150423.4828 mt90n040mvgofrlt7v8md19o39 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.681.00.01'
20241108@150423.4841 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.4856 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.4881 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.4895 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.4903 mt90n040mvgofrlt7v8md19o39 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150423.4915 mt90n040mvgofrlt7v8md19o39 Query : select sestamp valor from se where ref ='324.681.00.01' and lote = 'r2400057200a'
20241108@150423.4927 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.4941 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.4951 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e288287672e287778','aut672e201427672e2876a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150423.4956 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.4970 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.4999 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e288287672e287778',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut672e201427672e2876a0' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20241108@150423.5326 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.5345 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.5370 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.5385 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.5393 mt90n040mvgofrlt7v8md19o39 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150423.5406 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.5421 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.5432 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e263243672e287783','aut672e201427672e2876a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150423.5436 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.5453 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.5481 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut672e263243672e287783',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut672e201427672e2876a0' ,0,0 ,2,23.00,110000,?,?,?)
20241108@150423.5741 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150423.5744 mt90n040mvgofrlt7v8md19o39 Query : select st.usalote valor from st where st.ref = '324.642.00.01'
20241108@150423.5764 mt90n040mvgofrlt7v8md19o39 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.642.00.01'
20241108@150423.5777 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.5793 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.5821 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.5835 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.5843 mt90n040mvgofrlt7v8md19o39 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150423.5855 mt90n040mvgofrlt7v8md19o39 Query : select sestamp valor from se where ref ='324.642.00.01' and lote = 'r2100892200a'
20241108@150423.5868 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.5882 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.5893 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e245522672e28778f','aut672e201427672e2876a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150423.5897 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.5913 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.5942 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e245522672e28778f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut672e201427672e2876a0' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20241108@150423.6195 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150423.6199 mt90n040mvgofrlt7v8md19o39 Query : select st.usalote valor from st where st.ref = '324.4521.00.1'
20241108@150423.6220 mt90n040mvgofrlt7v8md19o39 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4521.00.1'
20241108@150423.6236 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.6251 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.6280 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.6297 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.6306 mt90n040mvgofrlt7v8md19o39 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150423.6319 mt90n040mvgofrlt7v8md19o39 Query : select sestamp valor from se where ref ='324.4521.00.1' and lote = 'r2400052200a'
20241108@150423.6332 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.6349 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.6362 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e298431672e28779a','aut672e201427672e2876a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150423.6367 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.6382 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.6413 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e298431672e28779a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut672e201427672e2876a0' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20241108@150423.6675 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150423.6678 mt90n040mvgofrlt7v8md19o39 Query : select st.usalote valor from st where st.ref = '324.4963.00.1'
20241108@150423.6699 mt90n040mvgofrlt7v8md19o39 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4963.00.1'
20241108@150423.6853 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.6870 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.6896 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.6912 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.6921 mt90n040mvgofrlt7v8md19o39 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150423.6933 mt90n040mvgofrlt7v8md19o39 Query : select sestamp valor from se where ref ='324.4963.00.1' and lote = 'r2300717200a'
20241108@150423.6947 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.6963 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.6975 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e278613672e2877a9','aut672e201427672e2876a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150423.6980 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.6994 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.7025 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e278613672e2877a9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut672e201427672e2876a0' ,0,0 ,2,23.00,150000,?,?,?,?,?)
20241108@150423.7296 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150423.7300 mt90n040mvgofrlt7v8md19o39 Query : select st.usalote valor from st where st.ref = '324.966.00.01'
20241108@150423.7321 mt90n040mvgofrlt7v8md19o39 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.966.00.01'
20241108@150423.7465 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.7483 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.7510 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.7525 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.7535 mt90n040mvgofrlt7v8md19o39 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150423.7551 mt90n040mvgofrlt7v8md19o39 Query : select sestamp valor from se where ref ='324.966.00.01' and lote = 'r2400743200a'
20241108@150423.7567 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.7582 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.7594 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e259758672e2877b8','aut672e201427672e2876a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150423.7598 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.7614 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.7645 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e259758672e2877b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut672e201427672e2876a0' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20241108@150423.7913 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150423.7916 mt90n040mvgofrlt7v8md19o39 Query : select st.usalote valor from st where st.ref = '324.969.00.01'
20241108@150423.7941 mt90n040mvgofrlt7v8md19o39 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.969.00.01'
20241108@150423.8221 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.8236 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.8261 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.8318 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.8539 mt90n040mvgofrlt7v8md19o39 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20241108@150423.8656 mt90n040mvgofrlt7v8md19o39 Query : select sestamp valor from se where ref ='324.969.00.01' and lote = 'r2100601100a'
20241108@150423.8715 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.8733 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20241108@150423.8744 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut672e241618672e2877d4','aut672e201427672e2876a0' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20241108@150423.8749 mt90n040mvgofrlt7v8md19o39 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150423.8766 mt90n040mvgofrlt7v8md19o39 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150423.9136 mt90n040mvgofrlt7v8md19o39 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut672e241618672e2877d4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut672e201427672e2876a0' ,0,0 ,2,23.00,170000,?,?,?,?,?)
20241108@150423.9665 mt90n040mvgofrlt7v8md19o39 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut672e201427672e2876a0','2407411','wait',39,'adm09112754980.682000002')
20241108@150423.9777 mt90n040mvgofrlt7v8md19o39 Query : use flama_phc
20241108@150423.9780 mt90n040mvgofrlt7v8md19o39 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20241108@150423.9815 mt90n040mvgofrlt7v8md19o39 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3202';
20241108@150423.9853 mt90n040mvgofrlt7v8md19o39 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3202';
20241108@150423.9899 mt90n040mvgofrlt7v8md19o39 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3202';
20241108@150423.9928 mt90n040mvgofrlt7v8md19o39 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3202';
20241108@150424.1676 1hhu3gf5m2uc736ciru4kd6lrc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20241108@150424.1688 1hhu3gf5m2uc736ciru4kd6lrc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20241108@150424.1748 1hhu3gf5m2uc736ciru4kd6lrc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3203';
20241108@150424.1806 1hhu3gf5m2uc736ciru4kd6lrc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3203';
20241108@150424.1863 1hhu3gf5m2uc736ciru4kd6lrc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='3203';
20241108@150424.1890 1hhu3gf5m2uc736ciru4kd6lrc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='3203';
20241108@150424.1944 1hhu3gf5m2uc736ciru4kd6lrc Query : use flama_phc
20241108@150424.1948 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20241108@150424.2008 1hhu3gf5m2uc736ciru4kd6lrc Query : use flama_phc
20241108@150424.2012 1hhu3gf5m2uc736ciru4kd6lrc Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20241108@150424.2055 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241108@150424.2208 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407412 and bi.ref ='324.645.00.01' and bi.lordem =1
20241108@150424.2504 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241108@150424.2524 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407412 and bi.ref ='324.645.00.01' and bi.lordem =1
20241108@150424.2540 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241108@150424.2558 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407412 and bi.ref ='324.645.00.01' and bi.lordem =1
20241108@150424.2574 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241108@150424.2592 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407412 and bi.ref ='324.645.00.01' and bi.lordem =1
20241108@150424.2608 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241108@150424.2627 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407412 and bi.ref ='324.645.00.01' and bi.lordem =1
20241108@150424.2647 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241108@150424.2667 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407412 and bi.ref ='324.645.00.01' and bi.lordem =1
20241108@150424.2685 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241108@150424.2703 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407412 and bi.ref ='324.645.00.01' and bi.lordem =1
20241108@150424.2733 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241108@150424.2752 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407412 and bi.ref ='324.645.00.01' and bi.lordem =1
20241108@150424.2770 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241108@150424.2790 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407412 and bi.ref ='324.645.00.01' and bi.lordem =1
20241108@150424.2807 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241108@150424.2826 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407412 and bi.ref ='324.645.00.01' and bi.lordem =1
20241108@150424.2841 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241108@150424.2860 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407412 and bi.ref ='324.645.00.01' and bi.lordem =1
20241108@150424.2877 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241108@150424.2895 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407412 and bi.ref ='324.645.00.01' and bi.lordem =1
20241108@150424.2912 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241108@150424.2932 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407412 and bi.ref ='324.645.00.01' and bi.lordem =1
20241108@150424.2949 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241108@150424.2969 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407412 and bi.ref ='324.645.00.01' and bi.lordem =1
20241108@150424.2987 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241108@150424.3006 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407412 and bi.ref ='324.645.00.01' and bi.lordem =1
20241108@150424.3022 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241108@150424.3040 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407412 and bi.ref ='324.645.00.01' and bi.lordem =1
20241108@150424.3057 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241108@150424.3078 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407412 and bi.ref ='324.645.00.01' and bi.lordem =1
20241108@150424.3095 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20241108@150424.3115 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2074 and bo.obrano = 2407412 and bi.ref ='324.645.00.01' and bi.lordem =1
20241108@150424.3132 1hhu3gf5m2uc736ciru4kd6lrc Query : use flama_phc
20241108@150424.3135 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20241108@150424.3166 1hhu3gf5m2uc736ciru4kd6lrc Query : use flama_phc
20241108@150424.3169 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 1 valor from td where td.ndoc = 39
20241108@150424.3199 1hhu3gf5m2uc736ciru4kd6lrc Query : use flama_phc
20241108@150424.3201 1hhu3gf5m2uc736ciru4kd6lrc 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')
20241108@150424.3230 1hhu3gf5m2uc736ciru4kd6lrc 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
20241108@150424.3265 1hhu3gf5m2uc736ciru4kd6lrc Query : use flama_phc
20241108@150424.3268 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 ~inactivo valor from cl where no = '102943' and estab = 0 order by inactivo desc
20241108@150424.3298 1hhu3gf5m2uc736ciru4kd6lrc Query : use flama_phc
20241108@150424.3300 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 tipodoc,regrd from td where ndoc = 39
20241108@150424.3329 1hhu3gf5m2uc736ciru4kd6lrc Query : use flama_phc
20241108@150424.3332 1hhu3gf5m2uc736ciru4kd6lrc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20241108@150424.3375 1hhu3gf5m2uc736ciru4kd6lrc Query : use flama_phc
20241108@150424.3379 1hhu3gf5m2uc736ciru4kd6lrc Query : select szadrsstamp valor from szadrs where szadrsdesc='pll-plataformalogistica lisboa norte'
20241108@150424.3425 1hhu3gf5m2uc736ciru4kd6lrc Query : use flama_phc
20241108@150424.3428 1hhu3gf5m2uc736ciru4kd6lrc Query : select 1 valor from td where ndoc = 39
20241108@150424.3440 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20241108@150424.3453 1hhu3gf5m2uc736ciru4kd6lrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150424.3470 1hhu3gf5m2uc736ciru4kd6lrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150424.3490 1hhu3gf5m2uc736ciru4kd6lrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150424.3504 1hhu3gf5m2uc736ciru4kd6lrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150424.3534 1hhu3gf5m2uc736ciru4kd6lrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150424.3548 1hhu3gf5m2uc736ciru4kd6lrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150424.3561 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150424.3666 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20241108@150424.3690 1hhu3gf5m2uc736ciru4kd6lrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150424.3763 1hhu3gf5m2uc736ciru4kd6lrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20241108@150424.4122 1hhu3gf5m2uc736ciru4kd6lrc Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut672e250203672e287856' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20241108@150424.4459 1hhu3gf5m2uc736ciru4kd6lrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150424.4759 1hhu3gf5m2uc736ciru4kd6lrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20241108@150424.4796 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20241108@150424.4877 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20241108@150424.4912 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20241108@150424.5071 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20241108@150424.5086 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20241108@150424.5097 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20241108@150424.5109 1hhu3gf5m2uc736ciru4kd6lrc Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut672e250203672e287856',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20241108@150424.5631 1hhu3gf5m2uc736ciru4kd6lrc Query : select top 1 fno valor from wsftdata order by fno desc
20241108@150424.6378 1hhu3gf5m2uc736ciru4kd6lrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150424.6398 1hhu3gf5m2uc736ciru4kd6lrc Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20241108@150424.6421 1hhu3gf5m2uc736ciru4kd6lrc Query : select 'normal' from dummy
20241108@150424.6436 1hhu3gf5m2uc736ciru4kd6lrc Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut672e250203672e287856',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1766,102943,0,'2024-11-08',39,'euro',0,0,2024 ,?,?)
20241108@150424.6743 1hhu3gf5m2uc736ciru4kd6lrc Query : use flama_phc
20241108@150424.6747 1hhu3gf5m2uc736ciru4kd6lrc Query : select st.usalote valor from st where st.ref = '324.645.00.01'
20241108@150424.6773 1hhu3gf5m2uc736ciru4kd6lrc 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.645.00.01'
20241108@150424.6926 1hhu3gf5m2uc736ciru4kd6lrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20241108@150424.6944 1hhu3gf5m2uc736ciru4kd6lrc Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20241108@150424.6971 1hhu3gf5m2uc736ciru4kd6lrc Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
