20250108@161510.7665 rrj046e668j3t5q9hs3l4npacp INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20250108@161510.7664 rrj046e668j3t5q9hs3l4npacp Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677ea48822677ea48eb0','--','bo',7.9186046511627906976 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250108@161510.8010 rrj046e668j3t5q9hs3l4npacp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@161510.8062 rrj046e668j3t5q9hs3l4npacp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20250108@161510.8076 rrj046e668j3t5q9hs3l4npacp 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 ('aut677ea48822677ea48eb0','guia r. fornecedor','2025-01-08',61,2500059,?,?,?,?,?,?,?,?,2025, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250108@161521.6023 rrj046e668j3t5q9hs3l4npacp Query : use flama_phc
20250108@161521.6066 rrj046e668j3t5q9hs3l4npacp Query : select st.usalote valor from st where st.ref = '324.4980.00.1'
20250108@161521.7241 rrj046e668j3t5q9hs3l4npacp Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4980.00.1'
20250108@161521.8863 rrj046e668j3t5q9hs3l4npacp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@161521.9492 rrj046e668j3t5q9hs3l4npacp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20250108@161521.9746 rrj046e668j3t5q9hs3l4npacp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@161521.9999 rrj046e668j3t5q9hs3l4npacp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20250108@161522.1670 rrj046e668j3t5q9hs3l4npacp Query : select sestamp valor from se where ref ='324.4980.00.1' and lote = 'r2401064200a'
20250108@161522.4630 rrj046e668j3t5q9hs3l4npacp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@161522.7230 rrj046e668j3t5q9hs3l4npacp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20250108@161522.8920 rrj046e668j3t5q9hs3l4npacp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@161522.1144 rrj046e668j3t5q9hs3l4npacp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20250108@161522.1353 rrj046e668j3t5q9hs3l4npacp Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677ea94423677ea49a15',?,?,'20250108',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20250108@161522.3854 rrj046e668j3t5q9hs3l4npacp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@161522.4133 rrj046e668j3t5q9hs3l4npacp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@161522.4386 rrj046e668j3t5q9hs3l4npacp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20250108@161522.4595 rrj046e668j3t5q9hs3l4npacp Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut677ea17556677ea49a64','aut677ea48822677ea48eb0',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 = 'aut677ea48822677ea48eb0'
20250108@161522.5079 rrj046e668j3t5q9hs3l4npacp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@161522.5330 rrj046e668j3t5q9hs3l4npacp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20250108@161522.5625 rrj046e668j3t5q9hs3l4npacp 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 'aut677ea17556677ea49a64',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 5152, 5152*.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 ,8.6,8.6*200.48,8.6,8.6*200.48 ,0,0,'un ','' ,bo.marcada,1 ,8.6*5152,8.6*5152*200.48 ,9.880000,9.880000*200.48 ,9.880000,9.880000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,8.6,8.6*200.48,8.6*5152,8.6*5152*200.48,'cps24090942654,283000002 ',68.1,68.1*5152,68.1,68.1*5152,?,?,?,4 from bo bo where bo.bostamp = 'aut677ea48822677ea48eb0'
20250108@161549.1319 rrj046e668j3t5q9hs3l4npacp Query : use flama_phc
20250108@161549.1395 rrj046e668j3t5q9hs3l4npacp Query : declare @bostamp varchar(25) = 'aut677ea48822677ea48eb0' ,@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 
20250108@161608.8699 rrj046e668j3t5q9hs3l4npacp Query : use flama_phc
20250108@161608.8740 rrj046e668j3t5q9hs3l4npacp Query : select 1 valor from bo where bo.bostamp = 'aut677ea48822677ea48eb0'
20250108@161608.9110 rrj046e668j3t5q9hs3l4npacp 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) = 'aut677ea48822677ea48eb0' 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 
20250108@161614.2128 rrj046e668j3t5q9hs3l4npacp Query : use flama_phc
20250108@161614.2170 rrj046e668j3t5q9hs3l4npacp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@161614.2582 rrj046e668j3t5q9hs3l4npacp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4404';
20250108@161614.2896 rrj046e668j3t5q9hs3l4npacp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4404';

