20240913@144032.2680 hblghr9erukgrkkshn5lvkovg4 INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20240913@144032.2678 hblghr9erukgrkkshn5lvkovg4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20240913@144032.2693 hblghr9erukgrkkshn5lvkovg4 Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e443131166e440d03e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240913@144032.2753 hblghr9erukgrkkshn5lvkovg4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240913@144032.2768 hblghr9erukgrkkshn5lvkovg4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20240913@144032.2783 hblghr9erukgrkkshn5lvkovg4 Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e443131166e440d03e','--','bo',7.8747203579418344519 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240913@144032.2959 hblghr9erukgrkkshn5lvkovg4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240913@144032.2975 hblghr9erukgrkkshn5lvkovg4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20240913@144032.2987 hblghr9erukgrkkshn5lvkovg4 Query : insert into bo (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e443131166e440d03e','guia r. fornecedor','2024-09-13',61,2402618,?,?,?,?,?,?,?,?,2024, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240913@144035.6461 hblghr9erukgrkkshn5lvkovg4 Query : use flama_phc
20240913@144035.6466 hblghr9erukgrkkshn5lvkovg4 Query : select st.usalote valor from st where st.ref = '324.2300.00.1'
20240913@144035.6496 hblghr9erukgrkkshn5lvkovg4 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.2300.00.1'
20240913@144035.6730 hblghr9erukgrkkshn5lvkovg4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240913@144035.6748 hblghr9erukgrkkshn5lvkovg4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20240913@144035.6764 hblghr9erukgrkkshn5lvkovg4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240913@144035.6780 hblghr9erukgrkkshn5lvkovg4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20240913@144035.6791 hblghr9erukgrkkshn5lvkovg4 Query : select sestamp valor from se where ref ='324.2300.00.1' and lote = 'r2400497200a'
20240913@144035.6807 hblghr9erukgrkkshn5lvkovg4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240913@144035.6823 hblghr9erukgrkkshn5lvkovg4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20240913@144035.6834 hblghr9erukgrkkshn5lvkovg4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240913@144035.6849 hblghr9erukgrkkshn5lvkovg4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20240913@144035.6864 hblghr9erukgrkkshn5lvkovg4 Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e442206966e440d3a6',?,?,'20240913',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20240913@144035.7953 hblghr9erukgrkkshn5lvkovg4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240913@144035.8198 hblghr9erukgrkkshn5lvkovg4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240913@144035.8216 hblghr9erukgrkkshn5lvkovg4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20240913@144035.8229 hblghr9erukgrkkshn5lvkovg4 Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut66e443631866e440d3c8','aut66e443131166e440d03e',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from bo bo where bo.bostamp = 'aut66e443131166e440d03e'
20240913@144035.8409 hblghr9erukgrkkshn5lvkovg4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240913@144035.8430 hblghr9erukgrkkshn5lvkovg4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20240913@144035.8451 hblghr9erukgrkkshn5lvkovg4 Query : insert into bi (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,desconto,desc2,desc3,desc4,eslvu,slvu,esltt,sltt,oobistamp,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,obistamp ,stipo) select 'aut66e443631866e440d3c8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 7626, 7626*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,10000 ,4.47,4.47*200.48,4.47,4.47*200.48 ,0,0,'un ','' ,bo.marcada,1 ,4.47*7626,4.47*7626*200.48 ,6.599000,6.599000*200.48 ,6.599000,6.599000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,4.47,4.47*200.48,4.47*7626,4.47*7626*200.48,'cps24050936972,053000002 ',35.2,35.2*7626,35.2,35.2*7626,?,?,?,4 from bo bo where bo.bostamp = 'aut66e443131166e440d03e'
20240913@144056.4820 hblghr9erukgrkkshn5lvkovg4 Query : use flama_phc
20240913@144056.4870 hblghr9erukgrkkshn5lvkovg4 Query : declare @bostamp varchar(25) = 'aut66e443131166e440d03e' ,@bistamp varchar(25) = '' update bi set tecoval = qtt * ecoval ,etecoval = qtt * eecoval ,tecoval2 = qtt * ecoval2 ,etecoval2 = qtt * eecoval2 where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end -- se tiver classificação e não for normal, não calcula nada update bi set ttdeb = 0 ,ettdeb = 0 ,ttmoeda = 0 where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and bi.classifc <> '' and bi.classifc <> 'normal' -- no caso normal com moeda euro if exists ( select 1 from bo cross apply ( select valor moeda from para1 where descricao = 'ge_pteoueuro' ) par where bo.bostamp = @bostamp and bo.moeda = par.moeda ) begin -- sem ecovalores update bi set ettdeb = round(bi.qtt * ((bi.edebito * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100))), 6) ,ttdeb = round(bi.qtt * ((bi.debito * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100))), 6) ,ttmoeda = 0 from bi inner join bo on bi.bostamp = bo.bostamp where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.econotcalc = 1 -- com ecovalores update bi set ettdeb = round(bi.qtt * ( ( bi.edebito + ( iif(p.st_econotdesc = 1, - bi.eecoval2, bi.eecoval) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ) ) ) * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) ), 6) + ( bi.qtt * iif(p.st_econotdesc = 1, (bi.eecoval + bi.eecoval2) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ), 0) ) ,ttdeb = round(bi.qtt * ( ( bi.debito + ( iif(p.st_econotdesc = 1, - bi.ecoval2, bi.ecoval) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ) ) ) * (1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) ), 6) + ( bi.qtt * iif(p.st_econotdesc = 1, (bi.ecoval + bi.ecoval2) * ( 1 + iif(bi.ivaincl = 1 and tiva.taxa <> 0, tiva.taxa / 100, 0) ), 0) ) ,ttmoeda = 0 from bi inner join bo on bi.bostamp = bo.bostamp left join st on bi.ref = st.ref left join taxasiva tiva on bi.tabiva = tiva.codigo cross apply ( select max(valor) st_econotdesc from ( select case when valor = 's' then 1 else 0 end valor from para1 where descricao = 'st_econotdesc' union all select 0 ) a ) p where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.econotcalc = 0 --acrescenta os descontos em valor, caso existam: update bi set ettdeb = round(bi.ettdeb - (bi.qtt * bi.evaldesc), 2) ,ttdeb = round(bi.ttdeb - (bi.qtt * bi.valdesc), 2) ,ttmoeda = 0 from bi where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.valdesc <> 0 end else begin update bi set ttmoeda = round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2) ,ettdeb = case when bo2.cambio <> 0 then round((round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2)) / bo2.cambio, 2) else 0 end ,edebito = case when bi.qtt = 0 then 0 else round(abs(( case when bo2.cambio <> 0 then round((round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2)) / bo2.cambio, 2) else 0 end ) / (1 - bi.desconto / 100) / (1 - bi.desc2 / 100) / (1 - bi.desc3 / 100) / (1 - bi.desc4 / 100) / (1 - bi.desc5 / 100) / (1 - bi.desc6 / 100) / bi.qtt), 2) end ,debito = case when bi.qtt = 0 then 0 else round(abs(( case when bo2.cambio <> 0 then round((round((1 - bi.desconto / 100) * (1 - bi.desc2 / 100) * (1 - bi.desc3 / 100) * (1 - bi.desc4 / 100) * (1 - bi.desc5 / 100) * (1 - bi.desc6 / 100) * bi.qtt * bi.vumoeda, 2)) / bo2.cambio, 2) else 0 end ) / (1 - bi.desconto / 100) / (1 - bi.desc2 / 100) / (1 - bi.desc3 / 100) / (1 - bi.desc4 / 100) / (1 - bi.desc5 / 100) / (1 - bi.desc6 / 100) / bi.qtt), 2) end * 200.482 from bi inner join bo2 on bi.bostamp = bo2.bo2stamp where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) update bi set ttdeb = round(bi.ttdeb - (bi.qtt * bi.valdesc), 2) ,ettdeb = round(bi.ettdeb - (bi.qtt * bi.evaldesc), 0) ,debito = round(bi.debito - (bi.qtt * bi.valdesc), 2) ,edebito = round(bi.edebito - (bi.qtt * bi.evaldesc), 2) where bi.bostamp = @bostamp and bi.bistamp = case when @bistamp <> '' then @bistamp else bi.bistamp end and ( bi.classifc = '' or bi.classifc = 'normal' ) and bi.valdesc <> 0 end 
20240913@144115.1479 hblghr9erukgrkkshn5lvkovg4 Query : use flama_phc
20240913@144115.1482 hblghr9erukgrkkshn5lvkovg4 Query : select 1 valor from bo where bo.bostamp = 'aut66e443131166e440d03e'
20240913@144115.1574 hblghr9erukgrkkshn5lvkovg4 Query : declare @errno int ,@errmsg varchar(255) ,@prod bit ,@nrdec numeric(10, 0) ,@totaldeb numeric(18, 5) ,@etotaldeb numeric(19, 6) ,@total numeric(18, 5) ,@etotal numeric(19, 6) ,@custo numeric(18, 5) ,@ecusto numeric(19, 6) ,@bo_1iliq numeric(19, 6) ,@bo_2iliq numeric(19, 6) ,@base1 numeric(19, 6) ,@base2 numeric(19, 6) ,@moetotal numeric(13, 3) ,@smoe1 numeric(13, 3) ,@smoe2 numeric(13, 3) ,@smoe3 numeric(13, 3) ,@smoe4 numeric(13, 3) ,@bo11_bins numeric(18, 5) ,@bo21_bins numeric(18, 5) ,@bo31_bins numeric(18, 5) ,@bo41_bins numeric(18, 5) ,@bo51_bins numeric(18, 5) ,@bo61_bins numeric(18, 5) ,@bo71_bins numeric(18, 5) ,@bo81_bins numeric(18, 5) ,@bo91_bins numeric(18, 5) ,@bo12_bins numeric(18, 5) ,@bo22_bins numeric(18, 5) ,@bo32_bins numeric(18, 5) ,@bo42_bins numeric(18, 5) ,@bo52_bins numeric(18, 5) ,@bo62_bins numeric(18, 5) ,@bo72_bins numeric(18, 5) ,@bo82_bins numeric(18, 5) ,@bo92_bins numeric(18, 5) ,@ebo11_bins numeric(19, 6) ,@ebo21_bins numeric(19, 6) ,@ebo31_bins numeric(19, 6) ,@ebo41_bins numeric(19, 6) ,@ebo51_bins numeric(19, 6) ,@ebo61_bins numeric(19, 6) ,@ebo71_bins numeric(18, 5) ,@ebo81_bins numeric(18, 5) ,@ebo91_bins numeric(18, 5) ,@ebo12_bins numeric(19, 6) ,@ebo22_bins numeric(19, 6) ,@ebo32_bins numeric(19, 6) ,@ebo42_bins numeric(19, 6) ,@ebo52_bins numeric(19, 6) ,@ebo62_bins numeric(19, 6) ,@ebo72_bins numeric(18, 5) ,@ebo82_bins numeric(18, 5) ,@ebo92_bins numeric(18, 5) ,@bo11_iva numeric(18, 5) ,@bo21_iva numeric(18, 5) ,@bo31_iva numeric(18, 5) ,@bo41_iva numeric(18, 5) ,@bo51_iva numeric(18, 5) ,@bo61_iva numeric(18, 5) ,@bo71_iva numeric(18, 5) ,@bo81_iva numeric(18, 5) ,@bo91_iva numeric(18, 5) ,@bo12_iva numeric(18, 5) ,@bo22_iva numeric(18, 5) ,@bo32_iva numeric(18, 5) ,@bo42_iva numeric(18, 5) ,@bo52_iva numeric(18, 5) ,@bo62_iva numeric(18, 5) ,@bo72_iva numeric(18, 5) ,@bo82_iva numeric(18, 5) ,@bo92_iva numeric(18, 5) ,@ebo11_iva numeric(19, 6) ,@ebo21_iva numeric(19, 6) ,@ebo31_iva numeric(19, 6) ,@ebo41_iva numeric(19, 6) ,@ebo51_iva numeric(19, 6) ,@ebo61_iva numeric(19, 6) ,@ebo71_iva numeric(18, 5) ,@ebo81_iva numeric(18, 5) ,@ebo91_iva numeric(18, 5) ,@ebo12_iva numeric(19, 6) ,@ebo22_iva numeric(19, 6) ,@ebo32_iva numeric(19, 6) ,@ebo42_iva numeric(19, 6) ,@ebo52_iva numeric(19, 6) ,@ebo62_iva numeric(19, 6) ,@ebo72_iva numeric(18, 5) ,@ebo82_iva numeric(18, 5) ,@ebo92_iva numeric(18, 5) ,@esdeb1 numeric(19, 6) ,@esdeb2 numeric(19, 6) ,@esdeb3 numeric(19, 6) ,@esdeb4 numeric(19, 6) ,@sdeb1 numeric(18, 5) ,@sdeb2 numeric(18, 5) ,@sdeb3 numeric(18, 5) ,@sdeb4 numeric(18, 5) ,@estot1 numeric(19, 6) ,@estot2 numeric(19, 6) ,@estot3 numeric(19, 6) ,@estot4 numeric(19, 6) ,@stot1 numeric(18, 5) ,@stot2 numeric(18, 5) ,@stot3 numeric(18, 5) ,@stot4 numeric(18, 5) ,@ebo_1tvall numeric(19, 6) ,@ebo_2tvall numeric(19, 6) ,@bo_1tvall numeric(18, 5) ,@bo_2tvall numeric(18, 5) ,@ebo_totp1 numeric(19, 6) ,@ebo_totp2 numeric(19, 6) ,@bo_totp1 numeric(18, 5) ,@bo_totp2 numeric(18, 5) ,@sqtt11 numeric(13, 3) ,@sqtt21 numeric(13, 3) ,@sqtt12 numeric(13, 3) ,@sqtt22 numeric(13, 3) ,@sqtt13 numeric(13, 3) ,@sqtt23 numeric(13, 3) ,@sqtt14 numeric(13, 3) ,@sqtt24 numeric(13, 3) ,@userinis varchar (30) ,@mybostamp char(25) = 'aut66e443131166e440d03e' declare @totaisiva table ( bostamp varchar (25), codigo numeric(1), taxa numeric (5,2), ebaseinc numeric (19,6), baseinc numeric (18,5), evalor numeric (19,6), valor numeric (18,5) ) set @prod = ( select ts.producao from bo(nolock) inner join ts(nolock) on bo.ndos = ts.ndos and bo.bostamp = @mybostamp ) set @nrdec = ( select convert(numeric(10, 0), valor) from para1(nolock) where descricao = 'de_euro' ) --set @prod = 0 --set @nrdec = 2 select @ecusto = sum(bi.epcusto * bi.qtt) ,@custo = sum(bi.pcusto * bi.qtt) ,@bo11_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo21_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo31_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo41_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo51_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo61_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo71_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo81_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo91_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.qtt * bi.pu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo12_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo22_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo32_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo42_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo52_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo62_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo72_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo82_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo92_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo11_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo21_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo31_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo41_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo51_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo61_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo71_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo81_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo91_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo12_bins = sum(case when bi.tabiva = 1 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo22_bins = sum(case when bi.tabiva = 2 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo32_bins = sum(case when bi.tabiva = 3 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo42_bins = sum(case when bi.tabiva = 4 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo52_bins = sum(case when bi.tabiva = 5 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo62_bins = sum(case when bi.tabiva = 6 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo72_bins = sum(case when bi.tabiva = 7 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo82_bins = sum(case when bi.tabiva = 8 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@ebo92_bins = sum(case when bi.tabiva = 9 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@bo_1iliq = round(sum(bi.qtt * bi.epu), @nrdec) ,@bo_2iliq = round(sum(bi.ettdeb), @nrdec) ,@bo11_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo12_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo21_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo22_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo31_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo32_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo41_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo42_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo51_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo52_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo61_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo62_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo71_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo72_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo81_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo82_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo91_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.pu) * (bi.iva / 100) else (bi.qtt * bi.pu) - ((bi.qtt * bi.pu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@bo92_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then bi.ttdeb * (bi.iva / 100) else bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo11_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo12_iva = sum(case when bi.tabiva = 1 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo21_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo22_iva = sum(case when bi.tabiva = 2 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo31_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo32_iva = sum(case when bi.tabiva = 3 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo41_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo42_iva = sum(case when bi.tabiva = 4 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo51_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo52_iva = sum(case when bi.tabiva = 5 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo61_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo62_iva = sum(case when bi.tabiva = 6 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo71_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo72_iva = sum(case when bi.tabiva = 7 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo81_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else (bi.qtt * bi.epu) - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo82_iva = sum(case when bi.tabiva = 8 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo91_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then (bi.qtt * bi.epu) * (bi.iva / 100) else bi.ettdeb - ((bi.qtt * bi.epu) / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@ebo92_iva = sum(case when bi.tabiva = 9 then round(case when bi.ivaincl = 0 then bi.ettdeb * (bi.iva / 100) else bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) end, @nrdec) else 0 end) ,@esdeb1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.ettdeb else bi.ettdeb - round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@esdeb2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.ettdeb else bi.ettdeb - round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@esdeb3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.ettdeb else bi.ettdeb - round(bi.ettdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@esdeb4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.ettdeb else round(bi.ettdeb - (bi.ettdeb / (1 + bi.iva / 100)) * bi.iva / 100, @nrdec) end else 0 end) ,@sdeb1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.ttdeb else bi.ttdeb - round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@sdeb2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.ttdeb else bi.ttdeb - round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@sdeb3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.ttdeb else bi.ttdeb - round(bi.ttdeb / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@sdeb4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.ttdeb else round(bi.ttdeb - (bi.ttdeb / (1 + bi.iva / 100)) * bi.iva / 100, @nrdec) end else 0 end) ,@smoe1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@smoe2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@smoe3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@smoe4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.ttmoeda else round(bi.ttmoeda / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@estot4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.epu else round((bi.qtt * bi.epu) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot1 = sum(case when bi.stipo <= 1 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot2 = sum(case when bi.stipo = 2 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot3 = sum(case when bi.stipo = 3 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@stot4 = sum(case when bi.stipo = 4 then case when bi.ivaincl = 0 then bi.qtt * bi.pu else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end else 0 end) ,@total = @stot1 + @stot2 + @stot3 + @stot4 ,@etotal = @estot1 + @estot2 + @estot3 + @estot4 ,@totaldeb = @sdeb1 + @sdeb2 + @sdeb3 + @sdeb4 ,@etotaldeb = @esdeb1 + @esdeb2 + @esdeb3 + @esdeb4 ,@moetotal = @smoe1 + @smoe2 + @smoe3 + @smoe4 ,@ebo_1tvall = @ebo11_bins + @ebo21_bins + @ebo31_bins + @ebo41_bins + @ebo51_bins + @ebo61_bins + @ebo71_bins + @ebo81_bins + @ebo91_bins ,@ebo_2tvall = @ebo12_bins + @ebo22_bins + @ebo32_bins + @ebo42_bins + @ebo52_bins + @ebo62_bins + @ebo72_bins + @ebo82_bins + @ebo92_bins ,@bo_1tvall = @bo11_bins + @bo21_bins + @bo31_bins + @bo41_bins + @bo51_bins + @bo61_bins + @bo71_bins + @bo81_bins + @bo91_bins ,@bo_2tvall = @bo12_bins + @bo22_bins + @bo32_bins + @bo42_bins + @bo52_bins + @bo62_bins + @bo72_bins + @bo82_bins + @bo92_bins ,@ebo_totp1 = sum(case when bi.ivaincl = 0 then (bi.epu * bi.qtt) else round((bi.epu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@ebo_totp2 = sum(case when bi.ivaincl = 0 then (bi.edebito * bi.qtt) else round((bi.edebito * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@bo_totp1 = sum(case when bi.ivaincl = 0 then (bi.pu * bi.qtt) else round((bi.pu * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@bo_totp2 = sum(case when bi.ivaincl = 0 then (bi.debito * bi.qtt) else round((bi.debito * bi.qtt) / (1 + bi.iva / 100), @nrdec) end) ,@sqtt11 = sum(case when bi.stipo = 1 then bi.qtt else 0 end) ,@sqtt21 = sum(case when bi.stipo = 1 then bi.qtt else 0 end) ,@sqtt12 = sum(case when bi.stipo = 2 then bi.qtt else 0 end) ,@sqtt22 = sum(case when bi.stipo = 2 then bi.qtt else 0 end) ,@sqtt13 = sum(case when bi.stipo = 3 then bi.qtt else 0 end) ,@sqtt23 = sum(case when bi.stipo = 3 then bi.qtt else 0 end) ,@sqtt14 = sum(case when bi.stipo = 4 then bi.qtt else 0 end) ,@sqtt24 = sum(case when bi.stipo = 5 then bi.qtt else 0 end) from bi(nolock) where bi.bostamp = @mybostamp and bi.producao = case when @prod = 1 then 1 else bi.producao end and bi.composto = 0 and bi.qtt <> 0 update bo set bo.totaldeb = isnull(@totaldeb, 0) ,bo.total = isnull(@total, 0) ,bo.etotaldeb = isnull(@etotaldeb, 0) ,bo.moetotal = isnull(@moetotal, 0) ,bo.etotal = isnull(@etotal, 0) ,bo.ecusto = isnull(@ecusto, 0) ,bo.custo = isnull(@custo, 0) ,bo.bo11_bins = isnull(@bo11_bins, 0) ,bo.bo12_bins = isnull(@bo12_bins, 0) ,bo.bo21_bins = isnull(@bo21_bins, 0) ,bo.bo22_bins = isnull(@bo22_bins, 0) ,bo.bo31_bins = isnull(@bo31_bins, 0) ,bo.bo32_bins = isnull(@bo32_bins, 0) ,bo.bo41_bins = isnull(@bo41_bins, 0) ,bo.bo42_bins = isnull(@bo42_bins, 0) ,bo.bo51_bins = isnull(@bo51_bins, 0) ,bo.bo52_bins = isnull(@bo52_bins, 0) ,bo.bo61_bins = isnull(@bo61_bins, 0) ,bo.bo62_bins = isnull(@bo62_bins, 0) ,bo.ebo11_bins = isnull(@ebo11_bins, 0) ,bo.ebo12_bins = isnull(@ebo12_bins, 0) ,bo.ebo21_bins = isnull(@ebo21_bins, 0) ,bo.ebo22_bins = isnull(@ebo22_bins, 0) ,bo.ebo31_bins = isnull(@ebo31_bins, 0) ,bo.ebo32_bins = isnull(@ebo32_bins, 0) ,bo.ebo41_bins = isnull(@ebo41_bins, 0) ,bo.ebo42_bins = isnull(@ebo42_bins, 0) ,bo.ebo51_bins = isnull(@ebo51_bins, 0) ,bo.ebo52_bins = isnull(@ebo52_bins, 0) ,bo.ebo61_bins = isnull(@ebo61_bins, 0) ,bo.ebo62_bins = isnull(@ebo62_bins, 0) ,bo.bo11_iva = isnull(@bo11_iva, 0) ,bo.bo12_iva = isnull(@bo12_iva, 0) ,bo.bo21_iva = isnull(@bo21_iva, 0) ,bo.bo22_iva = isnull(@bo22_iva, 0) ,bo.bo31_iva = isnull(@bo31_iva, 0) ,bo.bo32_iva = isnull(@bo32_iva, 0) ,bo.bo41_iva = isnull(@bo41_iva, 0) ,bo.bo42_iva = isnull(@bo42_iva, 0) ,bo.bo51_iva = isnull(@bo51_iva, 0) ,bo.bo52_iva = isnull(@bo52_iva, 0) ,bo.bo61_iva = isnull(@bo61_iva, 0) ,bo.bo62_iva = isnull(@bo62_iva, 0) ,bo.ebo11_iva = isnull(@ebo11_iva, 0) ,bo.ebo12_iva = isnull(@ebo12_iva, 0) ,bo.ebo21_iva = isnull(@ebo21_iva, 0) ,bo.ebo22_iva = isnull(@ebo22_iva, 0) ,bo.ebo31_iva = isnull(@ebo31_iva, 0) ,bo.ebo32_iva = isnull(@ebo32_iva, 0) ,bo.ebo41_iva = isnull(@ebo41_iva, 0) ,bo.ebo42_iva = isnull(@ebo42_iva, 0) ,bo.ebo51_iva = isnull(@ebo51_iva, 0) ,bo.ebo52_iva = isnull(@ebo52_iva, 0) ,bo.ebo61_iva = isnull(@ebo61_iva, 0) ,bo.ebo62_iva = isnull(@ebo62_iva, 0) ,bo.esdeb1 = isnull(@esdeb1, 0) ,bo.esdeb2 = isnull(@esdeb2, 0) ,bo.esdeb3 = isnull(@esdeb3, 0) ,bo.esdeb4 = isnull(@esdeb4, 0) ,bo.sdeb1 = isnull(@sdeb1, 0) ,bo.sdeb2 = isnull(@sdeb2, 0) ,bo.sdeb3 = isnull(@sdeb3, 0) ,bo.sdeb4 = isnull(@sdeb4, 0) ,bo.smoe1 = isnull(@smoe1, 0) ,bo.smoe2 = isnull(@smoe2, 0) ,bo.smoe3 = isnull(@smoe3, 0) ,bo.smoe4 = isnull(@smoe4, 0) ,bo.estot1 = isnull(@estot1, 0) ,bo.estot2 = isnull(@estot2, 0) ,bo.estot3 = isnull(@estot3, 0) ,bo.estot4 = isnull(@estot4, 0) ,bo.stot1 = isnull(@stot1, 0) ,bo.stot2 = isnull(@stot2, 0) ,bo.stot3 = isnull(@stot3, 0) ,bo.stot4 = isnull(@stot4, 0) ,bo.ebo_1tvall = isnull(@ebo_1tvall, 0) ,bo.ebo_2tvall = isnull(@ebo_2tvall, 0) ,bo.bo_1tvall = isnull(@bo_1tvall, 0) ,bo.bo_2tvall = isnull(@bo_2tvall, 0) ,bo.ebo_totp1 = isnull(@ebo_totp1, 0) ,bo.ebo_totp2 = isnull(@ebo_totp2, 0) ,bo.bo_totp1 = isnull(@bo_totp1, 0) ,bo.bo_totp2 = isnull(@bo_totp2, 0) ,bo.sqtt11 = isnull(@sqtt11, 0) ,bo.sqtt21 = isnull(@sqtt21, 0) ,bo.sqtt12 = isnull(@sqtt12, 0) ,bo.sqtt22 = isnull(@sqtt22, 0) ,bo.sqtt13 = isnull(@sqtt13, 0) ,bo.sqtt23 = isnull(@sqtt23, 0) ,bo.sqtt14 = isnull(@sqtt14, 0) ,bo.sqtt24 = isnull(@sqtt24, 0) where bostamp = @mybostamp update bo2 set bo2.bo71_bins = isnull(@bo71_bins, 0) ,bo2.bo72_bins = isnull(@bo72_bins, 0) ,bo2.bo81_bins = isnull(@bo81_bins, 0) ,bo2.bo82_bins = isnull(@bo82_bins, 0) ,bo2.bo91_bins = isnull(@bo91_bins, 0) ,bo2.bo92_bins = isnull(@bo92_bins, 0) ,bo2.ebo71_bins = isnull(@ebo71_bins, 0) ,bo2.ebo72_bins = isnull(@ebo72_bins, 0) ,bo2.ebo81_bins = isnull(@ebo81_bins, 0) ,bo2.ebo82_bins = isnull(@ebo82_bins, 0) ,bo2.ebo91_bins = isnull(@ebo91_bins, 0) ,bo2.ebo92_bins = isnull(@ebo92_bins, 0) ,bo2.bo71_iva = isnull(@bo71_iva, 0) ,bo2.bo72_iva = isnull(@bo72_iva, 0) ,bo2.bo81_iva = isnull(@bo81_iva, 0) ,bo2.bo82_iva = isnull(@bo82_iva, 0) ,bo2.bo91_iva = isnull(@bo91_iva, 0) ,bo2.bo92_iva = isnull(@bo92_iva, 0) ,bo2.ebo71_iva = isnull(@ebo71_iva, 0) ,bo2.ebo72_iva = isnull(@ebo72_iva, 0) ,bo2.ebo81_iva = isnull(@ebo81_iva, 0) ,bo2.ebo82_iva = isnull(@ebo82_iva, 0) ,bo2.ebo91_iva = isnull(@ebo91_iva, 0) ,bo2.ebo92_iva = isnull(@ebo92_iva, 0) ,bo2.etotalciva = isnull(@etotaldeb, 0) + isnull(@ebo12_iva, 0) +isnull(@ebo22_iva, 0) +isnull(@ebo32_iva, 0) +isnull(@ebo42_iva, 0) +isnull(@ebo52_iva, 0) +isnull(@ebo62_iva, 0) +isnull(@ebo72_iva, 0) +isnull(@ebo82_iva, 0) +isnull(@ebo92_iva, 0) --,bo2.mtotalciva =isnull(@moetotal, 0) where bo2stamp = @mybostamp -- trata os bot select @userinis = usrinis from bo where bo.bostamp=@mybostamp insert into @totaisiva ( bostamp, codigo, taxa, ebaseinc, baseinc, evalor, valor ) select @mybostamp,codigo,taxa ,case when (@ebo11_bins <>0) then @ebo11_bins else @ebo12_bins end ,case when (@ebo11_bins <>0) then @bo11_bins else @bo12_bins end ,case when (@ebo11_bins <>0) then @ebo11_iva else @ebo12_iva end ,case when (@ebo11_bins <>0) then @bo11_iva else @bo12_iva end from taxasiva where codigo = 1 union all select @mybostamp,codigo,taxa ,case when (@ebo21_bins <>0) then @ebo21_bins else @ebo22_bins end ,case when (@ebo21_bins <>0) then @bo21_bins else @bo22_bins end ,case when (@ebo21_bins <>0) then @ebo21_iva else @ebo22_iva end ,case when (@ebo21_bins <>0) then @bo21_iva else @bo22_iva end from taxasiva where codigo = 2 union all select @mybostamp,codigo,taxa ,case when (@ebo31_bins <>0) then @ebo31_bins else @ebo32_bins end ,case when (@ebo31_bins <>0) then @bo31_bins else @bo32_bins end ,case when (@ebo31_bins <>0) then @ebo31_iva else @ebo32_iva end ,case when (@ebo31_bins <>0) then @bo31_iva else @bo32_iva end from taxasiva where codigo = 3 union all select @mybostamp,codigo,taxa ,case when (@ebo41_bins <>0) then @ebo41_bins else @ebo42_bins end ,case when (@ebo41_bins <>0) then @bo41_bins else @bo42_bins end ,case when (@ebo41_bins <>0) then @ebo41_iva else @ebo42_iva end ,case when (@ebo41_bins <>0) then @bo41_iva else @bo42_iva end from taxasiva where codigo = 4 union all select @mybostamp,codigo,taxa ,case when (@ebo51_bins <>0) then @ebo51_bins else @ebo52_bins end ,case when (@ebo51_bins <>0) then @bo51_bins else @bo52_bins end ,case when (@ebo51_bins <>0) then @ebo51_iva else @ebo52_iva end ,case when (@ebo51_bins <>0) then @bo51_iva else @bo52_iva end from taxasiva where codigo = 5 union all select @mybostamp,codigo,taxa ,case when (@ebo61_bins <>0) then @ebo61_bins else @ebo62_bins end ,case when (@ebo61_bins <>0) then @bo61_bins else @bo62_bins end ,case when (@ebo61_bins <>0) then @ebo61_iva else @ebo62_iva end ,case when (@ebo61_bins <>0) then @bo61_iva else @bo62_iva end from taxasiva where codigo = 6 union all select @mybostamp,codigo,taxa ,case when (@ebo71_bins <>0) then @ebo71_bins else @ebo72_bins end ,case when (@ebo71_bins <>0) then @bo71_bins else @bo72_bins end ,case when (@ebo71_bins <>0) then @ebo71_iva else @ebo72_iva end ,case when (@ebo71_bins <>0) then @bo71_iva else @bo72_iva end from taxasiva where codigo = 7 union all select @mybostamp,codigo,taxa ,case when (@ebo81_bins <>0) then @ebo81_bins else @ebo82_bins end ,case when (@ebo81_bins <>0) then @bo81_bins else @bo82_bins end ,case when (@ebo81_bins <>0) then @ebo81_iva else @ebo82_iva end ,case when (@ebo81_bins <>0) then @bo81_iva else @bo82_iva end from taxasiva where codigo = 8 union all select @mybostamp,codigo,taxa ,case when (@ebo91_bins <>0) then @ebo91_bins else @ebo92_bins end ,case when (@ebo91_bins <>0) then @bo91_bins else @bo92_bins end ,case when (@ebo91_bins <>0) then @ebo91_iva else @ebo92_iva end ,case when (@ebo91_bins <>0) then @bo91_iva else @bo92_iva end from taxasiva where codigo = 9 update bot set ebaseinc = totiva.ebaseinc, baseinc = totiva.baseinc, evalor = totiva.evalor, valor = totiva.valor, usrinis = @userinis, usrdata = convert (date,getdate()), usrhora = convert (time,getdate()) from @totaisiva totiva inner join bot on totiva.bostamp = bot.bostamp and totiva.codigo = bot.codigo insert into bot ( botstamp ,bostamp ,codigo ,taxa ,ebaseinc ,baseinc ,evalor ,valor ,ousrinis ,ousrdata ,ousrhora ,usrinis ,usrdata ,usrhora ) select ( left(@userinis,3) + 'tt' + left(newid(),5) + right(newid(),5) + left(newid(),5) + right(newid(),5)) stamp ,@mybostamp stampbo ,totiva.codigo ,totiva.taxa ,totiva.ebaseinc ,totiva.baseinc ,totiva.evalor ,totiva.valor ,@userinis ,convert (date,getdate()) ,convert (time,getdate()) ,@userinis ,convert (date,getdate()) ,convert (time,getdate()) from @totaisiva totiva left join bot on totiva.bostamp = bot.bostamp and totiva.codigo = bot.codigo where bot.botstamp is null -- atualiza os campo bi.series e bi.series2, caso tenha equipamentos update bi set series = s1, series2=s2 from bi inner join ( select distinct bistamp,ser.s1, ser.s2 from boma cross apply (select stuff ( ( select ',' + rtrim(serie) from boma myboma where myboma.bistamp = boma.bistamp order by serie for xml path('') ), 1, 1, '' ) s1 , stuff ( ( select ',' + rtrim(serie2) from boma myboma where myboma.bistamp = boma.bistamp order by serie for xml path('') ), 1, 1, '' ) s2 ) ser where boma.bostamp = @mybostamp ) myboma on bi.bistamp = myboma.bistamp where bi.bostamp = @mybostamp 
20240913@144117.3434 hblghr9erukgrkkshn5lvkovg4 Query : use flama_phc
20240913@144117.3437 hblghr9erukgrkkshn5lvkovg4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240913@144117.3488 hblghr9erukgrkkshn5lvkovg4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1987';
20240913@144117.3517 hblghr9erukgrkkshn5lvkovg4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1987';
20240913@151912.8161 s3o7i20gh5lomi8p4btaukmab9 Query : use flama_phc
20240913@151912.8202 s3o7i20gh5lomi8p4btaukmab9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240913@151912.8681 s3o7i20gh5lomi8p4btaukmab9 Query : use flama_phc
20240913@151912.8820 s3o7i20gh5lomi8p4btaukmab9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240913@153612.6538 v2e8va2auvgosgigeu59k7olq4 Query : use flama_phc
20240913@153612.6542 v2e8va2auvgosgigeu59k7olq4 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240913@153612.6634 v2e8va2auvgosgigeu59k7olq4 Query : use flama_phc
20240913@153612.6637 v2e8va2auvgosgigeu59k7olq4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240913@161915.2675 kjrgqd210tokhqc8lphiosuvq6 Query : use flama_phc
20240913@161915.2681 kjrgqd210tokhqc8lphiosuvq6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240913@161915.2899 kjrgqd210tokhqc8lphiosuvq6 Query : use flama_phc
20240913@161915.2903 kjrgqd210tokhqc8lphiosuvq6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240913@163615.4368 7u9hevg1un0arortal6pl7lk6e Query : use flama_phc
20240913@163615.4373 7u9hevg1un0arortal6pl7lk6e Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240913@163615.4503 7u9hevg1un0arortal6pl7lk6e Query : use flama_phc
20240913@163615.4507 7u9hevg1un0arortal6pl7lk6e Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240913@171911.3636 lje4jo11ituqcs1givi40ceop5 Query : use flama_phc
20240913@171911.3642 lje4jo11ituqcs1givi40ceop5 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240913@171911.3765 lje4jo11ituqcs1givi40ceop5 Query : use flama_phc
20240913@171911.3769 lje4jo11ituqcs1givi40ceop5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240913@173611.4982 p7kr425i8nh4l7t41uvll3l3t6 Query : use flama_phc
20240913@173611.4986 p7kr425i8nh4l7t41uvll3l3t6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240913@173611.5184 p7kr425i8nh4l7t41uvll3l3t6 Query : use flama_phc
20240913@173611.5187 p7kr425i8nh4l7t41uvll3l3t6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240913@181914.1810 3v43548g2r8qia7j3l4lo8l0qv Query : use flama_phc
20240913@181914.1850 3v43548g2r8qia7j3l4lo8l0qv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240913@181914.3060 3v43548g2r8qia7j3l4lo8l0qv Query : use flama_phc
20240913@181914.3090 3v43548g2r8qia7j3l4lo8l0qv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240913@183614.1980 jlgttb4r4o7q6csdr1oufeoeg7 Query : use flama_phc
20240913@183614.1984 jlgttb4r4o7q6csdr1oufeoeg7 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240913@183614.2075 jlgttb4r4o7q6csdr1oufeoeg7 Query : use flama_phc
20240913@183614.2078 jlgttb4r4o7q6csdr1oufeoeg7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240913@191911.6621 k2fou7jg7tg8pusgmcv3nevklm Query : use flama_phc
20240913@191911.6625 k2fou7jg7tg8pusgmcv3nevklm Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240913@191911.6723 k2fou7jg7tg8pusgmcv3nevklm Query : use flama_phc
20240913@191911.6727 k2fou7jg7tg8pusgmcv3nevklm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240913@193611.5336 nmuqf95vbkocp5p0s2fnv6r6in Query : use flama_phc
20240913@193611.5342 nmuqf95vbkocp5p0s2fnv6r6in Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240913@193611.5583 nmuqf95vbkocp5p0s2fnv6r6in Query : use flama_phc
20240913@193611.5587 nmuqf95vbkocp5p0s2fnv6r6in Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240913@201913.9106 4ujdo6v5dg589m1mq191la9tn9 Query : use flama_phc
20240913@201913.9110 4ujdo6v5dg589m1mq191la9tn9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240913@201913.9255 4ujdo6v5dg589m1mq191la9tn9 Query : use flama_phc
20240913@201913.9258 4ujdo6v5dg589m1mq191la9tn9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240913@203613.6750 hf8ef4hdbd2sfnn1nb7e31l8dj Query : use flama_phc
20240913@203613.6754 hf8ef4hdbd2sfnn1nb7e31l8dj Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240913@203613.6851 hf8ef4hdbd2sfnn1nb7e31l8dj Query : use flama_phc
20240913@203613.6855 hf8ef4hdbd2sfnn1nb7e31l8dj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240913@211911.4381 jnqnmpnorvaufu0mp40qf5aogt Query : use flama_phc
20240913@211911.4404 jnqnmpnorvaufu0mp40qf5aogt Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240913@211911.4757 jnqnmpnorvaufu0mp40qf5aogt Query : use flama_phc
20240913@211911.4800 jnqnmpnorvaufu0mp40qf5aogt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240913@213611.4046 u12nsrj905n4m8334qdu75rr32 Query : use flama_phc
20240913@213611.4051 u12nsrj905n4m8334qdu75rr32 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240913@213611.4373 u12nsrj905n4m8334qdu75rr32 Query : use flama_phc
20240913@213611.4377 u12nsrj905n4m8334qdu75rr32 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240913@221909.7508 d80prpnt9f5phtul61gukfv7gp Query : use flama_phc
20240913@221909.7531 d80prpnt9f5phtul61gukfv7gp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240913@221909.7645 d80prpnt9f5phtul61gukfv7gp Query : use flama_phc
20240913@221909.7648 d80prpnt9f5phtul61gukfv7gp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240913@223609.6987 8gcm2d2h38j343658780ktibom Query : use flama_phc
20240913@223609.6991 8gcm2d2h38j343658780ktibom Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240913@223609.7078 8gcm2d2h38j343658780ktibom Query : use flama_phc
20240913@223609.7082 8gcm2d2h38j343658780ktibom Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240913@231912.9014 3h9h448kr5j8dgih8pb0rqu4at Query : use flama_phc
20240913@231912.9018 3h9h448kr5j8dgih8pb0rqu4at Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240913@231912.9114 3h9h448kr5j8dgih8pb0rqu4at Query : use flama_phc
20240913@231912.9117 3h9h448kr5j8dgih8pb0rqu4at Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240913@233613.5230 99ljfjhrgcqbecpnms2o5hfiqr Query : use flama_phc
20240913@233613.5260 99ljfjhrgcqbecpnms2o5hfiqr Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240913@233613.6140 99ljfjhrgcqbecpnms2o5hfiqr Query : use flama_phc
20240913@233613.6170 99ljfjhrgcqbecpnms2o5hfiqr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@071913.5321 uctvb0tuk074m8rgpc9jj46mo4 Query : use flama_phc
20240914@071913.5326 uctvb0tuk074m8rgpc9jj46mo4 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@071913.5474 uctvb0tuk074m8rgpc9jj46mo4 Query : use flama_phc
20240914@071913.5478 uctvb0tuk074m8rgpc9jj46mo4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@073654.9320 a7saplqlffhjvt312hk628sv7p Query : use flama_phc
20240914@073654.9360 a7saplqlffhjvt312hk628sv7p Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@073654.1025 a7saplqlffhjvt312hk628sv7p Query : use flama_phc
20240914@073654.1028 a7saplqlffhjvt312hk628sv7p Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@081911.8540 kabvfhitatqiel3hiem4kos0f0 Query : use flama_phc
20240914@081911.8545 kabvfhitatqiel3hiem4kos0f0 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@081911.8669 kabvfhitatqiel3hiem4kos0f0 Query : use flama_phc
20240914@081911.8673 kabvfhitatqiel3hiem4kos0f0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@083612.1727 mlp77jbq29r5lc5gef21b1uon7 Query : use flama_phc
20240914@083612.1732 mlp77jbq29r5lc5gef21b1uon7 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@083612.1813 mlp77jbq29r5lc5gef21b1uon7 Query : use flama_phc
20240914@083612.1816 mlp77jbq29r5lc5gef21b1uon7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@091911.5743 f4ltudk3898cv580d40qgjbmq0 Query : use flama_phc
20240914@091911.5748 f4ltudk3898cv580d40qgjbmq0 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@091911.5973 f4ltudk3898cv580d40qgjbmq0 Query : use flama_phc
20240914@091911.5977 f4ltudk3898cv580d40qgjbmq0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@093611.2733 ld83tmj0itk4sr1e71r9jgkthe Query : use flama_phc
20240914@093611.2738 ld83tmj0itk4sr1e71r9jgkthe Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@093611.2837 ld83tmj0itk4sr1e71r9jgkthe Query : use flama_phc
20240914@093611.2841 ld83tmj0itk4sr1e71r9jgkthe Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@101913.5700 qhglifs38735c731jiuvvq6cre Query : use flama_phc
20240914@101913.5750 qhglifs38735c731jiuvvq6cre Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@101913.6630 qhglifs38735c731jiuvvq6cre Query : use flama_phc
20240914@101913.6660 qhglifs38735c731jiuvvq6cre Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@103613.5472 namjn2nqse8d6pqj6uhj4nd42b Query : use flama_phc
20240914@103613.5476 namjn2nqse8d6pqj6uhj4nd42b Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@103613.5564 namjn2nqse8d6pqj6uhj4nd42b Query : use flama_phc
20240914@103613.5567 namjn2nqse8d6pqj6uhj4nd42b Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@111910.7974 1hqcgsbr686b9fvoddfm1rv5m0 Query : use flama_phc
20240914@111910.7979 1hqcgsbr686b9fvoddfm1rv5m0 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@111910.8070 1hqcgsbr686b9fvoddfm1rv5m0 Query : use flama_phc
20240914@111910.8081 1hqcgsbr686b9fvoddfm1rv5m0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@113610.8129 bcqujoa4lf811oukcqjoh05qdp Query : use flama_phc
20240914@113610.8134 bcqujoa4lf811oukcqjoh05qdp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@113610.8220 bcqujoa4lf811oukcqjoh05qdp Query : use flama_phc
20240914@113610.8224 bcqujoa4lf811oukcqjoh05qdp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@121912.2040 dn7v5p72lg7fa7esgr0c234451 Query : use flama_phc
20240914@121912.2080 dn7v5p72lg7fa7esgr0c234451 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@121912.2970 dn7v5p72lg7fa7esgr0c234451 Query : use flama_phc
20240914@121912.3010 dn7v5p72lg7fa7esgr0c234451 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@123612.2099 rd1pot07q74797lad7ium2r5h1 Query : use flama_phc
20240914@123612.2103 rd1pot07q74797lad7ium2r5h1 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@123612.2207 rd1pot07q74797lad7ium2r5h1 Query : use flama_phc
20240914@123612.2210 rd1pot07q74797lad7ium2r5h1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@131910.3323 bofmqvcdrkl434teatlbjlrluc Query : use flama_phc
20240914@131910.3327 bofmqvcdrkl434teatlbjlrluc Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@131910.3428 bofmqvcdrkl434teatlbjlrluc Query : use flama_phc
20240914@131910.3431 bofmqvcdrkl434teatlbjlrluc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@133610.8780 uuasoq8a8ql7l4pguk38424hfa Query : use flama_phc
20240914@133610.8830 uuasoq8a8ql7l4pguk38424hfa Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@133610.9680 uuasoq8a8ql7l4pguk38424hfa Query : use flama_phc
20240914@133610.9720 uuasoq8a8ql7l4pguk38424hfa Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@141911.6280 u9l4eg0qhcjfeln9lshsfhvlp0 Query : use flama_phc
20240914@141911.6320 u9l4eg0qhcjfeln9lshsfhvlp0 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@141911.7200 u9l4eg0qhcjfeln9lshsfhvlp0 Query : use flama_phc
20240914@141911.7230 u9l4eg0qhcjfeln9lshsfhvlp0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@143611.1900 j0uttbtlrbs3g1igja0sk7pmul Query : use flama_phc
20240914@143611.1940 j0uttbtlrbs3g1igja0sk7pmul Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@143611.2850 j0uttbtlrbs3g1igja0sk7pmul Query : use flama_phc
20240914@143611.2880 j0uttbtlrbs3g1igja0sk7pmul Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@151911.5828 ug9eb6k6lp1nov2a6pu5ndqkpq Query : use flama_phc
20240914@151911.5833 ug9eb6k6lp1nov2a6pu5ndqkpq Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@151911.5920 ug9eb6k6lp1nov2a6pu5ndqkpq Query : use flama_phc
20240914@151911.5923 ug9eb6k6lp1nov2a6pu5ndqkpq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@153611.5978 m7f2ntlfqo51l9c0641g3s20cf Query : use flama_phc
20240914@153611.6004 m7f2ntlfqo51l9c0641g3s20cf Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@153611.6338 m7f2ntlfqo51l9c0641g3s20cf Query : use flama_phc
20240914@153611.6342 m7f2ntlfqo51l9c0641g3s20cf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@161912.5270 nfu49gc85ot2htoo30jjlrn7f4 Query : use flama_phc
20240914@161912.5274 nfu49gc85ot2htoo30jjlrn7f4 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@161912.5355 nfu49gc85ot2htoo30jjlrn7f4 Query : use flama_phc
20240914@161912.5358 nfu49gc85ot2htoo30jjlrn7f4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@163612.6502 p8dio0apb07aah1ojp3giisoam Query : use flama_phc
20240914@163612.6506 p8dio0apb07aah1ojp3giisoam Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@163612.6597 p8dio0apb07aah1ojp3giisoam Query : use flama_phc
20240914@163612.6600 p8dio0apb07aah1ojp3giisoam Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@171915.7600 ml7imvumnu292o7jmiihjhp9r4 Query : use flama_phc
20240914@171915.8000 ml7imvumnu292o7jmiihjhp9r4 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@171915.1680 ml7imvumnu292o7jmiihjhp9r4 Query : use flama_phc
20240914@171915.1710 ml7imvumnu292o7jmiihjhp9r4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@173614.6717 3an05h6snvp7le7n0teki4oshg Query : use flama_phc
20240914@173614.6721 3an05h6snvp7le7n0teki4oshg Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@173614.6810 3an05h6snvp7le7n0teki4oshg Query : use flama_phc
20240914@173614.6813 3an05h6snvp7le7n0teki4oshg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@181910.3392 54ubjk3shn949bngdfpv2unj78 Query : use flama_phc
20240914@181910.3398 54ubjk3shn949bngdfpv2unj78 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@181910.3490 54ubjk3shn949bngdfpv2unj78 Query : use flama_phc
20240914@181910.3493 54ubjk3shn949bngdfpv2unj78 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@183610.7870 l3l2j9faqilqdkjv85f2c9kukn Query : use flama_phc
20240914@183610.7874 l3l2j9faqilqdkjv85f2c9kukn Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@183610.7957 l3l2j9faqilqdkjv85f2c9kukn Query : use flama_phc
20240914@183610.7961 l3l2j9faqilqdkjv85f2c9kukn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@191913.1574 qprha2br0rer98glvckdbrdol3 Query : use flama_phc
20240914@191913.1578 qprha2br0rer98glvckdbrdol3 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@191913.1668 qprha2br0rer98glvckdbrdol3 Query : use flama_phc
20240914@191913.1672 qprha2br0rer98glvckdbrdol3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@193613.1616 ab6cnmpdg9d5tig45pit8tv8l6 Query : use flama_phc
20240914@193613.1620 ab6cnmpdg9d5tig45pit8tv8l6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@193613.1723 ab6cnmpdg9d5tig45pit8tv8l6 Query : use flama_phc
20240914@193613.1726 ab6cnmpdg9d5tig45pit8tv8l6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@201914.2956 ooni89jg67kc48ia88ik8qd305 Query : use flama_phc
20240914@201914.2960 ooni89jg67kc48ia88ik8qd305 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@201914.3067 ooni89jg67kc48ia88ik8qd305 Query : use flama_phc
20240914@201914.3070 ooni89jg67kc48ia88ik8qd305 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@203613.5239 b1fe3bpd4q01sp9eb1grcs9bme Query : use flama_phc
20240914@203613.5243 b1fe3bpd4q01sp9eb1grcs9bme Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@203613.5334 b1fe3bpd4q01sp9eb1grcs9bme Query : use flama_phc
20240914@203613.5337 b1fe3bpd4q01sp9eb1grcs9bme Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@211911.1949 5h2j7jm95defnjskg9u11ivpg4 Query : use flama_phc
20240914@211911.1953 5h2j7jm95defnjskg9u11ivpg4 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@211911.2050 5h2j7jm95defnjskg9u11ivpg4 Query : use flama_phc
20240914@211911.2054 5h2j7jm95defnjskg9u11ivpg4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@213611.5769 nbem9vutinhb8jpuonct15qeja Query : use flama_phc
20240914@213611.5773 nbem9vutinhb8jpuonct15qeja Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@213611.5877 nbem9vutinhb8jpuonct15qeja Query : use flama_phc
20240914@213611.5881 nbem9vutinhb8jpuonct15qeja Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@221913.3130 m8o2jl73e84pctptt086106d9s Query : use flama_phc
20240914@221913.3160 m8o2jl73e84pctptt086106d9s Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@221913.4430 m8o2jl73e84pctptt086106d9s Query : use flama_phc
20240914@221913.4460 m8o2jl73e84pctptt086106d9s Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@223613.2000 gisc1m8m8vtaiaaefdlmkdgc1r Query : use flama_phc
20240914@223613.2040 gisc1m8m8vtaiaaefdlmkdgc1r Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@223613.3080 gisc1m8m8vtaiaaefdlmkdgc1r Query : use flama_phc
20240914@223613.3110 gisc1m8m8vtaiaaefdlmkdgc1r Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@231910.6127 jqkpgtvibdiotf1b0hta9uin3k Query : use flama_phc
20240914@231910.6133 jqkpgtvibdiotf1b0hta9uin3k Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@231910.6231 jqkpgtvibdiotf1b0hta9uin3k Query : use flama_phc
20240914@231910.6234 jqkpgtvibdiotf1b0hta9uin3k Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240914@233610.5774 mnqmb4i8tiem2k0ke7hiapdlov Query : use flama_phc
20240914@233610.5821 mnqmb4i8tiem2k0ke7hiapdlov Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240914@233610.6241 mnqmb4i8tiem2k0ke7hiapdlov Query : use flama_phc
20240914@233610.6271 mnqmb4i8tiem2k0ke7hiapdlov Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@071911.2816 tqvl7bebkh0ruffcubtcnbb867 Query : use flama_phc
20240915@071911.2820 tqvl7bebkh0ruffcubtcnbb867 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@071911.2980 tqvl7bebkh0ruffcubtcnbb867 Query : use flama_phc
20240915@071911.2984 tqvl7bebkh0ruffcubtcnbb867 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@073611.8980 i357gkii9g5vpljm9j5dilolnb Query : use flama_phc
20240915@073611.9020 i357gkii9g5vpljm9j5dilolnb Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@073611.9930 i357gkii9g5vpljm9j5dilolnb Query : use flama_phc
20240915@073611.9970 i357gkii9g5vpljm9j5dilolnb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@081912.5235 4vl8bb6la3il9rfg912qldb9rf Query : use flama_phc
20240915@081912.5240 4vl8bb6la3il9rfg912qldb9rf Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@081912.5353 4vl8bb6la3il9rfg912qldb9rf Query : use flama_phc
20240915@081912.5356 4vl8bb6la3il9rfg912qldb9rf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@083612.4722 o82nd27pojukulmg8mrimpqdfc Query : use flama_phc
20240915@083612.4727 o82nd27pojukulmg8mrimpqdfc Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@083612.4814 o82nd27pojukulmg8mrimpqdfc Query : use flama_phc
20240915@083612.4817 o82nd27pojukulmg8mrimpqdfc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@091914.2232 ahe4dq83f3qu6qo28ldhec5bfj Query : use flama_phc
20240915@091914.2236 ahe4dq83f3qu6qo28ldhec5bfj Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@091914.2333 ahe4dq83f3qu6qo28ldhec5bfj Query : use flama_phc
20240915@091914.2337 ahe4dq83f3qu6qo28ldhec5bfj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@093613.9865 ikqef2pg1rk0801suv03g8v5t7 Query : use flama_phc
20240915@093613.9869 ikqef2pg1rk0801suv03g8v5t7 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@093613.9957 ikqef2pg1rk0801suv03g8v5t7 Query : use flama_phc
20240915@093613.9960 ikqef2pg1rk0801suv03g8v5t7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@101912.4456 dfb0bmflpkpq7e3h2sk48iocfr Query : use flama_phc
20240915@101912.4460 dfb0bmflpkpq7e3h2sk48iocfr Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@101912.4549 dfb0bmflpkpq7e3h2sk48iocfr Query : use flama_phc
20240915@101912.4552 dfb0bmflpkpq7e3h2sk48iocfr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@103612.5553 78r6qkn16lp3potpcn8h1q3hr4 Query : use flama_phc
20240915@103612.5557 78r6qkn16lp3potpcn8h1q3hr4 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@103612.5641 78r6qkn16lp3potpcn8h1q3hr4 Query : use flama_phc
20240915@103612.5644 78r6qkn16lp3potpcn8h1q3hr4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@111911.8845 3a1hkidsilcn9ic3n1ku0uria9 Query : use flama_phc
20240915@111911.8849 3a1hkidsilcn9ic3n1ku0uria9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@111911.8935 3a1hkidsilcn9ic3n1ku0uria9 Query : use flama_phc
20240915@111911.8939 3a1hkidsilcn9ic3n1ku0uria9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@113611.5599 pi5dupnd20ait0g0n00evps5ej Query : use flama_phc
20240915@113611.5603 pi5dupnd20ait0g0n00evps5ej Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@113611.5729 pi5dupnd20ait0g0n00evps5ej Query : use flama_phc
20240915@113611.5732 pi5dupnd20ait0g0n00evps5ej Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@121913.2090 fog0cgng6ns7h6aqq04ov9n5md Query : use flama_phc
20240915@121913.2094 fog0cgng6ns7h6aqq04ov9n5md Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@121913.2197 fog0cgng6ns7h6aqq04ov9n5md Query : use flama_phc
20240915@121913.2200 fog0cgng6ns7h6aqq04ov9n5md Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@123613.7990 phpjn1u6e3jfatd928ju7o4725 Query : use flama_phc
20240915@123613.8030 phpjn1u6e3jfatd928ju7o4725 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@123613.8980 phpjn1u6e3jfatd928ju7o4725 Query : use flama_phc
20240915@123613.9010 phpjn1u6e3jfatd928ju7o4725 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@131906.3264 97ugplcvi15s8p4o6a1d5p9dgp Query : use flama_phc
20240915@131906.3268 97ugplcvi15s8p4o6a1d5p9dgp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@131906.3360 97ugplcvi15s8p4o6a1d5p9dgp Query : use flama_phc
20240915@131906.3363 97ugplcvi15s8p4o6a1d5p9dgp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@133606.6317 5t84c3s4kn9u0i961l58kiu61l Query : use flama_phc
20240915@133606.6322 5t84c3s4kn9u0i961l58kiu61l Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@133606.6412 5t84c3s4kn9u0i961l58kiu61l Query : use flama_phc
20240915@133606.6415 5t84c3s4kn9u0i961l58kiu61l Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@141916.9721 9c4g46bnijji185iejo2137on3 Query : use flama_phc
20240915@141916.9725 9c4g46bnijji185iejo2137on3 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@141916.9816 9c4g46bnijji185iejo2137on3 Query : use flama_phc
20240915@141916.9819 9c4g46bnijji185iejo2137on3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@143616.8802 n2rl4j8prdtn7ag11gvpd6q3ek Query : use flama_phc
20240915@143616.8806 n2rl4j8prdtn7ag11gvpd6q3ek Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@143616.8896 n2rl4j8prdtn7ag11gvpd6q3ek Query : use flama_phc
20240915@143616.8899 n2rl4j8prdtn7ag11gvpd6q3ek Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@151910.7580 shl9dq77cpnrn22d7r06j9r2r6 Query : use flama_phc
20240915@151910.7584 shl9dq77cpnrn22d7r06j9r2r6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@151910.7669 shl9dq77cpnrn22d7r06j9r2r6 Query : use flama_phc
20240915@151910.7672 shl9dq77cpnrn22d7r06j9r2r6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@153611.2370 tu4p3bssalsmf3sfr65njmotbq Query : use flama_phc
20240915@153611.2374 tu4p3bssalsmf3sfr65njmotbq Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@153611.2509 tu4p3bssalsmf3sfr65njmotbq Query : use flama_phc
20240915@153611.2512 tu4p3bssalsmf3sfr65njmotbq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@161911.1917 54508vhgse2srbhcp256j75t8g Query : use flama_phc
20240915@161911.1920 54508vhgse2srbhcp256j75t8g Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240915@161911.2003 54508vhgse2srbhcp256j75t8g Query : use flama_phc
20240915@161911.2006 54508vhgse2srbhcp256j75t8g Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163103.8270 jhfkh2e2atqs281g2d4ef97vpq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240915@163103.8580 jhfkh2e2atqs281g2d4ef97vpq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240915@163103.1083 jhfkh2e2atqs281g2d4ef97vpq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1988';
20240915@163103.1143 jhfkh2e2atqs281g2d4ef97vpq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1988';
20240915@163103.1204 jhfkh2e2atqs281g2d4ef97vpq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1988';
20240915@163103.1231 jhfkh2e2atqs281g2d4ef97vpq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1988';
20240915@163103.1293 jhfkh2e2atqs281g2d4ef97vpq Query : use flama_phc
20240915@163103.1296 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240915@163103.1392 jhfkh2e2atqs281g2d4ef97vpq Query : use flama_phc
20240915@163103.1395 jhfkh2e2atqs281g2d4ef97vpq Query : select no, estab,szadrsdesc from szadrs where u_coddest=416
20240915@163103.1485 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4421.00.1'
20240915@163103.1643 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405915 and bi.ref ='324.4421.00.1' and bi.lordem =1
20240915@163103.1979 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4421.00.1'
20240915@163103.2000 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405915 and bi.ref ='324.4421.00.1' and bi.lordem =1
20240915@163103.2017 jhfkh2e2atqs281g2d4ef97vpq Query : use flama_phc
20240915@163103.2020 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240915@163103.2253 jhfkh2e2atqs281g2d4ef97vpq Query : use flama_phc
20240915@163103.2295 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 1 valor from td where td.ndoc = 39
20240915@163103.2694 jhfkh2e2atqs281g2d4ef97vpq Query : use flama_phc
20240915@163103.2698 jhfkh2e2atqs281g2d4ef97vpq 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')
20240915@163103.2778 jhfkh2e2atqs281g2d4ef97vpq 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
20240915@163103.3086 jhfkh2e2atqs281g2d4ef97vpq Query : use flama_phc
20240915@163103.3090 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 ~inactivo valor from cl where no = '102079' and estab = 0 order by inactivo desc
20240915@163103.3228 jhfkh2e2atqs281g2d4ef97vpq Query : use flama_phc
20240915@163103.3241 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240915@163103.3347 jhfkh2e2atqs281g2d4ef97vpq Query : use flama_phc
20240915@163103.3351 jhfkh2e2atqs281g2d4ef97vpq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240915@163103.3428 jhfkh2e2atqs281g2d4ef97vpq Query : use flama_phc
20240915@163103.3431 jhfkh2e2atqs281g2d4ef97vpq Query : select szadrsstamp valor from szadrs where szadrsdesc='bragajav, lda.'
20240915@163103.3480 jhfkh2e2atqs281g2d4ef97vpq Query : use flama_phc
20240915@163103.3483 jhfkh2e2atqs281g2d4ef97vpq Query : select 1 valor from td where ndoc = 39
20240915@163103.3553 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240915@163103.3614 jhfkh2e2atqs281g2d4ef97vpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163103.3909 jhfkh2e2atqs281g2d4ef97vpq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163103.3984 jhfkh2e2atqs281g2d4ef97vpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163103.3998 jhfkh2e2atqs281g2d4ef97vpq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163103.4026 jhfkh2e2atqs281g2d4ef97vpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163103.4043 jhfkh2e2atqs281g2d4ef97vpq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163103.4065 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163103.4410 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163103.4516 jhfkh2e2atqs281g2d4ef97vpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163103.4533 jhfkh2e2atqs281g2d4ef97vpq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163103.4586 jhfkh2e2atqs281g2d4ef97vpq Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e6f3008466e6fdb763' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240915@163103.5391 jhfkh2e2atqs281g2d4ef97vpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163103.5875 jhfkh2e2atqs281g2d4ef97vpq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163103.6206 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240915@163103.6304 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240915@163103.6386 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240915@163103.6455 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240915@163103.6526 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240915@163103.6597 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240915@163103.6669 jhfkh2e2atqs281g2d4ef97vpq Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e6f3008466e6fdb763',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240915@163103.7619 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 fno valor from wsftdata order by fno desc
20240915@163103.7704 jhfkh2e2atqs281g2d4ef97vpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163103.7724 jhfkh2e2atqs281g2d4ef97vpq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163103.7749 jhfkh2e2atqs281g2d4ef97vpq Query : select 'normal' from dummy
20240915@163103.7793 jhfkh2e2atqs281g2d4ef97vpq Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e6f3008466e6fdb763',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',737,102079,0,'2024-09-15',39,'euro',0,0,2024 ,?,?)
20240915@163104.6260 jhfkh2e2atqs281g2d4ef97vpq Query : use flama_phc
20240915@163104.6310 jhfkh2e2atqs281g2d4ef97vpq Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20240915@163104.7470 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4421.00.1'
20240915@163104.8640 jhfkh2e2atqs281g2d4ef97vpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.8820 jhfkh2e2atqs281g2d4ef97vpq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163104.9240 jhfkh2e2atqs281g2d4ef97vpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.9430 jhfkh2e2atqs281g2d4ef97vpq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163104.9550 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163104.9990 jhfkh2e2atqs281g2d4ef97vpq Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2100324100a'
20240915@163104.1072 jhfkh2e2atqs281g2d4ef97vpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.1087 jhfkh2e2atqs281g2d4ef97vpq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163104.1101 jhfkh2e2atqs281g2d4ef97vpq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f6297266e6fdb81a','aut66e6f3008466e6fdb763' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163104.1155 jhfkh2e2atqs281g2d4ef97vpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.1173 jhfkh2e2atqs281g2d4ef97vpq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163104.1209 jhfkh2e2atqs281g2d4ef97vpq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f6297266e6fdb81a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',9.000 ,'aut66e6f3008466e6fdb763' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240915@163104.2364 jhfkh2e2atqs281g2d4ef97vpq Query : use flama_phc
20240915@163104.2367 jhfkh2e2atqs281g2d4ef97vpq Query : select st.usalote valor from st where st.ref = '324.4421.00.1'
20240915@163104.2392 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4421.00.1'
20240915@163104.2408 jhfkh2e2atqs281g2d4ef97vpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.2426 jhfkh2e2atqs281g2d4ef97vpq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163104.2468 jhfkh2e2atqs281g2d4ef97vpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.2494 jhfkh2e2atqs281g2d4ef97vpq Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163104.2504 jhfkh2e2atqs281g2d4ef97vpq Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163104.2518 jhfkh2e2atqs281g2d4ef97vpq Query : select sestamp valor from se where ref ='324.4421.00.1' and lote = 'r2100324100a'
20240915@163104.2534 jhfkh2e2atqs281g2d4ef97vpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.2553 jhfkh2e2atqs281g2d4ef97vpq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163104.2565 jhfkh2e2atqs281g2d4ef97vpq Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f9322266e6fdb83d','aut66e6f3008466e6fdb763' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163104.2576 jhfkh2e2atqs281g2d4ef97vpq Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.2592 jhfkh2e2atqs281g2d4ef97vpq Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163104.2625 jhfkh2e2atqs281g2d4ef97vpq Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f9322266e6fdb83d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66e6f3008466e6fdb763' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240915@163104.2881 jhfkh2e2atqs281g2d4ef97vpq Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e6f3008466e6fdb763','2405915','wait',39,'adm09112754980.682000002')
20240915@163104.2973 jhfkh2e2atqs281g2d4ef97vpq Query : use flama_phc
20240915@163104.2976 jhfkh2e2atqs281g2d4ef97vpq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163104.3008 jhfkh2e2atqs281g2d4ef97vpq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1988';
20240915@163104.3036 jhfkh2e2atqs281g2d4ef97vpq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1988';
20240915@163104.3074 jhfkh2e2atqs281g2d4ef97vpq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1988';
20240915@163104.3246 jhfkh2e2atqs281g2d4ef97vpq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1988';
20240915@163104.3884 i60srbar8g602jqs73tsodr8el Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240915@163104.4014 i60srbar8g602jqs73tsodr8el Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240915@163104.4086 i60srbar8g602jqs73tsodr8el Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1989';
20240915@163104.4144 i60srbar8g602jqs73tsodr8el Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1989';
20240915@163104.4198 i60srbar8g602jqs73tsodr8el Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1989';
20240915@163104.4223 i60srbar8g602jqs73tsodr8el Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1989';
20240915@163104.4270 i60srbar8g602jqs73tsodr8el Query : use flama_phc
20240915@163104.4275 i60srbar8g602jqs73tsodr8el Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240915@163104.4344 i60srbar8g602jqs73tsodr8el Query : use flama_phc
20240915@163104.4347 i60srbar8g602jqs73tsodr8el Query : select no, estab,szadrsdesc from szadrs where u_coddest=1246
20240915@163104.4441 i60srbar8g602jqs73tsodr8el Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5501.00.1'
20240915@163104.4587 i60srbar8g602jqs73tsodr8el Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405916 and bi.ref ='324.5501.00.1' and bi.lordem =1
20240915@163104.5302 i60srbar8g602jqs73tsodr8el Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20240915@163104.5463 i60srbar8g602jqs73tsodr8el Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405916 and bi.ref ='324.5540.00.1' and bi.lordem =2
20240915@163104.5780 i60srbar8g602jqs73tsodr8el Query : use flama_phc
20240915@163104.5784 i60srbar8g602jqs73tsodr8el Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240915@163104.5818 i60srbar8g602jqs73tsodr8el Query : use flama_phc
20240915@163104.5821 i60srbar8g602jqs73tsodr8el Query : select top 1 1 valor from td where td.ndoc = 39
20240915@163104.5858 i60srbar8g602jqs73tsodr8el Query : use flama_phc
20240915@163104.5861 i60srbar8g602jqs73tsodr8el 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')
20240915@163104.5888 i60srbar8g602jqs73tsodr8el 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
20240915@163104.5924 i60srbar8g602jqs73tsodr8el Query : use flama_phc
20240915@163104.5928 i60srbar8g602jqs73tsodr8el Query : select top 1 ~inactivo valor from cl where no = '102355' and estab = 0 order by inactivo desc
20240915@163104.6047 i60srbar8g602jqs73tsodr8el Query : use flama_phc
20240915@163104.6050 i60srbar8g602jqs73tsodr8el Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240915@163104.6079 i60srbar8g602jqs73tsodr8el Query : use flama_phc
20240915@163104.6082 i60srbar8g602jqs73tsodr8el Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240915@163104.6123 i60srbar8g602jqs73tsodr8el Query : use flama_phc
20240915@163104.6126 i60srbar8g602jqs73tsodr8el Query : select szadrsstamp valor from szadrs where szadrsdesc='caetano venancio gato carriÇo'
20240915@163104.7302 i60srbar8g602jqs73tsodr8el Query : use flama_phc
20240915@163104.7305 i60srbar8g602jqs73tsodr8el Query : select 1 valor from td where ndoc = 39
20240915@163104.7318 i60srbar8g602jqs73tsodr8el Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240915@163104.7332 i60srbar8g602jqs73tsodr8el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.7353 i60srbar8g602jqs73tsodr8el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163104.7370 i60srbar8g602jqs73tsodr8el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.7384 i60srbar8g602jqs73tsodr8el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163104.7411 i60srbar8g602jqs73tsodr8el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.7425 i60srbar8g602jqs73tsodr8el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163104.7437 i60srbar8g602jqs73tsodr8el Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163104.7505 i60srbar8g602jqs73tsodr8el Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163104.7518 i60srbar8g602jqs73tsodr8el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.7535 i60srbar8g602jqs73tsodr8el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163104.7551 i60srbar8g602jqs73tsodr8el Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e6f1665166e6fdb8b5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240915@163104.7737 i60srbar8g602jqs73tsodr8el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.7755 i60srbar8g602jqs73tsodr8el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163104.7788 i60srbar8g602jqs73tsodr8el Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240915@163104.7800 i60srbar8g602jqs73tsodr8el Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240915@163104.7811 i60srbar8g602jqs73tsodr8el Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240915@163104.8018 i60srbar8g602jqs73tsodr8el Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240915@163104.8157 i60srbar8g602jqs73tsodr8el Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240915@163104.8169 i60srbar8g602jqs73tsodr8el Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240915@163104.8181 i60srbar8g602jqs73tsodr8el Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e6f1665166e6fdb8b5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240915@163104.8444 i60srbar8g602jqs73tsodr8el Query : select top 1 fno valor from wsftdata order by fno desc
20240915@163104.8466 i60srbar8g602jqs73tsodr8el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.8482 i60srbar8g602jqs73tsodr8el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163104.8553 i60srbar8g602jqs73tsodr8el Query : select 'normal' from dummy
20240915@163104.8569 i60srbar8g602jqs73tsodr8el Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e6f1665166e6fdb8b5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',738,102355,0,'2024-09-15',39,'euro',0,0,2024 ,?,?)
20240915@163104.8870 i60srbar8g602jqs73tsodr8el Query : use flama_phc
20240915@163104.8872 i60srbar8g602jqs73tsodr8el Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20240915@163104.8897 i60srbar8g602jqs73tsodr8el 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.5501.00.1'
20240915@163104.9033 i60srbar8g602jqs73tsodr8el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.9049 i60srbar8g602jqs73tsodr8el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163104.9074 i60srbar8g602jqs73tsodr8el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.9089 i60srbar8g602jqs73tsodr8el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163104.9097 i60srbar8g602jqs73tsodr8el Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163104.9112 i60srbar8g602jqs73tsodr8el Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20240915@163104.9138 i60srbar8g602jqs73tsodr8el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.9158 i60srbar8g602jqs73tsodr8el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163104.9170 i60srbar8g602jqs73tsodr8el Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f2862866e6fdb8df','aut66e6f1665166e6fdb8b5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163104.9175 i60srbar8g602jqs73tsodr8el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.9190 i60srbar8g602jqs73tsodr8el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163104.9220 i60srbar8g602jqs73tsodr8el Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f2862866e6fdb8df',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e6f1665166e6fdb8b5' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240915@163104.9482 i60srbar8g602jqs73tsodr8el Query : use flama_phc
20240915@163104.9485 i60srbar8g602jqs73tsodr8el Query : select st.usalote valor from st where st.ref = '324.5540.00.1'
20240915@163104.9510 i60srbar8g602jqs73tsodr8el 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.5540.00.1'
20240915@163104.9653 i60srbar8g602jqs73tsodr8el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.9670 i60srbar8g602jqs73tsodr8el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163104.9697 i60srbar8g602jqs73tsodr8el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.9713 i60srbar8g602jqs73tsodr8el Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163104.9725 i60srbar8g602jqs73tsodr8el Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163104.9743 i60srbar8g602jqs73tsodr8el Query : select sestamp valor from se where ref ='324.5540.00.1' and lote = 'r2300830100a'
20240915@163104.9770 i60srbar8g602jqs73tsodr8el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.9784 i60srbar8g602jqs73tsodr8el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163104.9799 i60srbar8g602jqs73tsodr8el Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f8181366e6fdb8ee','aut66e6f1665166e6fdb8b5' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163104.9802 i60srbar8g602jqs73tsodr8el Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163104.9817 i60srbar8g602jqs73tsodr8el Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163104.9843 i60srbar8g602jqs73tsodr8el Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f8181366e6fdb8ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66e6f1665166e6fdb8b5' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240915@163105.9500 i60srbar8g602jqs73tsodr8el Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e6f1665166e6fdb8b5','2405916','wait',39,'adm09112754980.682000002')
20240915@163105.1770 i60srbar8g602jqs73tsodr8el Query : use flama_phc
20240915@163105.1800 i60srbar8g602jqs73tsodr8el Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163105.2090 i60srbar8g602jqs73tsodr8el Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1989';
20240915@163105.2500 i60srbar8g602jqs73tsodr8el Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1989';
20240915@163105.2870 i60srbar8g602jqs73tsodr8el Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1989';
20240915@163105.3100 i60srbar8g602jqs73tsodr8el Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1989';
20240915@163105.1007 ftm0n9fpnd7vuh3fod8e08pfrr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240915@163105.1018 ftm0n9fpnd7vuh3fod8e08pfrr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240915@163105.1073 ftm0n9fpnd7vuh3fod8e08pfrr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1990';
20240915@163105.1123 ftm0n9fpnd7vuh3fod8e08pfrr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1990';
20240915@163105.1174 ftm0n9fpnd7vuh3fod8e08pfrr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1990';
20240915@163105.1199 ftm0n9fpnd7vuh3fod8e08pfrr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1990';
20240915@163105.1253 ftm0n9fpnd7vuh3fod8e08pfrr Query : use flama_phc
20240915@163105.1256 ftm0n9fpnd7vuh3fod8e08pfrr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240915@163105.1324 ftm0n9fpnd7vuh3fod8e08pfrr Query : use flama_phc
20240915@163105.1327 ftm0n9fpnd7vuh3fod8e08pfrr Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20240915@163105.1413 ftm0n9fpnd7vuh3fod8e08pfrr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9326.00.1'
20240915@163105.3630 ftm0n9fpnd7vuh3fod8e08pfrr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405918 and bi.ref ='328.9326.00.1' and bi.lordem =1
20240915@163105.3968 ftm0n9fpnd7vuh3fod8e08pfrr Query : use flama_phc
20240915@163105.3971 ftm0n9fpnd7vuh3fod8e08pfrr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240915@163105.4005 ftm0n9fpnd7vuh3fod8e08pfrr Query : use flama_phc
20240915@163105.4008 ftm0n9fpnd7vuh3fod8e08pfrr Query : select top 1 1 valor from td where td.ndoc = 39
20240915@163105.4041 ftm0n9fpnd7vuh3fod8e08pfrr Query : use flama_phc
20240915@163105.4045 ftm0n9fpnd7vuh3fod8e08pfrr 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')
20240915@163105.4079 ftm0n9fpnd7vuh3fod8e08pfrr 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
20240915@163105.4113 ftm0n9fpnd7vuh3fod8e08pfrr Query : use flama_phc
20240915@163105.4115 ftm0n9fpnd7vuh3fod8e08pfrr Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240915@163105.4236 ftm0n9fpnd7vuh3fod8e08pfrr Query : use flama_phc
20240915@163105.4239 ftm0n9fpnd7vuh3fod8e08pfrr Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240915@163105.4270 ftm0n9fpnd7vuh3fod8e08pfrr Query : use flama_phc
20240915@163105.4273 ftm0n9fpnd7vuh3fod8e08pfrr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240915@163105.4317 ftm0n9fpnd7vuh3fod8e08pfrr Query : use flama_phc
20240915@163105.4320 ftm0n9fpnd7vuh3fod8e08pfrr Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20240915@163105.4368 ftm0n9fpnd7vuh3fod8e08pfrr Query : use flama_phc
20240915@163105.4371 ftm0n9fpnd7vuh3fod8e08pfrr Query : select 1 valor from td where ndoc = 39
20240915@163105.4384 ftm0n9fpnd7vuh3fod8e08pfrr Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240915@163105.4398 ftm0n9fpnd7vuh3fod8e08pfrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163105.4417 ftm0n9fpnd7vuh3fod8e08pfrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163105.4435 ftm0n9fpnd7vuh3fod8e08pfrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163105.4451 ftm0n9fpnd7vuh3fod8e08pfrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163105.4481 ftm0n9fpnd7vuh3fod8e08pfrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163105.4496 ftm0n9fpnd7vuh3fod8e08pfrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163105.4508 ftm0n9fpnd7vuh3fod8e08pfrr Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163105.4575 ftm0n9fpnd7vuh3fod8e08pfrr Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163105.4588 ftm0n9fpnd7vuh3fod8e08pfrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163105.4604 ftm0n9fpnd7vuh3fod8e08pfrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163105.4619 ftm0n9fpnd7vuh3fod8e08pfrr Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e6f1529166e6fdb96e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240915@163105.4801 ftm0n9fpnd7vuh3fod8e08pfrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163105.4817 ftm0n9fpnd7vuh3fod8e08pfrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163105.4849 ftm0n9fpnd7vuh3fod8e08pfrr Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240915@163105.4861 ftm0n9fpnd7vuh3fod8e08pfrr Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240915@163105.4875 ftm0n9fpnd7vuh3fod8e08pfrr Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240915@163105.4887 ftm0n9fpnd7vuh3fod8e08pfrr Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240915@163105.4900 ftm0n9fpnd7vuh3fod8e08pfrr Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240915@163105.4911 ftm0n9fpnd7vuh3fod8e08pfrr Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240915@163105.4925 ftm0n9fpnd7vuh3fod8e08pfrr Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e6f1529166e6fdb96e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240915@163105.5158 ftm0n9fpnd7vuh3fod8e08pfrr Query : select top 1 fno valor from wsftdata order by fno desc
20240915@163105.5179 ftm0n9fpnd7vuh3fod8e08pfrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163105.5196 ftm0n9fpnd7vuh3fod8e08pfrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163105.5219 ftm0n9fpnd7vuh3fod8e08pfrr Query : select 'normal' from dummy
20240915@163105.5238 ftm0n9fpnd7vuh3fod8e08pfrr Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e6f1529166e6fdb96e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',739,100810,0,'2024-09-15',39,'euro',0,0,2024 ,?,?)
20240915@163105.5514 ftm0n9fpnd7vuh3fod8e08pfrr Query : use flama_phc
20240915@163105.5517 ftm0n9fpnd7vuh3fod8e08pfrr Query : select st.usalote valor from st where st.ref = '328.9326.00.1'
20240915@163105.5551 ftm0n9fpnd7vuh3fod8e08pfrr 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 = '328.9326.00.1'
20240915@163105.5694 ftm0n9fpnd7vuh3fod8e08pfrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163105.5710 ftm0n9fpnd7vuh3fod8e08pfrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163105.5735 ftm0n9fpnd7vuh3fod8e08pfrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163105.5750 ftm0n9fpnd7vuh3fod8e08pfrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163105.5759 ftm0n9fpnd7vuh3fod8e08pfrr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163105.5772 ftm0n9fpnd7vuh3fod8e08pfrr Query : select sestamp valor from se where ref ='328.9326.00.1' and lote = 'r2300691100a'
20240915@163105.5796 ftm0n9fpnd7vuh3fod8e08pfrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163105.5810 ftm0n9fpnd7vuh3fod8e08pfrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163105.5823 ftm0n9fpnd7vuh3fod8e08pfrr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f1025166e6fdb98d','aut66e6f1529166e6fdb96e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163105.5827 ftm0n9fpnd7vuh3fod8e08pfrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163105.5841 ftm0n9fpnd7vuh3fod8e08pfrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163105.5869 ftm0n9fpnd7vuh3fod8e08pfrr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f1025166e6fdb98d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e6f1529166e6fdb96e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240915@163105.6116 ftm0n9fpnd7vuh3fod8e08pfrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163105.6131 ftm0n9fpnd7vuh3fod8e08pfrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163105.6158 ftm0n9fpnd7vuh3fod8e08pfrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163105.6173 ftm0n9fpnd7vuh3fod8e08pfrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163105.6300 ftm0n9fpnd7vuh3fod8e08pfrr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163105.6535 ftm0n9fpnd7vuh3fod8e08pfrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163105.6552 ftm0n9fpnd7vuh3fod8e08pfrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163105.6563 ftm0n9fpnd7vuh3fod8e08pfrr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f3142166e6fdb99f','aut66e6f1529166e6fdb96e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163105.6568 ftm0n9fpnd7vuh3fod8e08pfrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163105.6582 ftm0n9fpnd7vuh3fod8e08pfrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163105.6617 ftm0n9fpnd7vuh3fod8e08pfrr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f3142166e6fdb99f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f1529166e6fdb96e' ,0,0 ,2,23.00,20000,?,?,?)
20240915@163105.6872 ftm0n9fpnd7vuh3fod8e08pfrr Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e6f1529166e6fdb96e','2405918','wait',39,'adm09112754980.682000002')
20240915@163105.6949 ftm0n9fpnd7vuh3fod8e08pfrr Query : use flama_phc
20240915@163105.6951 ftm0n9fpnd7vuh3fod8e08pfrr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163105.6986 ftm0n9fpnd7vuh3fod8e08pfrr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1990';
20240915@163105.7014 ftm0n9fpnd7vuh3fod8e08pfrr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1990';
20240915@163105.7053 ftm0n9fpnd7vuh3fod8e08pfrr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1990';
20240915@163105.7105 ftm0n9fpnd7vuh3fod8e08pfrr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1990';
20240915@163105.7616 vciq9pa7b6odphnht8rrefkoh9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240915@163105.7628 vciq9pa7b6odphnht8rrefkoh9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240915@163105.7681 vciq9pa7b6odphnht8rrefkoh9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1991';
20240915@163105.7731 vciq9pa7b6odphnht8rrefkoh9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1991';
20240915@163105.7783 vciq9pa7b6odphnht8rrefkoh9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1991';
20240915@163105.7808 vciq9pa7b6odphnht8rrefkoh9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1991';
20240915@163105.7861 vciq9pa7b6odphnht8rrefkoh9 Query : use flama_phc
20240915@163105.7865 vciq9pa7b6odphnht8rrefkoh9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240915@163105.7930 vciq9pa7b6odphnht8rrefkoh9 Query : use flama_phc
20240915@163105.7933 vciq9pa7b6odphnht8rrefkoh9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240915@163105.8015 vciq9pa7b6odphnht8rrefkoh9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20240915@163105.8161 vciq9pa7b6odphnht8rrefkoh9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405919 and bi.ref ='324.1684.00.1' and bi.lordem =1
20240915@163105.8470 vciq9pa7b6odphnht8rrefkoh9 Query : use flama_phc
20240915@163105.8473 vciq9pa7b6odphnht8rrefkoh9 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240915@163105.8505 vciq9pa7b6odphnht8rrefkoh9 Query : use flama_phc
20240915@163105.8508 vciq9pa7b6odphnht8rrefkoh9 Query : select top 1 1 valor from td where td.ndoc = 39
20240915@163105.8538 vciq9pa7b6odphnht8rrefkoh9 Query : use flama_phc
20240915@163105.8541 vciq9pa7b6odphnht8rrefkoh9 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')
20240915@163105.8568 vciq9pa7b6odphnht8rrefkoh9 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
20240915@163105.8606 vciq9pa7b6odphnht8rrefkoh9 Query : use flama_phc
20240915@163105.8608 vciq9pa7b6odphnht8rrefkoh9 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240915@163105.8637 vciq9pa7b6odphnht8rrefkoh9 Query : use flama_phc
20240915@163105.8641 vciq9pa7b6odphnht8rrefkoh9 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240915@163105.8671 vciq9pa7b6odphnht8rrefkoh9 Query : use flama_phc
20240915@163105.8674 vciq9pa7b6odphnht8rrefkoh9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240915@163105.8717 vciq9pa7b6odphnht8rrefkoh9 Query : use flama_phc
20240915@163105.8720 vciq9pa7b6odphnht8rrefkoh9 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240915@163105.8765 vciq9pa7b6odphnht8rrefkoh9 Query : use flama_phc
20240915@163105.8767 vciq9pa7b6odphnht8rrefkoh9 Query : select 1 valor from td where ndoc = 39
20240915@163105.8781 vciq9pa7b6odphnht8rrefkoh9 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240915@163105.8796 vciq9pa7b6odphnht8rrefkoh9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163105.8813 vciq9pa7b6odphnht8rrefkoh9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163105.8832 vciq9pa7b6odphnht8rrefkoh9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163105.8846 vciq9pa7b6odphnht8rrefkoh9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163105.8875 vciq9pa7b6odphnht8rrefkoh9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163105.8889 vciq9pa7b6odphnht8rrefkoh9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163105.8904 vciq9pa7b6odphnht8rrefkoh9 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163105.8973 vciq9pa7b6odphnht8rrefkoh9 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163105.8986 vciq9pa7b6odphnht8rrefkoh9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163105.9000 vciq9pa7b6odphnht8rrefkoh9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163105.9015 vciq9pa7b6odphnht8rrefkoh9 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e6f0249166e6fdb9d9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240915@163105.9185 vciq9pa7b6odphnht8rrefkoh9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163105.9216 vciq9pa7b6odphnht8rrefkoh9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163106.5900 vciq9pa7b6odphnht8rrefkoh9 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240915@163106.4040 vciq9pa7b6odphnht8rrefkoh9 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240915@163106.4190 vciq9pa7b6odphnht8rrefkoh9 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240915@163106.4310 vciq9pa7b6odphnht8rrefkoh9 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240915@163106.4420 vciq9pa7b6odphnht8rrefkoh9 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240915@163106.4550 vciq9pa7b6odphnht8rrefkoh9 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240915@163106.4660 vciq9pa7b6odphnht8rrefkoh9 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e6f0249166e6fdb9d9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240915@163106.7150 vciq9pa7b6odphnht8rrefkoh9 Query : select top 1 fno valor from wsftdata order by fno desc
20240915@163106.7340 vciq9pa7b6odphnht8rrefkoh9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.7520 vciq9pa7b6odphnht8rrefkoh9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163106.7740 vciq9pa7b6odphnht8rrefkoh9 Query : select 'normal' from dummy
20240915@163106.7880 vciq9pa7b6odphnht8rrefkoh9 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e6f0249166e6fdb9d9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',740,100810,0,'2024-09-15',39,'euro',0,0,2024 ,?,?)
20240915@163106.1071 vciq9pa7b6odphnht8rrefkoh9 Query : use flama_phc
20240915@163106.1074 vciq9pa7b6odphnht8rrefkoh9 Query : select st.usalote valor from st where st.ref = '324.1684.00.1'
20240915@163106.1096 vciq9pa7b6odphnht8rrefkoh9 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1684.00.1'
20240915@163106.1246 vciq9pa7b6odphnht8rrefkoh9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.1262 vciq9pa7b6odphnht8rrefkoh9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163106.1288 vciq9pa7b6odphnht8rrefkoh9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.1306 vciq9pa7b6odphnht8rrefkoh9 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163106.1315 vciq9pa7b6odphnht8rrefkoh9 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163106.1328 vciq9pa7b6odphnht8rrefkoh9 Query : select sestamp valor from se where ref ='324.1684.00.1' and lote = 'r2301217200a'
20240915@163106.1353 vciq9pa7b6odphnht8rrefkoh9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.1373 vciq9pa7b6odphnht8rrefkoh9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163106.1385 vciq9pa7b6odphnht8rrefkoh9 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f1079966e6fdba21','aut66e6f0249166e6fdb9d9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163106.1389 vciq9pa7b6odphnht8rrefkoh9 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.1404 vciq9pa7b6odphnht8rrefkoh9 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163106.1430 vciq9pa7b6odphnht8rrefkoh9 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f1079966e6fdba21',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e6f0249166e6fdb9d9' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240915@163106.1679 vciq9pa7b6odphnht8rrefkoh9 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e6f0249166e6fdb9d9','2405919','wait',39,'adm09112754980.682000002')
20240915@163106.1758 vciq9pa7b6odphnht8rrefkoh9 Query : use flama_phc
20240915@163106.1762 vciq9pa7b6odphnht8rrefkoh9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163106.1791 vciq9pa7b6odphnht8rrefkoh9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1991';
20240915@163106.1819 vciq9pa7b6odphnht8rrefkoh9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1991';
20240915@163106.1859 vciq9pa7b6odphnht8rrefkoh9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1991';
20240915@163106.1882 vciq9pa7b6odphnht8rrefkoh9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1991';
20240915@163106.2616 9430tnqucqlchg11dehqhotl9i Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240915@163106.2627 9430tnqucqlchg11dehqhotl9i Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240915@163106.2680 9430tnqucqlchg11dehqhotl9i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1992';
20240915@163106.2734 9430tnqucqlchg11dehqhotl9i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1992';
20240915@163106.2786 9430tnqucqlchg11dehqhotl9i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1992';
20240915@163106.2813 9430tnqucqlchg11dehqhotl9i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1992';
20240915@163106.3869 9430tnqucqlchg11dehqhotl9i Query : use flama_phc
20240915@163106.3913 9430tnqucqlchg11dehqhotl9i Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240915@163106.3987 9430tnqucqlchg11dehqhotl9i Query : use flama_phc
20240915@163106.3990 9430tnqucqlchg11dehqhotl9i Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20240915@163106.4033 9430tnqucqlchg11dehqhotl9i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8152.00.1'
20240915@163106.4180 9430tnqucqlchg11dehqhotl9i Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405931 and bi.ref ='327.8152.00.1' and bi.lordem =1
20240915@163106.4493 9430tnqucqlchg11dehqhotl9i Query : use flama_phc
20240915@163106.4496 9430tnqucqlchg11dehqhotl9i Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240915@163106.4532 9430tnqucqlchg11dehqhotl9i Query : use flama_phc
20240915@163106.4535 9430tnqucqlchg11dehqhotl9i Query : select top 1 1 valor from td where td.ndoc = 39
20240915@163106.4571 9430tnqucqlchg11dehqhotl9i Query : use flama_phc
20240915@163106.4574 9430tnqucqlchg11dehqhotl9i 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')
20240915@163106.4601 9430tnqucqlchg11dehqhotl9i 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
20240915@163106.4637 9430tnqucqlchg11dehqhotl9i Query : use flama_phc
20240915@163106.4639 9430tnqucqlchg11dehqhotl9i Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240915@163106.4669 9430tnqucqlchg11dehqhotl9i Query : use flama_phc
20240915@163106.4671 9430tnqucqlchg11dehqhotl9i Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240915@163106.4704 9430tnqucqlchg11dehqhotl9i Query : use flama_phc
20240915@163106.4707 9430tnqucqlchg11dehqhotl9i Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240915@163106.4752 9430tnqucqlchg11dehqhotl9i Query : use flama_phc
20240915@163106.4754 9430tnqucqlchg11dehqhotl9i Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-plaza large formats rainha'
20240915@163106.4800 9430tnqucqlchg11dehqhotl9i Query : use flama_phc
20240915@163106.4803 9430tnqucqlchg11dehqhotl9i Query : select 1 valor from td where ndoc = 39
20240915@163106.4815 9430tnqucqlchg11dehqhotl9i Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240915@163106.4829 9430tnqucqlchg11dehqhotl9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.4847 9430tnqucqlchg11dehqhotl9i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163106.4867 9430tnqucqlchg11dehqhotl9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.4882 9430tnqucqlchg11dehqhotl9i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163106.4911 9430tnqucqlchg11dehqhotl9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.4926 9430tnqucqlchg11dehqhotl9i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163106.4938 9430tnqucqlchg11dehqhotl9i Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163106.5004 9430tnqucqlchg11dehqhotl9i Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163106.5016 9430tnqucqlchg11dehqhotl9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.5033 9430tnqucqlchg11dehqhotl9i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163106.5048 9430tnqucqlchg11dehqhotl9i Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e6f4714266e6fdba78' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240915@163106.5240 9430tnqucqlchg11dehqhotl9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.5256 9430tnqucqlchg11dehqhotl9i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163106.5287 9430tnqucqlchg11dehqhotl9i Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240915@163106.5299 9430tnqucqlchg11dehqhotl9i Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240915@163106.5310 9430tnqucqlchg11dehqhotl9i Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240915@163106.5322 9430tnqucqlchg11dehqhotl9i Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240915@163106.5336 9430tnqucqlchg11dehqhotl9i Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240915@163106.5348 9430tnqucqlchg11dehqhotl9i Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240915@163106.5360 9430tnqucqlchg11dehqhotl9i Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e6f4714266e6fdba78',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240915@163106.5614 9430tnqucqlchg11dehqhotl9i Query : select top 1 fno valor from wsftdata order by fno desc
20240915@163106.5636 9430tnqucqlchg11dehqhotl9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.5651 9430tnqucqlchg11dehqhotl9i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163106.5675 9430tnqucqlchg11dehqhotl9i Query : select 'normal' from dummy
20240915@163106.5690 9430tnqucqlchg11dehqhotl9i Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e6f4714266e6fdba78',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',741,100810,0,'2024-09-15',39,'euro',0,0,2024 ,?,?)
20240915@163106.5987 9430tnqucqlchg11dehqhotl9i Query : use flama_phc
20240915@163106.5990 9430tnqucqlchg11dehqhotl9i Query : select st.usalote valor from st where st.ref = '327.8152.00.1'
20240915@163106.6013 9430tnqucqlchg11dehqhotl9i 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 = '327.8152.00.1'
20240915@163106.6154 9430tnqucqlchg11dehqhotl9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.6169 9430tnqucqlchg11dehqhotl9i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163106.6194 9430tnqucqlchg11dehqhotl9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.6208 9430tnqucqlchg11dehqhotl9i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163106.6216 9430tnqucqlchg11dehqhotl9i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163106.6231 9430tnqucqlchg11dehqhotl9i Query : select sestamp valor from se where ref ='327.8152.00.1' and lote = 'r2200712200a'
20240915@163106.6253 9430tnqucqlchg11dehqhotl9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.6267 9430tnqucqlchg11dehqhotl9i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163106.6278 9430tnqucqlchg11dehqhotl9i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f0013066e6fdba98','aut66e6f4714266e6fdba78' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163106.6282 9430tnqucqlchg11dehqhotl9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.6495 9430tnqucqlchg11dehqhotl9i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163106.6658 9430tnqucqlchg11dehqhotl9i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f0013066e6fdba98',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e6f4714266e6fdba78' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240915@163106.6930 9430tnqucqlchg11dehqhotl9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.6948 9430tnqucqlchg11dehqhotl9i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163106.6975 9430tnqucqlchg11dehqhotl9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.6991 9430tnqucqlchg11dehqhotl9i Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163106.7000 9430tnqucqlchg11dehqhotl9i Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163106.7014 9430tnqucqlchg11dehqhotl9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.7031 9430tnqucqlchg11dehqhotl9i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163106.7043 9430tnqucqlchg11dehqhotl9i Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f9712266e6fdbaab','aut66e6f4714266e6fdba78' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163106.7048 9430tnqucqlchg11dehqhotl9i Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.7062 9430tnqucqlchg11dehqhotl9i Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163106.7090 9430tnqucqlchg11dehqhotl9i Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f9712266e6fdbaab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f4714266e6fdba78' ,0,0 ,2,23.00,20000,?,?,?)
20240915@163106.7326 9430tnqucqlchg11dehqhotl9i Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e6f4714266e6fdba78','2405931','wait',39,'adm09112754980.682000002')
20240915@163106.7408 9430tnqucqlchg11dehqhotl9i Query : use flama_phc
20240915@163106.7411 9430tnqucqlchg11dehqhotl9i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163106.7446 9430tnqucqlchg11dehqhotl9i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1992';
20240915@163106.7475 9430tnqucqlchg11dehqhotl9i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1992';
20240915@163106.7518 9430tnqucqlchg11dehqhotl9i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1992';
20240915@163106.7542 9430tnqucqlchg11dehqhotl9i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1992';
20240915@163106.8037 5jdqenbvr1h7honbvbdtrqflvl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240915@163106.8048 5jdqenbvr1h7honbvbdtrqflvl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240915@163106.8099 5jdqenbvr1h7honbvbdtrqflvl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1993';
20240915@163106.8153 5jdqenbvr1h7honbvbdtrqflvl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1993';
20240915@163106.8204 5jdqenbvr1h7honbvbdtrqflvl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1993';
20240915@163106.8227 5jdqenbvr1h7honbvbdtrqflvl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1993';
20240915@163106.8273 5jdqenbvr1h7honbvbdtrqflvl Query : use flama_phc
20240915@163106.8276 5jdqenbvr1h7honbvbdtrqflvl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240915@163106.8339 5jdqenbvr1h7honbvbdtrqflvl Query : use flama_phc
20240915@163106.8342 5jdqenbvr1h7honbvbdtrqflvl Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240915@163106.8387 5jdqenbvr1h7honbvbdtrqflvl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5347.00.1'
20240915@163106.8539 5jdqenbvr1h7honbvbdtrqflvl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405932 and bi.ref ='324.5347.00.1' and bi.lordem =1
20240915@163106.8853 5jdqenbvr1h7honbvbdtrqflvl Query : use flama_phc
20240915@163106.8856 5jdqenbvr1h7honbvbdtrqflvl Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240915@163106.8891 5jdqenbvr1h7honbvbdtrqflvl Query : use flama_phc
20240915@163106.8895 5jdqenbvr1h7honbvbdtrqflvl Query : select top 1 1 valor from td where td.ndoc = 39
20240915@163106.8925 5jdqenbvr1h7honbvbdtrqflvl Query : use flama_phc
20240915@163106.8927 5jdqenbvr1h7honbvbdtrqflvl 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')
20240915@163106.8962 5jdqenbvr1h7honbvbdtrqflvl 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
20240915@163106.8998 5jdqenbvr1h7honbvbdtrqflvl Query : use flama_phc
20240915@163106.9001 5jdqenbvr1h7honbvbdtrqflvl Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240915@163106.9030 5jdqenbvr1h7honbvbdtrqflvl Query : use flama_phc
20240915@163106.9033 5jdqenbvr1h7honbvbdtrqflvl Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240915@163106.9065 5jdqenbvr1h7honbvbdtrqflvl Query : use flama_phc
20240915@163106.9068 5jdqenbvr1h7honbvbdtrqflvl Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240915@163106.9105 5jdqenbvr1h7honbvbdtrqflvl Query : use flama_phc
20240915@163106.9112 5jdqenbvr1h7honbvbdtrqflvl Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240915@163106.9155 5jdqenbvr1h7honbvbdtrqflvl Query : use flama_phc
20240915@163106.9158 5jdqenbvr1h7honbvbdtrqflvl Query : select 1 valor from td where ndoc = 39
20240915@163106.9170 5jdqenbvr1h7honbvbdtrqflvl Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240915@163106.9183 5jdqenbvr1h7honbvbdtrqflvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.9199 5jdqenbvr1h7honbvbdtrqflvl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163106.9220 5jdqenbvr1h7honbvbdtrqflvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.9235 5jdqenbvr1h7honbvbdtrqflvl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163106.9264 5jdqenbvr1h7honbvbdtrqflvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.9281 5jdqenbvr1h7honbvbdtrqflvl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163106.9294 5jdqenbvr1h7honbvbdtrqflvl Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163106.9359 5jdqenbvr1h7honbvbdtrqflvl Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163106.9372 5jdqenbvr1h7honbvbdtrqflvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.9389 5jdqenbvr1h7honbvbdtrqflvl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163106.9404 5jdqenbvr1h7honbvbdtrqflvl Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e6f4361766e6fdbae2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240915@163106.9579 5jdqenbvr1h7honbvbdtrqflvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.9593 5jdqenbvr1h7honbvbdtrqflvl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163106.9626 5jdqenbvr1h7honbvbdtrqflvl Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240915@163106.9638 5jdqenbvr1h7honbvbdtrqflvl Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240915@163106.9650 5jdqenbvr1h7honbvbdtrqflvl Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240915@163106.9663 5jdqenbvr1h7honbvbdtrqflvl Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240915@163106.9675 5jdqenbvr1h7honbvbdtrqflvl Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240915@163106.9686 5jdqenbvr1h7honbvbdtrqflvl Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240915@163106.9700 5jdqenbvr1h7honbvbdtrqflvl Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e6f4361766e6fdbae2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240915@163106.9928 5jdqenbvr1h7honbvbdtrqflvl Query : select top 1 fno valor from wsftdata order by fno desc
20240915@163106.9946 5jdqenbvr1h7honbvbdtrqflvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163106.9963 5jdqenbvr1h7honbvbdtrqflvl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163106.9986 5jdqenbvr1h7honbvbdtrqflvl Query : select 'normal' from dummy
20240915@163107.1000 5jdqenbvr1h7honbvbdtrqflvl Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e6f4361766e6fdbae2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',742,100810,0,'2024-09-15',39,'euro',0,0,2024 ,?,?)
20240915@163107.2840 5jdqenbvr1h7honbvbdtrqflvl Query : use flama_phc
20240915@163107.2860 5jdqenbvr1h7honbvbdtrqflvl Query : select st.usalote valor from st where st.ref = '324.5347.00.1'
20240915@163107.3070 5jdqenbvr1h7honbvbdtrqflvl 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.5347.00.1'
20240915@163107.4520 5jdqenbvr1h7honbvbdtrqflvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163107.4680 5jdqenbvr1h7honbvbdtrqflvl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163107.4950 5jdqenbvr1h7honbvbdtrqflvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163107.5100 5jdqenbvr1h7honbvbdtrqflvl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163107.5210 5jdqenbvr1h7honbvbdtrqflvl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163107.5330 5jdqenbvr1h7honbvbdtrqflvl Query : select sestamp valor from se where ref ='324.5347.00.1' and lote = 'r2300915100a'
20240915@163107.5540 5jdqenbvr1h7honbvbdtrqflvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163107.5700 5jdqenbvr1h7honbvbdtrqflvl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163107.5850 5jdqenbvr1h7honbvbdtrqflvl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f1300166e6fdbb0d','aut66e6f4361766e6fdbae2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163107.5890 5jdqenbvr1h7honbvbdtrqflvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163107.6040 5jdqenbvr1h7honbvbdtrqflvl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163107.6310 5jdqenbvr1h7honbvbdtrqflvl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f1300166e6fdbb0d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',90.000 ,'aut66e6f4361766e6fdbae2' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240915@163107.8820 5jdqenbvr1h7honbvbdtrqflvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163107.8980 5jdqenbvr1h7honbvbdtrqflvl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163107.1154 5jdqenbvr1h7honbvbdtrqflvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163107.1173 5jdqenbvr1h7honbvbdtrqflvl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163107.1181 5jdqenbvr1h7honbvbdtrqflvl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163107.1194 5jdqenbvr1h7honbvbdtrqflvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163107.1210 5jdqenbvr1h7honbvbdtrqflvl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163107.1221 5jdqenbvr1h7honbvbdtrqflvl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f4677666e6fdbb1d','aut66e6f4361766e6fdbae2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163107.1226 5jdqenbvr1h7honbvbdtrqflvl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163107.1247 5jdqenbvr1h7honbvbdtrqflvl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163107.1277 5jdqenbvr1h7honbvbdtrqflvl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f4677666e6fdbb1d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f4361766e6fdbae2' ,0,0 ,2,23.00,20000,?,?,?)
20240915@163107.1542 5jdqenbvr1h7honbvbdtrqflvl Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e6f4361766e6fdbae2','2405932','wait',39,'adm09112754980.682000002')
20240915@163107.1645 5jdqenbvr1h7honbvbdtrqflvl Query : use flama_phc
20240915@163107.1648 5jdqenbvr1h7honbvbdtrqflvl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163107.1675 5jdqenbvr1h7honbvbdtrqflvl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1993';
20240915@163107.1710 5jdqenbvr1h7honbvbdtrqflvl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1993';
20240915@163107.1753 5jdqenbvr1h7honbvbdtrqflvl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1993';
20240915@163107.1855 5jdqenbvr1h7honbvbdtrqflvl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1993';
20240915@163107.2357 a8lvrsqrf6pc51ibcsh23uofr1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240915@163107.2368 a8lvrsqrf6pc51ibcsh23uofr1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240915@163107.2462 a8lvrsqrf6pc51ibcsh23uofr1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1994';
20240915@163107.4442 a8lvrsqrf6pc51ibcsh23uofr1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1994';
20240915@163107.4496 a8lvrsqrf6pc51ibcsh23uofr1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1994';
20240915@163107.4529 a8lvrsqrf6pc51ibcsh23uofr1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1994';
20240915@163107.4574 a8lvrsqrf6pc51ibcsh23uofr1 Query : use flama_phc
20240915@163107.4577 a8lvrsqrf6pc51ibcsh23uofr1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240915@163107.4647 a8lvrsqrf6pc51ibcsh23uofr1 Query : use flama_phc
20240915@163107.4650 a8lvrsqrf6pc51ibcsh23uofr1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240915@163107.4687 a8lvrsqrf6pc51ibcsh23uofr1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '326.595.00.01'
20240915@163107.4842 a8lvrsqrf6pc51ibcsh23uofr1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405934 and bi.ref ='326.595.00.01' and bi.lordem =1
20240915@163107.5144 a8lvrsqrf6pc51ibcsh23uofr1 Query : use flama_phc
20240915@163107.5147 a8lvrsqrf6pc51ibcsh23uofr1 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240915@163107.5219 a8lvrsqrf6pc51ibcsh23uofr1 Query : use flama_phc
20240915@163107.6305 a8lvrsqrf6pc51ibcsh23uofr1 Query : select top 1 1 valor from td where td.ndoc = 39
20240915@163107.6350 a8lvrsqrf6pc51ibcsh23uofr1 Query : use flama_phc
20240915@163107.6353 a8lvrsqrf6pc51ibcsh23uofr1 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')
20240915@163107.6383 a8lvrsqrf6pc51ibcsh23uofr1 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
20240915@163107.6423 a8lvrsqrf6pc51ibcsh23uofr1 Query : use flama_phc
20240915@163107.6426 a8lvrsqrf6pc51ibcsh23uofr1 Query : select top 1 ~inactivo valor from cl where no = '100810' and estab = 0 order by inactivo desc
20240915@163107.6455 a8lvrsqrf6pc51ibcsh23uofr1 Query : use flama_phc
20240915@163107.6458 a8lvrsqrf6pc51ibcsh23uofr1 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240915@163107.6490 a8lvrsqrf6pc51ibcsh23uofr1 Query : use flama_phc
20240915@163107.6493 a8lvrsqrf6pc51ibcsh23uofr1 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240915@163107.6538 a8lvrsqrf6pc51ibcsh23uofr1 Query : use flama_phc
20240915@163107.6543 a8lvrsqrf6pc51ibcsh23uofr1 Query : select szadrsstamp valor from szadrs where szadrsdesc='100810 - worten-equipamentos para o lar,sa.'
20240915@163107.6591 a8lvrsqrf6pc51ibcsh23uofr1 Query : use flama_phc
20240915@163107.6594 a8lvrsqrf6pc51ibcsh23uofr1 Query : select 1 valor from td where ndoc = 39
20240915@163107.6605 a8lvrsqrf6pc51ibcsh23uofr1 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240915@163107.6619 a8lvrsqrf6pc51ibcsh23uofr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163107.6634 a8lvrsqrf6pc51ibcsh23uofr1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163107.6653 a8lvrsqrf6pc51ibcsh23uofr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163107.6668 a8lvrsqrf6pc51ibcsh23uofr1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163107.6697 a8lvrsqrf6pc51ibcsh23uofr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163107.6711 a8lvrsqrf6pc51ibcsh23uofr1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163107.6725 a8lvrsqrf6pc51ibcsh23uofr1 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163107.6790 a8lvrsqrf6pc51ibcsh23uofr1 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163107.6802 a8lvrsqrf6pc51ibcsh23uofr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163107.6815 a8lvrsqrf6pc51ibcsh23uofr1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163107.6830 a8lvrsqrf6pc51ibcsh23uofr1 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e6f1880966e6fdbba4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240915@163107.7001 a8lvrsqrf6pc51ibcsh23uofr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163107.7018 a8lvrsqrf6pc51ibcsh23uofr1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163107.7051 a8lvrsqrf6pc51ibcsh23uofr1 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240915@163107.7063 a8lvrsqrf6pc51ibcsh23uofr1 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240915@163107.7078 a8lvrsqrf6pc51ibcsh23uofr1 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240915@163107.7090 a8lvrsqrf6pc51ibcsh23uofr1 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240915@163107.7102 a8lvrsqrf6pc51ibcsh23uofr1 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240915@163107.7113 a8lvrsqrf6pc51ibcsh23uofr1 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240915@163107.7125 a8lvrsqrf6pc51ibcsh23uofr1 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e6f1880966e6fdbba4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240915@163107.7353 a8lvrsqrf6pc51ibcsh23uofr1 Query : select top 1 fno valor from wsftdata order by fno desc
20240915@163107.7374 a8lvrsqrf6pc51ibcsh23uofr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163107.7389 a8lvrsqrf6pc51ibcsh23uofr1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163107.7411 a8lvrsqrf6pc51ibcsh23uofr1 Query : select 'normal' from dummy
20240915@163107.7430 a8lvrsqrf6pc51ibcsh23uofr1 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e6f1880966e6fdbba4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',743,100810,0,'2024-09-15',39,'euro',0,0,2024 ,?,?)
20240915@163107.7703 a8lvrsqrf6pc51ibcsh23uofr1 Query : use flama_phc
20240915@163107.7706 a8lvrsqrf6pc51ibcsh23uofr1 Query : select st.usalote valor from st where st.ref = '326.595.00.01'
20240915@163107.7727 a8lvrsqrf6pc51ibcsh23uofr1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '326.595.00.01'
20240915@163107.7867 a8lvrsqrf6pc51ibcsh23uofr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163107.7883 a8lvrsqrf6pc51ibcsh23uofr1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163107.7907 a8lvrsqrf6pc51ibcsh23uofr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163107.7922 a8lvrsqrf6pc51ibcsh23uofr1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163107.7930 a8lvrsqrf6pc51ibcsh23uofr1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163107.7946 a8lvrsqrf6pc51ibcsh23uofr1 Query : select sestamp valor from se where ref ='326.595.00.01' and lote = 'r2301243100a'
20240915@163107.7967 a8lvrsqrf6pc51ibcsh23uofr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163107.7981 a8lvrsqrf6pc51ibcsh23uofr1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163107.7992 a8lvrsqrf6pc51ibcsh23uofr1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f5914666e6fdbbc2','aut66e6f1880966e6fdbba4' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163107.7996 a8lvrsqrf6pc51ibcsh23uofr1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163107.8010 a8lvrsqrf6pc51ibcsh23uofr1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163107.8038 a8lvrsqrf6pc51ibcsh23uofr1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f5914666e6fdbbc2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66e6f1880966e6fdbba4' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240915@163107.8281 a8lvrsqrf6pc51ibcsh23uofr1 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e6f1880966e6fdbba4','2405934','wait',39,'adm09112754980.682000002')
20240915@163107.8361 a8lvrsqrf6pc51ibcsh23uofr1 Query : use flama_phc
20240915@163107.8364 a8lvrsqrf6pc51ibcsh23uofr1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163107.8394 a8lvrsqrf6pc51ibcsh23uofr1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1994';
20240915@163107.8422 a8lvrsqrf6pc51ibcsh23uofr1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1994';
20240915@163107.8464 a8lvrsqrf6pc51ibcsh23uofr1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1994';
20240915@163107.8491 a8lvrsqrf6pc51ibcsh23uofr1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1994';
20240915@163107.9078 n9j5q3s056pvl6r6f9e0urkgmm Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240915@163107.9093 n9j5q3s056pvl6r6f9e0urkgmm Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240915@163107.9145 n9j5q3s056pvl6r6f9e0urkgmm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1995';
20240915@163107.9200 n9j5q3s056pvl6r6f9e0urkgmm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1995';
20240915@163107.9252 n9j5q3s056pvl6r6f9e0urkgmm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1995';
20240915@163107.9280 n9j5q3s056pvl6r6f9e0urkgmm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1995';
20240915@163107.9328 n9j5q3s056pvl6r6f9e0urkgmm Query : use flama_phc
20240915@163107.9331 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240915@163107.9394 n9j5q3s056pvl6r6f9e0urkgmm Query : use flama_phc
20240915@163107.9397 n9j5q3s056pvl6r6f9e0urkgmm Query : select no, estab,szadrsdesc from szadrs where u_coddest=4779
20240915@163107.9528 n9j5q3s056pvl6r6f9e0urkgmm 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'
20240915@163107.9680 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405938 and bi.ref ='304.422.00.07' and bi.lordem =1
20240915@163107.9992 n9j5q3s056pvl6r6f9e0urkgmm 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'
20240915@163108.1400 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405938 and bi.ref ='304.422.00.07' and bi.lordem =1
20240915@163108.3100 n9j5q3s056pvl6r6f9e0urkgmm 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'
20240915@163108.1790 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405938 and bi.ref ='304.421.00.04' and bi.lordem =2
20240915@163108.4980 n9j5q3s056pvl6r6f9e0urkgmm 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'
20240915@163108.6730 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405938 and bi.ref ='324.4521.00.1' and bi.lordem =3
20240915@163108.9900 n9j5q3s056pvl6r6f9e0urkgmm 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'
20240915@163108.1133 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405938 and bi.ref ='324.4960.00.1' and bi.lordem =4
20240915@163108.1441 n9j5q3s056pvl6r6f9e0urkgmm Query : use flama_phc
20240915@163108.1444 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240915@163108.1475 n9j5q3s056pvl6r6f9e0urkgmm Query : use flama_phc
20240915@163108.1478 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 1 valor from td where td.ndoc = 39
20240915@163108.1512 n9j5q3s056pvl6r6f9e0urkgmm Query : use flama_phc
20240915@163108.1515 n9j5q3s056pvl6r6f9e0urkgmm 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')
20240915@163108.1552 n9j5q3s056pvl6r6f9e0urkgmm 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
20240915@163108.1588 n9j5q3s056pvl6r6f9e0urkgmm Query : use flama_phc
20240915@163108.1591 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 ~inactivo valor from cl where no = '101900' and estab = 0 order by inactivo desc
20240915@163108.1722 n9j5q3s056pvl6r6f9e0urkgmm Query : use flama_phc
20240915@163108.1724 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240915@163108.1754 n9j5q3s056pvl6r6f9e0urkgmm Query : use flama_phc
20240915@163108.1757 n9j5q3s056pvl6r6f9e0urkgmm Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240915@163108.1801 n9j5q3s056pvl6r6f9e0urkgmm Query : use flama_phc
20240915@163108.1804 n9j5q3s056pvl6r6f9e0urkgmm Query : select szadrsstamp valor from szadrs where szadrsdesc='101900 - pd - alcochete'
20240915@163108.1857 n9j5q3s056pvl6r6f9e0urkgmm Query : use flama_phc
20240915@163108.1860 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from td where ndoc = 39
20240915@163108.1872 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240915@163108.1886 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.1902 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163108.1923 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.1941 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163108.1971 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.1986 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163108.2000 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163108.2067 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163108.2081 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.2097 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163108.2114 n9j5q3s056pvl6r6f9e0urkgmm Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e6f8726766e6fdbc30' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240915@163108.2285 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.2303 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163108.2337 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240915@163108.2348 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240915@163108.2360 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240915@163108.2377 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240915@163108.2389 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240915@163108.2400 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240915@163108.2411 n9j5q3s056pvl6r6f9e0urkgmm Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e6f8726766e6fdbc30',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240915@163108.2644 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 fno valor from wsftdata order by fno desc
20240915@163108.2663 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.2680 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163108.2702 n9j5q3s056pvl6r6f9e0urkgmm Query : select 'normal' from dummy
20240915@163108.2721 n9j5q3s056pvl6r6f9e0urkgmm Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e6f8726766e6fdbc30',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',744,101900,0,'2024-09-15',39,'euro',0,0,2024 ,?,?)
20240915@163108.2990 n9j5q3s056pvl6r6f9e0urkgmm Query : use flama_phc
20240915@163108.2993 n9j5q3s056pvl6r6f9e0urkgmm Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240915@163108.3015 n9j5q3s056pvl6r6f9e0urkgmm 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'
20240915@163108.3159 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.3175 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163108.3201 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.3215 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163108.3224 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163108.3239 n9j5q3s056pvl6r6f9e0urkgmm Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240647'
20240915@163108.3267 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.3282 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163108.3295 n9j5q3s056pvl6r6f9e0urkgmm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f9078066e6fdbc4f','aut66e6f8726766e6fdbc30' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163108.3309 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.3325 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163108.3354 n9j5q3s056pvl6r6f9e0urkgmm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f9078066e6fdbc4f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut66e6f8726766e6fdbc30' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240915@163108.3604 n9j5q3s056pvl6r6f9e0urkgmm Query : use flama_phc
20240915@163108.3607 n9j5q3s056pvl6r6f9e0urkgmm Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240915@163108.3629 n9j5q3s056pvl6r6f9e0urkgmm 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'
20240915@163108.3644 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.3898 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163108.3928 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.3944 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163108.3953 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163108.3966 n9j5q3s056pvl6r6f9e0urkgmm Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240647'
20240915@163108.3983 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.3998 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163108.4009 n9j5q3s056pvl6r6f9e0urkgmm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f8925166e6fdbc61','aut66e6f8726766e6fdbc30' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163108.4013 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.4027 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163108.4055 n9j5q3s056pvl6r6f9e0urkgmm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f8925166e6fdbc61',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e6f8726766e6fdbc30' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240915@163108.4312 n9j5q3s056pvl6r6f9e0urkgmm Query : use flama_phc
20240915@163108.4315 n9j5q3s056pvl6r6f9e0urkgmm Query : select st.usalote valor from st where st.ref = '304.421.00.04'
20240915@163108.4334 n9j5q3s056pvl6r6f9e0urkgmm 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'
20240915@163108.4640 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.4663 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163108.4691 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.4705 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163108.4714 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163108.4726 n9j5q3s056pvl6r6f9e0urkgmm Query : select sestamp valor from se where ref ='304.421.00.04' and lote = '241001'
20240915@163108.4747 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.4762 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163108.4774 n9j5q3s056pvl6r6f9e0urkgmm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f2641266e6fdbc73','aut66e6f8726766e6fdbc30' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163108.4778 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.4793 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163108.4820 n9j5q3s056pvl6r6f9e0urkgmm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f2641266e6fdbc73',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e6f8726766e6fdbc30' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240915@163108.5502 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.6007 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163108.6033 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.6048 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163108.6058 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163108.6070 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.6088 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163108.6105 n9j5q3s056pvl6r6f9e0urkgmm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f5660866e6fdbc94','aut66e6f8726766e6fdbc30' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163108.6109 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.6123 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163108.6150 n9j5q3s056pvl6r6f9e0urkgmm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f5660866e6fdbc94',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f8726766e6fdbc30' ,0,0 ,2,23.00,40000,?,?,?)
20240915@163108.6395 n9j5q3s056pvl6r6f9e0urkgmm Query : use flama_phc
20240915@163108.6399 n9j5q3s056pvl6r6f9e0urkgmm Query : select st.usalote valor from st where st.ref = '324.4521.00.1'
20240915@163108.6424 n9j5q3s056pvl6r6f9e0urkgmm 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'
20240915@163108.6571 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.6587 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163108.6614 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.6633 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163108.6642 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163108.6653 n9j5q3s056pvl6r6f9e0urkgmm Query : select sestamp valor from se where ref ='324.4521.00.1' and lote = 'r2400052200a'
20240915@163108.6679 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.6693 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163108.6704 n9j5q3s056pvl6r6f9e0urkgmm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f8594866e6fdbca3','aut66e6f8726766e6fdbc30' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163108.6708 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.6721 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163108.6752 n9j5q3s056pvl6r6f9e0urkgmm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f8594866e6fdbca3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e6f8726766e6fdbc30' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240915@163108.7005 n9j5q3s056pvl6r6f9e0urkgmm Query : use flama_phc
20240915@163108.7008 n9j5q3s056pvl6r6f9e0urkgmm Query : select st.usalote valor from st where st.ref = '324.4960.00.1'
20240915@163108.7028 n9j5q3s056pvl6r6f9e0urkgmm 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'
20240915@163108.7166 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.7181 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163108.7213 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.7227 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163108.7237 n9j5q3s056pvl6r6f9e0urkgmm Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163108.7250 n9j5q3s056pvl6r6f9e0urkgmm Query : select sestamp valor from se where ref ='324.4960.00.1' and lote = 'r2100754100a'
20240915@163108.7276 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.7290 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163108.7302 n9j5q3s056pvl6r6f9e0urkgmm Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f9952666e6fdbcb1','aut66e6f8726766e6fdbc30' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163108.7306 n9j5q3s056pvl6r6f9e0urkgmm Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163108.7319 n9j5q3s056pvl6r6f9e0urkgmm Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163108.7346 n9j5q3s056pvl6r6f9e0urkgmm Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f9952666e6fdbcb1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66e6f8726766e6fdbc30' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240915@163108.7579 n9j5q3s056pvl6r6f9e0urkgmm Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e6f8726766e6fdbc30','2405938','wait',39,'adm09112754980.682000002')
20240915@163108.7653 n9j5q3s056pvl6r6f9e0urkgmm Query : use flama_phc
20240915@163108.7656 n9j5q3s056pvl6r6f9e0urkgmm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163108.7686 n9j5q3s056pvl6r6f9e0urkgmm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1995';
20240915@163108.7713 n9j5q3s056pvl6r6f9e0urkgmm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1995';
20240915@163108.7753 n9j5q3s056pvl6r6f9e0urkgmm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1995';
20240915@163108.7778 n9j5q3s056pvl6r6f9e0urkgmm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1995';
20240915@163108.8647 i57qenp9gpp5s0splmqbm3sq38 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240915@163108.8661 i57qenp9gpp5s0splmqbm3sq38 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240915@163108.8714 i57qenp9gpp5s0splmqbm3sq38 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1996';
20240915@163108.8767 i57qenp9gpp5s0splmqbm3sq38 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1996';
20240915@163108.8817 i57qenp9gpp5s0splmqbm3sq38 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1996';
20240915@163108.8846 i57qenp9gpp5s0splmqbm3sq38 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1996';
20240915@163108.8897 i57qenp9gpp5s0splmqbm3sq38 Query : use flama_phc
20240915@163108.8899 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240915@163108.8963 i57qenp9gpp5s0splmqbm3sq38 Query : use flama_phc
20240915@163108.8966 i57qenp9gpp5s0splmqbm3sq38 Query : select no, estab,szadrsdesc from szadrs where u_coddest=11
20240915@163108.9045 i57qenp9gpp5s0splmqbm3sq38 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'
20240915@163108.9205 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405940 and bi.ref ='324.1824.00.1' and bi.lordem =1
20240915@163108.9524 i57qenp9gpp5s0splmqbm3sq38 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'
20240915@163108.9547 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405940 and bi.ref ='324.1824.00.1' and bi.lordem =1
20240915@163108.9563 i57qenp9gpp5s0splmqbm3sq38 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'
20240915@163108.9586 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405940 and bi.ref ='324.1824.00.1' and bi.lordem =1
20240915@163108.9602 i57qenp9gpp5s0splmqbm3sq38 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'
20240915@163108.9620 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405940 and bi.ref ='324.1824.00.1' and bi.lordem =1
20240915@163108.9636 i57qenp9gpp5s0splmqbm3sq38 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'
20240915@163108.9657 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405940 and bi.ref ='324.1824.00.1' and bi.lordem =1
20240915@163108.9673 i57qenp9gpp5s0splmqbm3sq38 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'
20240915@163108.9692 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405940 and bi.ref ='324.1824.00.1' and bi.lordem =1
20240915@163108.9711 i57qenp9gpp5s0splmqbm3sq38 Query : use flama_phc
20240915@163108.9714 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240915@163108.9743 i57qenp9gpp5s0splmqbm3sq38 Query : use flama_phc
20240915@163108.9746 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 1 valor from td where td.ndoc = 39
20240915@163108.9776 i57qenp9gpp5s0splmqbm3sq38 Query : use flama_phc
20240915@163108.9779 i57qenp9gpp5s0splmqbm3sq38 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')
20240915@163108.9998 i57qenp9gpp5s0splmqbm3sq38 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
20240915@163109.1620 i57qenp9gpp5s0splmqbm3sq38 Query : use flama_phc
20240915@163109.1660 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 ~inactivo valor from cl where no = '102265' and estab = 0 order by inactivo desc
20240915@163109.2930 i57qenp9gpp5s0splmqbm3sq38 Query : use flama_phc
20240915@163109.2960 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240915@163109.3250 i57qenp9gpp5s0splmqbm3sq38 Query : use flama_phc
20240915@163109.3280 i57qenp9gpp5s0splmqbm3sq38 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240915@163109.3660 i57qenp9gpp5s0splmqbm3sq38 Query : use flama_phc
20240915@163109.3690 i57qenp9gpp5s0splmqbm3sq38 Query : select szadrsstamp valor from szadrs where szadrsdesc='best sell electrodomÉsticos, lda.'
20240915@163109.4180 i57qenp9gpp5s0splmqbm3sq38 Query : use flama_phc
20240915@163109.4210 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from td where ndoc = 39
20240915@163109.4350 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240915@163109.4490 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.4650 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163109.4830 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.4980 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163109.5300 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.6050 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163109.6180 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163109.9630 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163109.1007 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.1025 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163109.1144 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e6f7263466e6fdbd0f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240915@163109.1404 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.1562 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163109.1595 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240915@163109.1607 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240915@163109.1619 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240915@163109.1630 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240915@163109.1642 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240915@163109.1654 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240915@163109.1718 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e6f7263466e6fdbd0f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240915@163109.1958 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 fno valor from wsftdata order by fno desc
20240915@163109.1976 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.1991 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163109.2014 i57qenp9gpp5s0splmqbm3sq38 Query : select 'normal' from dummy
20240915@163109.2029 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e6f7263466e6fdbd0f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',745,102265,0,'2024-09-15',39,'euro',0,0,2024 ,?,?)
20240915@163109.2321 i57qenp9gpp5s0splmqbm3sq38 Query : use flama_phc
20240915@163109.2324 i57qenp9gpp5s0splmqbm3sq38 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240915@163109.2350 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20240915@163109.2484 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.2502 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.2535 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.2550 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.2559 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163109.2571 i57qenp9gpp5s0splmqbm3sq38 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301209200a'
20240915@163109.2595 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.2610 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.2622 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f8005066e6fdbd3f','aut66e6f7263466e6fdbd0f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163109.2626 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.2640 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.2668 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f8005066e6fdbd3f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66e6f7263466e6fdbd0f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240915@163109.2914 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.2929 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.2957 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.2973 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.2981 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163109.2994 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.3012 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.3023 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f0172566e6fdbd49','aut66e6f7263466e6fdbd0f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163109.3027 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.3041 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.3069 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f0172566e6fdbd49',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f7263466e6fdbd0f' ,0,0 ,2,23.00,20000,?,?,?)
20240915@163109.3305 i57qenp9gpp5s0splmqbm3sq38 Query : use flama_phc
20240915@163109.3308 i57qenp9gpp5s0splmqbm3sq38 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240915@163109.3327 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20240915@163109.3347 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.3685 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.4580 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.4597 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.4607 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163109.4619 i57qenp9gpp5s0splmqbm3sq38 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301209200a'
20240915@163109.4632 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.4799 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.4810 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f6343966e6fdbd71','aut66e6f7263466e6fdbd0f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163109.4814 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.4830 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.4857 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f6343966e6fdbd71',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66e6f7263466e6fdbd0f' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240915@163109.5107 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.5122 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.5149 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.5167 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.5175 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163109.5188 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.5202 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.5214 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f6974066e6fdbd7e','aut66e6f7263466e6fdbd0f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163109.5218 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.5232 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.5261 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f6974066e6fdbd7e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f7263466e6fdbd0f' ,0,0 ,2,23.00,50000,?,?,?)
20240915@163109.5504 i57qenp9gpp5s0splmqbm3sq38 Query : use flama_phc
20240915@163109.5507 i57qenp9gpp5s0splmqbm3sq38 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240915@163109.5529 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20240915@163109.5545 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.5561 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.5588 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.5602 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.5614 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163109.5626 i57qenp9gpp5s0splmqbm3sq38 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301209200a'
20240915@163109.5640 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.5655 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.5667 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f4316266e6fdbd89','aut66e6f7263466e6fdbd0f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163109.5673 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.5688 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.5717 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f4316266e6fdbd89',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66e6f7263466e6fdbd0f' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240915@163109.5965 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.5981 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.6010 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.6028 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.6037 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163109.6050 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.6065 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.6077 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f6926966e6fdbd93','aut66e6f7263466e6fdbd0f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163109.6082 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.6097 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.6129 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f6926966e6fdbd93',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f7263466e6fdbd0f' ,0,0 ,2,23.00,80000,?,?,?)
20240915@163109.6368 i57qenp9gpp5s0splmqbm3sq38 Query : use flama_phc
20240915@163109.6371 i57qenp9gpp5s0splmqbm3sq38 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240915@163109.6391 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20240915@163109.6405 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.6421 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.6446 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.6463 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.6472 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163109.6485 i57qenp9gpp5s0splmqbm3sq38 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301209200a'
20240915@163109.6500 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.6515 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.6530 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f3184666e6fdbd9e','aut66e6f7263466e6fdbd0f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163109.6534 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.6548 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.6577 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f3184666e6fdbd9e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66e6f7263466e6fdbd0f' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240915@163109.6813 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.6829 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.6857 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.6875 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.6884 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163109.6897 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.6912 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.6924 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f5072266e6fdbda8','aut66e6f7263466e6fdbd0f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163109.6928 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.6943 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.6974 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f5072266e6fdbda8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f7263466e6fdbd0f' ,0,0 ,2,23.00,110000,?,?,?)
20240915@163109.7211 i57qenp9gpp5s0splmqbm3sq38 Query : use flama_phc
20240915@163109.7214 i57qenp9gpp5s0splmqbm3sq38 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240915@163109.7239 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20240915@163109.7253 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.7268 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.7295 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.7310 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.7320 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163109.7334 i57qenp9gpp5s0splmqbm3sq38 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301209200a'
20240915@163109.7347 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.7362 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.7375 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f7157466e6fdbdb3','aut66e6f7263466e6fdbd0f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163109.7380 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.7398 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.7428 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f7157466e6fdbdb3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66e6f7263466e6fdbd0f' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240915@163109.7672 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.7689 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.7716 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.7735 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.7744 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163109.7757 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.7773 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.7785 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f0696866e6fdbdbd','aut66e6f7263466e6fdbd0f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163109.7789 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.7806 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.7840 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f0696866e6fdbdbd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f7263466e6fdbd0f' ,0,0 ,2,23.00,140000,?,?,?)
20240915@163109.8206 i57qenp9gpp5s0splmqbm3sq38 Query : use flama_phc
20240915@163109.8238 i57qenp9gpp5s0splmqbm3sq38 Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240915@163109.8481 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20240915@163109.8500 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.8539 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.8567 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.8583 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.8592 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163109.8606 i57qenp9gpp5s0splmqbm3sq38 Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301209200a'
20240915@163109.8625 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.8640 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.8653 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f2651766e6fdbdd2','aut66e6f7263466e6fdbd0f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163109.8657 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.8673 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.8703 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f2651766e6fdbdd2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut66e6f7263466e6fdbd0f' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20240915@163109.8994 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.9016 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.9042 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.9056 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.9065 i57qenp9gpp5s0splmqbm3sq38 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163109.9078 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.9092 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163109.9104 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f0055266e6fdbddd','aut66e6f7263466e6fdbd0f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163109.9108 i57qenp9gpp5s0splmqbm3sq38 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163109.9126 i57qenp9gpp5s0splmqbm3sq38 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163109.9155 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f0055266e6fdbddd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f7263466e6fdbd0f' ,0,0 ,2,23.00,170000,?,?,?)
20240915@163109.9621 i57qenp9gpp5s0splmqbm3sq38 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e6f7263466e6fdbd0f','2405940','wait',39,'adm09112754980.682000002')
20240915@163110.1294 i57qenp9gpp5s0splmqbm3sq38 Query : use flama_phc
20240915@163110.1297 i57qenp9gpp5s0splmqbm3sq38 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163110.1330 i57qenp9gpp5s0splmqbm3sq38 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1996';
20240915@163110.1360 i57qenp9gpp5s0splmqbm3sq38 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1996';
20240915@163110.1398 i57qenp9gpp5s0splmqbm3sq38 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1996';
20240915@163110.1421 i57qenp9gpp5s0splmqbm3sq38 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1996';
20240915@163110.1921 oi844slmlq98sr6je3s468eqrr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240915@163110.1932 oi844slmlq98sr6je3s468eqrr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240915@163110.1984 oi844slmlq98sr6je3s468eqrr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1997';
20240915@163110.2033 oi844slmlq98sr6je3s468eqrr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1997';
20240915@163110.2083 oi844slmlq98sr6je3s468eqrr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1997';
20240915@163110.2108 oi844slmlq98sr6je3s468eqrr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1997';
20240915@163110.2154 oi844slmlq98sr6je3s468eqrr Query : use flama_phc
20240915@163110.2157 oi844slmlq98sr6je3s468eqrr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240915@163110.2221 oi844slmlq98sr6je3s468eqrr Query : use flama_phc
20240915@163110.2224 oi844slmlq98sr6je3s468eqrr Query : select no, estab,szadrsdesc from szadrs where u_coddest=6917
20240915@163110.2311 oi844slmlq98sr6je3s468eqrr 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'
20240915@163110.2461 oi844slmlq98sr6je3s468eqrr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405941 and bi.ref ='324.600.94.01' and bi.lordem =1
20240915@163110.2773 oi844slmlq98sr6je3s468eqrr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2000.94.1'
20240915@163110.2908 oi844slmlq98sr6je3s468eqrr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405941 and bi.ref ='324.2000.94.1' and bi.lordem =2
20240915@163110.3209 oi844slmlq98sr6je3s468eqrr 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'
20240915@163110.3350 oi844slmlq98sr6je3s468eqrr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405941 and bi.ref ='324.900.94.01' and bi.lordem =3
20240915@163110.3710 oi844slmlq98sr6je3s468eqrr 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'
20240915@163110.3872 oi844slmlq98sr6je3s468eqrr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405941 and bi.ref ='324.700.94.01' and bi.lordem =4
20240915@163110.4179 oi844slmlq98sr6je3s468eqrr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20240915@163110.4321 oi844slmlq98sr6je3s468eqrr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405941 and bi.ref ='324.2200.94.1' and bi.lordem =5
20240915@163110.4635 oi844slmlq98sr6je3s468eqrr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20240915@163110.4656 oi844slmlq98sr6je3s468eqrr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405941 and bi.ref ='324.2200.94.1' and bi.lordem =5
20240915@163110.4678 oi844slmlq98sr6je3s468eqrr Query : use flama_phc
20240915@163110.4681 oi844slmlq98sr6je3s468eqrr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240915@163110.4722 oi844slmlq98sr6je3s468eqrr Query : use flama_phc
20240915@163110.4726 oi844slmlq98sr6je3s468eqrr Query : select top 1 1 valor from td where td.ndoc = 39
20240915@163110.4764 oi844slmlq98sr6je3s468eqrr Query : use flama_phc
20240915@163110.4767 oi844slmlq98sr6je3s468eqrr 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')
20240915@163110.4835 oi844slmlq98sr6je3s468eqrr 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
20240915@163110.4985 oi844slmlq98sr6je3s468eqrr Query : use flama_phc
20240915@163110.4989 oi844slmlq98sr6je3s468eqrr Query : select top 1 ~inactivo valor from cl where no = '199800' and estab = 0 order by inactivo desc
20240915@163110.5117 oi844slmlq98sr6je3s468eqrr Query : use flama_phc
20240915@163110.5120 oi844slmlq98sr6je3s468eqrr Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240915@163110.5154 oi844slmlq98sr6je3s468eqrr Query : use flama_phc
20240915@163110.5157 oi844slmlq98sr6je3s468eqrr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240915@163110.5203 oi844slmlq98sr6je3s468eqrr Query : use flama_phc
20240915@163110.5206 oi844slmlq98sr6je3s468eqrr Query : select szadrsstamp valor from szadrs where szadrsdesc='740 ent vnr bligeiro'
20240915@163110.5262 oi844slmlq98sr6je3s468eqrr Query : use flama_phc
20240915@163110.5265 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from td where ndoc = 39
20240915@163110.5281 oi844slmlq98sr6je3s468eqrr Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240915@163110.5297 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.5317 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163110.5340 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.5356 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163110.5388 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.5405 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163110.5422 oi844slmlq98sr6je3s468eqrr Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163110.5490 oi844slmlq98sr6je3s468eqrr Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163110.5504 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.5519 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163110.5534 oi844slmlq98sr6je3s468eqrr Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e6f2474566e6fdbe84' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240915@163110.5723 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.5741 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163110.5777 oi844slmlq98sr6je3s468eqrr Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240915@163110.5790 oi844slmlq98sr6je3s468eqrr Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240915@163110.5803 oi844slmlq98sr6je3s468eqrr Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240915@163110.5819 oi844slmlq98sr6je3s468eqrr Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240915@163110.5832 oi844slmlq98sr6je3s468eqrr Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240915@163110.5843 oi844slmlq98sr6je3s468eqrr Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240915@163110.5856 oi844slmlq98sr6je3s468eqrr Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e6f2474566e6fdbe84',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240915@163110.6090 oi844slmlq98sr6je3s468eqrr Query : select top 1 fno valor from wsftdata order by fno desc
20240915@163110.6111 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.6129 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163110.6152 oi844slmlq98sr6je3s468eqrr Query : select 'normal' from dummy
20240915@163110.6171 oi844slmlq98sr6je3s468eqrr Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e6f2474566e6fdbe84',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',746,199800,0,'2024-09-15',39,'euro',0,0,2024 ,?,?)
20240915@163110.6444 oi844slmlq98sr6je3s468eqrr Query : use flama_phc
20240915@163110.6447 oi844slmlq98sr6je3s468eqrr Query : select st.usalote valor from st where st.ref = '324.600.94.01'
20240915@163110.6470 oi844slmlq98sr6je3s468eqrr 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'
20240915@163110.6614 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.6629 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163110.6655 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.6669 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163110.6678 oi844slmlq98sr6je3s468eqrr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163110.6693 oi844slmlq98sr6je3s468eqrr Query : select sestamp valor from se where ref ='324.600.94.01' and lote = 'r2400047200a'
20240915@163110.6714 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.6728 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163110.6740 oi844slmlq98sr6je3s468eqrr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f9915566e6fdbea3','aut66e6f2474566e6fdbe84' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163110.6744 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.6800 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163110.6828 oi844slmlq98sr6je3s468eqrr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f9915566e6fdbea3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e6f2474566e6fdbe84' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240915@163110.7095 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.7113 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163110.7141 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.7155 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163110.7164 oi844slmlq98sr6je3s468eqrr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163110.7176 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.7196 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163110.7208 oi844slmlq98sr6je3s468eqrr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f1490766e6fdbeaf','aut66e6f2474566e6fdbe84' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163110.7212 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.7227 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163110.7255 oi844slmlq98sr6je3s468eqrr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f1490766e6fdbeaf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f2474566e6fdbe84' ,0,0 ,2,23.00,20000,?,?,?)
20240915@163110.7491 oi844slmlq98sr6je3s468eqrr Query : use flama_phc
20240915@163110.7494 oi844slmlq98sr6je3s468eqrr Query : select st.usalote valor from st where st.ref = '324.2000.94.1'
20240915@163110.7514 oi844slmlq98sr6je3s468eqrr 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.2000.94.1'
20240915@163110.7699 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.7716 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163110.7748 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.7763 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163110.7772 oi844slmlq98sr6je3s468eqrr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163110.7784 oi844slmlq98sr6je3s468eqrr Query : select sestamp valor from se where ref ='324.2000.94.1' and lote = 'r2300916200a'
20240915@163110.7798 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.7812 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163110.7836 oi844slmlq98sr6je3s468eqrr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f7892966e6fdbebe','aut66e6f2474566e6fdbe84' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163110.7840 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.7854 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163110.7881 oi844slmlq98sr6je3s468eqrr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f7892966e6fdbebe',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66e6f2474566e6fdbe84' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240915@163110.8121 oi844slmlq98sr6je3s468eqrr Query : use flama_phc
20240915@163110.8123 oi844slmlq98sr6je3s468eqrr Query : select st.usalote valor from st where st.ref = '324.900.94.01'
20240915@163110.8143 oi844slmlq98sr6je3s468eqrr 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'
20240915@163110.8286 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.8303 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163110.8329 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.8343 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163110.8351 oi844slmlq98sr6je3s468eqrr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163110.8363 oi844slmlq98sr6je3s468eqrr Query : select sestamp valor from se where ref ='324.900.94.01' and lote = 'r2300952200a'
20240915@163110.8392 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.8406 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163110.8424 oi844slmlq98sr6je3s468eqrr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f6522366e6fdbecc','aut66e6f2474566e6fdbe84' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163110.8428 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.8444 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163110.8472 oi844slmlq98sr6je3s468eqrr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f6522366e6fdbecc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',22.000 ,'aut66e6f2474566e6fdbe84' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240915@163110.8716 oi844slmlq98sr6je3s468eqrr Query : use flama_phc
20240915@163110.8719 oi844slmlq98sr6je3s468eqrr Query : select st.usalote valor from st where st.ref = '324.700.94.01'
20240915@163110.8738 oi844slmlq98sr6je3s468eqrr 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'
20240915@163110.8878 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.8893 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163110.8917 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.8932 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163110.8940 oi844slmlq98sr6je3s468eqrr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163110.8953 oi844slmlq98sr6je3s468eqrr Query : select sestamp valor from se where ref ='324.700.94.01' and lote = 'r2300913100a'
20240915@163110.8966 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.8981 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163110.8992 oi844slmlq98sr6je3s468eqrr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f4611766e6fdbeda','aut66e6f2474566e6fdbe84' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163110.8996 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163110.9340 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163110.9650 oi844slmlq98sr6je3s468eqrr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f4611766e6fdbeda',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',36.000 ,'aut66e6f2474566e6fdbe84' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240915@163110.9909 oi844slmlq98sr6je3s468eqrr Query : use flama_phc
20240915@163110.9912 oi844slmlq98sr6je3s468eqrr Query : select st.usalote valor from st where st.ref = '324.2200.94.1'
20240915@163110.9932 oi844slmlq98sr6je3s468eqrr 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.2200.94.1'
20240915@163111.7500 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163111.8900 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163111.1259 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163111.1275 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163111.1283 oi844slmlq98sr6je3s468eqrr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163111.1295 oi844slmlq98sr6je3s468eqrr Query : select sestamp valor from se where ref ='324.2200.94.1' and lote = 'r2400046200a'
20240915@163111.1308 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163111.1330 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163111.1341 oi844slmlq98sr6je3s468eqrr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f5606366e6fdbf1f','aut66e6f2474566e6fdbe84' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163111.1345 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163111.1359 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163111.1386 oi844slmlq98sr6je3s468eqrr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f5606366e6fdbf1f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut66e6f2474566e6fdbe84' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240915@163111.1644 oi844slmlq98sr6je3s468eqrr Query : use flama_phc
20240915@163111.1648 oi844slmlq98sr6je3s468eqrr Query : select st.usalote valor from st where st.ref = '324.2200.94.1'
20240915@163111.1666 oi844slmlq98sr6je3s468eqrr 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.2200.94.1'
20240915@163111.1681 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163111.1696 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163111.1727 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163111.1741 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163111.1749 oi844slmlq98sr6je3s468eqrr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163111.1761 oi844slmlq98sr6je3s468eqrr Query : select sestamp valor from se where ref ='324.2200.94.1' and lote = 'r2400046200a'
20240915@163111.1774 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163111.1788 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163111.1800 oi844slmlq98sr6je3s468eqrr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f1115066e6fdbf2b','aut66e6f2474566e6fdbe84' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163111.1804 oi844slmlq98sr6je3s468eqrr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163111.1820 oi844slmlq98sr6je3s468eqrr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163111.1850 oi844slmlq98sr6je3s468eqrr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f1115066e6fdbf2b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',15.000 ,'aut66e6f2474566e6fdbe84' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240915@163111.2091 oi844slmlq98sr6je3s468eqrr Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e6f2474566e6fdbe84','2405941','wait',39,'adm09112754980.682000002')
20240915@163111.2172 oi844slmlq98sr6je3s468eqrr Query : use flama_phc
20240915@163111.2175 oi844slmlq98sr6je3s468eqrr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163111.2209 oi844slmlq98sr6je3s468eqrr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1997';
20240915@163111.2240 oi844slmlq98sr6je3s468eqrr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1997';
20240915@163111.2280 oi844slmlq98sr6je3s468eqrr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1997';
20240915@163111.2308 oi844slmlq98sr6je3s468eqrr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1997';
20240915@163111.3252 lk9q7lvl090bsv2ntd3qmkovte Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240915@163111.3263 lk9q7lvl090bsv2ntd3qmkovte Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240915@163111.3322 lk9q7lvl090bsv2ntd3qmkovte Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1998';
20240915@163111.3378 lk9q7lvl090bsv2ntd3qmkovte Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1998';
20240915@163111.3434 lk9q7lvl090bsv2ntd3qmkovte Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1998';
20240915@163111.3461 lk9q7lvl090bsv2ntd3qmkovte Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1998';
20240915@163111.3513 lk9q7lvl090bsv2ntd3qmkovte Query : use flama_phc
20240915@163111.3516 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240915@163111.3597 lk9q7lvl090bsv2ntd3qmkovte Query : use flama_phc
20240915@163111.3600 lk9q7lvl090bsv2ntd3qmkovte Query : select no, estab,szadrsdesc from szadrs where u_coddest=698
20240915@163111.3691 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240915@163111.3839 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405943 and bi.ref ='324.1816.00.1' and bi.lordem =1
20240915@163111.4149 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20240915@163111.4171 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405943 and bi.ref ='324.1816.00.1' and bi.lordem =1
20240915@163111.4187 lk9q7lvl090bsv2ntd3qmkovte 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'
20240915@163111.4209 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405943 and bi.ref ='324.1824.00.1' and bi.lordem =2
20240915@163111.4509 lk9q7lvl090bsv2ntd3qmkovte 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'
20240915@163111.4535 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405943 and bi.ref ='324.1824.00.1' and bi.lordem =2
20240915@163111.4552 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240915@163111.4693 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405943 and bi.ref ='324.4970.00.1' and bi.lordem =3
20240915@163111.5140 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.945.00.01'
20240915@163111.5293 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405943 and bi.ref ='324.945.00.01' and bi.lordem =4
20240915@163111.5663 lk9q7lvl090bsv2ntd3qmkovte 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'
20240915@163111.5815 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405943 and bi.ref ='324.969.00.01' and bi.lordem =6
20240915@163111.8048 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5347.00.1'
20240915@163111.8074 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405943 and bi.ref ='324.5347.00.1' and bi.lordem =7
20240915@163111.8420 lk9q7lvl090bsv2ntd3qmkovte Query : use flama_phc
20240915@163111.8423 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240915@163111.8473 lk9q7lvl090bsv2ntd3qmkovte Query : use flama_phc
20240915@163111.8476 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 1 valor from td where td.ndoc = 39
20240915@163111.8517 lk9q7lvl090bsv2ntd3qmkovte Query : use flama_phc
20240915@163111.8520 lk9q7lvl090bsv2ntd3qmkovte 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')
20240915@163111.8554 lk9q7lvl090bsv2ntd3qmkovte 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
20240915@163111.8599 lk9q7lvl090bsv2ntd3qmkovte Query : use flama_phc
20240915@163111.8602 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 ~inactivo valor from cl where no = '100220' and estab = 0 order by inactivo desc
20240915@163111.8724 lk9q7lvl090bsv2ntd3qmkovte Query : use flama_phc
20240915@163111.8727 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240915@163111.8757 lk9q7lvl090bsv2ntd3qmkovte Query : use flama_phc
20240915@163111.8759 lk9q7lvl090bsv2ntd3qmkovte Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240915@163111.8801 lk9q7lvl090bsv2ntd3qmkovte Query : use flama_phc
20240915@163111.8806 lk9q7lvl090bsv2ntd3qmkovte Query : select szadrsstamp valor from szadrs where szadrsdesc='amorim & ferreira, lda'
20240915@163111.8863 lk9q7lvl090bsv2ntd3qmkovte Query : use flama_phc
20240915@163111.8866 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from td where ndoc = 39
20240915@163111.8878 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240915@163111.8892 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163111.8908 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163111.8930 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163111.8948 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163111.8981 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163111.8995 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163111.9008 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163111.9073 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163111.9086 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163111.9102 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163111.9119 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e6f3409166e6fdbfdb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240915@163111.9294 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163111.9310 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163111.9343 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240915@163111.9354 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240915@163111.9366 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240915@163111.9381 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240915@163111.9392 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240915@163111.9405 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240915@163111.9417 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e6f3409166e6fdbfdb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240915@163111.9646 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 fno valor from wsftdata order by fno desc
20240915@163111.9664 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163111.9682 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163111.9706 lk9q7lvl090bsv2ntd3qmkovte Query : select 'normal' from dummy
20240915@163111.9733 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e6f3409166e6fdbfdb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',747,100220,0,'2024-09-15',39,'euro',0,0,2024 ,?,?)
20240915@163112.1300 lk9q7lvl090bsv2ntd3qmkovte Query : use flama_phc
20240915@163112.1800 lk9q7lvl090bsv2ntd3qmkovte Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240915@163112.4100 lk9q7lvl090bsv2ntd3qmkovte 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.1816.00.1'
20240915@163112.1820 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.1980 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.2300 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.2450 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.2530 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163112.2650 lk9q7lvl090bsv2ntd3qmkovte Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400198200a'
20240915@163112.2900 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.3060 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.3210 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f2465166e6fdc007','aut66e6f3409166e6fdbfdb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163112.3250 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.3410 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.1506 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f2465166e6fdc007',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66e6f3409166e6fdbfdb' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240915@163112.1766 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.1783 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.1812 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.1833 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.1842 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163112.1856 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.1876 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.1887 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f9247566e6fdc02d','aut66e6f3409166e6fdbfdb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163112.1892 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.1907 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.1938 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f9247566e6fdc02d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f3409166e6fdbfdb' ,0,0 ,2,23.00,20000,?,?,?)
20240915@163112.2176 lk9q7lvl090bsv2ntd3qmkovte Query : use flama_phc
20240915@163112.2179 lk9q7lvl090bsv2ntd3qmkovte Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240915@163112.2200 lk9q7lvl090bsv2ntd3qmkovte 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.1816.00.1'
20240915@163112.2215 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.2230 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.2261 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.2276 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.2285 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163112.2297 lk9q7lvl090bsv2ntd3qmkovte Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400198200a'
20240915@163112.2309 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.2324 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.2336 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f8399166e6fdc038','aut66e6f3409166e6fdbfdb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163112.2341 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.2355 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.2385 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f8399166e6fdc038',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66e6f3409166e6fdbfdb' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240915@163112.2622 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.2638 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.2666 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.2681 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.2690 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163112.2706 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.2721 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.2742 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f6451466e6fdc042','aut66e6f3409166e6fdbfdb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163112.2747 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.2761 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.2790 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f6451466e6fdc042',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f3409166e6fdbfdb' ,0,0 ,2,23.00,50000,?,?,?)
20240915@163112.3035 lk9q7lvl090bsv2ntd3qmkovte Query : use flama_phc
20240915@163112.3038 lk9q7lvl090bsv2ntd3qmkovte Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240915@163112.3061 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20240915@163112.3076 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.3091 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.3116 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.3131 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.3140 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163112.3152 lk9q7lvl090bsv2ntd3qmkovte Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301209200a'
20240915@163112.3166 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.3181 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.3193 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f2877166e6fdc04d','aut66e6f3409166e6fdbfdb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163112.3197 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.3211 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.3244 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f2877166e6fdc04d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66e6f3409166e6fdbfdb' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240915@163112.3493 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.3509 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.3594 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.3674 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.3840 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163112.3996 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.4012 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.4086 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f7085066e6fdc061','aut66e6f3409166e6fdbfdb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163112.4091 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.4108 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.4137 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f7085066e6fdc061',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f3409166e6fdbfdb' ,0,0 ,2,23.00,80000,?,?,?)
20240915@163112.4576 lk9q7lvl090bsv2ntd3qmkovte Query : use flama_phc
20240915@163112.4666 lk9q7lvl090bsv2ntd3qmkovte Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20240915@163112.4729 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20240915@163112.4742 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.4758 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.4781 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.4803 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.4812 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163112.4824 lk9q7lvl090bsv2ntd3qmkovte Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2301209200a'
20240915@163112.4837 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.4851 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.4862 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f7329066e6fdc076','aut66e6f3409166e6fdbfdb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163112.4867 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.4881 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.4912 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f7329066e6fdc076',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66e6f3409166e6fdbfdb' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240915@163112.5874 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.6298 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.6326 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.6341 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.6353 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163112.6366 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.6387 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.6399 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f7724766e6fdc09b','aut66e6f3409166e6fdbfdb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163112.6403 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.6418 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.6445 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f7724766e6fdc09b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f3409166e6fdbfdb' ,0,0 ,2,23.00,110000,?,?,?)
20240915@163112.6703 lk9q7lvl090bsv2ntd3qmkovte Query : use flama_phc
20240915@163112.6706 lk9q7lvl090bsv2ntd3qmkovte Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240915@163112.6726 lk9q7lvl090bsv2ntd3qmkovte 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.4970.00.1'
20240915@163112.6866 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.6882 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.6907 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.6922 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.6930 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163112.6943 lk9q7lvl090bsv2ntd3qmkovte Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400205200a'
20240915@163112.6957 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.6972 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.6983 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f2637066e6fdc0a9','aut66e6f3409166e6fdbfdb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163112.6988 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.7001 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.7033 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f2637066e6fdc0a9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e6f3409166e6fdbfdb' ,0,0 ,2,23.00,130000,?,?,?,?,?)
20240915@163112.7287 lk9q7lvl090bsv2ntd3qmkovte Query : use flama_phc
20240915@163112.7291 lk9q7lvl090bsv2ntd3qmkovte Query : select st.usalote valor from st where st.ref = '324.945.00.01'
20240915@163112.7311 lk9q7lvl090bsv2ntd3qmkovte 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.945.00.01'
20240915@163112.7456 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.7471 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.7495 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.7509 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.7517 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163112.7529 lk9q7lvl090bsv2ntd3qmkovte Query : select sestamp valor from se where ref ='324.945.00.01' and lote = 'r2200799100a'
20240915@163112.7559 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.7574 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.7585 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f7211666e6fdc0b8','aut66e6f3409166e6fdbfdb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163112.7589 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.7607 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.7633 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f7211666e6fdc0b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e6f3409166e6fdbfdb' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20240915@163112.7889 lk9q7lvl090bsv2ntd3qmkovte Query : use flama_phc
20240915@163112.7892 lk9q7lvl090bsv2ntd3qmkovte Query : select st.usalote valor from st where st.ref = '324.969.00.01'
20240915@163112.7911 lk9q7lvl090bsv2ntd3qmkovte 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'
20240915@163112.8053 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.8068 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.8092 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.8106 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.8115 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163112.8129 lk9q7lvl090bsv2ntd3qmkovte Query : select sestamp valor from se where ref ='324.969.00.01' and lote = 'r2100601100a'
20240915@163112.8158 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.8172 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.8184 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f6251866e6fdc0c7','aut66e6f3409166e6fdbfdb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163112.8190 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.8204 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.8232 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f6251866e6fdc0c7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e6f3409166e6fdbfdb' ,0,0 ,2,23.00,150000,?,?,?,?,?)
20240915@163112.8481 lk9q7lvl090bsv2ntd3qmkovte Query : use flama_phc
20240915@163112.8485 lk9q7lvl090bsv2ntd3qmkovte Query : select st.usalote valor from st where st.ref = '324.5347.00.1'
20240915@163112.8503 lk9q7lvl090bsv2ntd3qmkovte 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.5347.00.1'
20240915@163112.8578 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.8594 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.8621 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.8638 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.8646 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163112.8657 lk9q7lvl090bsv2ntd3qmkovte Query : select sestamp valor from se where ref ='324.5347.00.1' and lote = 'r2300915100a'
20240915@163112.8880 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.8909 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.8974 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f7929466e6fdc0d8','aut66e6f3409166e6fdbfdb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163112.8988 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.9013 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.9119 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f7929466e6fdc0d8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66e6f3409166e6fdbfdb' ,0,0 ,2,23.00,160000,?,?,?,?,?)
20240915@163112.9385 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.9410 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.9453 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.9468 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.9477 lk9q7lvl090bsv2ntd3qmkovte Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163112.9488 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.9502 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163112.9514 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f1091466e6fdc0e7','aut66e6f3409166e6fdbfdb' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163112.9518 lk9q7lvl090bsv2ntd3qmkovte Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163112.9532 lk9q7lvl090bsv2ntd3qmkovte Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163112.9560 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f1091466e6fdc0e7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f3409166e6fdbfdb' ,0,0 ,2,23.00,170000,?,?,?)
20240915@163112.9811 lk9q7lvl090bsv2ntd3qmkovte Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e6f3409166e6fdbfdb','2405943','wait',39,'adm09112754980.682000002')
20240915@163112.9882 lk9q7lvl090bsv2ntd3qmkovte Query : use flama_phc
20240915@163112.9885 lk9q7lvl090bsv2ntd3qmkovte Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163112.9913 lk9q7lvl090bsv2ntd3qmkovte Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1998';
20240915@163112.9945 lk9q7lvl090bsv2ntd3qmkovte Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1998';
20240915@163112.9996 lk9q7lvl090bsv2ntd3qmkovte Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1998';
20240915@163113.1900 lk9q7lvl090bsv2ntd3qmkovte Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1998';
20240915@163113.7510 mqqhqgs5h1rmjsj2oufpe6m6kp Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240915@163113.7740 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240915@163113.8470 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1999';
20240915@163113.3207 mqqhqgs5h1rmjsj2oufpe6m6kp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1999';
20240915@163113.3262 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1999';
20240915@163113.3292 mqqhqgs5h1rmjsj2oufpe6m6kp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1999';
20240915@163113.3341 mqqhqgs5h1rmjsj2oufpe6m6kp Query : use flama_phc
20240915@163113.3344 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240915@163113.3404 mqqhqgs5h1rmjsj2oufpe6m6kp Query : use flama_phc
20240915@163113.3407 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select no, estab,szadrsdesc from szadrs where u_coddest=2759
20240915@163113.3504 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5501.00.1'
20240915@163113.3524 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405944 and bi.ref ='324.5501.00.1' and bi.lordem =1
20240915@163113.3884 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2232.00.1'
20240915@163113.4043 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405944 and bi.ref ='324.2232.00.1' and bi.lordem =2
20240915@163113.4367 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240915@163113.4511 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405944 and bi.ref ='324.1834.00.1' and bi.lordem =3
20240915@163113.4817 mqqhqgs5h1rmjsj2oufpe6m6kp 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'
20240915@163113.4957 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405944 and bi.ref ='324.1879.00.1' and bi.lordem =4
20240915@163113.5268 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1676.00.1'
20240915@163113.5412 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405944 and bi.ref ='324.1676.00.1' and bi.lordem =5
20240915@163113.5924 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1676.00.1'
20240915@163113.5949 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405944 and bi.ref ='324.1676.00.1' and bi.lordem =6
20240915@163113.6269 mqqhqgs5h1rmjsj2oufpe6m6kp Query : use flama_phc
20240915@163113.6273 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240915@163113.6308 mqqhqgs5h1rmjsj2oufpe6m6kp Query : use flama_phc
20240915@163113.6311 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 1 valor from td where td.ndoc = 39
20240915@163113.6392 mqqhqgs5h1rmjsj2oufpe6m6kp Query : use flama_phc
20240915@163113.6396 mqqhqgs5h1rmjsj2oufpe6m6kp 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')
20240915@163113.6435 mqqhqgs5h1rmjsj2oufpe6m6kp 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
20240915@163113.6473 mqqhqgs5h1rmjsj2oufpe6m6kp Query : use flama_phc
20240915@163113.6476 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 ~inactivo valor from cl where no = '102145' and estab = 0 order by inactivo desc
20240915@163113.6595 mqqhqgs5h1rmjsj2oufpe6m6kp Query : use flama_phc
20240915@163113.6598 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240915@163113.6634 mqqhqgs5h1rmjsj2oufpe6m6kp Query : use flama_phc
20240915@163113.6637 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240915@163113.6700 mqqhqgs5h1rmjsj2oufpe6m6kp Query : use flama_phc
20240915@163113.6704 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select szadrsstamp valor from szadrs where szadrsdesc='paulo jorge almeida gomes unip.,lda.-entrega'
20240915@163113.6754 mqqhqgs5h1rmjsj2oufpe6m6kp Query : use flama_phc
20240915@163113.6757 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from td where ndoc = 39
20240915@163113.6773 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240915@163113.6789 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163113.6807 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163113.6831 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163113.6846 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163113.6874 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163113.6888 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163113.6901 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163113.6970 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163113.6983 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163113.7000 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163113.7016 mqqhqgs5h1rmjsj2oufpe6m6kp Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e6f7787166e6fdc1a8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240915@163113.7187 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163113.7206 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163113.7238 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240915@163113.7250 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240915@163113.7262 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240915@163113.7275 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240915@163113.7287 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240915@163113.7300 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240915@163113.7315 mqqhqgs5h1rmjsj2oufpe6m6kp Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e6f7787166e6fdc1a8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240915@163113.7551 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 fno valor from wsftdata order by fno desc
20240915@163113.7570 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163113.7589 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163113.7611 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 'normal' from dummy
20240915@163113.7626 mqqhqgs5h1rmjsj2oufpe6m6kp Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e6f7787166e6fdc1a8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',748,102145,0,'2024-09-15',39,'euro',0,0,2024 ,?,?)
20240915@163113.7905 mqqhqgs5h1rmjsj2oufpe6m6kp Query : use flama_phc
20240915@163113.7909 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select st.usalote valor from st where st.ref = '324.5501.00.1'
20240915@163113.7931 mqqhqgs5h1rmjsj2oufpe6m6kp 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.5501.00.1'
20240915@163113.7946 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163113.7961 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163113.7991 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163113.8005 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163113.8013 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163113.8025 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select sestamp valor from se where ref ='324.5501.00.1' and lote = 'r2300908100a'
20240915@163113.8038 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163113.8051 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163113.8063 mqqhqgs5h1rmjsj2oufpe6m6kp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f3965866e6fdc1c4','aut66e6f7787166e6fdc1a8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163113.8067 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163113.8084 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163113.8114 mqqhqgs5h1rmjsj2oufpe6m6kp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f3965866e6fdc1c4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e6f7787166e6fdc1a8' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240915@163113.8361 mqqhqgs5h1rmjsj2oufpe6m6kp Query : use flama_phc
20240915@163113.8364 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select st.usalote valor from st where st.ref = '324.2232.00.1'
20240915@163113.8386 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2232.00.1'
20240915@163113.9709 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163113.9744 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163113.9802 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163113.9820 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163113.9829 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163113.9860 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select sestamp valor from se where ref ='324.2232.00.1' and lote = 'r2400241100a'
20240915@163113.9887 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163113.9903 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163113.9916 mqqhqgs5h1rmjsj2oufpe6m6kp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f4079866e6fdc1f1','aut66e6f7787166e6fdc1a8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163113.9921 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163113.9989 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163114.1111 mqqhqgs5h1rmjsj2oufpe6m6kp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f4079866e6fdc1f1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e6f7787166e6fdc1a8' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240915@163114.1396 mqqhqgs5h1rmjsj2oufpe6m6kp Query : use flama_phc
20240915@163114.1399 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240915@163114.1420 mqqhqgs5h1rmjsj2oufpe6m6kp 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.1834.00.1'
20240915@163114.1573 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.1589 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163114.1614 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.1629 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163114.1637 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163114.1649 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2300974200a'
20240915@163114.1664 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.1680 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163114.1692 mqqhqgs5h1rmjsj2oufpe6m6kp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f5758466e6fdc228','aut66e6f7787166e6fdc1a8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163114.1696 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.1710 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163114.1739 mqqhqgs5h1rmjsj2oufpe6m6kp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f5758466e6fdc228',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e6f7787166e6fdc1a8' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240915@163114.1980 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.1996 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163114.2028 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.2044 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163114.2052 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163114.2065 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.2080 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163114.2091 mqqhqgs5h1rmjsj2oufpe6m6kp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f1409866e6fdc232','aut66e6f7787166e6fdc1a8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163114.2095 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.2109 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163114.2136 mqqhqgs5h1rmjsj2oufpe6m6kp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f1409866e6fdc232',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f7787166e6fdc1a8' ,0,0 ,2,23.00,40000,?,?,?)
20240915@163114.2431 mqqhqgs5h1rmjsj2oufpe6m6kp Query : use flama_phc
20240915@163114.2434 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20240915@163114.2455 mqqhqgs5h1rmjsj2oufpe6m6kp 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'
20240915@163114.2608 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.2624 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163114.2650 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.2665 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163114.2674 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163114.2686 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2300643200a'
20240915@163114.2711 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.2726 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163114.2738 mqqhqgs5h1rmjsj2oufpe6m6kp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f7543066e6fdc242','aut66e6f7787166e6fdc1a8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163114.2742 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.2757 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163114.2790 mqqhqgs5h1rmjsj2oufpe6m6kp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f7543066e6fdc242',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e6f7787166e6fdc1a8' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20240915@163114.3031 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.3047 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163114.3071 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.3086 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163114.3095 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163114.3108 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.3122 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163114.3134 mqqhqgs5h1rmjsj2oufpe6m6kp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f7370066e6fdc24b','aut66e6f7787166e6fdc1a8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163114.3138 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.3154 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163114.3183 mqqhqgs5h1rmjsj2oufpe6m6kp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f7370066e6fdc24b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f7787166e6fdc1a8' ,0,0 ,2,23.00,70000,?,?,?)
20240915@163114.3416 mqqhqgs5h1rmjsj2oufpe6m6kp Query : use flama_phc
20240915@163114.3419 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20240915@163114.3442 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1676.00.1'
20240915@163114.3606 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.3622 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163114.3652 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.3669 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163114.3678 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163114.3691 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2400173900a'
20240915@163114.5496 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.5659 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163114.5673 mqqhqgs5h1rmjsj2oufpe6m6kp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f8146766e6fdc286','aut66e6f7787166e6fdc1a8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163114.5678 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.5693 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163114.5724 mqqhqgs5h1rmjsj2oufpe6m6kp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f8146766e6fdc286',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',5.000 ,'aut66e6f7787166e6fdc1a8' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20240915@163114.6012 mqqhqgs5h1rmjsj2oufpe6m6kp Query : use flama_phc
20240915@163114.6052 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select st.usalote valor from st where st.ref = '324.1676.00.1'
20240915@163114.6140 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1676.00.1'
20240915@163114.6155 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.6172 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163114.6203 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.6218 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163114.6227 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163114.6239 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select sestamp valor from se where ref ='324.1676.00.1' and lote = 'r2400173900a'
20240915@163114.6251 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.6266 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163114.6279 mqqhqgs5h1rmjsj2oufpe6m6kp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f2670666e6fdc298','aut66e6f7787166e6fdc1a8' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163114.6283 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163114.6300 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163114.6331 mqqhqgs5h1rmjsj2oufpe6m6kp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f2670666e6fdc298',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66e6f7787166e6fdc1a8' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240915@163114.6566 mqqhqgs5h1rmjsj2oufpe6m6kp Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e6f7787166e6fdc1a8','2405944','wait',39,'adm09112754980.682000002')
20240915@163114.6643 mqqhqgs5h1rmjsj2oufpe6m6kp Query : use flama_phc
20240915@163114.6646 mqqhqgs5h1rmjsj2oufpe6m6kp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163114.6676 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1999';
20240915@163114.6707 mqqhqgs5h1rmjsj2oufpe6m6kp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1999';
20240915@163114.6747 mqqhqgs5h1rmjsj2oufpe6m6kp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='1999';
20240915@163114.6773 mqqhqgs5h1rmjsj2oufpe6m6kp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='1999';
20240915@163114.8168 pa0ojfndrennhda341ogij45kg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240915@163114.8181 pa0ojfndrennhda341ogij45kg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240915@163114.8248 pa0ojfndrennhda341ogij45kg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2000';
20240915@163114.8303 pa0ojfndrennhda341ogij45kg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2000';
20240915@163114.8356 pa0ojfndrennhda341ogij45kg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2000';
20240915@163114.8384 pa0ojfndrennhda341ogij45kg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2000';
20240915@163114.8429 pa0ojfndrennhda341ogij45kg Query : use flama_phc
20240915@163114.8433 pa0ojfndrennhda341ogij45kg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240915@163114.8499 pa0ojfndrennhda341ogij45kg Query : use flama_phc
20240915@163114.8501 pa0ojfndrennhda341ogij45kg Query : select no, estab,szadrsdesc from szadrs where u_coddest=3155
20240915@163114.8591 pa0ojfndrennhda341ogij45kg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20240915@163114.8735 pa0ojfndrennhda341ogij45kg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405945 and bi.ref ='324.1670.00.1' and bi.lordem =1
20240915@163114.9053 pa0ojfndrennhda341ogij45kg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1685.00.1'
20240915@163114.9197 pa0ojfndrennhda341ogij45kg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405945 and bi.ref ='324.1685.00.1' and bi.lordem =2
20240915@163114.9519 pa0ojfndrennhda341ogij45kg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20240915@163114.9670 pa0ojfndrennhda341ogij45kg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405945 and bi.ref ='324.5500.00.1' and bi.lordem =3
20240915@163114.9974 pa0ojfndrennhda341ogij45kg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5396.00.1'
20240915@163115.1260 pa0ojfndrennhda341ogij45kg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405945 and bi.ref ='324.5396.00.1' and bi.lordem =4
20240915@163115.4900 pa0ojfndrennhda341ogij45kg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.497.00.01'
20240915@163115.6280 pa0ojfndrennhda341ogij45kg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405945 and bi.ref ='324.497.00.01' and bi.lordem =5
20240915@163115.9330 pa0ojfndrennhda341ogij45kg 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'
20240915@163115.1573 pa0ojfndrennhda341ogij45kg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405945 and bi.ref ='324.1705.00.1' and bi.lordem =6
20240915@163115.1901 pa0ojfndrennhda341ogij45kg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1706.00.1'
20240915@163115.2040 pa0ojfndrennhda341ogij45kg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405945 and bi.ref ='324.1706.00.1' and bi.lordem =7
20240915@163115.3302 pa0ojfndrennhda341ogij45kg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1716.00.1'
20240915@163115.3589 pa0ojfndrennhda341ogij45kg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405945 and bi.ref ='324.1716.00.1' and bi.lordem =8
20240915@163115.4288 pa0ojfndrennhda341ogij45kg Query : use flama_phc
20240915@163115.4324 pa0ojfndrennhda341ogij45kg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240915@163115.4449 pa0ojfndrennhda341ogij45kg Query : use flama_phc
20240915@163115.4452 pa0ojfndrennhda341ogij45kg Query : select top 1 1 valor from td where td.ndoc = 39
20240915@163115.4480 pa0ojfndrennhda341ogij45kg Query : use flama_phc
20240915@163115.4483 pa0ojfndrennhda341ogij45kg 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')
20240915@163115.4509 pa0ojfndrennhda341ogij45kg 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
20240915@163115.4564 pa0ojfndrennhda341ogij45kg Query : use flama_phc
20240915@163115.4567 pa0ojfndrennhda341ogij45kg Query : select top 1 ~inactivo valor from cl where no = '101176' and estab = 0 order by inactivo desc
20240915@163115.4700 pa0ojfndrennhda341ogij45kg Query : use flama_phc
20240915@163115.4702 pa0ojfndrennhda341ogij45kg Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240915@163115.4732 pa0ojfndrennhda341ogij45kg Query : use flama_phc
20240915@163115.4735 pa0ojfndrennhda341ogij45kg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240915@163115.4779 pa0ojfndrennhda341ogij45kg Query : use flama_phc
20240915@163115.4782 pa0ojfndrennhda341ogij45kg Query : select szadrsstamp valor from szadrs where szadrsdesc='soares & filhos, lda.-entrega'
20240915@163115.4834 pa0ojfndrennhda341ogij45kg Query : use flama_phc
20240915@163115.4836 pa0ojfndrennhda341ogij45kg Query : select 1 valor from td where ndoc = 39
20240915@163115.4848 pa0ojfndrennhda341ogij45kg Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240915@163115.4860 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.4875 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163115.4893 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.4909 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163115.4937 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.4951 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163115.4963 pa0ojfndrennhda341ogij45kg Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163115.5028 pa0ojfndrennhda341ogij45kg Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163115.5040 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.5055 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163115.5070 pa0ojfndrennhda341ogij45kg Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e6f7146866e6fdc379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240915@163115.5247 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.5263 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163115.5300 pa0ojfndrennhda341ogij45kg Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240915@163115.5312 pa0ojfndrennhda341ogij45kg Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240915@163115.5324 pa0ojfndrennhda341ogij45kg Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240915@163115.5337 pa0ojfndrennhda341ogij45kg Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240915@163115.5354 pa0ojfndrennhda341ogij45kg Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240915@163115.5365 pa0ojfndrennhda341ogij45kg Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240915@163115.5377 pa0ojfndrennhda341ogij45kg Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e6f7146866e6fdc379',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240915@163115.5625 pa0ojfndrennhda341ogij45kg Query : select top 1 fno valor from wsftdata order by fno desc
20240915@163115.5644 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.5663 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163115.5685 pa0ojfndrennhda341ogij45kg Query : select 'normal' from dummy
20240915@163115.5705 pa0ojfndrennhda341ogij45kg Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e6f7146866e6fdc379',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',749,101176,0,'2024-09-15',39,'euro',0,0,2024 ,?,?)
20240915@163115.5985 pa0ojfndrennhda341ogij45kg Query : use flama_phc
20240915@163115.5988 pa0ojfndrennhda341ogij45kg Query : select st.usalote valor from st where st.ref = '324.1670.00.1'
20240915@163115.6011 pa0ojfndrennhda341ogij45kg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1670.00.1'
20240915@163115.6299 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.6315 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163115.6342 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.6356 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163115.6365 pa0ojfndrennhda341ogij45kg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163115.6380 pa0ojfndrennhda341ogij45kg Query : select sestamp valor from se where ref ='324.1670.00.1' and lote = 'r2301213200a'
20240915@163115.6394 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.6411 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163115.6422 pa0ojfndrennhda341ogij45kg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f3220266e6fdc39c','aut66e6f7146866e6fdc379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163115.6426 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.6440 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163115.6468 pa0ojfndrennhda341ogij45kg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f3220266e6fdc39c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e6f7146866e6fdc379' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240915@163115.6720 pa0ojfndrennhda341ogij45kg Query : use flama_phc
20240915@163115.6723 pa0ojfndrennhda341ogij45kg Query : select st.usalote valor from st where st.ref = '324.1685.00.1'
20240915@163115.6743 pa0ojfndrennhda341ogij45kg 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.1685.00.1'
20240915@163115.6881 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.6896 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163115.6923 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.6942 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163115.6951 pa0ojfndrennhda341ogij45kg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163115.6965 pa0ojfndrennhda341ogij45kg Query : select sestamp valor from se where ref ='324.1685.00.1' and lote = 'r2400173100a'
20240915@163115.6978 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.6993 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163115.7004 pa0ojfndrennhda341ogij45kg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f2798466e6fdc3aa','aut66e6f7146866e6fdc379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163115.7016 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.7031 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163115.7062 pa0ojfndrennhda341ogij45kg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f2798466e6fdc3aa',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e6f7146866e6fdc379' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240915@163115.7313 pa0ojfndrennhda341ogij45kg Query : use flama_phc
20240915@163115.7317 pa0ojfndrennhda341ogij45kg Query : select st.usalote valor from st where st.ref = '324.5500.00.1'
20240915@163115.7338 pa0ojfndrennhda341ogij45kg 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.5500.00.1'
20240915@163115.7479 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.7495 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163115.7521 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.7536 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163115.7545 pa0ojfndrennhda341ogij45kg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163115.7558 pa0ojfndrennhda341ogij45kg Query : select sestamp valor from se where ref ='324.5500.00.1' and lote = 'r2301223200a'
20240915@163115.7572 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.7587 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163115.7601 pa0ojfndrennhda341ogij45kg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f1063466e6fdc3b8','aut66e6f7146866e6fdc379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163115.7605 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.7620 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163115.7658 pa0ojfndrennhda341ogij45kg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f1063466e6fdc3b8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66e6f7146866e6fdc379' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20240915@163115.8089 pa0ojfndrennhda341ogij45kg Query : use flama_phc
20240915@163115.8125 pa0ojfndrennhda341ogij45kg Query : select st.usalote valor from st where st.ref = '324.5396.00.1'
20240915@163115.8193 pa0ojfndrennhda341ogij45kg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.5396.00.1'
20240915@163115.8362 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.8379 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163115.8412 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.8426 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163115.8435 pa0ojfndrennhda341ogij45kg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163115.8450 pa0ojfndrennhda341ogij45kg Query : select sestamp valor from se where ref ='324.5396.00.1' and lote = 'r2300840100a'
20240915@163115.8463 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.8478 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163115.8492 pa0ojfndrennhda341ogij45kg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f6171066e6fdc3ce','aut66e6f7146866e6fdc379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163115.8496 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.8512 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163115.8551 pa0ojfndrennhda341ogij45kg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f6171066e6fdc3ce',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut66e6f7146866e6fdc379' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240915@163115.8810 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.8826 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163115.8851 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.8865 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163115.8874 pa0ojfndrennhda341ogij45kg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163115.8890 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.8905 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163115.8917 pa0ojfndrennhda341ogij45kg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f2352966e6fdc3d9','aut66e6f7146866e6fdc379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163115.8921 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.8936 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163115.8969 pa0ojfndrennhda341ogij45kg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f2352966e6fdc3d9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f7146866e6fdc379' ,0,0 ,2,23.00,50000,?,?,?)
20240915@163115.9241 pa0ojfndrennhda341ogij45kg Query : use flama_phc
20240915@163115.9244 pa0ojfndrennhda341ogij45kg Query : select st.usalote valor from st where st.ref = '324.497.00.01'
20240915@163115.9269 pa0ojfndrennhda341ogij45kg 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.497.00.01'
20240915@163115.9415 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.9434 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163115.9462 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.9479 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163115.9491 pa0ojfndrennhda341ogij45kg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163115.9504 pa0ojfndrennhda341ogij45kg Query : select sestamp valor from se where ref ='324.497.00.01' and lote = 'r2300022100a'
20240915@163115.9532 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.9551 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163115.9564 pa0ojfndrennhda341ogij45kg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f3874066e6fdc3e8','aut66e6f7146866e6fdc379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163115.9569 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163115.9588 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163115.9618 pa0ojfndrennhda341ogij45kg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f3874066e6fdc3e8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e6f7146866e6fdc379' ,0,0 ,2,23.00,70000,?,?,?,?,?)
20240915@163115.9858 pa0ojfndrennhda341ogij45kg Query : use flama_phc
20240915@163115.9861 pa0ojfndrennhda341ogij45kg Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20240915@163115.9882 pa0ojfndrennhda341ogij45kg 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'
20240915@163116.1800 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.3400 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163116.6100 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.7700 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163116.8600 pa0ojfndrennhda341ogij45kg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163116.1000 pa0ojfndrennhda341ogij45kg Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2400050500a'
20240915@163116.1330 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.1480 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163116.1620 pa0ojfndrennhda341ogij45kg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f3348566e6fdc403','aut66e6f7146866e6fdc379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163116.1670 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.1840 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163116.2140 pa0ojfndrennhda341ogij45kg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f3348566e6fdc403',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e6f7146866e6fdc379' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240915@163116.4760 pa0ojfndrennhda341ogij45kg Query : use flama_phc
20240915@163116.4800 pa0ojfndrennhda341ogij45kg Query : select st.usalote valor from st where st.ref = '324.1706.00.1'
20240915@163116.5040 pa0ojfndrennhda341ogij45kg 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.1706.00.1'
20240915@163116.7050 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.7240 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163116.7550 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.7730 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163116.7840 pa0ojfndrennhda341ogij45kg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163116.8060 pa0ojfndrennhda341ogij45kg Query : select sestamp valor from se where ref ='324.1706.00.1' and lote = 'r2100123100b'
20240915@163116.8270 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.8450 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163116.8590 pa0ojfndrennhda341ogij45kg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f5295366e6fdc414','aut66e6f7146866e6fdc379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163116.8640 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.8790 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163116.9160 pa0ojfndrennhda341ogij45kg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f5295366e6fdc414',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e6f7146866e6fdc379' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20240915@163116.1215 pa0ojfndrennhda341ogij45kg Query : use flama_phc
20240915@163116.1220 pa0ojfndrennhda341ogij45kg Query : select st.usalote valor from st where st.ref = '324.1716.00.1'
20240915@163116.1245 pa0ojfndrennhda341ogij45kg 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.1716.00.1'
20240915@163116.1417 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.1434 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163116.1462 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.1481 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163116.1491 pa0ojfndrennhda341ogij45kg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163116.1508 pa0ojfndrennhda341ogij45kg Query : select sestamp valor from se where ref ='324.1716.00.1' and lote = 'r2100312300a'
20240915@163116.1531 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.1550 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163116.1563 pa0ojfndrennhda341ogij45kg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f5624066e6fdc425','aut66e6f7146866e6fdc379' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163116.1568 pa0ojfndrennhda341ogij45kg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.1585 pa0ojfndrennhda341ogij45kg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163116.1620 pa0ojfndrennhda341ogij45kg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f5624066e6fdc425',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e6f7146866e6fdc379' ,0,0 ,2,23.00,100000,?,?,?,?,?)
20240915@163116.1959 pa0ojfndrennhda341ogij45kg Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e6f7146866e6fdc379','2405945','wait',39,'adm09112754980.682000002')
20240915@163116.2032 pa0ojfndrennhda341ogij45kg Query : use flama_phc
20240915@163116.2035 pa0ojfndrennhda341ogij45kg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163116.2069 pa0ojfndrennhda341ogij45kg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2000';
20240915@163116.2097 pa0ojfndrennhda341ogij45kg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2000';
20240915@163116.2134 pa0ojfndrennhda341ogij45kg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2000';
20240915@163116.2159 pa0ojfndrennhda341ogij45kg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2000';
20240915@163116.3406 dccfvctdqg326fsv227f29tk73 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240915@163116.3422 dccfvctdqg326fsv227f29tk73 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240915@163116.3479 dccfvctdqg326fsv227f29tk73 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2001';
20240915@163116.3530 dccfvctdqg326fsv227f29tk73 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2001';
20240915@163116.3585 dccfvctdqg326fsv227f29tk73 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2001';
20240915@163116.3610 dccfvctdqg326fsv227f29tk73 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2001';
20240915@163116.3665 dccfvctdqg326fsv227f29tk73 Query : use flama_phc
20240915@163116.3668 dccfvctdqg326fsv227f29tk73 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240915@163116.3740 dccfvctdqg326fsv227f29tk73 Query : use flama_phc
20240915@163116.3743 dccfvctdqg326fsv227f29tk73 Query : select no, estab,szadrsdesc from szadrs where u_coddest=829
20240915@163116.3824 dccfvctdqg326fsv227f29tk73 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'
20240915@163116.3845 dccfvctdqg326fsv227f29tk73 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405947 and bi.ref ='324.1705.00.1' and bi.lordem =1
20240915@163116.4165 dccfvctdqg326fsv227f29tk73 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1317.00.1'
20240915@163116.4305 dccfvctdqg326fsv227f29tk73 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405947 and bi.ref ='324.1317.00.1' and bi.lordem =2
20240915@163116.4596 dccfvctdqg326fsv227f29tk73 Query : use flama_phc
20240915@163116.4599 dccfvctdqg326fsv227f29tk73 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240915@163116.4631 dccfvctdqg326fsv227f29tk73 Query : use flama_phc
20240915@163116.4634 dccfvctdqg326fsv227f29tk73 Query : select top 1 1 valor from td where td.ndoc = 39
20240915@163116.4664 dccfvctdqg326fsv227f29tk73 Query : use flama_phc
20240915@163116.4667 dccfvctdqg326fsv227f29tk73 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')
20240915@163116.4694 dccfvctdqg326fsv227f29tk73 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
20240915@163116.4730 dccfvctdqg326fsv227f29tk73 Query : use flama_phc
20240915@163116.4733 dccfvctdqg326fsv227f29tk73 Query : select top 1 ~inactivo valor from cl where no = '101684' and estab = 0 order by inactivo desc
20240915@163116.4845 dccfvctdqg326fsv227f29tk73 Query : use flama_phc
20240915@163116.4849 dccfvctdqg326fsv227f29tk73 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240915@163116.4881 dccfvctdqg326fsv227f29tk73 Query : use flama_phc
20240915@163116.4884 dccfvctdqg326fsv227f29tk73 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240915@163116.4928 dccfvctdqg326fsv227f29tk73 Query : use flama_phc
20240915@163116.4931 dccfvctdqg326fsv227f29tk73 Query : select szadrsstamp valor from szadrs where szadrsdesc='martins & correia,lda'
20240915@163116.4977 dccfvctdqg326fsv227f29tk73 Query : use flama_phc
20240915@163116.4979 dccfvctdqg326fsv227f29tk73 Query : select 1 valor from td where ndoc = 39
20240915@163116.4993 dccfvctdqg326fsv227f29tk73 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240915@163116.5007 dccfvctdqg326fsv227f29tk73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.5023 dccfvctdqg326fsv227f29tk73 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163116.5051 dccfvctdqg326fsv227f29tk73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.5066 dccfvctdqg326fsv227f29tk73 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163116.5097 dccfvctdqg326fsv227f29tk73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.5118 dccfvctdqg326fsv227f29tk73 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163116.5131 dccfvctdqg326fsv227f29tk73 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163116.5197 dccfvctdqg326fsv227f29tk73 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163116.5210 dccfvctdqg326fsv227f29tk73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.5228 dccfvctdqg326fsv227f29tk73 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163116.5245 dccfvctdqg326fsv227f29tk73 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e6f0852666e6fdc47d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240915@163116.5424 dccfvctdqg326fsv227f29tk73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.5441 dccfvctdqg326fsv227f29tk73 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163116.5472 dccfvctdqg326fsv227f29tk73 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240915@163116.5484 dccfvctdqg326fsv227f29tk73 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240915@163116.5495 dccfvctdqg326fsv227f29tk73 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240915@163116.5505 dccfvctdqg326fsv227f29tk73 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240915@163116.5516 dccfvctdqg326fsv227f29tk73 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240915@163116.5529 dccfvctdqg326fsv227f29tk73 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240915@163116.5541 dccfvctdqg326fsv227f29tk73 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e6f0852666e6fdc47d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240915@163116.5782 dccfvctdqg326fsv227f29tk73 Query : select top 1 fno valor from wsftdata order by fno desc
20240915@163116.5803 dccfvctdqg326fsv227f29tk73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.5819 dccfvctdqg326fsv227f29tk73 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163116.5842 dccfvctdqg326fsv227f29tk73 Query : select 'normal' from dummy
20240915@163116.5857 dccfvctdqg326fsv227f29tk73 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e6f0852666e6fdc47d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',750,101684,0,'2024-09-15',39,'euro',0,0,2024 ,?,?)
20240915@163116.6151 dccfvctdqg326fsv227f29tk73 Query : use flama_phc
20240915@163116.6154 dccfvctdqg326fsv227f29tk73 Query : select st.usalote valor from st where st.ref = '324.1705.00.1'
20240915@163116.6176 dccfvctdqg326fsv227f29tk73 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'
20240915@163116.6190 dccfvctdqg326fsv227f29tk73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.6205 dccfvctdqg326fsv227f29tk73 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163116.6230 dccfvctdqg326fsv227f29tk73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.6244 dccfvctdqg326fsv227f29tk73 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163116.6252 dccfvctdqg326fsv227f29tk73 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163116.6263 dccfvctdqg326fsv227f29tk73 Query : select sestamp valor from se where ref ='324.1705.00.1' and lote = 'r2400050500a'
20240915@163116.6276 dccfvctdqg326fsv227f29tk73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.6291 dccfvctdqg326fsv227f29tk73 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163116.6420 dccfvctdqg326fsv227f29tk73 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f2599366e6fdc499','aut66e6f0852666e6fdc47d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163116.6451 dccfvctdqg326fsv227f29tk73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.6467 dccfvctdqg326fsv227f29tk73 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163116.6497 dccfvctdqg326fsv227f29tk73 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f2599366e6fdc499',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut66e6f0852666e6fdc47d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240915@163116.6750 dccfvctdqg326fsv227f29tk73 Query : use flama_phc
20240915@163116.6753 dccfvctdqg326fsv227f29tk73 Query : select st.usalote valor from st where st.ref = '324.1317.00.1'
20240915@163116.6773 dccfvctdqg326fsv227f29tk73 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.1317.00.1'
20240915@163116.8042 dccfvctdqg326fsv227f29tk73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.8062 dccfvctdqg326fsv227f29tk73 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163116.8089 dccfvctdqg326fsv227f29tk73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.8103 dccfvctdqg326fsv227f29tk73 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163116.8113 dccfvctdqg326fsv227f29tk73 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163116.8125 dccfvctdqg326fsv227f29tk73 Query : select sestamp valor from se where ref ='324.1317.00.1' and lote = 'r2400458200a'
20240915@163116.8145 dccfvctdqg326fsv227f29tk73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.8159 dccfvctdqg326fsv227f29tk73 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163116.8170 dccfvctdqg326fsv227f29tk73 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f0926966e6fdc4c6','aut66e6f0852666e6fdc47d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163116.8181 dccfvctdqg326fsv227f29tk73 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163116.8195 dccfvctdqg326fsv227f29tk73 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163116.8224 dccfvctdqg326fsv227f29tk73 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f0926966e6fdc4c6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e6f0852666e6fdc47d' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240915@163116.8488 dccfvctdqg326fsv227f29tk73 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e6f0852666e6fdc47d','2405947','wait',39,'adm09112754980.682000002')
20240915@163116.8560 dccfvctdqg326fsv227f29tk73 Query : use flama_phc
20240915@163116.8563 dccfvctdqg326fsv227f29tk73 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163116.8594 dccfvctdqg326fsv227f29tk73 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2001';
20240915@163116.8622 dccfvctdqg326fsv227f29tk73 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2001';
20240915@163116.8661 dccfvctdqg326fsv227f29tk73 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2001';
20240915@163116.8685 dccfvctdqg326fsv227f29tk73 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2001';
20240915@163116.9163 difknjlqplmff2t2ic19hm5rqv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240915@163116.9175 difknjlqplmff2t2ic19hm5rqv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240915@163116.9235 difknjlqplmff2t2ic19hm5rqv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2002';
20240915@163116.9288 difknjlqplmff2t2ic19hm5rqv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2002';
20240915@163116.9339 difknjlqplmff2t2ic19hm5rqv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2002';
20240915@163116.9366 difknjlqplmff2t2ic19hm5rqv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2002';
20240915@163116.9416 difknjlqplmff2t2ic19hm5rqv Query : use flama_phc
20240915@163116.9419 difknjlqplmff2t2ic19hm5rqv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240915@163116.9485 difknjlqplmff2t2ic19hm5rqv Query : use flama_phc
20240915@163116.9488 difknjlqplmff2t2ic19hm5rqv Query : select no, estab,szadrsdesc from szadrs where u_coddest=2474
20240915@163116.9567 difknjlqplmff2t2ic19hm5rqv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240915@163116.9594 difknjlqplmff2t2ic19hm5rqv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405948 and bi.ref ='324.1834.00.1' and bi.lordem =1
20240915@163116.9912 difknjlqplmff2t2ic19hm5rqv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20240915@163117.2020 difknjlqplmff2t2ic19hm5rqv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405948 and bi.ref ='324.1803.00.1' and bi.lordem =2
20240915@163117.9390 difknjlqplmff2t2ic19hm5rqv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240915@163117.1197 difknjlqplmff2t2ic19hm5rqv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405948 and bi.ref ='324.1831.00.2' and bi.lordem =3
20240915@163117.1516 difknjlqplmff2t2ic19hm5rqv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240915@163117.1537 difknjlqplmff2t2ic19hm5rqv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405948 and bi.ref ='324.1831.00.2' and bi.lordem =4
20240915@163117.1905 difknjlqplmff2t2ic19hm5rqv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20240915@163117.2063 difknjlqplmff2t2ic19hm5rqv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405948 and bi.ref ='324.1805.00.1' and bi.lordem =5
20240915@163117.2370 difknjlqplmff2t2ic19hm5rqv Query : use flama_phc
20240915@163117.2373 difknjlqplmff2t2ic19hm5rqv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240915@163117.2406 difknjlqplmff2t2ic19hm5rqv Query : use flama_phc
20240915@163117.2409 difknjlqplmff2t2ic19hm5rqv Query : select top 1 1 valor from td where td.ndoc = 39
20240915@163117.2445 difknjlqplmff2t2ic19hm5rqv Query : use flama_phc
20240915@163117.2448 difknjlqplmff2t2ic19hm5rqv 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')
20240915@163117.2476 difknjlqplmff2t2ic19hm5rqv 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
20240915@163117.2514 difknjlqplmff2t2ic19hm5rqv Query : use flama_phc
20240915@163117.2517 difknjlqplmff2t2ic19hm5rqv Query : select top 1 ~inactivo valor from cl where no = '101841' and estab = 0 order by inactivo desc
20240915@163117.2634 difknjlqplmff2t2ic19hm5rqv Query : use flama_phc
20240915@163117.2637 difknjlqplmff2t2ic19hm5rqv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240915@163117.2666 difknjlqplmff2t2ic19hm5rqv Query : use flama_phc
20240915@163117.2669 difknjlqplmff2t2ic19hm5rqv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240915@163117.2714 difknjlqplmff2t2ic19hm5rqv Query : use flama_phc
20240915@163117.2717 difknjlqplmff2t2ic19hm5rqv Query : select szadrsstamp valor from szadrs where szadrsdesc='estabelecimentos mendes, lda.'
20240915@163117.2761 difknjlqplmff2t2ic19hm5rqv Query : use flama_phc
20240915@163117.2764 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from td where ndoc = 39
20240915@163117.2776 difknjlqplmff2t2ic19hm5rqv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240915@163117.2793 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.2810 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163117.2837 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.2852 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163117.2881 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.2896 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163117.2909 difknjlqplmff2t2ic19hm5rqv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163117.2980 difknjlqplmff2t2ic19hm5rqv Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163117.2992 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.3008 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163117.3024 difknjlqplmff2t2ic19hm5rqv Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e6f4774966e6fdc547' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240915@163117.3199 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.3215 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163117.3252 difknjlqplmff2t2ic19hm5rqv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240915@163117.3265 difknjlqplmff2t2ic19hm5rqv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240915@163117.3278 difknjlqplmff2t2ic19hm5rqv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240915@163117.3293 difknjlqplmff2t2ic19hm5rqv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240915@163117.3304 difknjlqplmff2t2ic19hm5rqv Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240915@163117.3316 difknjlqplmff2t2ic19hm5rqv Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240915@163117.3329 difknjlqplmff2t2ic19hm5rqv Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e6f4774966e6fdc547',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240915@163117.3559 difknjlqplmff2t2ic19hm5rqv Query : select top 1 fno valor from wsftdata order by fno desc
20240915@163117.3587 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.3603 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163117.3629 difknjlqplmff2t2ic19hm5rqv Query : select 'normal' from dummy
20240915@163117.3708 difknjlqplmff2t2ic19hm5rqv Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e6f4774966e6fdc547',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',751,101841,0,'2024-09-15',39,'euro',0,0,2024 ,?,?)
20240915@163117.3989 difknjlqplmff2t2ic19hm5rqv Query : use flama_phc
20240915@163117.3992 difknjlqplmff2t2ic19hm5rqv Query : select st.usalote valor from st where st.ref = '324.1834.00.1'
20240915@163117.4013 difknjlqplmff2t2ic19hm5rqv 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.1834.00.1'
20240915@163117.4026 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.4040 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163117.4065 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.4079 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163117.4087 difknjlqplmff2t2ic19hm5rqv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163117.4099 difknjlqplmff2t2ic19hm5rqv Query : select sestamp valor from se where ref ='324.1834.00.1' and lote = 'r2300974200a'
20240915@163117.4110 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.4124 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163117.4135 difknjlqplmff2t2ic19hm5rqv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f9008066e6fdc564','aut66e6f4774966e6fdc547' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163117.4139 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.4154 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163117.4180 difknjlqplmff2t2ic19hm5rqv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f9008066e6fdc564',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e6f4774966e6fdc547' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240915@163117.4564 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.4695 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163117.4721 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.4735 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163117.4743 difknjlqplmff2t2ic19hm5rqv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163117.4755 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.4769 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163117.4780 difknjlqplmff2t2ic19hm5rqv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f2418766e6fdc574','aut66e6f4774966e6fdc547' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163117.4784 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.4797 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163117.4824 difknjlqplmff2t2ic19hm5rqv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f2418766e6fdc574',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f4774966e6fdc547' ,0,0 ,2,23.00,20000,?,?,?)
20240915@163117.5070 difknjlqplmff2t2ic19hm5rqv Query : use flama_phc
20240915@163117.5073 difknjlqplmff2t2ic19hm5rqv Query : select st.usalote valor from st where st.ref = '324.1803.00.1'
20240915@163117.5091 difknjlqplmff2t2ic19hm5rqv 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.1803.00.1'
20240915@163117.5227 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.5242 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163117.5265 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.5278 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163117.5286 difknjlqplmff2t2ic19hm5rqv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163117.5297 difknjlqplmff2t2ic19hm5rqv Query : select sestamp valor from se where ref ='324.1803.00.1' and lote = 'r2301274200a'
20240915@163117.5316 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.5329 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163117.5341 difknjlqplmff2t2ic19hm5rqv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f9670166e6fdc581','aut66e6f4774966e6fdc547' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163117.5345 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.5358 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163117.5386 difknjlqplmff2t2ic19hm5rqv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f9670166e6fdc581',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e6f4774966e6fdc547' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20240915@163117.5690 difknjlqplmff2t2ic19hm5rqv Query : use flama_phc
20240915@163117.5693 difknjlqplmff2t2ic19hm5rqv Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240915@163117.5712 difknjlqplmff2t2ic19hm5rqv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240915@163117.5851 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.5866 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163117.5890 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.5904 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163117.5911 difknjlqplmff2t2ic19hm5rqv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163117.5922 difknjlqplmff2t2ic19hm5rqv Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240915@163117.5935 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.5951 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163117.5962 difknjlqplmff2t2ic19hm5rqv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f4158966e6fdc590','aut66e6f4774966e6fdc547' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163117.5966 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.5980 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163117.6006 difknjlqplmff2t2ic19hm5rqv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f4158966e6fdc590',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66e6f4774966e6fdc547' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20240915@163117.6247 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.6263 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163117.6288 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.6302 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163117.6310 difknjlqplmff2t2ic19hm5rqv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163117.6322 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.6336 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163117.6347 difknjlqplmff2t2ic19hm5rqv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f7726566e6fdc59a','aut66e6f4774966e6fdc547' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163117.6351 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.6365 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163117.6393 difknjlqplmff2t2ic19hm5rqv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f7726566e6fdc59a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f4774966e6fdc547' ,0,0 ,2,23.00,60000,?,?,?)
20240915@163117.6653 difknjlqplmff2t2ic19hm5rqv Query : use flama_phc
20240915@163117.6656 difknjlqplmff2t2ic19hm5rqv Query : select st.usalote valor from st where st.ref = '324.1831.00.2'
20240915@163117.6676 difknjlqplmff2t2ic19hm5rqv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1831.00.2'
20240915@163117.6690 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.6706 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163117.6732 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.6747 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163117.6755 difknjlqplmff2t2ic19hm5rqv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163117.6774 difknjlqplmff2t2ic19hm5rqv Query : select sestamp valor from se where ref ='324.1831.00.2' and lote = 'r2301271200a'
20240915@163117.6786 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.6801 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163117.6812 difknjlqplmff2t2ic19hm5rqv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f8576066e6fdc5a5','aut66e6f4774966e6fdc547' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163117.6816 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.6831 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163117.6911 difknjlqplmff2t2ic19hm5rqv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f8576066e6fdc5a5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut66e6f4774966e6fdc547' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20240915@163117.7176 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.7194 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163117.7218 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.8365 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163117.8376 difknjlqplmff2t2ic19hm5rqv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163117.8389 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.8417 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163117.8429 difknjlqplmff2t2ic19hm5rqv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f5972566e6fdc5cc','aut66e6f4774966e6fdc547' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163117.8435 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.8453 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163117.8478 difknjlqplmff2t2ic19hm5rqv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut66e6f5972566e6fdc5cc',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut66e6f4774966e6fdc547' ,0,0 ,2,23.00,90000,?,?,?)
20240915@163117.8719 difknjlqplmff2t2ic19hm5rqv Query : use flama_phc
20240915@163117.8722 difknjlqplmff2t2ic19hm5rqv Query : select st.usalote valor from st where st.ref = '324.1805.00.1'
20240915@163117.8742 difknjlqplmff2t2ic19hm5rqv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1805.00.1'
20240915@163117.8877 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.8892 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163117.8919 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.8933 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163117.8941 difknjlqplmff2t2ic19hm5rqv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163117.8952 difknjlqplmff2t2ic19hm5rqv Query : select sestamp valor from se where ref ='324.1805.00.1' and lote = 'r2400290200a'
20240915@163117.8977 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.8991 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163117.9003 difknjlqplmff2t2ic19hm5rqv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f4750966e6fdc5db','aut66e6f4774966e6fdc547' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163117.9007 difknjlqplmff2t2ic19hm5rqv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163117.9020 difknjlqplmff2t2ic19hm5rqv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163117.9048 difknjlqplmff2t2ic19hm5rqv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f4750966e6fdc5db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut66e6f4774966e6fdc547' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20240915@163117.9279 difknjlqplmff2t2ic19hm5rqv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e6f4774966e6fdc547','2405948','wait',39,'adm09112754980.682000002')
20240915@163117.9349 difknjlqplmff2t2ic19hm5rqv Query : use flama_phc
20240915@163117.9352 difknjlqplmff2t2ic19hm5rqv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163117.9382 difknjlqplmff2t2ic19hm5rqv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2002';
20240915@163117.9410 difknjlqplmff2t2ic19hm5rqv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2002';
20240915@163117.9449 difknjlqplmff2t2ic19hm5rqv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2002';
20240915@163117.9473 difknjlqplmff2t2ic19hm5rqv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2002';
20240915@163118.6000 v2tf3u79tou676ncrpicmc11e8 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240915@163118.1700 v2tf3u79tou676ncrpicmc11e8 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240915@163118.7200 v2tf3u79tou676ncrpicmc11e8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2003';
20240915@163118.1220 v2tf3u79tou676ncrpicmc11e8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2003';
20240915@163118.1710 v2tf3u79tou676ncrpicmc11e8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2003';
20240915@163118.1960 v2tf3u79tou676ncrpicmc11e8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2003';
20240915@163118.2460 v2tf3u79tou676ncrpicmc11e8 Query : use flama_phc
20240915@163118.2500 v2tf3u79tou676ncrpicmc11e8 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240915@163118.3110 v2tf3u79tou676ncrpicmc11e8 Query : use flama_phc
20240915@163118.3140 v2tf3u79tou676ncrpicmc11e8 Query : select no, estab,szadrsdesc from szadrs where u_coddest=210
20240915@163118.3990 v2tf3u79tou676ncrpicmc11e8 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'
20240915@163118.4180 v2tf3u79tou676ncrpicmc11e8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405949 and bi.ref ='304.422.00.07' and bi.lordem =1
20240915@163118.7430 v2tf3u79tou676ncrpicmc11e8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240915@163118.8840 v2tf3u79tou676ncrpicmc11e8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405949 and bi.ref ='304.4320.00.1' and bi.lordem =3
20240915@163118.1189 v2tf3u79tou676ncrpicmc11e8 Query : use flama_phc
20240915@163118.1192 v2tf3u79tou676ncrpicmc11e8 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240915@163118.1223 v2tf3u79tou676ncrpicmc11e8 Query : use flama_phc
20240915@163118.1225 v2tf3u79tou676ncrpicmc11e8 Query : select top 1 1 valor from td where td.ndoc = 39
20240915@163118.1255 v2tf3u79tou676ncrpicmc11e8 Query : use flama_phc
20240915@163118.1258 v2tf3u79tou676ncrpicmc11e8 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')
20240915@163118.1301 v2tf3u79tou676ncrpicmc11e8 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
20240915@163118.1334 v2tf3u79tou676ncrpicmc11e8 Query : use flama_phc
20240915@163118.1337 v2tf3u79tou676ncrpicmc11e8 Query : select top 1 ~inactivo valor from cl where no = '101895' and estab = 0 order by inactivo desc
20240915@163118.1451 v2tf3u79tou676ncrpicmc11e8 Query : use flama_phc
20240915@163118.1455 v2tf3u79tou676ncrpicmc11e8 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240915@163118.1490 v2tf3u79tou676ncrpicmc11e8 Query : use flama_phc
20240915@163118.1493 v2tf3u79tou676ncrpicmc11e8 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240915@163118.1540 v2tf3u79tou676ncrpicmc11e8 Query : use flama_phc
20240915@163118.1543 v2tf3u79tou676ncrpicmc11e8 Query : select szadrsstamp valor from szadrs where szadrsdesc='quase bom-com.de electrodomÉsticos, lda.-pombal'
20240915@163118.1589 v2tf3u79tou676ncrpicmc11e8 Query : use flama_phc
20240915@163118.1592 v2tf3u79tou676ncrpicmc11e8 Query : select 1 valor from td where ndoc = 39
20240915@163118.1604 v2tf3u79tou676ncrpicmc11e8 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240915@163118.1617 v2tf3u79tou676ncrpicmc11e8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.1632 v2tf3u79tou676ncrpicmc11e8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163118.1652 v2tf3u79tou676ncrpicmc11e8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.1667 v2tf3u79tou676ncrpicmc11e8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163118.1694 v2tf3u79tou676ncrpicmc11e8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.1712 v2tf3u79tou676ncrpicmc11e8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163118.1725 v2tf3u79tou676ncrpicmc11e8 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163118.1790 v2tf3u79tou676ncrpicmc11e8 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163118.1802 v2tf3u79tou676ncrpicmc11e8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.1820 v2tf3u79tou676ncrpicmc11e8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163118.1838 v2tf3u79tou676ncrpicmc11e8 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e6f0003866e6fdc62a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240915@163118.2021 v2tf3u79tou676ncrpicmc11e8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.2038 v2tf3u79tou676ncrpicmc11e8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163118.2074 v2tf3u79tou676ncrpicmc11e8 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240915@163118.2086 v2tf3u79tou676ncrpicmc11e8 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240915@163118.2098 v2tf3u79tou676ncrpicmc11e8 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240915@163118.2110 v2tf3u79tou676ncrpicmc11e8 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240915@163118.2126 v2tf3u79tou676ncrpicmc11e8 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240915@163118.2137 v2tf3u79tou676ncrpicmc11e8 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240915@163118.2148 v2tf3u79tou676ncrpicmc11e8 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e6f0003866e6fdc62a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240915@163118.2381 v2tf3u79tou676ncrpicmc11e8 Query : select top 1 fno valor from wsftdata order by fno desc
20240915@163118.2401 v2tf3u79tou676ncrpicmc11e8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.2416 v2tf3u79tou676ncrpicmc11e8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163118.2438 v2tf3u79tou676ncrpicmc11e8 Query : select 'normal' from dummy
20240915@163118.2457 v2tf3u79tou676ncrpicmc11e8 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e6f0003866e6fdc62a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',752,101895,0,'2024-09-15',39,'euro',0,0,2024 ,?,?)
20240915@163118.2737 v2tf3u79tou676ncrpicmc11e8 Query : use flama_phc
20240915@163118.2740 v2tf3u79tou676ncrpicmc11e8 Query : select st.usalote valor from st where st.ref = '304.422.00.07'
20240915@163118.2761 v2tf3u79tou676ncrpicmc11e8 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'
20240915@163118.2774 v2tf3u79tou676ncrpicmc11e8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.2789 v2tf3u79tou676ncrpicmc11e8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163118.2813 v2tf3u79tou676ncrpicmc11e8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.2827 v2tf3u79tou676ncrpicmc11e8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163118.2835 v2tf3u79tou676ncrpicmc11e8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163118.2848 v2tf3u79tou676ncrpicmc11e8 Query : select sestamp valor from se where ref ='304.422.00.07' and lote = '240647'
20240915@163118.2861 v2tf3u79tou676ncrpicmc11e8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.2877 v2tf3u79tou676ncrpicmc11e8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163118.2896 v2tf3u79tou676ncrpicmc11e8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f1423466e6fdc645','aut66e6f0003866e6fdc62a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163118.2900 v2tf3u79tou676ncrpicmc11e8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.2915 v2tf3u79tou676ncrpicmc11e8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163118.2943 v2tf3u79tou676ncrpicmc11e8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f1423466e6fdc645',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66e6f0003866e6fdc62a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20240915@163118.3185 v2tf3u79tou676ncrpicmc11e8 Query : use flama_phc
20240915@163118.3189 v2tf3u79tou676ncrpicmc11e8 Query : select st.usalote valor from st where st.ref = '304.4320.00.1'
20240915@163118.3208 v2tf3u79tou676ncrpicmc11e8 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.4320.00.1'
20240915@163118.3363 v2tf3u79tou676ncrpicmc11e8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.3383 v2tf3u79tou676ncrpicmc11e8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163118.3414 v2tf3u79tou676ncrpicmc11e8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.3432 v2tf3u79tou676ncrpicmc11e8 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163118.3442 v2tf3u79tou676ncrpicmc11e8 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240915@163118.3455 v2tf3u79tou676ncrpicmc11e8 Query : select sestamp valor from se where ref ='304.4320.00.1' and lote = '240180'
20240915@163118.4262 v2tf3u79tou676ncrpicmc11e8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.4647 v2tf3u79tou676ncrpicmc11e8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20240915@163118.4659 v2tf3u79tou676ncrpicmc11e8 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut66e6f8197766e6fdc668','aut66e6f0003866e6fdc62a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20240915@163118.4664 v2tf3u79tou676ncrpicmc11e8 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.4679 v2tf3u79tou676ncrpicmc11e8 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20240915@163118.4717 v2tf3u79tou676ncrpicmc11e8 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut66e6f8197766e6fdc668',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut66e6f0003866e6fdc62a' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20240915@163118.4963 v2tf3u79tou676ncrpicmc11e8 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut66e6f0003866e6fdc62a','2405949','wait',39,'adm09112754980.682000002')
20240915@163118.5039 v2tf3u79tou676ncrpicmc11e8 Query : use flama_phc
20240915@163118.5042 v2tf3u79tou676ncrpicmc11e8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240915@163118.5072 v2tf3u79tou676ncrpicmc11e8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2003';
20240915@163118.5099 v2tf3u79tou676ncrpicmc11e8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2003';
20240915@163118.5140 v2tf3u79tou676ncrpicmc11e8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2003';
20240915@163118.5163 v2tf3u79tou676ncrpicmc11e8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2003';
20240915@163118.5707 n1mrpc5q944g73epdfv3tlonho Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240915@163118.5718 n1mrpc5q944g73epdfv3tlonho Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240915@163118.5769 n1mrpc5q944g73epdfv3tlonho Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2004';
20240915@163118.5825 n1mrpc5q944g73epdfv3tlonho Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2004';
20240915@163118.5876 n1mrpc5q944g73epdfv3tlonho Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='2004';
20240915@163118.5902 n1mrpc5q944g73epdfv3tlonho Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='2004';
20240915@163118.5954 n1mrpc5q944g73epdfv3tlonho Query : use flama_phc
20240915@163118.5957 n1mrpc5q944g73epdfv3tlonho Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240915@163118.6024 n1mrpc5q944g73epdfv3tlonho Query : use flama_phc
20240915@163118.6027 n1mrpc5q944g73epdfv3tlonho Query : select no, estab,szadrsdesc from szadrs where u_coddest=1527
20240915@163118.6117 n1mrpc5q944g73epdfv3tlonho 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'
20240915@163118.6138 n1mrpc5q944g73epdfv3tlonho Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405950 and bi.ref ='324.1824.00.1' and bi.lordem =1
20240915@163118.6459 n1mrpc5q944g73epdfv3tlonho 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'
20240915@163118.6479 n1mrpc5q944g73epdfv3tlonho Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =240 and bo.boano =2059 and bo.obrano = 2405950 and bi.ref ='324.1824.00.1' and bi.lordem =2
20240915@163118.6935 n1mrpc5q944g73epdfv3tlonho Query : use flama_phc
20240915@163118.6938 n1mrpc5q944g73epdfv3tlonho Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240915@163118.6970 n1mrpc5q944g73epdfv3tlonho Query : use flama_phc
20240915@163118.6973 n1mrpc5q944g73epdfv3tlonho Query : select top 1 1 valor from td where td.ndoc = 39
20240915@163118.7001 n1mrpc5q944g73epdfv3tlonho Query : use flama_phc
20240915@163118.7004 n1mrpc5q944g73epdfv3tlonho 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')
20240915@163118.7031 n1mrpc5q944g73epdfv3tlonho 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
20240915@163118.7064 n1mrpc5q944g73epdfv3tlonho Query : use flama_phc
20240915@163118.7067 n1mrpc5q944g73epdfv3tlonho Query : select top 1 ~inactivo valor from cl where no = '102202' and estab = 0 order by inactivo desc
20240915@163118.7187 n1mrpc5q944g73epdfv3tlonho Query : use flama_phc
20240915@163118.7193 n1mrpc5q944g73epdfv3tlonho Query : select top 1 tipodoc,regrd from td where ndoc = 39
20240915@163118.7223 n1mrpc5q944g73epdfv3tlonho Query : use flama_phc
20240915@163118.7225 n1mrpc5q944g73epdfv3tlonho Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240915@163118.7266 n1mrpc5q944g73epdfv3tlonho Query : use flama_phc
20240915@163118.7269 n1mrpc5q944g73epdfv3tlonho Query : select szadrsstamp valor from szadrs where szadrsdesc='filipe manuel magalhÃes maia'
20240915@163118.7320 n1mrpc5q944g73epdfv3tlonho Query : use flama_phc
20240915@163118.7323 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from td where ndoc = 39
20240915@163118.7335 n1mrpc5q944g73epdfv3tlonho Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20240915@163118.7348 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.7364 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163118.7383 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.7397 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163118.7428 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.7449 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163118.8588 n1mrpc5q944g73epdfv3tlonho Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163118.8657 n1mrpc5q944g73epdfv3tlonho Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2024 order by fno desc
20240915@163118.8670 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.8691 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20240915@163118.8713 n1mrpc5q944g73epdfv3tlonho Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut66e6f7276766e6fdc6d1' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20240915@163118.8886 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.8901 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20240915@163118.8933 n1mrpc5q944g73epdfv3tlonho Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20240915@163118.8944 n1mrpc5q944g73epdfv3tlonho Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20240915@163118.8958 n1mrpc5q944g73epdfv3tlonho Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20240915@163118.8969 n1mrpc5q944g73epdfv3tlonho Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20240915@163118.8981 n1mrpc5q944g73epdfv3tlonho Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20240915@163118.8992 n1mrpc5q944g73epdfv3tlonho Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20240915@163118.9003 n1mrpc5q944g73epdfv3tlonho Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut66e6f7276766e6fdc6d1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20240915@163118.9255 n1mrpc5q944g73epdfv3tlonho Query : select top 1 fno valor from wsftdata order by fno desc
20240915@163118.9276 n1mrpc5q944g73epdfv3tlonho Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240915@163118.9292 n1mrpc5q944g73epdfv3tlonho Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20240915@163118.9324 n1mrpc5q944g73epdfv3tlonho Query : select 'normal' from dummy
20240915@163118.9339 n1mrpc5q944g73epdfv3tlonho Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut66e6f7276766e6fdc6d1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',753,102202,0,'2024-09-15',39,'euro',0,0,2024 ,?,?)