20250108@170549.6275 2qb5ajc8ut2u2nuctkre2304tg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4405';
20250108@170549.6347 2qb5ajc8ut2u2nuctkre2304tg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4405';
20250108@170549.6382 2qb5ajc8ut2u2nuctkre2304tg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4405';
20250108@170549.6440 2qb5ajc8ut2u2nuctkre2304tg Query : use flama_phc
20250108@170549.6443 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170549.6517 2qb5ajc8ut2u2nuctkre2304tg Query : use flama_phc
20250108@170549.6520 2qb5ajc8ut2u2nuctkre2304tg Query : select no, estab,szadrsdesc from szadrs where u_coddest=3145
20250108@170549.6611 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20250108@170549.6862 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500183 and bi.ref ='324.2335.00.1' and bi.lordem =1
20250108@170549.7338 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20250108@170549.7551 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500183 and bi.ref ='324.1642.00.2' and bi.lordem =2
20250108@170549.7875 2qb5ajc8ut2u2nuctkre2304tg Query : use flama_phc
20250108@170549.7878 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170549.8056 2qb5ajc8ut2u2nuctkre2304tg Query : use flama_phc
20250108@170549.8059 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170549.8212 2qb5ajc8ut2u2nuctkre2304tg Query : use flama_phc
20250108@170549.8215 2qb5ajc8ut2u2nuctkre2304tg 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')
20250108@170549.8258 2qb5ajc8ut2u2nuctkre2304tg 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
20250108@170549.8396 2qb5ajc8ut2u2nuctkre2304tg Query : use flama_phc
20250108@170549.8400 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250108@170549.9824 2qb5ajc8ut2u2nuctkre2304tg Query : use flama_phc
20250108@170549.9828 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170549.9921 2qb5ajc8ut2u2nuctkre2304tg Query : use flama_phc
20250108@170549.9924 2qb5ajc8ut2u2nuctkre2304tg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170549.9999 2qb5ajc8ut2u2nuctkre2304tg Query : use flama_phc
20250108@170550.2000 2qb5ajc8ut2u2nuctkre2304tg Query : select szadrsstamp valor from szadrs where szadrsdesc='jom - caldas da rainha'
20250108@170550.4800 2qb5ajc8ut2u2nuctkre2304tg Query : use flama_phc
20250108@170550.5100 2qb5ajc8ut2u2nuctkre2304tg Query : select 1 valor from td where ndoc = 39
20250108@170550.1160 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170550.1740 2qb5ajc8ut2u2nuctkre2304tg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.1900 2qb5ajc8ut2u2nuctkre2304tg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170550.2100 2qb5ajc8ut2u2nuctkre2304tg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.2330 2qb5ajc8ut2u2nuctkre2304tg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170550.2610 2qb5ajc8ut2u2nuctkre2304tg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.2760 2qb5ajc8ut2u2nuctkre2304tg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170550.2890 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170550.5210 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170550.6110 2qb5ajc8ut2u2nuctkre2304tg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.6300 2qb5ajc8ut2u2nuctkre2304tg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170550.6510 2qb5ajc8ut2u2nuctkre2304tg Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb32706677eb06e07' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170550.1025 2qb5ajc8ut2u2nuctkre2304tg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.1044 2qb5ajc8ut2u2nuctkre2304tg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170550.1094 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170550.1188 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170550.1268 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170550.1336 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170550.1403 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170550.1470 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170550.1598 2qb5ajc8ut2u2nuctkre2304tg Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb32706677eb06e07',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170550.2386 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170550.2491 2qb5ajc8ut2u2nuctkre2304tg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.2509 2qb5ajc8ut2u2nuctkre2304tg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170550.2535 2qb5ajc8ut2u2nuctkre2304tg Query : select 'normal' from dummy
20250108@170550.2579 2qb5ajc8ut2u2nuctkre2304tg Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb32706677eb06e07',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2845,101621,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170550.3203 2qb5ajc8ut2u2nuctkre2304tg Query : use flama_phc
20250108@170550.3207 2qb5ajc8ut2u2nuctkre2304tg Query : select st.usalote valor from st where st.ref = '324.2335.00.1'
20250108@170550.3232 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.2335.00.1'
20250108@170550.3388 2qb5ajc8ut2u2nuctkre2304tg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.3406 2qb5ajc8ut2u2nuctkre2304tg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170550.3435 2qb5ajc8ut2u2nuctkre2304tg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.3451 2qb5ajc8ut2u2nuctkre2304tg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170550.3461 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170550.3474 2qb5ajc8ut2u2nuctkre2304tg Query : select sestamp valor from se where ref ='324.2335.00.1' and lote = 'r2400468300a'
20250108@170550.3491 2qb5ajc8ut2u2nuctkre2304tg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.3509 2qb5ajc8ut2u2nuctkre2304tg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170550.3522 2qb5ajc8ut2u2nuctkre2304tg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb15939677eb06e55','aut677eb32706677eb06e07' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170550.3580 2qb5ajc8ut2u2nuctkre2304tg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.3598 2qb5ajc8ut2u2nuctkre2304tg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170550.3639 2qb5ajc8ut2u2nuctkre2304tg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb15939677eb06e55',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut677eb32706677eb06e07' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170550.4222 2qb5ajc8ut2u2nuctkre2304tg Query : use flama_phc
20250108@170550.4226 2qb5ajc8ut2u2nuctkre2304tg Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20250108@170550.4255 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20250108@170550.4404 2qb5ajc8ut2u2nuctkre2304tg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.4421 2qb5ajc8ut2u2nuctkre2304tg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170550.4447 2qb5ajc8ut2u2nuctkre2304tg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.4461 2qb5ajc8ut2u2nuctkre2304tg Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170550.4470 2qb5ajc8ut2u2nuctkre2304tg Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170550.4482 2qb5ajc8ut2u2nuctkre2304tg Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20250108@170550.4496 2qb5ajc8ut2u2nuctkre2304tg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.4511 2qb5ajc8ut2u2nuctkre2304tg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170550.4523 2qb5ajc8ut2u2nuctkre2304tg Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb65060677eb06e6d','aut677eb32706677eb06e07' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170550.4527 2qb5ajc8ut2u2nuctkre2304tg Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.4548 2qb5ajc8ut2u2nuctkre2304tg Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170550.4577 2qb5ajc8ut2u2nuctkre2304tg Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb65060677eb06e6d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut677eb32706677eb06e07' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250108@170550.4838 2qb5ajc8ut2u2nuctkre2304tg Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb32706677eb06e07','2500183','wait',39,'adm09112754980.682000002')
20250108@170550.4925 2qb5ajc8ut2u2nuctkre2304tg Query : use flama_phc
20250108@170550.4928 2qb5ajc8ut2u2nuctkre2304tg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170550.4958 2qb5ajc8ut2u2nuctkre2304tg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4405';
20250108@170550.5006 2qb5ajc8ut2u2nuctkre2304tg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4405';
20250108@170550.5055 2qb5ajc8ut2u2nuctkre2304tg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4405';
20250108@170550.5130 2qb5ajc8ut2u2nuctkre2304tg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4405';
20250108@170550.5746 pf84eqvnaeat59vjp96do19r7h Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170550.5764 pf84eqvnaeat59vjp96do19r7h Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170550.5834 pf84eqvnaeat59vjp96do19r7h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4406';
20250108@170550.5903 pf84eqvnaeat59vjp96do19r7h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4406';
20250108@170550.5969 pf84eqvnaeat59vjp96do19r7h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4406';
20250108@170550.6003 pf84eqvnaeat59vjp96do19r7h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4406';
20250108@170550.6060 pf84eqvnaeat59vjp96do19r7h Query : use flama_phc
20250108@170550.6063 pf84eqvnaeat59vjp96do19r7h Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170550.6163 pf84eqvnaeat59vjp96do19r7h Query : use flama_phc
20250108@170550.6204 pf84eqvnaeat59vjp96do19r7h Query : select no, estab,szadrsdesc from szadrs where u_coddest=8548
20250108@170550.7238 pf84eqvnaeat59vjp96do19r7h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20250108@170550.7570 pf84eqvnaeat59vjp96do19r7h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500184 and bi.ref ='324.1642.00.2' and bi.lordem =1
20250108@170550.7975 pf84eqvnaeat59vjp96do19r7h Query : use flama_phc
20250108@170550.7978 pf84eqvnaeat59vjp96do19r7h Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170550.8011 pf84eqvnaeat59vjp96do19r7h Query : use flama_phc
20250108@170550.8014 pf84eqvnaeat59vjp96do19r7h Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170550.8042 pf84eqvnaeat59vjp96do19r7h Query : use flama_phc
20250108@170550.8045 pf84eqvnaeat59vjp96do19r7h 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')
20250108@170550.8073 pf84eqvnaeat59vjp96do19r7h 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
20250108@170550.8109 pf84eqvnaeat59vjp96do19r7h Query : use flama_phc
20250108@170550.8112 pf84eqvnaeat59vjp96do19r7h Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250108@170550.8141 pf84eqvnaeat59vjp96do19r7h Query : use flama_phc
20250108@170550.8143 pf84eqvnaeat59vjp96do19r7h Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170550.8173 pf84eqvnaeat59vjp96do19r7h Query : use flama_phc
20250108@170550.8176 pf84eqvnaeat59vjp96do19r7h Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170550.8217 pf84eqvnaeat59vjp96do19r7h Query : use flama_phc
20250108@170550.8220 pf84eqvnaeat59vjp96do19r7h Query : select szadrsstamp valor from szadrs where szadrsdesc='jom- maia ( nova loja)'
20250108@170550.8267 pf84eqvnaeat59vjp96do19r7h Query : use flama_phc
20250108@170550.8269 pf84eqvnaeat59vjp96do19r7h Query : select 1 valor from td where ndoc = 39
20250108@170550.8281 pf84eqvnaeat59vjp96do19r7h Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170550.8299 pf84eqvnaeat59vjp96do19r7h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.8316 pf84eqvnaeat59vjp96do19r7h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170550.8336 pf84eqvnaeat59vjp96do19r7h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.8355 pf84eqvnaeat59vjp96do19r7h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170550.8402 pf84eqvnaeat59vjp96do19r7h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.8418 pf84eqvnaeat59vjp96do19r7h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170550.8432 pf84eqvnaeat59vjp96do19r7h Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170550.8547 pf84eqvnaeat59vjp96do19r7h Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170550.8562 pf84eqvnaeat59vjp96do19r7h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.8579 pf84eqvnaeat59vjp96do19r7h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170550.8595 pf84eqvnaeat59vjp96do19r7h Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb16886677eb06ecd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170550.8796 pf84eqvnaeat59vjp96do19r7h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.8817 pf84eqvnaeat59vjp96do19r7h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170550.8853 pf84eqvnaeat59vjp96do19r7h Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170550.8865 pf84eqvnaeat59vjp96do19r7h Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170550.8877 pf84eqvnaeat59vjp96do19r7h Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170550.8891 pf84eqvnaeat59vjp96do19r7h Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170550.8902 pf84eqvnaeat59vjp96do19r7h Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170550.8914 pf84eqvnaeat59vjp96do19r7h Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170550.8927 pf84eqvnaeat59vjp96do19r7h Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb16886677eb06ecd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170550.9194 pf84eqvnaeat59vjp96do19r7h Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170550.9232 pf84eqvnaeat59vjp96do19r7h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.9253 pf84eqvnaeat59vjp96do19r7h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170550.9275 pf84eqvnaeat59vjp96do19r7h Query : select 'normal' from dummy
20250108@170550.9291 pf84eqvnaeat59vjp96do19r7h Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb16886677eb06ecd',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2846,101621,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170550.9626 pf84eqvnaeat59vjp96do19r7h Query : use flama_phc
20250108@170550.9630 pf84eqvnaeat59vjp96do19r7h Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20250108@170550.9654 pf84eqvnaeat59vjp96do19r7h Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20250108@170550.9669 pf84eqvnaeat59vjp96do19r7h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.9686 pf84eqvnaeat59vjp96do19r7h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170550.9714 pf84eqvnaeat59vjp96do19r7h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.9733 pf84eqvnaeat59vjp96do19r7h Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170550.9744 pf84eqvnaeat59vjp96do19r7h Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170550.9757 pf84eqvnaeat59vjp96do19r7h Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20250108@170550.9772 pf84eqvnaeat59vjp96do19r7h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.9788 pf84eqvnaeat59vjp96do19r7h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170550.9800 pf84eqvnaeat59vjp96do19r7h Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb44918677eb06eee','aut677eb16886677eb06ecd' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170550.9805 pf84eqvnaeat59vjp96do19r7h Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170550.9820 pf84eqvnaeat59vjp96do19r7h Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170550.9850 pf84eqvnaeat59vjp96do19r7h Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb44918677eb06eee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut677eb16886677eb06ecd' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170551.1470 pf84eqvnaeat59vjp96do19r7h Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb16886677eb06ecd','2500184','wait',39,'adm09112754980.682000002')
20250108@170551.2290 pf84eqvnaeat59vjp96do19r7h Query : use flama_phc
20250108@170551.2330 pf84eqvnaeat59vjp96do19r7h Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170551.2640 pf84eqvnaeat59vjp96do19r7h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4406';
20250108@170551.3290 pf84eqvnaeat59vjp96do19r7h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4406';
20250108@170551.3840 pf84eqvnaeat59vjp96do19r7h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4406';
20250108@170551.4460 pf84eqvnaeat59vjp96do19r7h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4406';
20250108@170551.9730 ep92a6pkqrtbd8jra2o4f7lfmr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170551.9840 ep92a6pkqrtbd8jra2o4f7lfmr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170551.1051 ep92a6pkqrtbd8jra2o4f7lfmr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4407';
20250108@170551.1160 ep92a6pkqrtbd8jra2o4f7lfmr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4407';
20250108@170551.1221 ep92a6pkqrtbd8jra2o4f7lfmr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4407';
20250108@170551.1258 ep92a6pkqrtbd8jra2o4f7lfmr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4407';
20250108@170551.1317 ep92a6pkqrtbd8jra2o4f7lfmr Query : use flama_phc
20250108@170551.1320 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170551.1382 ep92a6pkqrtbd8jra2o4f7lfmr Query : use flama_phc
20250108@170551.1385 ep92a6pkqrtbd8jra2o4f7lfmr Query : select no, estab,szadrsdesc from szadrs where u_coddest=6855
20250108@170551.1472 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20250108@170551.1564 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500185 and bi.ref ='324.1642.00.2' and bi.lordem =1
20250108@170551.1928 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20250108@170551.2069 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500185 and bi.ref ='328.9902.00.1' and bi.lordem =2
20250108@170551.3667 ep92a6pkqrtbd8jra2o4f7lfmr Query : use flama_phc
20250108@170551.3672 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170551.3709 ep92a6pkqrtbd8jra2o4f7lfmr Query : use flama_phc
20250108@170551.3712 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170551.3742 ep92a6pkqrtbd8jra2o4f7lfmr Query : use flama_phc
20250108@170551.3745 ep92a6pkqrtbd8jra2o4f7lfmr 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')
20250108@170551.3773 ep92a6pkqrtbd8jra2o4f7lfmr 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
20250108@170551.3822 ep92a6pkqrtbd8jra2o4f7lfmr Query : use flama_phc
20250108@170551.3825 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250108@170551.3856 ep92a6pkqrtbd8jra2o4f7lfmr Query : use flama_phc
20250108@170551.3859 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170551.3892 ep92a6pkqrtbd8jra2o4f7lfmr Query : use flama_phc
20250108@170551.3895 ep92a6pkqrtbd8jra2o4f7lfmr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170551.3936 ep92a6pkqrtbd8jra2o4f7lfmr Query : use flama_phc
20250108@170551.3939 ep92a6pkqrtbd8jra2o4f7lfmr Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - montijo nova'
20250108@170551.3983 ep92a6pkqrtbd8jra2o4f7lfmr Query : use flama_phc
20250108@170551.3986 ep92a6pkqrtbd8jra2o4f7lfmr Query : select 1 valor from td where ndoc = 39
20250108@170551.3999 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170551.4021 ep92a6pkqrtbd8jra2o4f7lfmr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.4039 ep92a6pkqrtbd8jra2o4f7lfmr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170551.4060 ep92a6pkqrtbd8jra2o4f7lfmr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.4074 ep92a6pkqrtbd8jra2o4f7lfmr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170551.4108 ep92a6pkqrtbd8jra2o4f7lfmr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.4123 ep92a6pkqrtbd8jra2o4f7lfmr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170551.4136 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170551.4295 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170551.4311 ep92a6pkqrtbd8jra2o4f7lfmr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.4328 ep92a6pkqrtbd8jra2o4f7lfmr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170551.4346 ep92a6pkqrtbd8jra2o4f7lfmr Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb16353677eb06f64' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170551.4542 ep92a6pkqrtbd8jra2o4f7lfmr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.4559 ep92a6pkqrtbd8jra2o4f7lfmr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170551.4593 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170551.4605 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170551.4617 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170551.4628 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170551.4640 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170551.4652 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170551.4665 ep92a6pkqrtbd8jra2o4f7lfmr Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb16353677eb06f64',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170551.4910 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170551.4941 ep92a6pkqrtbd8jra2o4f7lfmr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.4959 ep92a6pkqrtbd8jra2o4f7lfmr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170551.4981 ep92a6pkqrtbd8jra2o4f7lfmr Query : select 'normal' from dummy
20250108@170551.4996 ep92a6pkqrtbd8jra2o4f7lfmr Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb16353677eb06f64',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2847,101621,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170551.5333 ep92a6pkqrtbd8jra2o4f7lfmr Query : use flama_phc
20250108@170551.5357 ep92a6pkqrtbd8jra2o4f7lfmr Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20250108@170551.5379 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20250108@170551.5394 ep92a6pkqrtbd8jra2o4f7lfmr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.5411 ep92a6pkqrtbd8jra2o4f7lfmr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170551.5439 ep92a6pkqrtbd8jra2o4f7lfmr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.5461 ep92a6pkqrtbd8jra2o4f7lfmr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170551.5470 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170551.5488 ep92a6pkqrtbd8jra2o4f7lfmr Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20250108@170551.5501 ep92a6pkqrtbd8jra2o4f7lfmr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.5527 ep92a6pkqrtbd8jra2o4f7lfmr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170551.5540 ep92a6pkqrtbd8jra2o4f7lfmr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb36738677eb06f86','aut677eb16353677eb06f64' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170551.5550 ep92a6pkqrtbd8jra2o4f7lfmr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.5566 ep92a6pkqrtbd8jra2o4f7lfmr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170551.5596 ep92a6pkqrtbd8jra2o4f7lfmr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb36738677eb06f86',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut677eb16353677eb06f64' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170551.5864 ep92a6pkqrtbd8jra2o4f7lfmr Query : use flama_phc
20250108@170551.5868 ep92a6pkqrtbd8jra2o4f7lfmr Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20250108@170551.5892 ep92a6pkqrtbd8jra2o4f7lfmr 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.9902.00.1'
20250108@170551.6041 ep92a6pkqrtbd8jra2o4f7lfmr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.6060 ep92a6pkqrtbd8jra2o4f7lfmr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170551.6089 ep92a6pkqrtbd8jra2o4f7lfmr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.6104 ep92a6pkqrtbd8jra2o4f7lfmr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170551.6114 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170551.6127 ep92a6pkqrtbd8jra2o4f7lfmr Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20250108@170551.6149 ep92a6pkqrtbd8jra2o4f7lfmr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.6165 ep92a6pkqrtbd8jra2o4f7lfmr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170551.6177 ep92a6pkqrtbd8jra2o4f7lfmr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb16667677eb06f96','aut677eb16353677eb06f64' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170551.6182 ep92a6pkqrtbd8jra2o4f7lfmr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.6196 ep92a6pkqrtbd8jra2o4f7lfmr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170551.6224 ep92a6pkqrtbd8jra2o4f7lfmr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb16667677eb06f96',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677eb16353677eb06f64' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250108@170551.6469 ep92a6pkqrtbd8jra2o4f7lfmr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.6486 ep92a6pkqrtbd8jra2o4f7lfmr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170551.6513 ep92a6pkqrtbd8jra2o4f7lfmr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.6542 ep92a6pkqrtbd8jra2o4f7lfmr Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170551.6551 ep92a6pkqrtbd8jra2o4f7lfmr Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170551.6565 ep92a6pkqrtbd8jra2o4f7lfmr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.6580 ep92a6pkqrtbd8jra2o4f7lfmr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170551.6591 ep92a6pkqrtbd8jra2o4f7lfmr Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb47242677eb06fa0','aut677eb16353677eb06f64' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170551.6595 ep92a6pkqrtbd8jra2o4f7lfmr Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.6610 ep92a6pkqrtbd8jra2o4f7lfmr Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170551.6639 ep92a6pkqrtbd8jra2o4f7lfmr Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb47242677eb06fa0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb16353677eb06f64' ,0,0 ,2,23.00,30000,?,?,?)
20250108@170551.6887 ep92a6pkqrtbd8jra2o4f7lfmr Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb16353677eb06f64','2500185','wait',39,'adm09112754980.682000002')
20250108@170551.6962 ep92a6pkqrtbd8jra2o4f7lfmr Query : use flama_phc
20250108@170551.6966 ep92a6pkqrtbd8jra2o4f7lfmr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170551.7008 ep92a6pkqrtbd8jra2o4f7lfmr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4407';
20250108@170551.7092 ep92a6pkqrtbd8jra2o4f7lfmr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4407';
20250108@170551.7268 ep92a6pkqrtbd8jra2o4f7lfmr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4407';
20250108@170551.7325 ep92a6pkqrtbd8jra2o4f7lfmr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4407';
20250108@170551.7894 9ftcn6r90lu55ogti8pvbm4uc2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170551.7906 9ftcn6r90lu55ogti8pvbm4uc2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170551.7979 9ftcn6r90lu55ogti8pvbm4uc2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4408';
20250108@170551.8073 9ftcn6r90lu55ogti8pvbm4uc2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4408';
20250108@170551.8149 9ftcn6r90lu55ogti8pvbm4uc2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4408';
20250108@170551.8208 9ftcn6r90lu55ogti8pvbm4uc2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4408';
20250108@170551.8264 9ftcn6r90lu55ogti8pvbm4uc2 Query : use flama_phc
20250108@170551.8267 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170551.8330 9ftcn6r90lu55ogti8pvbm4uc2 Query : use flama_phc
20250108@170551.8333 9ftcn6r90lu55ogti8pvbm4uc2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=886
20250108@170551.8434 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20250108@170551.8453 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500186 and bi.ref ='324.1642.00.2' and bi.lordem =1
20250108@170551.8813 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20250108@170551.8950 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500186 and bi.ref ='327.8261.00.1' and bi.lordem =2
20250108@170551.9267 9ftcn6r90lu55ogti8pvbm4uc2 Query : use flama_phc
20250108@170551.9270 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170551.9302 9ftcn6r90lu55ogti8pvbm4uc2 Query : use flama_phc
20250108@170551.9306 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170551.9343 9ftcn6r90lu55ogti8pvbm4uc2 Query : use flama_phc
20250108@170551.9346 9ftcn6r90lu55ogti8pvbm4uc2 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')
20250108@170551.9380 9ftcn6r90lu55ogti8pvbm4uc2 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
20250108@170551.9430 9ftcn6r90lu55ogti8pvbm4uc2 Query : use flama_phc
20250108@170551.9433 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250108@170551.9488 9ftcn6r90lu55ogti8pvbm4uc2 Query : use flama_phc
20250108@170551.9491 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170551.9524 9ftcn6r90lu55ogti8pvbm4uc2 Query : use flama_phc
20250108@170551.9527 9ftcn6r90lu55ogti8pvbm4uc2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170551.9568 9ftcn6r90lu55ogti8pvbm4uc2 Query : use flama_phc
20250108@170551.9570 9ftcn6r90lu55ogti8pvbm4uc2 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda coimbra'
20250108@170551.9618 9ftcn6r90lu55ogti8pvbm4uc2 Query : use flama_phc
20250108@170551.9621 9ftcn6r90lu55ogti8pvbm4uc2 Query : select 1 valor from td where ndoc = 39
20250108@170551.9633 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170551.9647 9ftcn6r90lu55ogti8pvbm4uc2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.9663 9ftcn6r90lu55ogti8pvbm4uc2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170551.9681 9ftcn6r90lu55ogti8pvbm4uc2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.9696 9ftcn6r90lu55ogti8pvbm4uc2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170551.9724 9ftcn6r90lu55ogti8pvbm4uc2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.9739 9ftcn6r90lu55ogti8pvbm4uc2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170551.9751 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170551.9882 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170551.9895 9ftcn6r90lu55ogti8pvbm4uc2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170551.9910 9ftcn6r90lu55ogti8pvbm4uc2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170551.9925 9ftcn6r90lu55ogti8pvbm4uc2 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb75700677eb06fee' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170552.1010 9ftcn6r90lu55ogti8pvbm4uc2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.1240 9ftcn6r90lu55ogti8pvbm4uc2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170552.1580 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170552.1700 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170552.1820 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170552.1930 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170552.2060 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170552.2180 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170552.2290 9ftcn6r90lu55ogti8pvbm4uc2 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb75700677eb06fee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170552.4680 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170552.5250 9ftcn6r90lu55ogti8pvbm4uc2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.5420 9ftcn6r90lu55ogti8pvbm4uc2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170552.5640 9ftcn6r90lu55ogti8pvbm4uc2 Query : select 'normal' from dummy
20250108@170552.5790 9ftcn6r90lu55ogti8pvbm4uc2 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb75700677eb06fee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2848,101621,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170552.8610 9ftcn6r90lu55ogti8pvbm4uc2 Query : use flama_phc
20250108@170552.8640 9ftcn6r90lu55ogti8pvbm4uc2 Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20250108@170552.8860 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20250108@170552.9250 9ftcn6r90lu55ogti8pvbm4uc2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.9510 9ftcn6r90lu55ogti8pvbm4uc2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170552.9760 9ftcn6r90lu55ogti8pvbm4uc2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.9900 9ftcn6r90lu55ogti8pvbm4uc2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170552.1027 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170552.1041 9ftcn6r90lu55ogti8pvbm4uc2 Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20250108@170552.1053 9ftcn6r90lu55ogti8pvbm4uc2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.1068 9ftcn6r90lu55ogti8pvbm4uc2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170552.1079 9ftcn6r90lu55ogti8pvbm4uc2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb54838677eb07019','aut677eb75700677eb06fee' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170552.1084 9ftcn6r90lu55ogti8pvbm4uc2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.1100 9ftcn6r90lu55ogti8pvbm4uc2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170552.1133 9ftcn6r90lu55ogti8pvbm4uc2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb54838677eb07019',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut677eb75700677eb06fee' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170552.1466 9ftcn6r90lu55ogti8pvbm4uc2 Query : use flama_phc
20250108@170552.1469 9ftcn6r90lu55ogti8pvbm4uc2 Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20250108@170552.1612 9ftcn6r90lu55ogti8pvbm4uc2 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.8261.00.1'
20250108@170552.1764 9ftcn6r90lu55ogti8pvbm4uc2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.1781 9ftcn6r90lu55ogti8pvbm4uc2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170552.1807 9ftcn6r90lu55ogti8pvbm4uc2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.1852 9ftcn6r90lu55ogti8pvbm4uc2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170552.1861 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170552.1874 9ftcn6r90lu55ogti8pvbm4uc2 Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2401098200a'
20250108@170552.1888 9ftcn6r90lu55ogti8pvbm4uc2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.1905 9ftcn6r90lu55ogti8pvbm4uc2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170552.1917 9ftcn6r90lu55ogti8pvbm4uc2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb60399677eb0702e','aut677eb75700677eb06fee' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170552.1922 9ftcn6r90lu55ogti8pvbm4uc2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.1937 9ftcn6r90lu55ogti8pvbm4uc2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170552.1971 9ftcn6r90lu55ogti8pvbm4uc2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb60399677eb0702e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677eb75700677eb06fee' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250108@170552.2260 9ftcn6r90lu55ogti8pvbm4uc2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.2284 9ftcn6r90lu55ogti8pvbm4uc2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170552.2319 9ftcn6r90lu55ogti8pvbm4uc2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.2362 9ftcn6r90lu55ogti8pvbm4uc2 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170552.2371 9ftcn6r90lu55ogti8pvbm4uc2 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170552.2385 9ftcn6r90lu55ogti8pvbm4uc2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.2403 9ftcn6r90lu55ogti8pvbm4uc2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170552.2418 9ftcn6r90lu55ogti8pvbm4uc2 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb38288677eb0703a','aut677eb75700677eb06fee' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170552.2422 9ftcn6r90lu55ogti8pvbm4uc2 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.2436 9ftcn6r90lu55ogti8pvbm4uc2 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170552.2471 9ftcn6r90lu55ogti8pvbm4uc2 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb38288677eb0703a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb75700677eb06fee' ,0,0 ,2,23.00,30000,?,?,?)
20250108@170552.2777 9ftcn6r90lu55ogti8pvbm4uc2 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb75700677eb06fee','2500186','wait',39,'adm09112754980.682000002')
20250108@170552.2868 9ftcn6r90lu55ogti8pvbm4uc2 Query : use flama_phc
20250108@170552.2871 9ftcn6r90lu55ogti8pvbm4uc2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170552.2902 9ftcn6r90lu55ogti8pvbm4uc2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4408';
20250108@170552.2946 9ftcn6r90lu55ogti8pvbm4uc2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4408';
20250108@170552.3001 9ftcn6r90lu55ogti8pvbm4uc2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4408';
20250108@170552.3800 9ftcn6r90lu55ogti8pvbm4uc2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4408';
20250108@170552.4694 1qioakdlvb3iv6dm0kgark22j6 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170552.4706 1qioakdlvb3iv6dm0kgark22j6 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170552.4794 1qioakdlvb3iv6dm0kgark22j6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4409';
20250108@170552.4857 1qioakdlvb3iv6dm0kgark22j6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4409';
20250108@170552.4919 1qioakdlvb3iv6dm0kgark22j6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4409';
20250108@170552.4956 1qioakdlvb3iv6dm0kgark22j6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4409';
20250108@170552.5011 1qioakdlvb3iv6dm0kgark22j6 Query : use flama_phc
20250108@170552.5014 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170552.5077 1qioakdlvb3iv6dm0kgark22j6 Query : use flama_phc
20250108@170552.5080 1qioakdlvb3iv6dm0kgark22j6 Query : select no, estab,szadrsdesc from szadrs where u_coddest=9128
20250108@170552.5176 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20250108@170552.5196 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500187 and bi.ref ='324.1642.00.2' and bi.lordem =1
20250108@170552.5574 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20250108@170552.5594 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500187 and bi.ref ='327.8261.00.1' and bi.lordem =2
20250108@170552.5917 1qioakdlvb3iv6dm0kgark22j6 Query : use flama_phc
20250108@170552.5920 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170552.5957 1qioakdlvb3iv6dm0kgark22j6 Query : use flama_phc
20250108@170552.5960 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170552.5991 1qioakdlvb3iv6dm0kgark22j6 Query : use flama_phc
20250108@170552.5994 1qioakdlvb3iv6dm0kgark22j6 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')
20250108@170552.6023 1qioakdlvb3iv6dm0kgark22j6 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
20250108@170552.6058 1qioakdlvb3iv6dm0kgark22j6 Query : use flama_phc
20250108@170552.6061 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250108@170552.6090 1qioakdlvb3iv6dm0kgark22j6 Query : use flama_phc
20250108@170552.6093 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170552.6123 1qioakdlvb3iv6dm0kgark22j6 Query : use flama_phc
20250108@170552.6126 1qioakdlvb3iv6dm0kgark22j6 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170552.6208 1qioakdlvb3iv6dm0kgark22j6 Query : use flama_phc
20250108@170552.6224 1qioakdlvb3iv6dm0kgark22j6 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - v. castelo (nova)'
20250108@170552.6275 1qioakdlvb3iv6dm0kgark22j6 Query : use flama_phc
20250108@170552.6278 1qioakdlvb3iv6dm0kgark22j6 Query : select 1 valor from td where ndoc = 39
20250108@170552.6291 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170552.6338 1qioakdlvb3iv6dm0kgark22j6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.6357 1qioakdlvb3iv6dm0kgark22j6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170552.6378 1qioakdlvb3iv6dm0kgark22j6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.6394 1qioakdlvb3iv6dm0kgark22j6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170552.6425 1qioakdlvb3iv6dm0kgark22j6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.6445 1qioakdlvb3iv6dm0kgark22j6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170552.6460 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170552.6755 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170552.6769 1qioakdlvb3iv6dm0kgark22j6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.6786 1qioakdlvb3iv6dm0kgark22j6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170552.6804 1qioakdlvb3iv6dm0kgark22j6 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb39561677eb0709d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170552.7000 1qioakdlvb3iv6dm0kgark22j6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.7019 1qioakdlvb3iv6dm0kgark22j6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170552.7058 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170552.7071 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170552.7084 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170552.7098 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170552.7111 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170552.7123 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170552.7176 1qioakdlvb3iv6dm0kgark22j6 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb39561677eb0709d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170552.7474 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170552.7515 1qioakdlvb3iv6dm0kgark22j6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.7535 1qioakdlvb3iv6dm0kgark22j6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170552.7564 1qioakdlvb3iv6dm0kgark22j6 Query : select 'normal' from dummy
20250108@170552.7580 1qioakdlvb3iv6dm0kgark22j6 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb39561677eb0709d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2849,101621,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170552.7981 1qioakdlvb3iv6dm0kgark22j6 Query : use flama_phc
20250108@170552.7985 1qioakdlvb3iv6dm0kgark22j6 Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20250108@170552.8009 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20250108@170552.8023 1qioakdlvb3iv6dm0kgark22j6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.8040 1qioakdlvb3iv6dm0kgark22j6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170552.8066 1qioakdlvb3iv6dm0kgark22j6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.8106 1qioakdlvb3iv6dm0kgark22j6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170552.8119 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170552.8130 1qioakdlvb3iv6dm0kgark22j6 Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20250108@170552.8143 1qioakdlvb3iv6dm0kgark22j6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.8158 1qioakdlvb3iv6dm0kgark22j6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170552.8169 1qioakdlvb3iv6dm0kgark22j6 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb88220677eb070c6','aut677eb39561677eb0709d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170552.8173 1qioakdlvb3iv6dm0kgark22j6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.8188 1qioakdlvb3iv6dm0kgark22j6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170552.8229 1qioakdlvb3iv6dm0kgark22j6 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb88220677eb070c6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut677eb39561677eb0709d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170552.8600 1qioakdlvb3iv6dm0kgark22j6 Query : use flama_phc
20250108@170552.8604 1qioakdlvb3iv6dm0kgark22j6 Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20250108@170552.8623 1qioakdlvb3iv6dm0kgark22j6 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.8261.00.1'
20250108@170552.8637 1qioakdlvb3iv6dm0kgark22j6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.8654 1qioakdlvb3iv6dm0kgark22j6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170552.8686 1qioakdlvb3iv6dm0kgark22j6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.8703 1qioakdlvb3iv6dm0kgark22j6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170552.8712 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170552.8724 1qioakdlvb3iv6dm0kgark22j6 Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2401098200a'
20250108@170552.8757 1qioakdlvb3iv6dm0kgark22j6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.8771 1qioakdlvb3iv6dm0kgark22j6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170552.8783 1qioakdlvb3iv6dm0kgark22j6 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb75639677eb070d5','aut677eb39561677eb0709d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170552.8787 1qioakdlvb3iv6dm0kgark22j6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.8803 1qioakdlvb3iv6dm0kgark22j6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170552.8832 1qioakdlvb3iv6dm0kgark22j6 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb75639677eb070d5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677eb39561677eb0709d' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250108@170552.9229 1qioakdlvb3iv6dm0kgark22j6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.9247 1qioakdlvb3iv6dm0kgark22j6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170552.9278 1qioakdlvb3iv6dm0kgark22j6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.9322 1qioakdlvb3iv6dm0kgark22j6 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170552.9331 1qioakdlvb3iv6dm0kgark22j6 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170552.9344 1qioakdlvb3iv6dm0kgark22j6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.9363 1qioakdlvb3iv6dm0kgark22j6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170552.9375 1qioakdlvb3iv6dm0kgark22j6 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb43048677eb070e4','aut677eb39561677eb0709d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170552.9380 1qioakdlvb3iv6dm0kgark22j6 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170552.9394 1qioakdlvb3iv6dm0kgark22j6 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170552.9434 1qioakdlvb3iv6dm0kgark22j6 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb43048677eb070e4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb39561677eb0709d' ,0,0 ,2,23.00,30000,?,?,?)
20250108@170552.9693 1qioakdlvb3iv6dm0kgark22j6 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb39561677eb0709d','2500187','wait',39,'adm09112754980.682000002')
20250108@170552.9764 1qioakdlvb3iv6dm0kgark22j6 Query : use flama_phc
20250108@170552.9767 1qioakdlvb3iv6dm0kgark22j6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170552.9796 1qioakdlvb3iv6dm0kgark22j6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4409';
20250108@170552.9840 1qioakdlvb3iv6dm0kgark22j6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4409';
20250108@170552.9894 1qioakdlvb3iv6dm0kgark22j6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4409';
20250108@170552.9931 1qioakdlvb3iv6dm0kgark22j6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4409';
20250108@170553.5170 5k5bs53tdm8j7kn2vog8agfu25 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170553.5280 5k5bs53tdm8j7kn2vog8agfu25 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170553.6010 5k5bs53tdm8j7kn2vog8agfu25 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4410';
20250108@170553.6820 5k5bs53tdm8j7kn2vog8agfu25 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4410';
20250108@170553.7460 5k5bs53tdm8j7kn2vog8agfu25 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4410';
20250108@170553.7790 5k5bs53tdm8j7kn2vog8agfu25 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4410';
20250108@170553.8360 5k5bs53tdm8j7kn2vog8agfu25 Query : use flama_phc
20250108@170553.8390 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170553.9200 5k5bs53tdm8j7kn2vog8agfu25 Query : use flama_phc
20250108@170553.9230 5k5bs53tdm8j7kn2vog8agfu25 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1474
20250108@170553.1008 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20250108@170553.1031 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500188 and bi.ref ='324.1642.00.2' and bi.lordem =1
20250108@170553.1372 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20250108@170553.1392 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500188 and bi.ref ='328.9902.00.1' and bi.lordem =2
20250108@170553.1740 5k5bs53tdm8j7kn2vog8agfu25 Query : use flama_phc
20250108@170553.1743 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170553.1801 5k5bs53tdm8j7kn2vog8agfu25 Query : use flama_phc
20250108@170553.1804 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170553.1836 5k5bs53tdm8j7kn2vog8agfu25 Query : use flama_phc
20250108@170553.1839 5k5bs53tdm8j7kn2vog8agfu25 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')
20250108@170553.1887 5k5bs53tdm8j7kn2vog8agfu25 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
20250108@170553.1922 5k5bs53tdm8j7kn2vog8agfu25 Query : use flama_phc
20250108@170553.1925 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250108@170553.1955 5k5bs53tdm8j7kn2vog8agfu25 Query : use flama_phc
20250108@170553.1958 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170553.2008 5k5bs53tdm8j7kn2vog8agfu25 Query : use flama_phc
20250108@170553.2011 5k5bs53tdm8j7kn2vog8agfu25 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170553.2062 5k5bs53tdm8j7kn2vog8agfu25 Query : use flama_phc
20250108@170553.2066 5k5bs53tdm8j7kn2vog8agfu25 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - corroios'
20250108@170553.2128 5k5bs53tdm8j7kn2vog8agfu25 Query : use flama_phc
20250108@170553.2131 5k5bs53tdm8j7kn2vog8agfu25 Query : select 1 valor from td where ndoc = 39
20250108@170553.2144 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170553.2159 5k5bs53tdm8j7kn2vog8agfu25 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170553.2175 5k5bs53tdm8j7kn2vog8agfu25 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170553.2200 5k5bs53tdm8j7kn2vog8agfu25 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170553.2217 5k5bs53tdm8j7kn2vog8agfu25 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170553.2246 5k5bs53tdm8j7kn2vog8agfu25 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170553.2278 5k5bs53tdm8j7kn2vog8agfu25 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170553.2290 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170553.2395 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170553.2408 5k5bs53tdm8j7kn2vog8agfu25 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170553.2425 5k5bs53tdm8j7kn2vog8agfu25 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170553.2442 5k5bs53tdm8j7kn2vog8agfu25 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb10263677eb07137' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170553.2618 5k5bs53tdm8j7kn2vog8agfu25 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170553.2634 5k5bs53tdm8j7kn2vog8agfu25 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170553.2668 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170553.2680 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170553.2692 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170553.2725 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170553.2737 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170553.2749 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170553.2760 5k5bs53tdm8j7kn2vog8agfu25 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb10263677eb07137',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170553.3002 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170553.3040 5k5bs53tdm8j7kn2vog8agfu25 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170553.3057 5k5bs53tdm8j7kn2vog8agfu25 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170553.3078 5k5bs53tdm8j7kn2vog8agfu25 Query : select 'normal' from dummy
20250108@170553.3093 5k5bs53tdm8j7kn2vog8agfu25 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb10263677eb07137',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2850,101621,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170553.3450 5k5bs53tdm8j7kn2vog8agfu25 Query : use flama_phc
20250108@170553.3453 5k5bs53tdm8j7kn2vog8agfu25 Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20250108@170553.3476 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20250108@170553.3491 5k5bs53tdm8j7kn2vog8agfu25 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170553.3533 5k5bs53tdm8j7kn2vog8agfu25 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170553.3561 5k5bs53tdm8j7kn2vog8agfu25 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170553.3578 5k5bs53tdm8j7kn2vog8agfu25 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170553.3588 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170553.3602 5k5bs53tdm8j7kn2vog8agfu25 Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20250108@170553.3616 5k5bs53tdm8j7kn2vog8agfu25 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170553.3632 5k5bs53tdm8j7kn2vog8agfu25 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170553.3645 5k5bs53tdm8j7kn2vog8agfu25 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb52800677eb07158','aut677eb10263677eb07137' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170553.3655 5k5bs53tdm8j7kn2vog8agfu25 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170553.3672 5k5bs53tdm8j7kn2vog8agfu25 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170553.5151 5k5bs53tdm8j7kn2vog8agfu25 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb52800677eb07158',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut677eb10263677eb07137' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170553.5433 5k5bs53tdm8j7kn2vog8agfu25 Query : use flama_phc
20250108@170553.5436 5k5bs53tdm8j7kn2vog8agfu25 Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20250108@170553.5458 5k5bs53tdm8j7kn2vog8agfu25 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.9902.00.1'
20250108@170553.5479 5k5bs53tdm8j7kn2vog8agfu25 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170553.5499 5k5bs53tdm8j7kn2vog8agfu25 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170553.5527 5k5bs53tdm8j7kn2vog8agfu25 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170553.5543 5k5bs53tdm8j7kn2vog8agfu25 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170553.5553 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170553.5567 5k5bs53tdm8j7kn2vog8agfu25 Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20250108@170553.5582 5k5bs53tdm8j7kn2vog8agfu25 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170553.5600 5k5bs53tdm8j7kn2vog8agfu25 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170553.5611 5k5bs53tdm8j7kn2vog8agfu25 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb68521677eb07188','aut677eb10263677eb07137' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170553.5615 5k5bs53tdm8j7kn2vog8agfu25 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170553.5632 5k5bs53tdm8j7kn2vog8agfu25 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170553.5690 5k5bs53tdm8j7kn2vog8agfu25 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb68521677eb07188',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677eb10263677eb07137' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250108@170553.5963 5k5bs53tdm8j7kn2vog8agfu25 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170553.5980 5k5bs53tdm8j7kn2vog8agfu25 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170553.6008 5k5bs53tdm8j7kn2vog8agfu25 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170553.6023 5k5bs53tdm8j7kn2vog8agfu25 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170553.6052 5k5bs53tdm8j7kn2vog8agfu25 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170553.6065 5k5bs53tdm8j7kn2vog8agfu25 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170553.6079 5k5bs53tdm8j7kn2vog8agfu25 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170553.6091 5k5bs53tdm8j7kn2vog8agfu25 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb46342677eb07194','aut677eb10263677eb07137' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170553.6095 5k5bs53tdm8j7kn2vog8agfu25 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170553.6110 5k5bs53tdm8j7kn2vog8agfu25 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170553.6143 5k5bs53tdm8j7kn2vog8agfu25 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb46342677eb07194',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb10263677eb07137' ,0,0 ,2,23.00,30000,?,?,?)
20250108@170553.6514 5k5bs53tdm8j7kn2vog8agfu25 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb10263677eb07137','2500188','wait',39,'adm09112754980.682000002')
20250108@170553.6582 5k5bs53tdm8j7kn2vog8agfu25 Query : use flama_phc
20250108@170553.6585 5k5bs53tdm8j7kn2vog8agfu25 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170553.6620 5k5bs53tdm8j7kn2vog8agfu25 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4410';
20250108@170553.6740 5k5bs53tdm8j7kn2vog8agfu25 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4410';
20250108@170553.7070 5k5bs53tdm8j7kn2vog8agfu25 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4410';
20250108@170553.7191 5k5bs53tdm8j7kn2vog8agfu25 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4410';
20250108@170553.7878 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170553.7889 fdp1vq8kr92ne6ivvbmppm1rtf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170553.7962 fdp1vq8kr92ne6ivvbmppm1rtf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4411';
20250108@170553.8036 fdp1vq8kr92ne6ivvbmppm1rtf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4411';
20250108@170553.8099 fdp1vq8kr92ne6ivvbmppm1rtf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4411';
20250108@170553.8132 fdp1vq8kr92ne6ivvbmppm1rtf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4411';
20250108@170553.8192 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170553.8195 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170553.8259 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170553.8262 fdp1vq8kr92ne6ivvbmppm1rtf Query : select no, estab,szadrsdesc from szadrs where u_coddest=7737
20250108@170553.8352 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20250108@170553.8372 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500189 and bi.ref ='324.1642.00.2' and bi.lordem =1
20250108@170553.8689 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20250108@170553.8711 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500189 and bi.ref ='327.8261.00.1' and bi.lordem =2
20250108@170553.9027 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20250108@170553.9049 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500189 and bi.ref ='327.8261.00.1' and bi.lordem =2
20250108@170553.9065 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20250108@170553.9088 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500189 and bi.ref ='327.8261.00.1' and bi.lordem =3
20250108@170553.9402 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20250108@170553.9423 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500189 and bi.ref ='327.8261.00.1' and bi.lordem =3
20250108@170553.9439 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20250108@170553.9459 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500189 and bi.ref ='327.8261.00.1' and bi.lordem =3
20250108@170553.9475 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20250108@170553.9494 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500189 and bi.ref ='327.8261.00.1' and bi.lordem =3
20250108@170553.9511 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20250108@170553.9532 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500189 and bi.ref ='328.9902.00.1' and bi.lordem =4
20250108@170553.9862 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20250108@170553.9881 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500189 and bi.ref ='328.9902.00.1' and bi.lordem =4
20250108@170553.9897 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20250108@170553.9916 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500189 and bi.ref ='328.9902.00.1' and bi.lordem =4
20250108@170553.9932 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20250108@170553.9952 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500189 and bi.ref ='328.9902.00.1' and bi.lordem =4
20250108@170553.9968 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20250108@170554.1090 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500189 and bi.ref ='324.1832.00.2' and bi.lordem =5
20250108@170554.4250 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20250108@170554.4450 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500189 and bi.ref ='324.1832.00.2' and bi.lordem =6
20250108@170554.8210 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170554.8250 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170554.8570 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170554.8600 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170554.8890 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170554.8920 fdp1vq8kr92ne6ivvbmppm1rtf 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')
20250108@170554.9220 fdp1vq8kr92ne6ivvbmppm1rtf 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
20250108@170554.9580 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170554.9610 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250108@170554.9920 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170554.9960 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170554.1027 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170554.1030 fdp1vq8kr92ne6ivvbmppm1rtf Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170554.1069 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170554.1072 fdp1vq8kr92ne6ivvbmppm1rtf Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - loja da ponte'
20250108@170554.1122 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170554.1125 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from td where ndoc = 39
20250108@170554.1139 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170554.1154 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.1171 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170554.1191 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.1206 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170554.1236 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.1252 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170554.1266 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170554.1376 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170554.1473 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.1825 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170554.1847 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170554.2016 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.2034 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170554.2069 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170554.2081 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170554.2093 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170554.2104 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170554.2116 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170554.2128 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170554.2140 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb42418677eb0721e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170554.2475 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170554.2608 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.2714 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170554.2737 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 'normal' from dummy
20250108@170554.2751 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb42418677eb0721e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2851,101621,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170554.3324 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170554.3328 fdp1vq8kr92ne6ivvbmppm1rtf Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20250108@170554.3351 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20250108@170554.3364 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.3380 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.3407 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.3424 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.3433 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170554.3444 fdp1vq8kr92ne6ivvbmppm1rtf Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20250108@170554.3455 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.3469 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.3480 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb34214677eb07254','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170554.3484 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.3498 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.3525 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb34214677eb07254',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',40.000 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170554.3768 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170554.3771 fdp1vq8kr92ne6ivvbmppm1rtf Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20250108@170554.3790 fdp1vq8kr92ne6ivvbmppm1rtf 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.8261.00.1'
20250108@170554.3803 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.3820 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.3844 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.3859 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.3866 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170554.3878 fdp1vq8kr92ne6ivvbmppm1rtf Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2401098200a'
20250108@170554.3889 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.3904 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.3915 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb37679677eb0725e','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170554.3919 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.3933 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.3962 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb37679677eb0725e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250108@170554.4205 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.4220 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.4244 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.4261 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.4269 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170554.4281 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.4295 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.4307 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb71472677eb07268','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170554.4311 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.4324 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.4353 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb71472677eb07268',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,30000,?,?,?)
20250108@170554.4599 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170554.4602 fdp1vq8kr92ne6ivvbmppm1rtf Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20250108@170554.4621 fdp1vq8kr92ne6ivvbmppm1rtf 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.8261.00.1'
20250108@170554.4634 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.4650 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.4674 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.4689 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.4697 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170554.4708 fdp1vq8kr92ne6ivvbmppm1rtf Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2401098200a'
20250108@170554.4720 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.4734 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.4745 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb21621677eb07273','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170554.4750 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.4764 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.4789 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb21621677eb07273',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20250108@170554.5037 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.5054 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.5082 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.5097 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.5105 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170554.5116 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.5130 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.5142 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb99543677eb0727c','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170554.5145 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.5160 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.5186 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb99543677eb0727c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,60000,?,?,?)
20250108@170554.5415 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170554.5419 fdp1vq8kr92ne6ivvbmppm1rtf Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20250108@170554.5438 fdp1vq8kr92ne6ivvbmppm1rtf 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.8261.00.1'
20250108@170554.5453 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.5469 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.5495 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.5512 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.5521 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170554.5534 fdp1vq8kr92ne6ivvbmppm1rtf Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2401098200a'
20250108@170554.5547 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.5562 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.5575 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb34008677eb07287','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170554.5579 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.5595 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.5626 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb34008677eb07287',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20250108@170554.5902 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.5919 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.5945 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.5959 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.5967 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170554.5980 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.5995 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.6008 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb75380677eb07292','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170554.6012 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.6027 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.6059 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb75380677eb07292',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,90000,?,?,?)
20250108@170554.6299 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170554.6302 fdp1vq8kr92ne6ivvbmppm1rtf Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20250108@170554.6324 fdp1vq8kr92ne6ivvbmppm1rtf 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.8261.00.1'
20250108@170554.6338 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.6355 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.6380 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.6396 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.6406 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170554.6417 fdp1vq8kr92ne6ivvbmppm1rtf Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2401098200a'
20250108@170554.6430 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.6445 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.6456 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb24231677eb0729c','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170554.6460 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.6475 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.6503 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb24231677eb0729c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20250108@170554.6761 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.6777 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.6803 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.6819 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.6828 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170554.6841 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.6856 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.6867 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb45823677eb072a7','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170554.6871 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.6886 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.6915 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb45823677eb072a7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,120000,?,?,?)
20250108@170554.7270 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170554.8620 fdp1vq8kr92ne6ivvbmppm1rtf Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20250108@170554.8754 fdp1vq8kr92ne6ivvbmppm1rtf 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.8261.00.1'
20250108@170554.8768 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.8784 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.8814 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.8829 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.8838 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170554.8853 fdp1vq8kr92ne6ivvbmppm1rtf Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2401098200a'
20250108@170554.8865 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.8879 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.8911 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb96508677eb072d8','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170554.8915 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.8933 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.8964 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb96508677eb072d8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20250108@170554.9223 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.9238 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.9263 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.9276 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.9285 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170554.9298 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.9315 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170554.9325 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb29440677eb072e3','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170554.9329 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170554.9347 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170554.9375 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb29440677eb072e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,150000,?,?,?)
20250108@170554.9659 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170554.9663 fdp1vq8kr92ne6ivvbmppm1rtf Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20250108@170554.9685 fdp1vq8kr92ne6ivvbmppm1rtf 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.8261.00.1'
20250108@170555.5000 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.2630 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.2890 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.3040 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.3130 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170555.3250 fdp1vq8kr92ne6ivvbmppm1rtf Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2401098200a'
20250108@170555.3370 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.3520 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.3630 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb73990677eb07308','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170555.3680 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.3830 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.4110 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb73990677eb07308',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,170000,?,?,?,?,?)
20250108@170555.6890 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.7080 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.7380 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.7550 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.7650 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170555.7820 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.7990 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.8200 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb06673677eb07313','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170555.8250 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.8610 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.9280 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb06673677eb07313',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,180000,?,?,?)
20250108@170555.1254 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170555.1266 fdp1vq8kr92ne6ivvbmppm1rtf Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20250108@170555.1632 fdp1vq8kr92ne6ivvbmppm1rtf 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.9902.00.1'
20250108@170555.1649 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.1665 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.1689 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.1714 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.1732 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170555.1752 fdp1vq8kr92ne6ivvbmppm1rtf Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20250108@170555.1777 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.1806 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.1827 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb85260677eb0732b','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170555.1835 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.1865 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.1912 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb85260677eb0732b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,200000,?,?,?,?,?)
20250108@170555.2202 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.2230 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.2279 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.2315 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.2334 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170555.2359 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.2389 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.2401 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb57441677eb07339','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170555.2406 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.2423 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.2451 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb57441677eb07339',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,210000,?,?,?)
20250108@170555.2729 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170555.2734 fdp1vq8kr92ne6ivvbmppm1rtf Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20250108@170555.2758 fdp1vq8kr92ne6ivvbmppm1rtf 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.9902.00.1'
20250108@170555.2771 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.2787 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.2811 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.2824 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.2833 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170555.2845 fdp1vq8kr92ne6ivvbmppm1rtf Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20250108@170555.2857 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.2872 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.2884 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb93538677eb07345','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170555.2888 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.2902 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.2930 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb93538677eb07345',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,230000,?,?,?,?,?)
20250108@170555.3195 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.3213 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.3238 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.3253 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.3262 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170555.3273 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.3288 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.3299 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb33218677eb0734f','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170555.3311 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.3325 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.3353 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb33218677eb0734f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,240000,?,?,?)
20250108@170555.3619 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170555.3623 fdp1vq8kr92ne6ivvbmppm1rtf Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20250108@170555.3643 fdp1vq8kr92ne6ivvbmppm1rtf 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.9902.00.1'
20250108@170555.3660 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.3678 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.3708 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.3724 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.3734 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170555.3747 fdp1vq8kr92ne6ivvbmppm1rtf Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20250108@170555.3763 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.3782 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.3797 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb34447677eb0735b','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170555.3802 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.3822 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.3855 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb34447677eb0735b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,260000,?,?,?,?,?)
20250108@170555.4129 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.4151 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.4180 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.4197 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.4206 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170555.4220 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.4237 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.4249 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb78084677eb07367','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170555.4254 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.4270 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.4303 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb78084677eb07367',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,270000,?,?,?)
20250108@170555.4618 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170555.4621 fdp1vq8kr92ne6ivvbmppm1rtf Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20250108@170555.4644 fdp1vq8kr92ne6ivvbmppm1rtf 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.9902.00.1'
20250108@170555.4659 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.4677 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.4705 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.4719 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.4727 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170555.4738 fdp1vq8kr92ne6ivvbmppm1rtf Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20250108@170555.4751 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.4765 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.4777 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb22736677eb07373','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170555.4781 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.4796 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.4824 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb22736677eb07373',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,290000,?,?,?,?,?)
20250108@170555.5085 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.5102 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.5126 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.5141 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.5150 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170555.5162 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.5177 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.5189 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb42006677eb0737e','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170555.5193 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.5207 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.5233 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb42006677eb0737e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,300000,?,?,?)
20250108@170555.5474 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170555.5477 fdp1vq8kr92ne6ivvbmppm1rtf Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20250108@170555.5497 fdp1vq8kr92ne6ivvbmppm1rtf 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.1832.00.2'
20250108@170555.5643 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.5661 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.5689 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.5704 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.5712 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170555.5723 fdp1vq8kr92ne6ivvbmppm1rtf Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2400401150a'
20250108@170555.5746 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.5761 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.5773 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb06536677eb0738c','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170555.5777 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.5792 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.5820 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb06536677eb0738c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,320000,?,?,?,?,?)
20250108@170555.6108 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.6124 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.6150 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.6164 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.6173 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170555.6186 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.6203 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.6214 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb56260677eb07397','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170555.6219 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.6234 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.6263 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb56260677eb07397',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,330000,?,?,?)
20250108@170555.6538 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170555.6541 fdp1vq8kr92ne6ivvbmppm1rtf Query : select st.usalote valor from st where st.ref = '324.1832.00.2'
20250108@170555.6571 fdp1vq8kr92ne6ivvbmppm1rtf 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.1832.00.2'
20250108@170555.6584 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.6600 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.7126 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.7152 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.7161 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170555.7173 fdp1vq8kr92ne6ivvbmppm1rtf Query : select sestamp valor from se where ref ='324.1832.00.2' and lote = 'r2400401150a'
20250108@170555.7185 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.7199 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.7254 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb92955677eb073af','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170555.7264 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.7444 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.7665 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb92955677eb073af',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,350000,?,?,?,?,?)
20250108@170555.7946 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.7995 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.8081 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.8123 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.8151 fdp1vq8kr92ne6ivvbmppm1rtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170555.8266 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.8297 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170555.8319 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb83879677eb073c9','aut677eb42418677eb0721e' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170555.8328 fdp1vq8kr92ne6ivvbmppm1rtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170555.8362 fdp1vq8kr92ne6ivvbmppm1rtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170555.8431 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb83879677eb073c9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb42418677eb0721e' ,0,0 ,2,23.00,360000,?,?,?)
20250108@170555.8714 fdp1vq8kr92ne6ivvbmppm1rtf Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb42418677eb0721e','2500189','wait',39,'adm09112754980.682000002')
20250108@170555.8810 fdp1vq8kr92ne6ivvbmppm1rtf Query : use flama_phc
20250108@170555.8814 fdp1vq8kr92ne6ivvbmppm1rtf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170555.8844 fdp1vq8kr92ne6ivvbmppm1rtf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4411';
20250108@170555.8888 fdp1vq8kr92ne6ivvbmppm1rtf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4411';
20250108@170555.8941 fdp1vq8kr92ne6ivvbmppm1rtf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4411';
20250108@170555.8993 fdp1vq8kr92ne6ivvbmppm1rtf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4411';
20250108@170555.9588 1er5ukkrbfjv4ugh10dv9us5gl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170555.9600 1er5ukkrbfjv4ugh10dv9us5gl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170555.9694 1er5ukkrbfjv4ugh10dv9us5gl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4412';
20250108@170555.9795 1er5ukkrbfjv4ugh10dv9us5gl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4412';
20250108@170555.9860 1er5ukkrbfjv4ugh10dv9us5gl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4412';
20250108@170555.9898 1er5ukkrbfjv4ugh10dv9us5gl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4412';
20250108@170555.9959 1er5ukkrbfjv4ugh10dv9us5gl Query : use flama_phc
20250108@170555.9962 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170556.2400 1er5ukkrbfjv4ugh10dv9us5gl Query : use flama_phc
20250108@170556.2700 1er5ukkrbfjv4ugh10dv9us5gl Query : select no, estab,szadrsdesc from szadrs where u_coddest=1161
20250108@170556.1230 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20250108@170556.1440 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500190 and bi.ref ='324.1642.00.2' and bi.lordem =1
20250108@170556.5690 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20250108@170556.5900 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500190 and bi.ref ='324.1642.00.2' and bi.lordem =1
20250108@170556.6080 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20250108@170556.6270 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500190 and bi.ref ='327.8261.00.1' and bi.lordem =2
20250108@170556.9420 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20250108@170556.9620 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500190 and bi.ref ='328.9902.00.1' and bi.lordem =3
20250108@170556.1303 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20250108@170556.1343 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500190 and bi.ref ='328.9902.00.1' and bi.lordem =3
20250108@170556.1363 1er5ukkrbfjv4ugh10dv9us5gl Query : use flama_phc
20250108@170556.1366 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170556.1399 1er5ukkrbfjv4ugh10dv9us5gl Query : use flama_phc
20250108@170556.1402 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170556.1431 1er5ukkrbfjv4ugh10dv9us5gl Query : use flama_phc
20250108@170556.1434 1er5ukkrbfjv4ugh10dv9us5gl 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')
20250108@170556.1462 1er5ukkrbfjv4ugh10dv9us5gl 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
20250108@170556.1497 1er5ukkrbfjv4ugh10dv9us5gl Query : use flama_phc
20250108@170556.1500 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250108@170556.1531 1er5ukkrbfjv4ugh10dv9us5gl Query : use flama_phc
20250108@170556.1534 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170556.1563 1er5ukkrbfjv4ugh10dv9us5gl Query : use flama_phc
20250108@170556.1566 1er5ukkrbfjv4ugh10dv9us5gl Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170556.1637 1er5ukkrbfjv4ugh10dv9us5gl Query : use flama_phc
20250108@170556.1641 1er5ukkrbfjv4ugh10dv9us5gl Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - Évora'
20250108@170556.1694 1er5ukkrbfjv4ugh10dv9us5gl Query : use flama_phc
20250108@170556.1697 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from td where ndoc = 39
20250108@170556.1717 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170556.1736 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.1754 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170556.1776 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.1792 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170556.1824 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.1841 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170556.1857 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170556.1993 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170556.2009 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.2027 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170556.2046 1er5ukkrbfjv4ugh10dv9us5gl Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb76958677eb0742d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170556.2218 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.2242 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170556.2283 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170556.2297 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170556.2312 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170556.2325 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170556.2339 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170556.2353 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170556.2366 1er5ukkrbfjv4ugh10dv9us5gl Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb76958677eb0742d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170556.2677 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170556.2711 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.2729 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170556.2756 1er5ukkrbfjv4ugh10dv9us5gl Query : select 'normal' from dummy
20250108@170556.2773 1er5ukkrbfjv4ugh10dv9us5gl Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb76958677eb0742d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2852,101621,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170556.3053 1er5ukkrbfjv4ugh10dv9us5gl Query : use flama_phc
20250108@170556.3057 1er5ukkrbfjv4ugh10dv9us5gl Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20250108@170556.3081 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20250108@170556.3098 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.3443 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170556.4328 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.4506 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170556.4528 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170556.4583 1er5ukkrbfjv4ugh10dv9us5gl Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20250108@170556.4686 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.4706 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170556.4719 1er5ukkrbfjv4ugh10dv9us5gl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb70198677eb07472','aut677eb76958677eb0742d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170556.4724 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.4740 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170556.4773 1er5ukkrbfjv4ugh10dv9us5gl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb70198677eb07472',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut677eb76958677eb0742d' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170556.5035 1er5ukkrbfjv4ugh10dv9us5gl Query : use flama_phc
20250108@170556.5039 1er5ukkrbfjv4ugh10dv9us5gl Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20250108@170556.5069 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20250108@170556.5085 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.5106 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170556.5131 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.5149 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170556.5158 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170556.5171 1er5ukkrbfjv4ugh10dv9us5gl Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20250108@170556.5184 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.5200 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170556.5211 1er5ukkrbfjv4ugh10dv9us5gl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb32995677eb0747e','aut677eb76958677eb0742d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170556.5216 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.5229 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170556.5256 1er5ukkrbfjv4ugh10dv9us5gl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb32995677eb0747e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677eb76958677eb0742d' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250108@170556.5622 1er5ukkrbfjv4ugh10dv9us5gl Query : use flama_phc
20250108@170556.5625 1er5ukkrbfjv4ugh10dv9us5gl Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20250108@170556.5646 1er5ukkrbfjv4ugh10dv9us5gl 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.8261.00.1'
20250108@170556.5660 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.5676 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170556.5701 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.5715 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170556.5724 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170556.5735 1er5ukkrbfjv4ugh10dv9us5gl Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2401098200a'
20250108@170556.5747 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.5762 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170556.5777 1er5ukkrbfjv4ugh10dv9us5gl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb25412677eb0748c','aut677eb76958677eb0742d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170556.5782 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.5796 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170556.5825 1er5ukkrbfjv4ugh10dv9us5gl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb25412677eb0748c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677eb76958677eb0742d' ,0,0 ,2,23.00,30000,?,?,?,?,?)
20250108@170556.6178 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.6196 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170556.6233 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.6249 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170556.6258 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170556.6270 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.6284 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170556.6296 1er5ukkrbfjv4ugh10dv9us5gl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb62954677eb07499','aut677eb76958677eb0742d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170556.6300 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.6317 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170556.6345 1er5ukkrbfjv4ugh10dv9us5gl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb62954677eb07499',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb76958677eb0742d' ,0,0 ,2,23.00,40000,?,?,?)
20250108@170556.6625 1er5ukkrbfjv4ugh10dv9us5gl Query : use flama_phc
20250108@170556.6628 1er5ukkrbfjv4ugh10dv9us5gl Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20250108@170556.6648 1er5ukkrbfjv4ugh10dv9us5gl 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.9902.00.1'
20250108@170556.6662 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.6685 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170556.6714 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.6729 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170556.6737 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170556.6750 1er5ukkrbfjv4ugh10dv9us5gl Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20250108@170556.6762 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.6777 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170556.6789 1er5ukkrbfjv4ugh10dv9us5gl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb82956677eb074a5','aut677eb76958677eb0742d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170556.6793 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.6808 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170556.6835 1er5ukkrbfjv4ugh10dv9us5gl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb82956677eb074a5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677eb76958677eb0742d' ,0,0 ,2,23.00,60000,?,?,?,?,?)
20250108@170556.7117 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.7133 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170556.7159 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.7173 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170556.7182 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170556.7194 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.7208 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170556.7219 1er5ukkrbfjv4ugh10dv9us5gl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb73063677eb074af','aut677eb76958677eb0742d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170556.7224 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.7244 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170556.7273 1er5ukkrbfjv4ugh10dv9us5gl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb73063677eb074af',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb76958677eb0742d' ,0,0 ,2,23.00,70000,?,?,?)
20250108@170556.7566 1er5ukkrbfjv4ugh10dv9us5gl Query : use flama_phc
20250108@170556.7569 1er5ukkrbfjv4ugh10dv9us5gl Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20250108@170556.7588 1er5ukkrbfjv4ugh10dv9us5gl 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.9902.00.1'
20250108@170556.7601 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.7617 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170556.7643 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.7658 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170556.7667 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170556.7679 1er5ukkrbfjv4ugh10dv9us5gl Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20250108@170556.7694 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.7709 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170556.7720 1er5ukkrbfjv4ugh10dv9us5gl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb02728677eb074bb','aut677eb76958677eb0742d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170556.7725 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.7768 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170556.7797 1er5ukkrbfjv4ugh10dv9us5gl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb02728677eb074bb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677eb76958677eb0742d' ,0,0 ,2,23.00,90000,?,?,?,?,?)
20250108@170556.8048 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.8063 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170556.8090 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.8105 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170556.8113 1er5ukkrbfjv4ugh10dv9us5gl Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170556.8125 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.8141 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170556.8153 1er5ukkrbfjv4ugh10dv9us5gl Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb29503677eb074c6','aut677eb76958677eb0742d' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170556.8158 1er5ukkrbfjv4ugh10dv9us5gl Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170556.8172 1er5ukkrbfjv4ugh10dv9us5gl Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170556.8200 1er5ukkrbfjv4ugh10dv9us5gl Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb29503677eb074c6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb76958677eb0742d' ,0,0 ,2,23.00,100000,?,?,?)
20250108@170556.8465 1er5ukkrbfjv4ugh10dv9us5gl Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb76958677eb0742d','2500190','wait',39,'adm09112754980.682000002')
20250108@170556.8535 1er5ukkrbfjv4ugh10dv9us5gl Query : use flama_phc
20250108@170556.8538 1er5ukkrbfjv4ugh10dv9us5gl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170556.8568 1er5ukkrbfjv4ugh10dv9us5gl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4412';
20250108@170556.8615 1er5ukkrbfjv4ugh10dv9us5gl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4412';
20250108@170556.8670 1er5ukkrbfjv4ugh10dv9us5gl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4412';
20250108@170556.8709 1er5ukkrbfjv4ugh10dv9us5gl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4412';
20250108@170556.9243 os00su97ghcqb58lbt9fca2r6u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170556.9254 os00su97ghcqb58lbt9fca2r6u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170556.9343 os00su97ghcqb58lbt9fca2r6u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4413';
20250108@170556.9411 os00su97ghcqb58lbt9fca2r6u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4413';
20250108@170556.9478 os00su97ghcqb58lbt9fca2r6u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4413';
20250108@170556.9513 os00su97ghcqb58lbt9fca2r6u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4413';
20250108@170556.9570 os00su97ghcqb58lbt9fca2r6u Query : use flama_phc
20250108@170556.9573 os00su97ghcqb58lbt9fca2r6u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170556.9637 os00su97ghcqb58lbt9fca2r6u Query : use flama_phc
20250108@170556.9640 os00su97ghcqb58lbt9fca2r6u Query : select no, estab,szadrsdesc from szadrs where u_coddest=2374
20250108@170556.9757 os00su97ghcqb58lbt9fca2r6u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20250108@170556.9776 os00su97ghcqb58lbt9fca2r6u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500191 and bi.ref ='324.1642.00.2' and bi.lordem =1
20250108@170557.1120 os00su97ghcqb58lbt9fca2r6u Query : use flama_phc
20250108@170557.1160 os00su97ghcqb58lbt9fca2r6u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170557.1490 os00su97ghcqb58lbt9fca2r6u Query : use flama_phc
20250108@170557.1520 os00su97ghcqb58lbt9fca2r6u Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170557.2230 os00su97ghcqb58lbt9fca2r6u Query : use flama_phc
20250108@170557.2260 os00su97ghcqb58lbt9fca2r6u 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')
20250108@170557.2540 os00su97ghcqb58lbt9fca2r6u 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
20250108@170557.2880 os00su97ghcqb58lbt9fca2r6u Query : use flama_phc
20250108@170557.2910 os00su97ghcqb58lbt9fca2r6u Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250108@170557.3240 os00su97ghcqb58lbt9fca2r6u Query : use flama_phc
20250108@170557.3270 os00su97ghcqb58lbt9fca2r6u Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170557.4050 os00su97ghcqb58lbt9fca2r6u Query : use flama_phc
20250108@170557.4100 os00su97ghcqb58lbt9fca2r6u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170557.4490 os00su97ghcqb58lbt9fca2r6u Query : use flama_phc
20250108@170557.4520 os00su97ghcqb58lbt9fca2r6u Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - vila real'
20250108@170557.5240 os00su97ghcqb58lbt9fca2r6u Query : use flama_phc
20250108@170557.5270 os00su97ghcqb58lbt9fca2r6u Query : select 1 valor from td where ndoc = 39
20250108@170557.5410 os00su97ghcqb58lbt9fca2r6u Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170557.5640 os00su97ghcqb58lbt9fca2r6u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.5810 os00su97ghcqb58lbt9fca2r6u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170557.6000 os00su97ghcqb58lbt9fca2r6u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.6150 os00su97ghcqb58lbt9fca2r6u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170557.6480 os00su97ghcqb58lbt9fca2r6u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.6670 os00su97ghcqb58lbt9fca2r6u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170557.7640 os00su97ghcqb58lbt9fca2r6u Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170557.1086 os00su97ghcqb58lbt9fca2r6u Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170557.1125 os00su97ghcqb58lbt9fca2r6u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.1269 os00su97ghcqb58lbt9fca2r6u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170557.1293 os00su97ghcqb58lbt9fca2r6u Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb94065677eb07512' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170557.1539 os00su97ghcqb58lbt9fca2r6u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.1558 os00su97ghcqb58lbt9fca2r6u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170557.1619 os00su97ghcqb58lbt9fca2r6u Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170557.1632 os00su97ghcqb58lbt9fca2r6u Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170557.1643 os00su97ghcqb58lbt9fca2r6u Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170557.1656 os00su97ghcqb58lbt9fca2r6u Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170557.1667 os00su97ghcqb58lbt9fca2r6u Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170557.1679 os00su97ghcqb58lbt9fca2r6u Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170557.1691 os00su97ghcqb58lbt9fca2r6u Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb94065677eb07512',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170557.1933 os00su97ghcqb58lbt9fca2r6u Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170557.1969 os00su97ghcqb58lbt9fca2r6u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.1985 os00su97ghcqb58lbt9fca2r6u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170557.2034 os00su97ghcqb58lbt9fca2r6u Query : select 'normal' from dummy
20250108@170557.2050 os00su97ghcqb58lbt9fca2r6u Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb94065677eb07512',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2853,101621,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170557.2373 os00su97ghcqb58lbt9fca2r6u Query : use flama_phc
20250108@170557.2377 os00su97ghcqb58lbt9fca2r6u Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20250108@170557.2399 os00su97ghcqb58lbt9fca2r6u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20250108@170557.2412 os00su97ghcqb58lbt9fca2r6u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.2429 os00su97ghcqb58lbt9fca2r6u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170557.2481 os00su97ghcqb58lbt9fca2r6u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.2495 os00su97ghcqb58lbt9fca2r6u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170557.2503 os00su97ghcqb58lbt9fca2r6u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170557.2515 os00su97ghcqb58lbt9fca2r6u Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20250108@170557.2527 os00su97ghcqb58lbt9fca2r6u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.2541 os00su97ghcqb58lbt9fca2r6u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170557.2552 os00su97ghcqb58lbt9fca2r6u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb97223677eb0753d','aut677eb94065677eb07512' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170557.2557 os00su97ghcqb58lbt9fca2r6u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.2573 os00su97ghcqb58lbt9fca2r6u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170557.2601 os00su97ghcqb58lbt9fca2r6u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb97223677eb0753d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut677eb94065677eb07512' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170557.2860 os00su97ghcqb58lbt9fca2r6u Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb94065677eb07512','2500191','wait',39,'adm09112754980.682000002')
20250108@170557.2928 os00su97ghcqb58lbt9fca2r6u Query : use flama_phc
20250108@170557.2931 os00su97ghcqb58lbt9fca2r6u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170557.2961 os00su97ghcqb58lbt9fca2r6u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4413';
20250108@170557.3004 os00su97ghcqb58lbt9fca2r6u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4413';
20250108@170557.3079 os00su97ghcqb58lbt9fca2r6u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4413';
20250108@170557.3117 os00su97ghcqb58lbt9fca2r6u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4413';
20250108@170557.3674 3ofcuv8jvvqn7nudvcml011po0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170557.3723 3ofcuv8jvvqn7nudvcml011po0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170557.3820 3ofcuv8jvvqn7nudvcml011po0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4414';
20250108@170557.3886 3ofcuv8jvvqn7nudvcml011po0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4414';
20250108@170557.3948 3ofcuv8jvvqn7nudvcml011po0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4414';
20250108@170557.4002 3ofcuv8jvvqn7nudvcml011po0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4414';
20250108@170557.4058 3ofcuv8jvvqn7nudvcml011po0 Query : use flama_phc
20250108@170557.4061 3ofcuv8jvvqn7nudvcml011po0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170557.4121 3ofcuv8jvvqn7nudvcml011po0 Query : use flama_phc
20250108@170557.4125 3ofcuv8jvvqn7nudvcml011po0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1328
20250108@170557.4217 3ofcuv8jvvqn7nudvcml011po0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20250108@170557.4236 3ofcuv8jvvqn7nudvcml011po0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500192 and bi.ref ='324.1642.00.2' and bi.lordem =1
20250108@170557.4600 3ofcuv8jvvqn7nudvcml011po0 Query : use flama_phc
20250108@170557.4603 3ofcuv8jvvqn7nudvcml011po0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170557.4643 3ofcuv8jvvqn7nudvcml011po0 Query : use flama_phc
20250108@170557.4646 3ofcuv8jvvqn7nudvcml011po0 Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170557.4676 3ofcuv8jvvqn7nudvcml011po0 Query : use flama_phc
20250108@170557.4718 3ofcuv8jvvqn7nudvcml011po0 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')
20250108@170557.4860 3ofcuv8jvvqn7nudvcml011po0 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
20250108@170557.4894 3ofcuv8jvvqn7nudvcml011po0 Query : use flama_phc
20250108@170557.4898 3ofcuv8jvvqn7nudvcml011po0 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250108@170557.4928 3ofcuv8jvvqn7nudvcml011po0 Query : use flama_phc
20250108@170557.4931 3ofcuv8jvvqn7nudvcml011po0 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170557.4964 3ofcuv8jvvqn7nudvcml011po0 Query : use flama_phc
20250108@170557.4969 3ofcuv8jvvqn7nudvcml011po0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170557.5007 3ofcuv8jvvqn7nudvcml011po0 Query : use flama_phc
20250108@170557.5010 3ofcuv8jvvqn7nudvcml011po0 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - mealhada'
20250108@170557.5061 3ofcuv8jvvqn7nudvcml011po0 Query : use flama_phc
20250108@170557.5064 3ofcuv8jvvqn7nudvcml011po0 Query : select 1 valor from td where ndoc = 39
20250108@170557.5077 3ofcuv8jvvqn7nudvcml011po0 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170557.5092 3ofcuv8jvvqn7nudvcml011po0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.5136 3ofcuv8jvvqn7nudvcml011po0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170557.5158 3ofcuv8jvvqn7nudvcml011po0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.5173 3ofcuv8jvvqn7nudvcml011po0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170557.5203 3ofcuv8jvvqn7nudvcml011po0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.5219 3ofcuv8jvvqn7nudvcml011po0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170557.5244 3ofcuv8jvvqn7nudvcml011po0 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170557.5358 3ofcuv8jvvqn7nudvcml011po0 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170557.5372 3ofcuv8jvvqn7nudvcml011po0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.5394 3ofcuv8jvvqn7nudvcml011po0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170557.5412 3ofcuv8jvvqn7nudvcml011po0 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb48676677eb07580' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170557.5584 3ofcuv8jvvqn7nudvcml011po0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.5604 3ofcuv8jvvqn7nudvcml011po0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170557.5639 3ofcuv8jvvqn7nudvcml011po0 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170557.5652 3ofcuv8jvvqn7nudvcml011po0 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170557.5665 3ofcuv8jvvqn7nudvcml011po0 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170557.5707 3ofcuv8jvvqn7nudvcml011po0 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170557.5720 3ofcuv8jvvqn7nudvcml011po0 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170557.5733 3ofcuv8jvvqn7nudvcml011po0 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170557.5746 3ofcuv8jvvqn7nudvcml011po0 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb48676677eb07580',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170557.6000 3ofcuv8jvvqn7nudvcml011po0 Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170557.6042 3ofcuv8jvvqn7nudvcml011po0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.6059 3ofcuv8jvvqn7nudvcml011po0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170557.6083 3ofcuv8jvvqn7nudvcml011po0 Query : select 'normal' from dummy
20250108@170557.6099 3ofcuv8jvvqn7nudvcml011po0 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb48676677eb07580',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2854,101621,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170557.6433 3ofcuv8jvvqn7nudvcml011po0 Query : use flama_phc
20250108@170557.6436 3ofcuv8jvvqn7nudvcml011po0 Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20250108@170557.6459 3ofcuv8jvvqn7nudvcml011po0 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20250108@170557.6474 3ofcuv8jvvqn7nudvcml011po0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.6490 3ofcuv8jvvqn7nudvcml011po0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170557.6516 3ofcuv8jvvqn7nudvcml011po0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.6532 3ofcuv8jvvqn7nudvcml011po0 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170557.6542 3ofcuv8jvvqn7nudvcml011po0 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170557.6554 3ofcuv8jvvqn7nudvcml011po0 Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20250108@170557.6566 3ofcuv8jvvqn7nudvcml011po0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.6581 3ofcuv8jvvqn7nudvcml011po0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170557.6593 3ofcuv8jvvqn7nudvcml011po0 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb70292677eb075a0','aut677eb48676677eb07580' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170557.6598 3ofcuv8jvvqn7nudvcml011po0 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.6612 3ofcuv8jvvqn7nudvcml011po0 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170557.6642 3ofcuv8jvvqn7nudvcml011po0 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb70292677eb075a0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut677eb48676677eb07580' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170557.6937 3ofcuv8jvvqn7nudvcml011po0 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb48676677eb07580','2500192','wait',39,'adm09112754980.682000002')
20250108@170557.7007 3ofcuv8jvvqn7nudvcml011po0 Query : use flama_phc
20250108@170557.7010 3ofcuv8jvvqn7nudvcml011po0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170557.7039 3ofcuv8jvvqn7nudvcml011po0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4414';
20250108@170557.7140 3ofcuv8jvvqn7nudvcml011po0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4414';
20250108@170557.7257 3ofcuv8jvvqn7nudvcml011po0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4414';
20250108@170557.7315 3ofcuv8jvvqn7nudvcml011po0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4414';
20250108@170557.7851 5sko80vc4qp0658gq5uqmk20l1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170557.7861 5sko80vc4qp0658gq5uqmk20l1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170557.7930 5sko80vc4qp0658gq5uqmk20l1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4415';
20250108@170557.8012 5sko80vc4qp0658gq5uqmk20l1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4415';
20250108@170557.8074 5sko80vc4qp0658gq5uqmk20l1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4415';
20250108@170557.8106 5sko80vc4qp0658gq5uqmk20l1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4415';
20250108@170557.8165 5sko80vc4qp0658gq5uqmk20l1 Query : use flama_phc
20250108@170557.8168 5sko80vc4qp0658gq5uqmk20l1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170557.8247 5sko80vc4qp0658gq5uqmk20l1 Query : use flama_phc
20250108@170557.8250 5sko80vc4qp0658gq5uqmk20l1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1498
20250108@170557.8338 5sko80vc4qp0658gq5uqmk20l1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20250108@170557.8357 5sko80vc4qp0658gq5uqmk20l1 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500193 and bi.ref ='324.1642.00.2' and bi.lordem =1
20250108@170557.8700 5sko80vc4qp0658gq5uqmk20l1 Query : use flama_phc
20250108@170557.8703 5sko80vc4qp0658gq5uqmk20l1 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170557.8813 5sko80vc4qp0658gq5uqmk20l1 Query : use flama_phc
20250108@170557.8816 5sko80vc4qp0658gq5uqmk20l1 Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170557.8874 5sko80vc4qp0658gq5uqmk20l1 Query : use flama_phc
20250108@170557.8877 5sko80vc4qp0658gq5uqmk20l1 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')
20250108@170557.8906 5sko80vc4qp0658gq5uqmk20l1 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
20250108@170557.8942 5sko80vc4qp0658gq5uqmk20l1 Query : use flama_phc
20250108@170557.8945 5sko80vc4qp0658gq5uqmk20l1 Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250108@170557.8979 5sko80vc4qp0658gq5uqmk20l1 Query : use flama_phc
20250108@170557.8982 5sko80vc4qp0658gq5uqmk20l1 Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170557.9015 5sko80vc4qp0658gq5uqmk20l1 Query : use flama_phc
20250108@170557.9018 5sko80vc4qp0658gq5uqmk20l1 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170557.9076 5sko80vc4qp0658gq5uqmk20l1 Query : use flama_phc
20250108@170557.9079 5sko80vc4qp0658gq5uqmk20l1 Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m - viseu'
20250108@170557.9126 5sko80vc4qp0658gq5uqmk20l1 Query : use flama_phc
20250108@170557.9133 5sko80vc4qp0658gq5uqmk20l1 Query : select 1 valor from td where ndoc = 39
20250108@170557.9146 5sko80vc4qp0658gq5uqmk20l1 Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170557.9162 5sko80vc4qp0658gq5uqmk20l1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.9179 5sko80vc4qp0658gq5uqmk20l1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170557.9219 5sko80vc4qp0658gq5uqmk20l1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.9235 5sko80vc4qp0658gq5uqmk20l1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170557.9263 5sko80vc4qp0658gq5uqmk20l1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.9277 5sko80vc4qp0658gq5uqmk20l1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170557.9289 5sko80vc4qp0658gq5uqmk20l1 Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170557.9411 5sko80vc4qp0658gq5uqmk20l1 Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170557.9424 5sko80vc4qp0658gq5uqmk20l1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.9441 5sko80vc4qp0658gq5uqmk20l1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170557.9457 5sko80vc4qp0658gq5uqmk20l1 Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb20255677eb075e2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170557.9657 5sko80vc4qp0658gq5uqmk20l1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170557.9676 5sko80vc4qp0658gq5uqmk20l1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170557.9717 5sko80vc4qp0658gq5uqmk20l1 Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170557.9729 5sko80vc4qp0658gq5uqmk20l1 Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170557.9741 5sko80vc4qp0658gq5uqmk20l1 Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170557.9754 5sko80vc4qp0658gq5uqmk20l1 Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170557.9765 5sko80vc4qp0658gq5uqmk20l1 Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170557.9780 5sko80vc4qp0658gq5uqmk20l1 Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170557.9791 5sko80vc4qp0658gq5uqmk20l1 Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb20255677eb075e2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170558.5100 5sko80vc4qp0658gq5uqmk20l1 Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170558.8500 5sko80vc4qp0658gq5uqmk20l1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.1010 5sko80vc4qp0658gq5uqmk20l1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170558.1310 5sko80vc4qp0658gq5uqmk20l1 Query : select 'normal' from dummy
20250108@170558.1460 5sko80vc4qp0658gq5uqmk20l1 Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb20255677eb075e2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2855,101621,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170558.4490 5sko80vc4qp0658gq5uqmk20l1 Query : use flama_phc
20250108@170558.4530 5sko80vc4qp0658gq5uqmk20l1 Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20250108@170558.4730 5sko80vc4qp0658gq5uqmk20l1 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20250108@170558.4930 5sko80vc4qp0658gq5uqmk20l1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.5090 5sko80vc4qp0658gq5uqmk20l1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170558.5360 5sko80vc4qp0658gq5uqmk20l1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.5500 5sko80vc4qp0658gq5uqmk20l1 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170558.5590 5sko80vc4qp0658gq5uqmk20l1 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170558.5700 5sko80vc4qp0658gq5uqmk20l1 Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20250108@170558.5830 5sko80vc4qp0658gq5uqmk20l1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.5970 5sko80vc4qp0658gq5uqmk20l1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170558.6090 5sko80vc4qp0658gq5uqmk20l1 Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb77172677eb0760e','aut677eb20255677eb075e2' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170558.6130 5sko80vc4qp0658gq5uqmk20l1 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.6270 5sko80vc4qp0658gq5uqmk20l1 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170558.6740 5sko80vc4qp0658gq5uqmk20l1 Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb77172677eb0760e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',6.000 ,'aut677eb20255677eb075e2' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170558.9690 5sko80vc4qp0658gq5uqmk20l1 Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb20255677eb075e2','2500193','wait',39,'adm09112754980.682000002')
20250108@170558.1045 5sko80vc4qp0658gq5uqmk20l1 Query : use flama_phc
20250108@170558.1049 5sko80vc4qp0658gq5uqmk20l1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170558.1082 5sko80vc4qp0658gq5uqmk20l1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4415';
20250108@170558.1145 5sko80vc4qp0658gq5uqmk20l1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4415';
20250108@170558.1197 5sko80vc4qp0658gq5uqmk20l1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4415';
20250108@170558.1231 5sko80vc4qp0658gq5uqmk20l1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4415';
20250108@170558.1926 g3ktfih3fo7rj6u5jqodbmvund Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170558.1951 g3ktfih3fo7rj6u5jqodbmvund Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170558.3380 g3ktfih3fo7rj6u5jqodbmvund Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4416';
20250108@170558.3452 g3ktfih3fo7rj6u5jqodbmvund Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4416';
20250108@170558.3517 g3ktfih3fo7rj6u5jqodbmvund Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4416';
20250108@170558.3586 g3ktfih3fo7rj6u5jqodbmvund Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4416';
20250108@170558.3650 g3ktfih3fo7rj6u5jqodbmvund Query : use flama_phc
20250108@170558.3654 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170558.3722 g3ktfih3fo7rj6u5jqodbmvund Query : use flama_phc
20250108@170558.3725 g3ktfih3fo7rj6u5jqodbmvund Query : select no, estab,szadrsdesc from szadrs where u_coddest=8923
20250108@170558.3842 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20250108@170558.3863 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500194 and bi.ref ='324.1642.00.2' and bi.lordem =1
20250108@170558.4210 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20250108@170558.4292 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500194 and bi.ref ='328.9902.00.1' and bi.lordem =2
20250108@170558.4641 g3ktfih3fo7rj6u5jqodbmvund Query : use flama_phc
20250108@170558.4644 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170558.4684 g3ktfih3fo7rj6u5jqodbmvund Query : use flama_phc
20250108@170558.4687 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170558.4718 g3ktfih3fo7rj6u5jqodbmvund Query : use flama_phc
20250108@170558.4721 g3ktfih3fo7rj6u5jqodbmvund 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')
20250108@170558.4750 g3ktfih3fo7rj6u5jqodbmvund 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
20250108@170558.4809 g3ktfih3fo7rj6u5jqodbmvund Query : use flama_phc
20250108@170558.4812 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250108@170558.4841 g3ktfih3fo7rj6u5jqodbmvund Query : use flama_phc
20250108@170558.4882 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170558.5006 g3ktfih3fo7rj6u5jqodbmvund Query : use flama_phc
20250108@170558.5009 g3ktfih3fo7rj6u5jqodbmvund Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170558.5075 g3ktfih3fo7rj6u5jqodbmvund Query : use flama_phc
20250108@170558.5078 g3ktfih3fo7rj6u5jqodbmvund Query : select szadrsstamp valor from szadrs where szadrsdesc='jom- gondomar'
20250108@170558.5133 g3ktfih3fo7rj6u5jqodbmvund Query : use flama_phc
20250108@170558.5136 g3ktfih3fo7rj6u5jqodbmvund Query : select 1 valor from td where ndoc = 39
20250108@170558.5149 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170558.5162 g3ktfih3fo7rj6u5jqodbmvund Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.5178 g3ktfih3fo7rj6u5jqodbmvund Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170558.5196 g3ktfih3fo7rj6u5jqodbmvund Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.5239 g3ktfih3fo7rj6u5jqodbmvund Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170558.5268 g3ktfih3fo7rj6u5jqodbmvund Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.5282 g3ktfih3fo7rj6u5jqodbmvund Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170558.5295 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170558.5399 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170558.5412 g3ktfih3fo7rj6u5jqodbmvund Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.5426 g3ktfih3fo7rj6u5jqodbmvund Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170558.5445 g3ktfih3fo7rj6u5jqodbmvund Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb10330677eb07681' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170558.5652 g3ktfih3fo7rj6u5jqodbmvund Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.5669 g3ktfih3fo7rj6u5jqodbmvund Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170558.5702 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170558.5714 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170558.5725 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170558.5736 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170558.5748 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170558.5759 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170558.5771 g3ktfih3fo7rj6u5jqodbmvund Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb10330677eb07681',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170558.6003 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170558.6038 g3ktfih3fo7rj6u5jqodbmvund Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.6054 g3ktfih3fo7rj6u5jqodbmvund Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170558.6077 g3ktfih3fo7rj6u5jqodbmvund Query : select 'normal' from dummy
20250108@170558.6092 g3ktfih3fo7rj6u5jqodbmvund Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb10330677eb07681',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2856,101621,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170558.6398 g3ktfih3fo7rj6u5jqodbmvund Query : use flama_phc
20250108@170558.6402 g3ktfih3fo7rj6u5jqodbmvund Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20250108@170558.6423 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20250108@170558.6437 g3ktfih3fo7rj6u5jqodbmvund Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.6452 g3ktfih3fo7rj6u5jqodbmvund Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170558.6477 g3ktfih3fo7rj6u5jqodbmvund Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.6493 g3ktfih3fo7rj6u5jqodbmvund Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170558.6502 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170558.6514 g3ktfih3fo7rj6u5jqodbmvund Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20250108@170558.6526 g3ktfih3fo7rj6u5jqodbmvund Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.6541 g3ktfih3fo7rj6u5jqodbmvund Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170558.6558 g3ktfih3fo7rj6u5jqodbmvund Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb38885677eb0769f','aut677eb10330677eb07681' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170558.6563 g3ktfih3fo7rj6u5jqodbmvund Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.6577 g3ktfih3fo7rj6u5jqodbmvund Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170558.6605 g3ktfih3fo7rj6u5jqodbmvund Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb38885677eb0769f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut677eb10330677eb07681' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170558.6889 g3ktfih3fo7rj6u5jqodbmvund Query : use flama_phc
20250108@170558.6892 g3ktfih3fo7rj6u5jqodbmvund Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20250108@170558.6912 g3ktfih3fo7rj6u5jqodbmvund 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.9902.00.1'
20250108@170558.6925 g3ktfih3fo7rj6u5jqodbmvund Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.6941 g3ktfih3fo7rj6u5jqodbmvund Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170558.6968 g3ktfih3fo7rj6u5jqodbmvund Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.6983 g3ktfih3fo7rj6u5jqodbmvund Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170558.6991 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170558.7002 g3ktfih3fo7rj6u5jqodbmvund Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20250108@170558.7014 g3ktfih3fo7rj6u5jqodbmvund Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.7028 g3ktfih3fo7rj6u5jqodbmvund Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170558.7044 g3ktfih3fo7rj6u5jqodbmvund Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb88409677eb076ab','aut677eb10330677eb07681' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170558.7049 g3ktfih3fo7rj6u5jqodbmvund Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.7064 g3ktfih3fo7rj6u5jqodbmvund Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170558.7093 g3ktfih3fo7rj6u5jqodbmvund Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb88409677eb076ab',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut677eb10330677eb07681' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250108@170558.7388 g3ktfih3fo7rj6u5jqodbmvund Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.7404 g3ktfih3fo7rj6u5jqodbmvund Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170558.7430 g3ktfih3fo7rj6u5jqodbmvund Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.7445 g3ktfih3fo7rj6u5jqodbmvund Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170558.7453 g3ktfih3fo7rj6u5jqodbmvund Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170558.7466 g3ktfih3fo7rj6u5jqodbmvund Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.7480 g3ktfih3fo7rj6u5jqodbmvund Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170558.7494 g3ktfih3fo7rj6u5jqodbmvund Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb81522677eb076b6','aut677eb10330677eb07681' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170558.7498 g3ktfih3fo7rj6u5jqodbmvund Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170558.7513 g3ktfih3fo7rj6u5jqodbmvund Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170558.7547 g3ktfih3fo7rj6u5jqodbmvund Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb81522677eb076b6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb10330677eb07681' ,0,0 ,2,23.00,30000,?,?,?)
20250108@170558.7821 g3ktfih3fo7rj6u5jqodbmvund Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb10330677eb07681','2500194','wait',39,'adm09112754980.682000002')
20250108@170558.7888 g3ktfih3fo7rj6u5jqodbmvund Query : use flama_phc
20250108@170558.7891 g3ktfih3fo7rj6u5jqodbmvund Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170558.7924 g3ktfih3fo7rj6u5jqodbmvund Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4416';
20250108@170558.8023 g3ktfih3fo7rj6u5jqodbmvund Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4416';
20250108@170558.8087 g3ktfih3fo7rj6u5jqodbmvund Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4416';
20250108@170558.8155 g3ktfih3fo7rj6u5jqodbmvund Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4416';
20250108@170558.8869 ioc34pi53mha705umkb85ghfld Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170558.8881 ioc34pi53mha705umkb85ghfld Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170558.8955 ioc34pi53mha705umkb85ghfld Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4417';
20250108@170558.9027 ioc34pi53mha705umkb85ghfld Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4417';
20250108@170558.9110 ioc34pi53mha705umkb85ghfld Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4417';
20250108@170558.9147 ioc34pi53mha705umkb85ghfld Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4417';
20250108@170558.9214 ioc34pi53mha705umkb85ghfld Query : use flama_phc
20250108@170558.9219 ioc34pi53mha705umkb85ghfld Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170558.9280 ioc34pi53mha705umkb85ghfld Query : use flama_phc
20250108@170558.9285 ioc34pi53mha705umkb85ghfld Query : select no, estab,szadrsdesc from szadrs where u_coddest=9388
20250108@170558.9402 ioc34pi53mha705umkb85ghfld Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20250108@170558.9425 ioc34pi53mha705umkb85ghfld Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500195 and bi.ref ='324.1642.00.2' and bi.lordem =1
20250108@170558.9791 ioc34pi53mha705umkb85ghfld Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20250108@170558.9815 ioc34pi53mha705umkb85ghfld Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500195 and bi.ref ='324.1642.00.2' and bi.lordem =1
20250108@170558.9832 ioc34pi53mha705umkb85ghfld Query : use flama_phc
20250108@170558.9835 ioc34pi53mha705umkb85ghfld Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170558.9870 ioc34pi53mha705umkb85ghfld Query : use flama_phc
20250108@170558.9873 ioc34pi53mha705umkb85ghfld Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170558.9907 ioc34pi53mha705umkb85ghfld Query : use flama_phc
20250108@170558.9910 ioc34pi53mha705umkb85ghfld 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')
20250108@170558.9937 ioc34pi53mha705umkb85ghfld 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
20250108@170559.0000 ioc34pi53mha705umkb85ghfld Query : use flama_phc
20250108@170559.3000 ioc34pi53mha705umkb85ghfld Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250108@170559.3300 ioc34pi53mha705umkb85ghfld Query : use flama_phc
20250108@170559.3600 ioc34pi53mha705umkb85ghfld Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170559.6700 ioc34pi53mha705umkb85ghfld Query : use flama_phc
20250108@170559.7000 ioc34pi53mha705umkb85ghfld Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170559.1110 ioc34pi53mha705umkb85ghfld Query : use flama_phc
20250108@170559.1140 ioc34pi53mha705umkb85ghfld Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda- penafiel'
20250108@170559.1820 ioc34pi53mha705umkb85ghfld Query : use flama_phc
20250108@170559.1840 ioc34pi53mha705umkb85ghfld Query : select 1 valor from td where ndoc = 39
20250108@170559.1960 ioc34pi53mha705umkb85ghfld Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170559.2100 ioc34pi53mha705umkb85ghfld Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.2260 ioc34pi53mha705umkb85ghfld Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170559.2450 ioc34pi53mha705umkb85ghfld Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.2640 ioc34pi53mha705umkb85ghfld Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170559.3560 ioc34pi53mha705umkb85ghfld Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.3710 ioc34pi53mha705umkb85ghfld Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170559.3900 ioc34pi53mha705umkb85ghfld Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170559.5300 ioc34pi53mha705umkb85ghfld Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170559.5430 ioc34pi53mha705umkb85ghfld Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.5590 ioc34pi53mha705umkb85ghfld Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170559.5740 ioc34pi53mha705umkb85ghfld Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb70984677eb07709' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170559.7420 ioc34pi53mha705umkb85ghfld Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.7630 ioc34pi53mha705umkb85ghfld Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170559.7970 ioc34pi53mha705umkb85ghfld Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170559.8080 ioc34pi53mha705umkb85ghfld Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170559.8190 ioc34pi53mha705umkb85ghfld Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170559.8300 ioc34pi53mha705umkb85ghfld Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170559.8410 ioc34pi53mha705umkb85ghfld Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170559.8520 ioc34pi53mha705umkb85ghfld Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170559.8640 ioc34pi53mha705umkb85ghfld Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb70984677eb07709',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170559.1134 ioc34pi53mha705umkb85ghfld Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170559.1172 ioc34pi53mha705umkb85ghfld Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.1189 ioc34pi53mha705umkb85ghfld Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170559.1214 ioc34pi53mha705umkb85ghfld Query : select 'normal' from dummy
20250108@170559.1232 ioc34pi53mha705umkb85ghfld Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb70984677eb07709',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2857,101621,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170559.1573 ioc34pi53mha705umkb85ghfld Query : use flama_phc
20250108@170559.1576 ioc34pi53mha705umkb85ghfld Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20250108@170559.1601 ioc34pi53mha705umkb85ghfld Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20250108@170559.1616 ioc34pi53mha705umkb85ghfld Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.1634 ioc34pi53mha705umkb85ghfld Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170559.1662 ioc34pi53mha705umkb85ghfld Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.1679 ioc34pi53mha705umkb85ghfld Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170559.1689 ioc34pi53mha705umkb85ghfld Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170559.1702 ioc34pi53mha705umkb85ghfld Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20250108@170559.1717 ioc34pi53mha705umkb85ghfld Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.1733 ioc34pi53mha705umkb85ghfld Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170559.1745 ioc34pi53mha705umkb85ghfld Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb48043677eb07729','aut677eb70984677eb07709' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170559.1750 ioc34pi53mha705umkb85ghfld Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.1774 ioc34pi53mha705umkb85ghfld Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170559.1803 ioc34pi53mha705umkb85ghfld Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb48043677eb07729',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',18.000 ,'aut677eb70984677eb07709' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170559.2077 ioc34pi53mha705umkb85ghfld Query : use flama_phc
20250108@170559.2080 ioc34pi53mha705umkb85ghfld Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20250108@170559.2104 ioc34pi53mha705umkb85ghfld Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20250108@170559.2119 ioc34pi53mha705umkb85ghfld Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.2136 ioc34pi53mha705umkb85ghfld Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170559.2169 ioc34pi53mha705umkb85ghfld Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.2183 ioc34pi53mha705umkb85ghfld Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170559.2193 ioc34pi53mha705umkb85ghfld Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170559.2204 ioc34pi53mha705umkb85ghfld Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20250108@170559.2244 ioc34pi53mha705umkb85ghfld Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.2260 ioc34pi53mha705umkb85ghfld Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170559.2271 ioc34pi53mha705umkb85ghfld Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb10668677eb07736','aut677eb70984677eb07709' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170559.2276 ioc34pi53mha705umkb85ghfld Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.2291 ioc34pi53mha705umkb85ghfld Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170559.2320 ioc34pi53mha705umkb85ghfld Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb10668677eb07736',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut677eb70984677eb07709' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250108@170559.2594 ioc34pi53mha705umkb85ghfld Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb70984677eb07709','2500195','wait',39,'adm09112754980.682000002')
20250108@170559.2667 ioc34pi53mha705umkb85ghfld Query : use flama_phc
20250108@170559.2670 ioc34pi53mha705umkb85ghfld Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170559.2704 ioc34pi53mha705umkb85ghfld Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4417';
20250108@170559.2773 ioc34pi53mha705umkb85ghfld Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4417';
20250108@170559.2826 ioc34pi53mha705umkb85ghfld Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4417';
20250108@170559.2862 ioc34pi53mha705umkb85ghfld Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4417';
20250108@170559.3418 ad9vc0ig013kad4id088mkognv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170559.3429 ad9vc0ig013kad4id088mkognv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170559.3526 ad9vc0ig013kad4id088mkognv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4418';
20250108@170559.3592 ad9vc0ig013kad4id088mkognv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4418';
20250108@170559.3659 ad9vc0ig013kad4id088mkognv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4418';
20250108@170559.3695 ad9vc0ig013kad4id088mkognv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4418';
20250108@170559.3753 ad9vc0ig013kad4id088mkognv Query : use flama_phc
20250108@170559.3756 ad9vc0ig013kad4id088mkognv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170559.3820 ad9vc0ig013kad4id088mkognv Query : use flama_phc
20250108@170559.3823 ad9vc0ig013kad4id088mkognv Query : select no, estab,szadrsdesc from szadrs where u_coddest=8301
20250108@170559.4007 ad9vc0ig013kad4id088mkognv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20250108@170559.5280 ad9vc0ig013kad4id088mkognv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500196 and bi.ref ='324.1642.00.2' and bi.lordem =1
20250108@170559.5603 ad9vc0ig013kad4id088mkognv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20250108@170559.5626 ad9vc0ig013kad4id088mkognv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500196 and bi.ref ='328.9902.00.1' and bi.lordem =2
20250108@170559.5962 ad9vc0ig013kad4id088mkognv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20250108@170559.5983 ad9vc0ig013kad4id088mkognv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500196 and bi.ref ='328.9902.00.1' and bi.lordem =2
20250108@170559.6001 ad9vc0ig013kad4id088mkognv Query : use flama_phc
20250108@170559.6004 ad9vc0ig013kad4id088mkognv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170559.6039 ad9vc0ig013kad4id088mkognv Query : use flama_phc
20250108@170559.6042 ad9vc0ig013kad4id088mkognv Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170559.6097 ad9vc0ig013kad4id088mkognv Query : use flama_phc
20250108@170559.6100 ad9vc0ig013kad4id088mkognv 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')
20250108@170559.6127 ad9vc0ig013kad4id088mkognv 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
20250108@170559.6162 ad9vc0ig013kad4id088mkognv Query : use flama_phc
20250108@170559.6165 ad9vc0ig013kad4id088mkognv Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250108@170559.6231 ad9vc0ig013kad4id088mkognv Query : use flama_phc
20250108@170559.6234 ad9vc0ig013kad4id088mkognv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170559.6267 ad9vc0ig013kad4id088mkognv Query : use flama_phc
20250108@170559.6270 ad9vc0ig013kad4id088mkognv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170559.6312 ad9vc0ig013kad4id088mkognv Query : use flama_phc
20250108@170559.6315 ad9vc0ig013kad4id088mkognv Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - alverca'
20250108@170559.6383 ad9vc0ig013kad4id088mkognv Query : use flama_phc
20250108@170559.6386 ad9vc0ig013kad4id088mkognv Query : select 1 valor from td where ndoc = 39
20250108@170559.6398 ad9vc0ig013kad4id088mkognv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170559.6412 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.6428 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170559.6447 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.6461 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170559.6493 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.6508 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170559.6521 ad9vc0ig013kad4id088mkognv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170559.6632 ad9vc0ig013kad4id088mkognv Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170559.6646 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.6661 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170559.6677 ad9vc0ig013kad4id088mkognv Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb90959677eb0779f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170559.6845 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.6862 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170559.6898 ad9vc0ig013kad4id088mkognv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170559.6910 ad9vc0ig013kad4id088mkognv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170559.6922 ad9vc0ig013kad4id088mkognv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170559.6963 ad9vc0ig013kad4id088mkognv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170559.6975 ad9vc0ig013kad4id088mkognv Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170559.6987 ad9vc0ig013kad4id088mkognv Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170559.6999 ad9vc0ig013kad4id088mkognv Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb90959677eb0779f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170559.7228 ad9vc0ig013kad4id088mkognv Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170559.7264 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.7280 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170559.7304 ad9vc0ig013kad4id088mkognv Query : select 'normal' from dummy
20250108@170559.7320 ad9vc0ig013kad4id088mkognv Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb90959677eb0779f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2858,101621,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170559.7668 ad9vc0ig013kad4id088mkognv Query : use flama_phc
20250108@170559.7671 ad9vc0ig013kad4id088mkognv Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20250108@170559.7693 ad9vc0ig013kad4id088mkognv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20250108@170559.7744 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.7761 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170559.7787 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.7802 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170559.7811 ad9vc0ig013kad4id088mkognv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170559.7823 ad9vc0ig013kad4id088mkognv Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20250108@170559.7843 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.7858 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170559.7870 ad9vc0ig013kad4id088mkognv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb40275677eb077bf','aut677eb90959677eb0779f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170559.7874 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.7890 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170559.7920 ad9vc0ig013kad4id088mkognv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb40275677eb077bf',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut677eb90959677eb0779f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170559.8186 ad9vc0ig013kad4id088mkognv Query : use flama_phc
20250108@170559.8190 ad9vc0ig013kad4id088mkognv Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20250108@170559.8211 ad9vc0ig013kad4id088mkognv 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.9902.00.1'
20250108@170559.8225 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.8241 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170559.8268 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.8283 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170559.8298 ad9vc0ig013kad4id088mkognv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170559.8311 ad9vc0ig013kad4id088mkognv Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20250108@170559.8326 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.8341 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170559.8354 ad9vc0ig013kad4id088mkognv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb35229677eb077cb','aut677eb90959677eb0779f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170559.8382 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.8397 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170559.8428 ad9vc0ig013kad4id088mkognv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb35229677eb077cb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677eb90959677eb0779f' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250108@170559.8689 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.8706 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170559.8734 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.8750 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170559.8759 ad9vc0ig013kad4id088mkognv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170559.8772 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.8788 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170559.8800 ad9vc0ig013kad4id088mkognv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb37010677eb077d6','aut677eb90959677eb0779f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170559.8805 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.8853 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170559.8885 ad9vc0ig013kad4id088mkognv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb37010677eb077d6',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb90959677eb0779f' ,0,0 ,2,23.00,30000,?,?,?)
20250108@170559.9147 ad9vc0ig013kad4id088mkognv Query : use flama_phc
20250108@170559.9152 ad9vc0ig013kad4id088mkognv Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20250108@170559.9178 ad9vc0ig013kad4id088mkognv 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.9902.00.1'
20250108@170559.9193 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.9210 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170559.9242 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.9263 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170559.9274 ad9vc0ig013kad4id088mkognv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170559.9290 ad9vc0ig013kad4id088mkognv Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20250108@170559.9306 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.9326 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170559.9341 ad9vc0ig013kad4id088mkognv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb63143677eb077e3','aut677eb90959677eb0779f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170559.9346 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.9365 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170559.9400 ad9vc0ig013kad4id088mkognv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb63143677eb077e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677eb90959677eb0779f' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20250108@170559.9694 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.9713 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170559.9745 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.9761 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170559.9769 ad9vc0ig013kad4id088mkognv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170559.9783 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.9802 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170559.9813 ad9vc0ig013kad4id088mkognv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb40121677eb077ee','aut677eb90959677eb0779f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170559.9818 ad9vc0ig013kad4id088mkognv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170559.9834 ad9vc0ig013kad4id088mkognv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170559.9864 ad9vc0ig013kad4id088mkognv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb40121677eb077ee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb90959677eb0779f' ,0,0 ,2,23.00,60000,?,?,?)
20250108@170600.1060 ad9vc0ig013kad4id088mkognv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb90959677eb0779f','2500196','wait',39,'adm09112754980.682000002')
20250108@170600.2050 ad9vc0ig013kad4id088mkognv Query : use flama_phc
20250108@170600.2080 ad9vc0ig013kad4id088mkognv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170600.2380 ad9vc0ig013kad4id088mkognv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4418';
20250108@170600.2810 ad9vc0ig013kad4id088mkognv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4418';
20250108@170600.3350 ad9vc0ig013kad4id088mkognv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4418';
20250108@170600.3700 ad9vc0ig013kad4id088mkognv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4418';
20250108@170600.9630 9h24qokus04cvop6qocpqniblv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170600.9980 9h24qokus04cvop6qocpqniblv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170600.1065 9h24qokus04cvop6qocpqniblv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4419';
20250108@170600.1129 9h24qokus04cvop6qocpqniblv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4419';
20250108@170600.1195 9h24qokus04cvop6qocpqniblv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4419';
20250108@170600.1560 9h24qokus04cvop6qocpqniblv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4419';
20250108@170600.2462 9h24qokus04cvop6qocpqniblv Query : use flama_phc
20250108@170600.2465 9h24qokus04cvop6qocpqniblv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170600.2528 9h24qokus04cvop6qocpqniblv Query : use flama_phc
20250108@170600.2532 9h24qokus04cvop6qocpqniblv Query : select no, estab,szadrsdesc from szadrs where u_coddest=1452
20250108@170600.2754 9h24qokus04cvop6qocpqniblv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20250108@170600.2781 9h24qokus04cvop6qocpqniblv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500197 and bi.ref ='324.1642.00.2' and bi.lordem =1
20250108@170600.3275 9h24qokus04cvop6qocpqniblv Query : use flama_phc
20250108@170600.3279 9h24qokus04cvop6qocpqniblv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170600.3357 9h24qokus04cvop6qocpqniblv Query : use flama_phc
20250108@170600.3361 9h24qokus04cvop6qocpqniblv Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170600.3400 9h24qokus04cvop6qocpqniblv Query : use flama_phc
20250108@170600.3404 9h24qokus04cvop6qocpqniblv 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')
20250108@170600.3451 9h24qokus04cvop6qocpqniblv 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
20250108@170600.3501 9h24qokus04cvop6qocpqniblv Query : use flama_phc
20250108@170600.3505 9h24qokus04cvop6qocpqniblv Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250108@170600.3536 9h24qokus04cvop6qocpqniblv Query : use flama_phc
20250108@170600.3540 9h24qokus04cvop6qocpqniblv Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170600.3580 9h24qokus04cvop6qocpqniblv Query : use flama_phc
20250108@170600.3585 9h24qokus04cvop6qocpqniblv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170600.3633 9h24qokus04cvop6qocpqniblv Query : use flama_phc
20250108@170600.3637 9h24qokus04cvop6qocpqniblv Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m. - castelo branco'
20250108@170600.3692 9h24qokus04cvop6qocpqniblv Query : use flama_phc
20250108@170600.3726 9h24qokus04cvop6qocpqniblv Query : select 1 valor from td where ndoc = 39
20250108@170600.3745 9h24qokus04cvop6qocpqniblv Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170600.3762 9h24qokus04cvop6qocpqniblv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170600.3777 9h24qokus04cvop6qocpqniblv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170600.3801 9h24qokus04cvop6qocpqniblv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170600.3823 9h24qokus04cvop6qocpqniblv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170600.3870 9h24qokus04cvop6qocpqniblv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170600.3888 9h24qokus04cvop6qocpqniblv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170600.3912 9h24qokus04cvop6qocpqniblv Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170600.4031 9h24qokus04cvop6qocpqniblv Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170600.4049 9h24qokus04cvop6qocpqniblv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170600.4069 9h24qokus04cvop6qocpqniblv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170600.4086 9h24qokus04cvop6qocpqniblv Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb24580677eb0785f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170600.4278 9h24qokus04cvop6qocpqniblv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170600.4301 9h24qokus04cvop6qocpqniblv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170600.4343 9h24qokus04cvop6qocpqniblv Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170600.4359 9h24qokus04cvop6qocpqniblv Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170600.4376 9h24qokus04cvop6qocpqniblv Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170600.4395 9h24qokus04cvop6qocpqniblv Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170600.4410 9h24qokus04cvop6qocpqniblv Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170600.4431 9h24qokus04cvop6qocpqniblv Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170600.4445 9h24qokus04cvop6qocpqniblv Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb24580677eb0785f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170600.4720 9h24qokus04cvop6qocpqniblv Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170600.4766 9h24qokus04cvop6qocpqniblv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170600.4791 9h24qokus04cvop6qocpqniblv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170600.4858 9h24qokus04cvop6qocpqniblv Query : select 'normal' from dummy
20250108@170600.4878 9h24qokus04cvop6qocpqniblv Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb24580677eb0785f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2859,101621,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170600.5208 9h24qokus04cvop6qocpqniblv Query : use flama_phc
20250108@170600.5212 9h24qokus04cvop6qocpqniblv Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20250108@170600.5237 9h24qokus04cvop6qocpqniblv Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20250108@170600.5255 9h24qokus04cvop6qocpqniblv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170600.5570 9h24qokus04cvop6qocpqniblv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170600.5885 9h24qokus04cvop6qocpqniblv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170600.5934 9h24qokus04cvop6qocpqniblv Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170600.5944 9h24qokus04cvop6qocpqniblv Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170600.5957 9h24qokus04cvop6qocpqniblv Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20250108@170600.5971 9h24qokus04cvop6qocpqniblv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170600.5997 9h24qokus04cvop6qocpqniblv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170600.6011 9h24qokus04cvop6qocpqniblv Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb13642677eb07891','aut677eb24580677eb0785f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170600.6017 9h24qokus04cvop6qocpqniblv Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170600.6034 9h24qokus04cvop6qocpqniblv Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170600.6065 9h24qokus04cvop6qocpqniblv Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb13642677eb07891',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',8.000 ,'aut677eb24580677eb0785f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170600.6361 9h24qokus04cvop6qocpqniblv Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb24580677eb0785f','2500197','wait',39,'adm09112754980.682000002')
20250108@170600.6482 9h24qokus04cvop6qocpqniblv Query : use flama_phc
20250108@170600.6486 9h24qokus04cvop6qocpqniblv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170600.6548 9h24qokus04cvop6qocpqniblv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4419';
20250108@170600.6619 9h24qokus04cvop6qocpqniblv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4419';
20250108@170600.6692 9h24qokus04cvop6qocpqniblv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4419';
20250108@170600.6736 9h24qokus04cvop6qocpqniblv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4419';
20250108@170600.7341 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170600.7353 9s25f1mv9dk04qdr4en5c9rj7u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170600.7432 9s25f1mv9dk04qdr4en5c9rj7u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4420';
20250108@170600.7521 9s25f1mv9dk04qdr4en5c9rj7u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4420';
20250108@170600.7591 9s25f1mv9dk04qdr4en5c9rj7u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4420';
20250108@170600.7635 9s25f1mv9dk04qdr4en5c9rj7u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4420';
20250108@170600.7714 9s25f1mv9dk04qdr4en5c9rj7u Query : use flama_phc
20250108@170600.7717 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170600.7810 9s25f1mv9dk04qdr4en5c9rj7u Query : use flama_phc
20250108@170600.7813 9s25f1mv9dk04qdr4en5c9rj7u Query : select no, estab,szadrsdesc from szadrs where u_coddest=908
20250108@170600.7907 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1642.00.2'
20250108@170600.7929 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500198 and bi.ref ='324.1642.00.2' and bi.lordem =1
20250108@170600.8266 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20250108@170600.8289 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500198 and bi.ref ='327.8261.00.1' and bi.lordem =2
20250108@170600.8608 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20250108@170600.8627 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500198 and bi.ref ='327.8261.00.1' and bi.lordem =2
20250108@170600.8679 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20250108@170600.8707 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500198 and bi.ref ='328.9902.00.1' and bi.lordem =3
20250108@170600.9046 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20250108@170600.9078 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500198 and bi.ref ='328.9902.00.1' and bi.lordem =4
20250108@170600.9399 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20250108@170600.9421 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500198 and bi.ref ='328.9902.00.1' and bi.lordem =4
20250108@170600.9438 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20250108@170600.9458 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500198 and bi.ref ='328.9902.00.1' and bi.lordem =4
20250108@170600.9476 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20250108@170600.9496 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500198 and bi.ref ='328.9902.00.1' and bi.lordem =4
20250108@170600.9516 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20250108@170600.9539 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500198 and bi.ref ='328.9902.00.1' and bi.lordem =4
20250108@170600.9556 9s25f1mv9dk04qdr4en5c9rj7u Query : use flama_phc
20250108@170600.9560 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170600.9593 9s25f1mv9dk04qdr4en5c9rj7u Query : use flama_phc
20250108@170600.9596 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170600.9657 9s25f1mv9dk04qdr4en5c9rj7u Query : use flama_phc
20250108@170600.9661 9s25f1mv9dk04qdr4en5c9rj7u 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')
20250108@170600.9693 9s25f1mv9dk04qdr4en5c9rj7u 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
20250108@170600.9742 9s25f1mv9dk04qdr4en5c9rj7u Query : use flama_phc
20250108@170600.9746 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250108@170600.9787 9s25f1mv9dk04qdr4en5c9rj7u Query : use flama_phc
20250108@170600.9790 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170600.9825 9s25f1mv9dk04qdr4en5c9rj7u Query : use flama_phc
20250108@170600.9828 9s25f1mv9dk04qdr4en5c9rj7u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170600.9884 9s25f1mv9dk04qdr4en5c9rj7u Query : use flama_phc
20250108@170600.9887 9s25f1mv9dk04qdr4en5c9rj7u Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda-aveiro'
20250108@170600.9958 9s25f1mv9dk04qdr4en5c9rj7u Query : use flama_phc
20250108@170600.9961 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from td where ndoc = 39
20250108@170600.9978 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170600.9992 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.8000 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170601.3900 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.5700 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170601.1310 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.1281 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170601.1300 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170601.1414 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170601.1426 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.1442 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170601.1459 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb91422677eb0791f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170601.1653 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.1669 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170601.1717 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170601.1740 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170601.1752 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170601.1764 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170601.1776 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170601.1787 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170601.1798 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb91422677eb0791f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170601.2052 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170601.2099 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.2150 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170601.2187 9s25f1mv9dk04qdr4en5c9rj7u Query : select 'normal' from dummy
20250108@170601.2211 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb91422677eb0791f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2860,101621,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170601.2541 9s25f1mv9dk04qdr4en5c9rj7u Query : use flama_phc
20250108@170601.2548 9s25f1mv9dk04qdr4en5c9rj7u Query : select st.usalote valor from st where st.ref = '324.1642.00.2'
20250108@170601.2595 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1642.00.2'
20250108@170601.2615 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.2656 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.2686 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.2709 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.2718 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170601.2730 9s25f1mv9dk04qdr4en5c9rj7u Query : select sestamp valor from se where ref ='324.1642.00.2' and lote = 'r2400725200a'
20250108@170601.2783 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.2811 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.2822 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb95692677eb07943','aut677eb91422677eb0791f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170601.2826 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.2841 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.2869 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb95692677eb07943',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',10.000 ,'aut677eb91422677eb0791f' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170601.3130 9s25f1mv9dk04qdr4en5c9rj7u Query : use flama_phc
20250108@170601.3134 9s25f1mv9dk04qdr4en5c9rj7u Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20250108@170601.3158 9s25f1mv9dk04qdr4en5c9rj7u 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.8261.00.1'
20250108@170601.3182 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.3197 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.3222 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.3236 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.3244 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170601.3261 9s25f1mv9dk04qdr4en5c9rj7u Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2401098200a'
20250108@170601.3273 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.3287 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.3305 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb19544677eb0794f','aut677eb91422677eb0791f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170601.3333 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.3347 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.3379 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb19544677eb0794f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677eb91422677eb0791f' ,0,0 ,2,23.00,20000,?,?,?,?,?)
20250108@170601.3618 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.3634 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.3662 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.3677 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.3686 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170601.3699 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.3713 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.3724 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb16976677eb0795a','aut677eb91422677eb0791f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170601.3728 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.3743 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.3771 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb16976677eb0795a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb91422677eb0791f' ,0,0 ,2,23.00,30000,?,?,?)
20250108@170601.4038 9s25f1mv9dk04qdr4en5c9rj7u Query : use flama_phc
20250108@170601.4042 9s25f1mv9dk04qdr4en5c9rj7u Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20250108@170601.4070 9s25f1mv9dk04qdr4en5c9rj7u 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.8261.00.1'
20250108@170601.4084 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.4102 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.4131 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.4147 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.4155 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170601.4167 9s25f1mv9dk04qdr4en5c9rj7u Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2401098200a'
20250108@170601.4180 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.4216 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.4228 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb52805677eb07966','aut677eb91422677eb0791f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170601.4236 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.4251 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.4291 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb52805677eb07966',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677eb91422677eb0791f' ,0,0 ,2,23.00,50000,?,?,?,?,?)
20250108@170601.4537 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.4553 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.4578 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.4594 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.4603 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170601.4615 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.4629 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.4641 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb81562677eb07970','aut677eb91422677eb0791f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170601.4644 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.4659 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.4714 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb81562677eb07970',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb91422677eb0791f' ,0,0 ,2,23.00,60000,?,?,?)
20250108@170601.4961 9s25f1mv9dk04qdr4en5c9rj7u Query : use flama_phc
20250108@170601.4967 9s25f1mv9dk04qdr4en5c9rj7u Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20250108@170601.5035 9s25f1mv9dk04qdr4en5c9rj7u 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.9902.00.1'
20250108@170601.5076 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.5093 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.5119 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.5161 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.5174 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170601.5186 9s25f1mv9dk04qdr4en5c9rj7u Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20250108@170601.5200 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.5226 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.5238 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb77636677eb0797e','aut677eb91422677eb0791f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170601.5242 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.5266 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.5304 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb77636677eb0797e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677eb91422677eb0791f' ,0,0 ,2,23.00,80000,?,?,?,?,?)
20250108@170601.5693 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.5722 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.5750 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.5774 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.5783 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170601.5795 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.5816 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.5828 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb12020677eb0798d','aut677eb91422677eb0791f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170601.5832 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.5848 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.5876 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb12020677eb0798d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb91422677eb0791f' ,0,0 ,2,23.00,90000,?,?,?)
20250108@170601.6133 9s25f1mv9dk04qdr4en5c9rj7u Query : use flama_phc
20250108@170601.6137 9s25f1mv9dk04qdr4en5c9rj7u Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20250108@170601.6165 9s25f1mv9dk04qdr4en5c9rj7u 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.9902.00.1'
20250108@170601.6178 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.6204 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.6229 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.6248 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.6257 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170601.6268 9s25f1mv9dk04qdr4en5c9rj7u Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20250108@170601.6281 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.6296 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.6318 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb77441677eb07999','aut677eb91422677eb0791f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170601.6348 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.6363 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.6411 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb77441677eb07999',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677eb91422677eb0791f' ,0,0 ,2,23.00,110000,?,?,?,?,?)
20250108@170601.7286 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.7304 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.7337 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.7353 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.7361 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170601.7376 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.7391 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.7403 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb67845677eb079b4','aut677eb91422677eb0791f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170601.7407 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.7422 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.7475 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb67845677eb079b4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb91422677eb0791f' ,0,0 ,2,23.00,120000,?,?,?)
20250108@170601.7746 9s25f1mv9dk04qdr4en5c9rj7u Query : use flama_phc
20250108@170601.7751 9s25f1mv9dk04qdr4en5c9rj7u Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20250108@170601.7774 9s25f1mv9dk04qdr4en5c9rj7u 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.9902.00.1'
20250108@170601.7793 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.7813 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.7846 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.7894 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.7904 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170601.7924 9s25f1mv9dk04qdr4en5c9rj7u Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20250108@170601.7940 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.7957 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.7972 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb94666677eb079c1','aut677eb91422677eb0791f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170601.7977 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.7994 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.8037 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb94666677eb079c1',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677eb91422677eb0791f' ,0,0 ,2,23.00,140000,?,?,?,?,?)
20250108@170601.8334 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.8356 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.8396 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.8414 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.8424 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170601.8439 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.8456 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.8469 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb96569677eb079ce','aut677eb91422677eb0791f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170601.8474 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.8490 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.8520 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb96569677eb079ce',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb91422677eb0791f' ,0,0 ,2,23.00,150000,?,?,?)
20250108@170601.8836 9s25f1mv9dk04qdr4en5c9rj7u Query : use flama_phc
20250108@170601.8841 9s25f1mv9dk04qdr4en5c9rj7u Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20250108@170601.8862 9s25f1mv9dk04qdr4en5c9rj7u 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.9902.00.1'
20250108@170601.8878 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.8896 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.8922 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.8965 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.8974 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170601.8986 9s25f1mv9dk04qdr4en5c9rj7u Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20250108@170601.8999 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.9015 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.9027 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb17974677eb079db','aut677eb91422677eb0791f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170601.9032 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.9051 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.9081 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb17974677eb079db',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677eb91422677eb0791f' ,0,0 ,2,23.00,170000,?,?,?,?,?)
20250108@170601.9439 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.9461 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.9493 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.9514 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.9525 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170601.9549 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.9570 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170601.9585 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb98279677eb079e9','aut677eb91422677eb0791f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170601.9590 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170601.9640 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170601.9678 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb98279677eb079e9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb91422677eb0791f' ,0,0 ,2,23.00,180000,?,?,?)
20250108@170601.9973 9s25f1mv9dk04qdr4en5c9rj7u Query : use flama_phc
20250108@170601.9978 9s25f1mv9dk04qdr4en5c9rj7u Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20250108@170602.3000 9s25f1mv9dk04qdr4en5c9rj7u 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.9902.00.1'
20250108@170602.2000 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.3900 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170602.9500 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.1110 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170602.1200 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170602.1330 9s25f1mv9dk04qdr4en5c9rj7u Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20250108@170602.1460 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.1620 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170602.1730 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb43097677eb07a03','aut677eb91422677eb0791f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170602.1780 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.2000 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170602.2300 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb43097677eb07a03',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',4.000 ,'aut677eb91422677eb0791f' ,0,0 ,2,23.00,200000,?,?,?,?,?)
20250108@170602.5430 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.5590 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170602.5850 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.6010 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170602.6100 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170602.6290 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.6430 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170602.6560 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb19732677eb07a0f','aut677eb91422677eb0791f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170602.6600 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.6740 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170602.1422 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb19732677eb07a0f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb91422677eb0791f' ,0,0 ,2,23.00,210000,?,?,?)
20250108@170602.1671 9s25f1mv9dk04qdr4en5c9rj7u Query : use flama_phc
20250108@170602.1675 9s25f1mv9dk04qdr4en5c9rj7u Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20250108@170602.1696 9s25f1mv9dk04qdr4en5c9rj7u 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.9902.00.1'
20250108@170602.1737 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.1754 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170602.1778 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.1793 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170602.1801 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170602.1813 9s25f1mv9dk04qdr4en5c9rj7u Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20250108@170602.1826 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.1840 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170602.1851 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb85429677eb07a2c','aut677eb91422677eb0791f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170602.1855 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.1870 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170602.1904 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb85429677eb07a2c',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2.000 ,'aut677eb91422677eb0791f' ,0,0 ,2,23.00,230000,?,?,?,?,?)
20250108@170602.2148 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.2163 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170602.2216 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.2230 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170602.2240 9s25f1mv9dk04qdr4en5c9rj7u Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170602.2253 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.2267 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170602.2279 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb85280677eb07a37','aut677eb91422677eb0791f' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170602.2284 9s25f1mv9dk04qdr4en5c9rj7u Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.2306 9s25f1mv9dk04qdr4en5c9rj7u Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170602.2338 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb85280677eb07a37',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb91422677eb0791f' ,0,0 ,2,23.00,240000,?,?,?)
20250108@170602.2627 9s25f1mv9dk04qdr4en5c9rj7u Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb91422677eb0791f','2500198','wait',39,'adm09112754980.682000002')
20250108@170602.2709 9s25f1mv9dk04qdr4en5c9rj7u Query : use flama_phc
20250108@170602.2713 9s25f1mv9dk04qdr4en5c9rj7u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170602.2766 9s25f1mv9dk04qdr4en5c9rj7u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4420';
20250108@170602.2811 9s25f1mv9dk04qdr4en5c9rj7u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4420';
20250108@170602.2866 9s25f1mv9dk04qdr4en5c9rj7u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4420';
20250108@170602.2903 9s25f1mv9dk04qdr4en5c9rj7u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4420';
20250108@170602.4338 d7sn7fv1mc4eu5h995o0npqqmp Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170602.4349 d7sn7fv1mc4eu5h995o0npqqmp Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170602.4453 d7sn7fv1mc4eu5h995o0npqqmp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4421';
20250108@170602.4519 d7sn7fv1mc4eu5h995o0npqqmp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4421';
20250108@170602.4580 d7sn7fv1mc4eu5h995o0npqqmp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4421';
20250108@170602.4614 d7sn7fv1mc4eu5h995o0npqqmp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4421';
20250108@170602.4670 d7sn7fv1mc4eu5h995o0npqqmp Query : use flama_phc
20250108@170602.4674 d7sn7fv1mc4eu5h995o0npqqmp Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170602.4744 d7sn7fv1mc4eu5h995o0npqqmp Query : use flama_phc
20250108@170602.4747 d7sn7fv1mc4eu5h995o0npqqmp Query : select no, estab,szadrsdesc from szadrs where u_coddest=2632
20250108@170602.4860 d7sn7fv1mc4eu5h995o0npqqmp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8261.00.1'
20250108@170602.4881 d7sn7fv1mc4eu5h995o0npqqmp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2001 and bo.obrano = 2500199 and bi.ref ='327.8261.00.1' and bi.lordem =1
20250108@170602.5200 d7sn7fv1mc4eu5h995o0npqqmp Query : use flama_phc
20250108@170602.5203 d7sn7fv1mc4eu5h995o0npqqmp Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170602.5239 d7sn7fv1mc4eu5h995o0npqqmp Query : use flama_phc
20250108@170602.5242 d7sn7fv1mc4eu5h995o0npqqmp Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170602.5270 d7sn7fv1mc4eu5h995o0npqqmp Query : use flama_phc
20250108@170602.5273 d7sn7fv1mc4eu5h995o0npqqmp 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')
20250108@170602.5302 d7sn7fv1mc4eu5h995o0npqqmp 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
20250108@170602.5337 d7sn7fv1mc4eu5h995o0npqqmp Query : use flama_phc
20250108@170602.5340 d7sn7fv1mc4eu5h995o0npqqmp Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250108@170602.5369 d7sn7fv1mc4eu5h995o0npqqmp Query : use flama_phc
20250108@170602.5371 d7sn7fv1mc4eu5h995o0npqqmp Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170602.5400 d7sn7fv1mc4eu5h995o0npqqmp Query : use flama_phc
20250108@170602.5403 d7sn7fv1mc4eu5h995o0npqqmp Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170602.5446 d7sn7fv1mc4eu5h995o0npqqmp Query : use flama_phc
20250108@170602.5449 d7sn7fv1mc4eu5h995o0npqqmp Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda- braganÇa'
20250108@170602.5495 d7sn7fv1mc4eu5h995o0npqqmp Query : use flama_phc
20250108@170602.5498 d7sn7fv1mc4eu5h995o0npqqmp Query : select 1 valor from td where ndoc = 39
20250108@170602.5510 d7sn7fv1mc4eu5h995o0npqqmp Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170602.5524 d7sn7fv1mc4eu5h995o0npqqmp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.5570 d7sn7fv1mc4eu5h995o0npqqmp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170602.5589 d7sn7fv1mc4eu5h995o0npqqmp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.5604 d7sn7fv1mc4eu5h995o0npqqmp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170602.5633 d7sn7fv1mc4eu5h995o0npqqmp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.5647 d7sn7fv1mc4eu5h995o0npqqmp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170602.5661 d7sn7fv1mc4eu5h995o0npqqmp Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170602.5907 d7sn7fv1mc4eu5h995o0npqqmp Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170602.5937 d7sn7fv1mc4eu5h995o0npqqmp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.5953 d7sn7fv1mc4eu5h995o0npqqmp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170602.5969 d7sn7fv1mc4eu5h995o0npqqmp Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb06611677eb07a8a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170602.6137 d7sn7fv1mc4eu5h995o0npqqmp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.6192 d7sn7fv1mc4eu5h995o0npqqmp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170602.6226 d7sn7fv1mc4eu5h995o0npqqmp Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170602.6239 d7sn7fv1mc4eu5h995o0npqqmp Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170602.6251 d7sn7fv1mc4eu5h995o0npqqmp Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170602.6263 d7sn7fv1mc4eu5h995o0npqqmp Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170602.6281 d7sn7fv1mc4eu5h995o0npqqmp Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170602.6293 d7sn7fv1mc4eu5h995o0npqqmp Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170602.6308 d7sn7fv1mc4eu5h995o0npqqmp Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb06611677eb07a8a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170602.6552 d7sn7fv1mc4eu5h995o0npqqmp Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170602.6608 d7sn7fv1mc4eu5h995o0npqqmp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.6624 d7sn7fv1mc4eu5h995o0npqqmp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170602.6648 d7sn7fv1mc4eu5h995o0npqqmp Query : select 'normal' from dummy
20250108@170602.6664 d7sn7fv1mc4eu5h995o0npqqmp Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb06611677eb07a8a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2861,101621,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170602.6949 d7sn7fv1mc4eu5h995o0npqqmp Query : use flama_phc
20250108@170602.6954 d7sn7fv1mc4eu5h995o0npqqmp Query : select st.usalote valor from st where st.ref = '327.8261.00.1'
20250108@170602.6976 d7sn7fv1mc4eu5h995o0npqqmp 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.8261.00.1'
20250108@170602.6990 d7sn7fv1mc4eu5h995o0npqqmp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.7006 d7sn7fv1mc4eu5h995o0npqqmp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170602.7038 d7sn7fv1mc4eu5h995o0npqqmp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.7052 d7sn7fv1mc4eu5h995o0npqqmp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170602.7061 d7sn7fv1mc4eu5h995o0npqqmp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170602.7074 d7sn7fv1mc4eu5h995o0npqqmp Query : select sestamp valor from se where ref ='327.8261.00.1' and lote = 'r2401098200a'
20250108@170602.7088 d7sn7fv1mc4eu5h995o0npqqmp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.7102 d7sn7fv1mc4eu5h995o0npqqmp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170602.7114 d7sn7fv1mc4eu5h995o0npqqmp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb12175677eb07aad','aut677eb06611677eb07a8a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170602.7118 d7sn7fv1mc4eu5h995o0npqqmp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.7132 d7sn7fv1mc4eu5h995o0npqqmp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170602.7159 d7sn7fv1mc4eu5h995o0npqqmp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb12175677eb07aad',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677eb06611677eb07a8a' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170602.7469 d7sn7fv1mc4eu5h995o0npqqmp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.7487 d7sn7fv1mc4eu5h995o0npqqmp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170602.7514 d7sn7fv1mc4eu5h995o0npqqmp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.7528 d7sn7fv1mc4eu5h995o0npqqmp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170602.7538 d7sn7fv1mc4eu5h995o0npqqmp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170602.7552 d7sn7fv1mc4eu5h995o0npqqmp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.7576 d7sn7fv1mc4eu5h995o0npqqmp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170602.7587 d7sn7fv1mc4eu5h995o0npqqmp Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb28598677eb07ab8','aut677eb06611677eb07a8a' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170602.7592 d7sn7fv1mc4eu5h995o0npqqmp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.7609 d7sn7fv1mc4eu5h995o0npqqmp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170602.7659 d7sn7fv1mc4eu5h995o0npqqmp Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb28598677eb07ab8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb06611677eb07a8a' ,0,0 ,2,23.00,20000,?,?,?)
20250108@170602.7910 d7sn7fv1mc4eu5h995o0npqqmp Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb06611677eb07a8a','2500199','wait',39,'adm09112754980.682000002')
20250108@170602.7979 d7sn7fv1mc4eu5h995o0npqqmp Query : use flama_phc
20250108@170602.7983 d7sn7fv1mc4eu5h995o0npqqmp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170602.8015 d7sn7fv1mc4eu5h995o0npqqmp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4421';
20250108@170602.8058 d7sn7fv1mc4eu5h995o0npqqmp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4421';
20250108@170602.8109 d7sn7fv1mc4eu5h995o0npqqmp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4421';
20250108@170602.8168 d7sn7fv1mc4eu5h995o0npqqmp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4421';
20250108@170602.8713 no47saqrmjtl8ilohnsk07at3f Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170602.8723 no47saqrmjtl8ilohnsk07at3f Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170602.8794 no47saqrmjtl8ilohnsk07at3f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4422';
20250108@170602.8884 no47saqrmjtl8ilohnsk07at3f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4422';
20250108@170602.8950 no47saqrmjtl8ilohnsk07at3f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4422';
20250108@170602.8983 no47saqrmjtl8ilohnsk07at3f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4422';
20250108@170602.9041 no47saqrmjtl8ilohnsk07at3f Query : use flama_phc
20250108@170602.9044 no47saqrmjtl8ilohnsk07at3f Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170602.9135 no47saqrmjtl8ilohnsk07at3f Query : use flama_phc
20250108@170602.9139 no47saqrmjtl8ilohnsk07at3f Query : select no, estab,szadrsdesc from szadrs where u_coddest=909
20250108@170602.9225 no47saqrmjtl8ilohnsk07at3f Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9902.00.1'
20250108@170602.9247 no47saqrmjtl8ilohnsk07at3f Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500200 and bi.ref ='328.9902.00.1' and bi.lordem =1
20250108@170602.9589 no47saqrmjtl8ilohnsk07at3f Query : use flama_phc
20250108@170602.9593 no47saqrmjtl8ilohnsk07at3f Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170602.9654 no47saqrmjtl8ilohnsk07at3f Query : use flama_phc
20250108@170602.9657 no47saqrmjtl8ilohnsk07at3f Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170602.9691 no47saqrmjtl8ilohnsk07at3f Query : use flama_phc
20250108@170602.9694 no47saqrmjtl8ilohnsk07at3f 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')
20250108@170602.9725 no47saqrmjtl8ilohnsk07at3f 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
20250108@170602.9762 no47saqrmjtl8ilohnsk07at3f Query : use flama_phc
20250108@170602.9765 no47saqrmjtl8ilohnsk07at3f Query : select top 1 ~inactivo valor from cl where no = '101621' and estab = 0 order by inactivo desc
20250108@170602.9796 no47saqrmjtl8ilohnsk07at3f Query : use flama_phc
20250108@170602.9799 no47saqrmjtl8ilohnsk07at3f Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170602.9832 no47saqrmjtl8ilohnsk07at3f Query : use flama_phc
20250108@170602.9855 no47saqrmjtl8ilohnsk07at3f Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170602.9895 no47saqrmjtl8ilohnsk07at3f Query : use flama_phc
20250108@170602.9898 no47saqrmjtl8ilohnsk07at3f Query : select szadrsstamp valor from szadrs where szadrsdesc='j.o.m.,lda - ovar'
20250108@170602.9948 no47saqrmjtl8ilohnsk07at3f Query : use flama_phc
20250108@170602.9951 no47saqrmjtl8ilohnsk07at3f Query : select 1 valor from td where ndoc = 39
20250108@170602.9963 no47saqrmjtl8ilohnsk07at3f Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170602.9977 no47saqrmjtl8ilohnsk07at3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170602.9999 no47saqrmjtl8ilohnsk07at3f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170603.1900 no47saqrmjtl8ilohnsk07at3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170603.3500 no47saqrmjtl8ilohnsk07at3f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170603.7900 no47saqrmjtl8ilohnsk07at3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170603.9400 no47saqrmjtl8ilohnsk07at3f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170603.1070 no47saqrmjtl8ilohnsk07at3f Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170603.2400 no47saqrmjtl8ilohnsk07at3f Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170603.2540 no47saqrmjtl8ilohnsk07at3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170603.2690 no47saqrmjtl8ilohnsk07at3f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170603.2840 no47saqrmjtl8ilohnsk07at3f Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb04817677eb07b02' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170603.4870 no47saqrmjtl8ilohnsk07at3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170603.5050 no47saqrmjtl8ilohnsk07at3f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170603.5370 no47saqrmjtl8ilohnsk07at3f Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170603.5490 no47saqrmjtl8ilohnsk07at3f Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170603.5610 no47saqrmjtl8ilohnsk07at3f Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170603.5730 no47saqrmjtl8ilohnsk07at3f Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170603.5860 no47saqrmjtl8ilohnsk07at3f Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170603.5980 no47saqrmjtl8ilohnsk07at3f Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170603.6160 no47saqrmjtl8ilohnsk07at3f Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb04817677eb07b02',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170603.8830 no47saqrmjtl8ilohnsk07at3f Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170603.9150 no47saqrmjtl8ilohnsk07at3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170603.9310 no47saqrmjtl8ilohnsk07at3f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170603.9540 no47saqrmjtl8ilohnsk07at3f Query : select 'normal' from dummy
20250108@170603.9730 no47saqrmjtl8ilohnsk07at3f Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb04817677eb07b02',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2862,101621,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170603.1303 no47saqrmjtl8ilohnsk07at3f Query : use flama_phc
20250108@170603.1307 no47saqrmjtl8ilohnsk07at3f Query : select st.usalote valor from st where st.ref = '328.9902.00.1'
20250108@170603.1330 no47saqrmjtl8ilohnsk07at3f 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.9902.00.1'
20250108@170603.1345 no47saqrmjtl8ilohnsk07at3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170603.1361 no47saqrmjtl8ilohnsk07at3f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170603.1392 no47saqrmjtl8ilohnsk07at3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170603.1408 no47saqrmjtl8ilohnsk07at3f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170603.1417 no47saqrmjtl8ilohnsk07at3f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170603.1470 no47saqrmjtl8ilohnsk07at3f Query : select sestamp valor from se where ref ='328.9902.00.1' and lote = 'r2300777100a'
20250108@170603.1713 no47saqrmjtl8ilohnsk07at3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170603.1742 no47saqrmjtl8ilohnsk07at3f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170603.1755 no47saqrmjtl8ilohnsk07at3f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb83333677eb07b29','aut677eb04817677eb07b02' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170603.1759 no47saqrmjtl8ilohnsk07at3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170603.1774 no47saqrmjtl8ilohnsk07at3f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170603.1802 no47saqrmjtl8ilohnsk07at3f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb83333677eb07b29',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut677eb04817677eb07b02' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170603.2077 no47saqrmjtl8ilohnsk07at3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170603.2093 no47saqrmjtl8ilohnsk07at3f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170603.2118 no47saqrmjtl8ilohnsk07at3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170603.2135 no47saqrmjtl8ilohnsk07at3f Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170603.2146 no47saqrmjtl8ilohnsk07at3f Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170603.2167 no47saqrmjtl8ilohnsk07at3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170603.2184 no47saqrmjtl8ilohnsk07at3f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170603.2199 no47saqrmjtl8ilohnsk07at3f Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb81735677eb07b34','aut677eb04817677eb07b02' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170603.2205 no47saqrmjtl8ilohnsk07at3f Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170603.2223 no47saqrmjtl8ilohnsk07at3f Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170603.2432 no47saqrmjtl8ilohnsk07at3f Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb81735677eb07b34',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb04817677eb07b02' ,0,0 ,2,23.00,20000,?,?,?)
20250108@170603.2744 no47saqrmjtl8ilohnsk07at3f Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut677eb04817677eb07b02','2500200','wait',39,'adm09112754980.682000002')
20250108@170603.2823 no47saqrmjtl8ilohnsk07at3f Query : use flama_phc
20250108@170603.2827 no47saqrmjtl8ilohnsk07at3f Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250108@170603.2862 no47saqrmjtl8ilohnsk07at3f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4422';
20250108@170603.2908 no47saqrmjtl8ilohnsk07at3f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4422';
20250108@170603.2963 no47saqrmjtl8ilohnsk07at3f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4422';
20250108@170603.3044 no47saqrmjtl8ilohnsk07at3f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4422';
20250108@170603.3666 m7mpj0gu5imp3cqukppgojbche Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250108@170603.3678 m7mpj0gu5imp3cqukppgojbche Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250108@170603.3750 m7mpj0gu5imp3cqukppgojbche Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4423';
20250108@170603.3847 m7mpj0gu5imp3cqukppgojbche Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4423';
20250108@170603.5832 m7mpj0gu5imp3cqukppgojbche Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4423';
20250108@170603.6025 m7mpj0gu5imp3cqukppgojbche Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4423';
20250108@170603.6122 m7mpj0gu5imp3cqukppgojbche Query : use flama_phc
20250108@170603.6125 m7mpj0gu5imp3cqukppgojbche Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250108@170603.6188 m7mpj0gu5imp3cqukppgojbche Query : use flama_phc
20250108@170603.6191 m7mpj0gu5imp3cqukppgojbche Query : select no, estab,szadrsdesc from szadrs where u_coddest=698
20250108@170603.6282 m7mpj0gu5imp3cqukppgojbche 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'
20250108@170603.6454 m7mpj0gu5imp3cqukppgojbche Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500202 and bi.ref ='324.1816.00.1' and bi.lordem =1
20250108@170603.6765 m7mpj0gu5imp3cqukppgojbche 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'
20250108@170603.6933 m7mpj0gu5imp3cqukppgojbche Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500202 and bi.ref ='324.1824.00.1' and bi.lordem =2
20250108@170603.7249 m7mpj0gu5imp3cqukppgojbche Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2066.00.1'
20250108@170603.7393 m7mpj0gu5imp3cqukppgojbche Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2002 and bo.obrano = 2500202 and bi.ref ='324.2066.00.1' and bi.lordem =3
20250108@170603.7736 m7mpj0gu5imp3cqukppgojbche Query : use flama_phc
20250108@170603.7740 m7mpj0gu5imp3cqukppgojbche Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250108@170603.7774 m7mpj0gu5imp3cqukppgojbche Query : use flama_phc
20250108@170603.7818 m7mpj0gu5imp3cqukppgojbche Query : select top 1 1 valor from td where td.ndoc = 39
20250108@170603.9037 m7mpj0gu5imp3cqukppgojbche Query : use flama_phc
20250108@170603.9041 m7mpj0gu5imp3cqukppgojbche 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')
20250108@170603.9072 m7mpj0gu5imp3cqukppgojbche 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
20250108@170603.9107 m7mpj0gu5imp3cqukppgojbche Query : use flama_phc
20250108@170603.9110 m7mpj0gu5imp3cqukppgojbche Query : select top 1 ~inactivo valor from cl where no = '100220' and estab = 0 order by inactivo desc
20250108@170603.9251 m7mpj0gu5imp3cqukppgojbche Query : use flama_phc
20250108@170603.9254 m7mpj0gu5imp3cqukppgojbche Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250108@170603.9286 m7mpj0gu5imp3cqukppgojbche Query : use flama_phc
20250108@170603.9289 m7mpj0gu5imp3cqukppgojbche Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250108@170603.9333 m7mpj0gu5imp3cqukppgojbche Query : use flama_phc
20250108@170603.9336 m7mpj0gu5imp3cqukppgojbche Query : select szadrsstamp valor from szadrs where szadrsdesc='amorim & ferreira, lda'
20250108@170603.9381 m7mpj0gu5imp3cqukppgojbche Query : use flama_phc
20250108@170603.9384 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from td where ndoc = 39
20250108@170603.9404 m7mpj0gu5imp3cqukppgojbche Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250108@170603.9421 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170603.9438 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170603.9458 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170603.9496 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170603.9526 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170603.9541 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170603.9554 m7mpj0gu5imp3cqukppgojbche Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170603.9684 m7mpj0gu5imp3cqukppgojbche Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250108@170603.9697 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170603.9715 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250108@170603.9733 m7mpj0gu5imp3cqukppgojbche Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut677eb46986677eb07be9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250108@170603.9931 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170603.9953 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250108@170603.9991 m7mpj0gu5imp3cqukppgojbche Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp=''
20250108@170604.3000 m7mpj0gu5imp3cqukppgojbche Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp=''
20250108@170604.3800 m7mpj0gu5imp3cqukppgojbche Query : select top 1 bo.u_codposen valor from bo where bo.bostamp=''
20250108@170604.5100 m7mpj0gu5imp3cqukppgojbche Query : select top 1 bo.u_localenv valor from bo where bo.bostamp=''
20250108@170604.6500 m7mpj0gu5imp3cqukppgojbche Query : select top 1 bo.trab5 valor from bo where bo.bostamp=''
20250108@170604.7700 m7mpj0gu5imp3cqukppgojbche Query : select top 1 bo.serie valor from bo where bo.bostamp=''
20250108@170604.8900 m7mpj0gu5imp3cqukppgojbche Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut677eb46986677eb07be9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250108@170604.3470 m7mpj0gu5imp3cqukppgojbche Query : select top 1 fno valor from wsftdata order by fno desc
20250108@170604.3860 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.4030 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250108@170604.4270 m7mpj0gu5imp3cqukppgojbche Query : select 'normal' from dummy
20250108@170604.4430 m7mpj0gu5imp3cqukppgojbche Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ) values ('aut677eb46986677eb07be9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',2863,100220,0,'2025-01-08',39,'euro',0,0,2025 ,?,?)
20250108@170604.7460 m7mpj0gu5imp3cqukppgojbche Query : use flama_phc
20250108@170604.7490 m7mpj0gu5imp3cqukppgojbche Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20250108@170604.7720 m7mpj0gu5imp3cqukppgojbche 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'
20250108@170604.9390 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.9550 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170604.9800 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.9940 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170604.1003 m7mpj0gu5imp3cqukppgojbche Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170604.1017 m7mpj0gu5imp3cqukppgojbche Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400284200a'
20250108@170604.1042 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.1058 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170604.1070 m7mpj0gu5imp3cqukppgojbche Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb85434677eb07c19','aut677eb46986677eb07be9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170604.1074 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.1109 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170604.1137 m7mpj0gu5imp3cqukppgojbche Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb85434677eb07c19',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut677eb46986677eb07be9' ,0,0 ,2,23.00,10000,?,?,?,?,?)
20250108@170604.1390 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.1408 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170604.1434 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.1474 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170604.1482 m7mpj0gu5imp3cqukppgojbche Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170604.1495 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.1510 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170604.1521 m7mpj0gu5imp3cqukppgojbche Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb79182677eb07c24','aut677eb46986677eb07be9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170604.1525 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.1540 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170604.1571 m7mpj0gu5imp3cqukppgojbche Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb79182677eb07c24',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb46986677eb07be9' ,0,0 ,2,23.00,20000,?,?,?)
20250108@170604.1826 m7mpj0gu5imp3cqukppgojbche Query : use flama_phc
20250108@170604.1829 m7mpj0gu5imp3cqukppgojbche Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20250108@170604.1851 m7mpj0gu5imp3cqukppgojbche 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'
20250108@170604.2018 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.2034 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170604.2059 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.2074 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170604.2082 m7mpj0gu5imp3cqukppgojbche Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170604.2094 m7mpj0gu5imp3cqukppgojbche Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20250108@170604.2113 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.2127 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170604.2140 m7mpj0gu5imp3cqukppgojbche Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb33781677eb07c33','aut677eb46986677eb07be9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170604.2144 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.2159 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170604.2207 m7mpj0gu5imp3cqukppgojbche Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ) values ('aut677eb33781677eb07c33',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.000 ,'aut677eb46986677eb07be9' ,0,0 ,2,23.00,40000,?,?,?,?,?)
20250108@170604.2461 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.2478 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170604.2505 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.2520 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170604.2552 m7mpj0gu5imp3cqukppgojbche Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250108@170604.2567 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.2582 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250108@170604.2593 m7mpj0gu5imp3cqukppgojbche Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut677eb64462677eb07c3e','aut677eb46986677eb07be9' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250108@170604.2598 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250108@170604.2613 m7mpj0gu5imp3cqukppgojbche Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250108@170604.2643 m7mpj0gu5imp3cqukppgojbche Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut677eb64462677eb07c3e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut677eb46986677eb07be9' ,0,0 ,2,23.00,50000,?,?,?)
20250108@170604.2896 m7mpj0gu5imp3cqukppgojbche Query : use flama_phc
20250108@170604.2901 m7mpj0gu5imp3cqukppgojbche Query : select st.usalote valor from st where st.ref = '324.2066.00.1'
20250108@170604.2922 m7mpj0gu5imp3cqukppgojbche 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.2066.00.1'
20250108@170604.3084 m7mpj0gu5imp3cqukppgojbche Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
