20240620@180111.6110 go2ebs966ifs0s128c49lbuqno INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20240620@180111.6080 go2ebs966ifs0s128c49lbuqno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240620@180111.6290 go2ebs966ifs0s128c49lbuqno Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20240620@180111.6380 go2ebs966ifs0s128c49lbuqno Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6674634022667460570e','aut667467295166746052f2',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 = 'aut667467295166746052f2'
20240620@180111.8410 go2ebs966ifs0s128c49lbuqno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240620@180111.8860 go2ebs966ifs0s128c49lbuqno Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20240620@180111.9030 go2ebs966ifs0s128c49lbuqno 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 'aut6674634022667460570e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 28, 28*1.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 ,7.21,7.21*200.48,7.21,7.21*200.48 ,0,0,'un ','' ,bo.marcada,1 ,7.21*28,7.21*28*200.48 ,8.145000,8.145000*200.48 ,8.145000,8.145000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,7.21,7.21*200.48,7.21*28,7.21*28*200.48,'cps24010431678,947000002 ',53.5,53.5*28,53.5,53.5*28,?,?,?,4 from bo bo where bo.bostamp = 'aut667467295166746052f2'
20240620@180129.9371 go2ebs966ifs0s128c49lbuqno Query : use flama_phc
20240620@180129.9377 go2ebs966ifs0s128c49lbuqno Query : select st.usalote valor from st where st.ref = '324.938.00.01'
20240620@180129.9390 go2ebs966ifs0s128c49lbuqno Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.938.00.01'
20240620@180129.9403 go2ebs966ifs0s128c49lbuqno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240620@180129.9418 go2ebs966ifs0s128c49lbuqno Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20240620@180129.9429 go2ebs966ifs0s128c49lbuqno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240620@180129.9441 go2ebs966ifs0s128c49lbuqno Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20240620@180129.9447 go2ebs966ifs0s128c49lbuqno Query : select sestamp valor from se where ref ='324.938.00.01' and lote = 'r2400003200a'
20240620@180129.9458 go2ebs966ifs0s128c49lbuqno Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240620@180129.9469 go2ebs966ifs0s128c49lbuqno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240620@180129.9482 go2ebs966ifs0s128c49lbuqno Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20240620@180129.9488 go2ebs966ifs0s128c49lbuqno Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut667468622366746069e7','aut667467295166746052f2',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 = 'aut667467295166746052f2'
20240620@180129.9669 go2ebs966ifs0s128c49lbuqno Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240620@180129.9687 go2ebs966ifs0s128c49lbuqno Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20240620@180129.9698 go2ebs966ifs0s128c49lbuqno 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 'aut667468622366746069e7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 4172, 4172*1.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,20000 ,7.21,7.21*200.48,7.21,7.21*200.48 ,0,0,'un ','' ,bo.marcada,1 ,7.21*4172,7.21*4172*200.48 ,8.135000,8.135000*200.48 ,8.135000,8.135000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,7.21,7.21*200.48,7.21*4172,7.21*4172*200.48,'cps24010431678,947000002 ',53.5,53.5*4172,53.5,53.5*4172,?,?,?,4 from bo bo where bo.bostamp = 'aut667467295166746052f2'
20240620@180131.1019 go2ebs966ifs0s128c49lbuqno Query : use flama_phc
20240620@180131.1023 go2ebs966ifs0s128c49lbuqno Query : declare @bostamp varchar(25) = 'aut667467295166746052f2' ,@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 
20240620@180138.4637 go2ebs966ifs0s128c49lbuqno Query : use flama_phc
20240620@180138.4641 go2ebs966ifs0s128c49lbuqno Query : select 1 valor from bo where bo.bostamp = 'aut667467295166746052f2'
20240620@180138.4752 go2ebs966ifs0s128c49lbuqno 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) = 'aut667467295166746052f2' 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 
20240620@180141.2049 go2ebs966ifs0s128c49lbuqno Query : use flama_phc
20240620@180141.2053 go2ebs966ifs0s128c49lbuqno Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240620@180141.2065 go2ebs966ifs0s128c49lbuqno Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='497';
20240620@180141.2084 go2ebs966ifs0s128c49lbuqno Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='497';
20240620@181006.8270 hlghuvg83qm8rpul5916boq45m Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240620@181006.8301 hlghuvg83qm8rpul5916boq45m Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240620@181006.8522 hlghuvg83qm8rpul5916boq45m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='498';
20240620@181006.8970 hlghuvg83qm8rpul5916boq45m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='498';
20240620@181006.8985 hlghuvg83qm8rpul5916boq45m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='498';
20240620@181006.8999 hlghuvg83qm8rpul5916boq45m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='498';
20240620@181006.9034 hlghuvg83qm8rpul5916boq45m Query : use flama_phc
20240620@181006.9038 hlghuvg83qm8rpul5916boq45m Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240620@181006.9052 hlghuvg83qm8rpul5916boq45m Query : use flama_phc
20240620@181006.9055 hlghuvg83qm8rpul5916boq45m Query : select no, estab,szadrsdesc from szadrs where u_coddest=4537
20240620@181006.9376 hlghuvg83qm8rpul5916boq45m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2232.00.1'
20240620@181006.9536 hlghuvg83qm8rpul5916boq45m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4961.00.1'
20240620@181006.9699 hlghuvg83qm8rpul5916boq45m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4962.00.1'
20240620@181006.9852 hlghuvg83qm8rpul5916boq45m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4963.00.1'
20240620@181007.6000 hlghuvg83qm8rpul5916boq45m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4964.00.1'
20240620@181007.3830 hlghuvg83qm8rpul5916boq45m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5342.00.1'
20240620@181007.8280 hlghuvg83qm8rpul5916boq45m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5343.00.1'
20240620@181007.1270 hlghuvg83qm8rpul5916boq45m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5396.00.1'
20240620@181007.2082 hlghuvg83qm8rpul5916boq45m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20240620@181007.2633 hlghuvg83qm8rpul5916boq45m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.670.00.01'
20240620@181007.3115 hlghuvg83qm8rpul5916boq45m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20240620@181007.3558 hlghuvg83qm8rpul5916boq45m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.698.00.01'
20240620@181007.4042 hlghuvg83qm8rpul5916boq45m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.945.00.01'
20240620@181007.5029 hlghuvg83qm8rpul5916boq45m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.938.00.01'
20240620@181007.5739 hlghuvg83qm8rpul5916boq45m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.939.00.01'
20240620@181007.6262 hlghuvg83qm8rpul5916boq45m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20240620@181007.6757 hlghuvg83qm8rpul5916boq45m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20240620@181007.7281 hlghuvg83qm8rpul5916boq45m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20240620@181007.7718 hlghuvg83qm8rpul5916boq45m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20240620@181007.8160 hlghuvg83qm8rpul5916boq45m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2041.00.1'
20240620@181007.8600 hlghuvg83qm8rpul5916boq45m Query : use flama_phc
20240620@181007.8642 hlghuvg83qm8rpul5916boq45m Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240620@181007.9197 hlghuvg83qm8rpul5916boq45m Query : use flama_phc
20240620@181007.9238 hlghuvg83qm8rpul5916boq45m Query : select top 1 1 valor from td where td.ndoc = 39
20240620@181007.9562 hlghuvg83qm8rpul5916boq45m Query : use flama_phc
20240620@181007.9603 hlghuvg83qm8rpul5916boq45m 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')
20240620@181008.6810 cbdj29pnus30vbc1q83uasdin1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240620@181008.6990 cbdj29pnus30vbc1q83uasdin1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240620@181008.7180 cbdj29pnus30vbc1q83uasdin1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='499';
20240620@181008.7570 cbdj29pnus30vbc1q83uasdin1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='499';
20240620@181008.7850 cbdj29pnus30vbc1q83uasdin1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='499';
20240620@181008.7980 cbdj29pnus30vbc1q83uasdin1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='499';
20240620@181008.8100 cbdj29pnus30vbc1q83uasdin1 Query : use flama_phc
20240620@181008.8430 cbdj29pnus30vbc1q83uasdin1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240620@181008.8580 cbdj29pnus30vbc1q83uasdin1 Query : use flama_phc
20240620@181008.8610 cbdj29pnus30vbc1q83uasdin1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=201
20240620@181008.9370 cbdj29pnus30vbc1q83uasdin1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '327.8152.00.1'
20240620@181008.1118 cbdj29pnus30vbc1q83uasdin1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4020.00.1'
20240620@181008.1289 cbdj29pnus30vbc1q83uasdin1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4211.00.1'
20240620@181008.1459 cbdj29pnus30vbc1q83uasdin1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240620@181008.1624 cbdj29pnus30vbc1q83uasdin1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240620@181008.1785 cbdj29pnus30vbc1q83uasdin1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20240620@181008.1949 cbdj29pnus30vbc1q83uasdin1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20240620@181008.2114 cbdj29pnus30vbc1q83uasdin1 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.497.00.01'
20240620@181008.2281 cbdj29pnus30vbc1q83uasdin1 Query : use flama_phc
20240620@181008.2284 cbdj29pnus30vbc1q83uasdin1 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240620@181008.2297 cbdj29pnus30vbc1q83uasdin1 Query : use flama_phc
20240620@181008.2300 cbdj29pnus30vbc1q83uasdin1 Query : select top 1 1 valor from td where td.ndoc = 39
20240620@181008.2311 cbdj29pnus30vbc1q83uasdin1 Query : use flama_phc
20240620@181008.2314 cbdj29pnus30vbc1q83uasdin1 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')
20240620@181008.2880 tbu8ar50jb68b53g81mcobbt7m Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240620@181008.2893 tbu8ar50jb68b53g81mcobbt7m Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240620@181008.2909 tbu8ar50jb68b53g81mcobbt7m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='500';
20240620@181008.2950 tbu8ar50jb68b53g81mcobbt7m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='500';
20240620@181008.2964 tbu8ar50jb68b53g81mcobbt7m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='500';
20240620@181008.2978 tbu8ar50jb68b53g81mcobbt7m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='500';
20240620@181008.2990 tbu8ar50jb68b53g81mcobbt7m Query : use flama_phc
20240620@181008.2993 tbu8ar50jb68b53g81mcobbt7m Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240620@181008.3007 tbu8ar50jb68b53g81mcobbt7m Query : use flama_phc
20240620@181008.3051 tbu8ar50jb68b53g81mcobbt7m Query : select no, estab,szadrsdesc from szadrs where u_coddest=170
20240620@181008.3174 tbu8ar50jb68b53g81mcobbt7m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240620@181008.3937 tbu8ar50jb68b53g81mcobbt7m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240620@181008.4509 tbu8ar50jb68b53g81mcobbt7m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240620@181008.4895 tbu8ar50jb68b53g81mcobbt7m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240620@181008.5454 tbu8ar50jb68b53g81mcobbt7m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240620@181008.5465 tbu8ar50jb68b53g81mcobbt7m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240620@181008.5475 tbu8ar50jb68b53g81mcobbt7m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4860.00.1'
20240620@181008.5644 tbu8ar50jb68b53g81mcobbt7m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4860.00.1'
20240620@181008.5653 tbu8ar50jb68b53g81mcobbt7m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4160.00.1'
20240620@181008.6053 tbu8ar50jb68b53g81mcobbt7m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4160.00.1'
20240620@181008.6141 tbu8ar50jb68b53g81mcobbt7m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4421.00.1'
20240620@181008.6299 tbu8ar50jb68b53g81mcobbt7m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4421.00.1'
20240620@181008.6311 tbu8ar50jb68b53g81mcobbt7m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20240620@181008.6465 tbu8ar50jb68b53g81mcobbt7m 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'
20240620@181008.6630 tbu8ar50jb68b53g81mcobbt7m Query : use flama_phc
20240620@181008.6633 tbu8ar50jb68b53g81mcobbt7m Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240620@181008.6646 tbu8ar50jb68b53g81mcobbt7m Query : use flama_phc
20240620@181008.6649 tbu8ar50jb68b53g81mcobbt7m Query : select top 1 1 valor from td where td.ndoc = 39
20240620@181008.6659 tbu8ar50jb68b53g81mcobbt7m Query : use flama_phc
20240620@181008.6662 tbu8ar50jb68b53g81mcobbt7m 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')
20240620@181008.7160 dc9givc3lqo2imnpqtst28qu6b Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240620@181008.7173 dc9givc3lqo2imnpqtst28qu6b Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240620@181008.7190 dc9givc3lqo2imnpqtst28qu6b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='501';
20240620@181008.7389 dc9givc3lqo2imnpqtst28qu6b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='501';
20240620@181008.7433 dc9givc3lqo2imnpqtst28qu6b Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='501';
20240620@181008.7448 dc9givc3lqo2imnpqtst28qu6b Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='501';
20240620@181008.7466 dc9givc3lqo2imnpqtst28qu6b Query : use flama_phc
20240620@181008.7469 dc9givc3lqo2imnpqtst28qu6b Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240620@181008.7484 dc9givc3lqo2imnpqtst28qu6b Query : use flama_phc
20240620@181008.7487 dc9givc3lqo2imnpqtst28qu6b Query : select no, estab,szadrsdesc from szadrs where u_coddest=435
20240620@181008.7564 dc9givc3lqo2imnpqtst28qu6b Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '323.367.09.00'
20240620@181008.7732 dc9givc3lqo2imnpqtst28qu6b Query : use flama_phc
20240620@181008.7735 dc9givc3lqo2imnpqtst28qu6b Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240620@181008.7748 dc9givc3lqo2imnpqtst28qu6b Query : use flama_phc
20240620@181008.7751 dc9givc3lqo2imnpqtst28qu6b Query : select top 1 1 valor from td where td.ndoc = 39
20240620@181008.7761 dc9givc3lqo2imnpqtst28qu6b Query : use flama_phc
20240620@181008.7764 dc9givc3lqo2imnpqtst28qu6b 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')
20240620@181008.8262 17nduj54755pvlscndmvafa51c Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240620@181008.8285 17nduj54755pvlscndmvafa51c Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240620@181008.8302 17nduj54755pvlscndmvafa51c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='502';
20240620@181008.8343 17nduj54755pvlscndmvafa51c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='502';
20240620@181008.8356 17nduj54755pvlscndmvafa51c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='502';
20240620@181008.8367 17nduj54755pvlscndmvafa51c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='502';
20240620@181008.8382 17nduj54755pvlscndmvafa51c Query : use flama_phc
20240620@181008.8385 17nduj54755pvlscndmvafa51c Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240620@181008.8413 17nduj54755pvlscndmvafa51c Query : use flama_phc
20240620@181008.8416 17nduj54755pvlscndmvafa51c Query : select no, estab,szadrsdesc from szadrs where u_coddest=6858
20240620@181008.8495 17nduj54755pvlscndmvafa51c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20240620@181008.8654 17nduj54755pvlscndmvafa51c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20240620@181008.8664 17nduj54755pvlscndmvafa51c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1896.00.1'
20240620@181008.8833 17nduj54755pvlscndmvafa51c 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'
20240620@181008.8843 17nduj54755pvlscndmvafa51c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4211.00.1'
20240620@181008.8853 17nduj54755pvlscndmvafa51c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20240620@181008.8862 17nduj54755pvlscndmvafa51c Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.969.00.01'
20240620@181008.9028 17nduj54755pvlscndmvafa51c Query : use flama_phc
20240620@181008.9031 17nduj54755pvlscndmvafa51c Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240620@181008.9044 17nduj54755pvlscndmvafa51c Query : use flama_phc
20240620@181008.9047 17nduj54755pvlscndmvafa51c Query : select top 1 1 valor from td where td.ndoc = 39
20240620@181008.9057 17nduj54755pvlscndmvafa51c Query : use flama_phc
20240620@181008.9060 17nduj54755pvlscndmvafa51c 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')
20240620@181008.9572 4sn7nmjrnuc1u0cjv5vakqf7mk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240620@181008.9587 4sn7nmjrnuc1u0cjv5vakqf7mk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240620@181008.9604 4sn7nmjrnuc1u0cjv5vakqf7mk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='503';
20240620@181008.9646 4sn7nmjrnuc1u0cjv5vakqf7mk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='503';
20240620@181008.9659 4sn7nmjrnuc1u0cjv5vakqf7mk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='503';
20240620@181008.9671 4sn7nmjrnuc1u0cjv5vakqf7mk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='503';
20240620@181008.9682 4sn7nmjrnuc1u0cjv5vakqf7mk Query : use flama_phc
20240620@181008.9685 4sn7nmjrnuc1u0cjv5vakqf7mk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240620@181008.9699 4sn7nmjrnuc1u0cjv5vakqf7mk Query : use flama_phc
20240620@181008.9702 4sn7nmjrnuc1u0cjv5vakqf7mk Query : select no, estab,szadrsdesc from szadrs where u_coddest=8797
20240620@181008.9779 4sn7nmjrnuc1u0cjv5vakqf7mk 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'
20240620@181008.9943 4sn7nmjrnuc1u0cjv5vakqf7mk 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'
20240620@181008.9953 4sn7nmjrnuc1u0cjv5vakqf7mk 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'
20240620@181009.0000 4sn7nmjrnuc1u0cjv5vakqf7mk Query : use flama_phc
20240620@181009.3000 4sn7nmjrnuc1u0cjv5vakqf7mk Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240620@181009.6570 4sn7nmjrnuc1u0cjv5vakqf7mk Query : use flama_phc
20240620@181009.6610 4sn7nmjrnuc1u0cjv5vakqf7mk Query : select top 1 1 valor from td where td.ndoc = 39
20240620@181009.6730 4sn7nmjrnuc1u0cjv5vakqf7mk Query : use flama_phc
20240620@181009.6760 4sn7nmjrnuc1u0cjv5vakqf7mk 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')
20240620@181009.1253 qugf245ef05cjj4n1a43ad3qpo Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240620@181009.1270 qugf245ef05cjj4n1a43ad3qpo Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240620@181009.1288 qugf245ef05cjj4n1a43ad3qpo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='504';
20240620@181009.1332 qugf245ef05cjj4n1a43ad3qpo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='504';
20240620@181009.1347 qugf245ef05cjj4n1a43ad3qpo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='504';
20240620@181009.1376 qugf245ef05cjj4n1a43ad3qpo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='504';
20240620@181009.1388 qugf245ef05cjj4n1a43ad3qpo Query : use flama_phc
20240620@181009.1391 qugf245ef05cjj4n1a43ad3qpo Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240620@181009.1405 qugf245ef05cjj4n1a43ad3qpo Query : use flama_phc
20240620@181009.1408 qugf245ef05cjj4n1a43ad3qpo Query : select no, estab,szadrsdesc from szadrs where u_coddest=2120
20240620@181009.1505 qugf245ef05cjj4n1a43ad3qpo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5396.00.1'
20240620@181009.1550 qugf245ef05cjj4n1a43ad3qpo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4840.00.1'
20240620@181009.1727 qugf245ef05cjj4n1a43ad3qpo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20240620@181009.1888 qugf245ef05cjj4n1a43ad3qpo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20240620@181009.1899 qugf245ef05cjj4n1a43ad3qpo Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20240620@181009.1909 qugf245ef05cjj4n1a43ad3qpo Query : use flama_phc
20240620@181009.1911 qugf245ef05cjj4n1a43ad3qpo Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240620@181009.1924 qugf245ef05cjj4n1a43ad3qpo Query : use flama_phc
20240620@181009.1927 qugf245ef05cjj4n1a43ad3qpo Query : select top 1 1 valor from td where td.ndoc = 39
20240620@181009.1951 qugf245ef05cjj4n1a43ad3qpo Query : use flama_phc
20240620@181009.1954 qugf245ef05cjj4n1a43ad3qpo 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')
20240620@181917.2180 6r818ihj52fgl4smgal3m878c8 Query : use flama_phc
20240620@181917.2197 6r818ihj52fgl4smgal3m878c8 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240620@181917.2215 6r818ihj52fgl4smgal3m878c8 Query : use flama_phc
20240620@181917.2217 6r818ihj52fgl4smgal3m878c8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240620@183616.7799 8me9vs7gl46gkpg4t2n0gsak5n Query : use flama_phc
20240620@183616.7804 8me9vs7gl46gkpg4t2n0gsak5n Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240620@183616.7826 8me9vs7gl46gkpg4t2n0gsak5n Query : use flama_phc
20240620@183616.7830 8me9vs7gl46gkpg4t2n0gsak5n Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240620@191915.5460 6jqrhabamt3rakr3g4m590alls Query : use flama_phc
20240620@191915.5467 6jqrhabamt3rakr3g4m590alls Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240620@191915.5485 6jqrhabamt3rakr3g4m590alls Query : use flama_phc
20240620@191915.5488 6jqrhabamt3rakr3g4m590alls Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240620@193616.1437 vhq0gg52p9c5nv7orpquoo5okv Query : use flama_phc
20240620@193616.1441 vhq0gg52p9c5nv7orpquoo5okv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240620@193616.1458 vhq0gg52p9c5nv7orpquoo5okv Query : use flama_phc
20240620@193616.1462 vhq0gg52p9c5nv7orpquoo5okv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240620@201912.8179 e8oo4q9uqe48mh3kbkfct7jair Query : use flama_phc
20240620@201912.8184 e8oo4q9uqe48mh3kbkfct7jair Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240620@201912.8202 e8oo4q9uqe48mh3kbkfct7jair Query : use flama_phc
20240620@201912.8205 e8oo4q9uqe48mh3kbkfct7jair Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240620@203613.3390 64rb4r2sf7vtfejuonipbo8t8h Query : use flama_phc
20240620@203613.3480 64rb4r2sf7vtfejuonipbo8t8h Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240620@203613.3640 64rb4r2sf7vtfejuonipbo8t8h Query : use flama_phc
20240620@203613.3670 64rb4r2sf7vtfejuonipbo8t8h Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240620@211912.3898 3nqtvh7224vfoeblgtuq6qpokj Query : use flama_phc
20240620@211912.3902 3nqtvh7224vfoeblgtuq6qpokj Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240620@211912.3920 3nqtvh7224vfoeblgtuq6qpokj Query : use flama_phc
20240620@211912.3922 3nqtvh7224vfoeblgtuq6qpokj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240620@213612.1340 3ghv7rhodlgvv676a66ceff5th Query : use flama_phc
20240620@213612.1345 3ghv7rhodlgvv676a66ceff5th Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240620@213612.1364 3ghv7rhodlgvv676a66ceff5th Query : use flama_phc
20240620@213612.1367 3ghv7rhodlgvv676a66ceff5th Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240620@221915.4602 7t113dlqseh20esstc7lgqrm3j Query : use flama_phc
20240620@221915.4631 7t113dlqseh20esstc7lgqrm3j Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240620@221915.4731 7t113dlqseh20esstc7lgqrm3j Query : use flama_phc
20240620@221915.4750 7t113dlqseh20esstc7lgqrm3j Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240620@223615.9103 lc8tof06t3pth9rc7h2uepoibe Query : use flama_phc
20240620@223615.9111 lc8tof06t3pth9rc7h2uepoibe Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240620@223615.9155 lc8tof06t3pth9rc7h2uepoibe Query : use flama_phc
20240620@223615.9158 lc8tof06t3pth9rc7h2uepoibe Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240620@231911.8198 ea0dbcht4jtl4o1v9e5lr75p5i Query : use flama_phc
20240620@231911.8203 ea0dbcht4jtl4o1v9e5lr75p5i Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240620@231911.8223 ea0dbcht4jtl4o1v9e5lr75p5i Query : use flama_phc
20240620@231911.8226 ea0dbcht4jtl4o1v9e5lr75p5i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240620@233611.5863 6frjrr4mjlg1puqr9blf8m8i0r Query : use flama_phc
20240620@233611.5869 6frjrr4mjlg1puqr9blf8m8i0r Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240620@233611.5892 6frjrr4mjlg1puqr9blf8m8i0r Query : use flama_phc
20240620@233611.5895 6frjrr4mjlg1puqr9blf8m8i0r Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@071915.2354 i186ba8uq1alm72ftp7qkvkj9q Query : use flama_phc
20240621@071915.2386 i186ba8uq1alm72ftp7qkvkj9q Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@071915.2630 i186ba8uq1alm72ftp7qkvkj9q Query : use flama_phc
20240621@071915.2633 i186ba8uq1alm72ftp7qkvkj9q Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@073637.6872 ado333qkgtrlrh8664f2qmkg8h Query : use flama_phc
20240621@073637.6878 ado333qkgtrlrh8664f2qmkg8h Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@073637.6935 ado333qkgtrlrh8664f2qmkg8h Query : use flama_phc
20240621@073637.6939 ado333qkgtrlrh8664f2qmkg8h Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@081913.2911 vd6urqp17r7p8s6c2bcckes0nm Query : use flama_phc
20240621@081913.2920 vd6urqp17r7p8s6c2bcckes0nm Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@081913.2977 vd6urqp17r7p8s6c2bcckes0nm Query : use flama_phc
20240621@081913.2980 vd6urqp17r7p8s6c2bcckes0nm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@083613.7989 m9bia3sm2rdjbjfr5j69bpquvv Query : use flama_phc
20240621@083613.7994 m9bia3sm2rdjbjfr5j69bpquvv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@083613.8051 m9bia3sm2rdjbjfr5j69bpquvv Query : use flama_phc
20240621@083613.8054 m9bia3sm2rdjbjfr5j69bpquvv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@091913.1229 4qfusg0371vemc2ehsna5fsko5 Query : use flama_phc
20240621@091913.1237 4qfusg0371vemc2ehsna5fsko5 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@091913.1314 4qfusg0371vemc2ehsna5fsko5 Query : use flama_phc
20240621@091913.1319 4qfusg0371vemc2ehsna5fsko5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@093613.5229 i13utndc1e469s1nr29ldjkugl Query : use flama_phc
20240621@093613.5422 i13utndc1e469s1nr29ldjkugl Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@093613.6022 i13utndc1e469s1nr29ldjkugl Query : use flama_phc
20240621@093613.6061 i13utndc1e469s1nr29ldjkugl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@101910.8856 vku402mejbq0m041rhbjb22935 Query : use flama_phc
20240621@101910.8894 vku402mejbq0m041rhbjb22935 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@101910.9222 vku402mejbq0m041rhbjb22935 Query : use flama_phc
20240621@101910.9261 vku402mejbq0m041rhbjb22935 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@103611.2172 m24b20jq8a238o84ef98st0vp5 Query : use flama_phc
20240621@103611.2178 m24b20jq8a238o84ef98st0vp5 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@103611.2231 m24b20jq8a238o84ef98st0vp5 Query : use flama_phc
20240621@103611.2234 m24b20jq8a238o84ef98st0vp5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@111910.8165 i3g3o21punutm8q79ghriml0rj Query : use flama_phc
20240621@111910.8192 i3g3o21punutm8q79ghriml0rj Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@111910.8209 i3g3o21punutm8q79ghriml0rj Query : use flama_phc
20240621@111910.8225 i3g3o21punutm8q79ghriml0rj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@113611.8490 a6fp876melptkv4t1463o4qs1u Query : use flama_phc
20240621@113611.8540 a6fp876melptkv4t1463o4qs1u Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@113611.8710 a6fp876melptkv4t1463o4qs1u Query : use flama_phc
20240621@113611.8730 a6fp876melptkv4t1463o4qs1u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@121912.9185 ugp58nhkaion4lr50vueicv28k Query : use flama_phc
20240621@121912.9206 ugp58nhkaion4lr50vueicv28k Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@121912.9225 ugp58nhkaion4lr50vueicv28k Query : use flama_phc
20240621@121912.9228 ugp58nhkaion4lr50vueicv28k Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@123613.4519 37gbbh1skp76cg5mpp74rnkgl5 Query : use flama_phc
20240621@123613.4524 37gbbh1skp76cg5mpp74rnkgl5 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@123613.4542 37gbbh1skp76cg5mpp74rnkgl5 Query : use flama_phc
20240621@123613.4559 37gbbh1skp76cg5mpp74rnkgl5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@131912.1592 0h1vrkokt67bmufs7u2ab8ajah Query : use flama_phc
20240621@131912.1597 0h1vrkokt67bmufs7u2ab8ajah Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@131912.1614 0h1vrkokt67bmufs7u2ab8ajah Query : use flama_phc
20240621@131912.1617 0h1vrkokt67bmufs7u2ab8ajah Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@133612.4143 6v4pjsgg4d4becvrs6jii6jmth Query : use flama_phc
20240621@133612.4147 6v4pjsgg4d4becvrs6jii6jmth Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@133612.4167 6v4pjsgg4d4becvrs6jii6jmth Query : use flama_phc
20240621@133612.4169 6v4pjsgg4d4becvrs6jii6jmth Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@141918.5671 rlfmvgbg92skvohelag8mo15s0 Query : use flama_phc
20240621@141918.5676 rlfmvgbg92skvohelag8mo15s0 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@141918.5742 rlfmvgbg92skvohelag8mo15s0 Query : use flama_phc
20240621@141918.5745 rlfmvgbg92skvohelag8mo15s0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@143618.7889 id2l55lslvugpi9se1402r9kba Query : use flama_phc
20240621@143618.7896 id2l55lslvugpi9se1402r9kba Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@143618.7927 id2l55lslvugpi9se1402r9kba Query : use flama_phc
20240621@143618.7930 id2l55lslvugpi9se1402r9kba Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@151910.5061 rtarkctbm9s482mvvogodqafme Query : use flama_phc
20240621@151910.5067 rtarkctbm9s482mvvogodqafme Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@151910.5091 rtarkctbm9s482mvvogodqafme Query : use flama_phc
20240621@151910.5095 rtarkctbm9s482mvvogodqafme Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@153610.2639 213npqq7q42790eegvdc31pstp Query : use flama_phc
20240621@153610.2645 213npqq7q42790eegvdc31pstp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@153610.2666 213npqq7q42790eegvdc31pstp Query : use flama_phc
20240621@153610.2669 213npqq7q42790eegvdc31pstp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@160718.5208 h1d6fjlbm4o970poj72sgh0s3t Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@160718.5243 h1d6fjlbm4o970poj72sgh0s3t Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@160718.5373 h1d6fjlbm4o970poj72sgh0s3t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='505';
20240621@160718.5416 h1d6fjlbm4o970poj72sgh0s3t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='505';
20240621@160718.5441 h1d6fjlbm4o970poj72sgh0s3t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='505';
20240621@160718.5454 h1d6fjlbm4o970poj72sgh0s3t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='505';
20240621@160718.5467 h1d6fjlbm4o970poj72sgh0s3t Query : use flama_phc
20240621@160718.5471 h1d6fjlbm4o970poj72sgh0s3t Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@160718.5526 h1d6fjlbm4o970poj72sgh0s3t Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '304.421.00.04'
20240621@160718.5723 h1d6fjlbm4o970poj72sgh0s3t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =005 and bo.boano =2024 and bo.obrano = 0000333 and bi.ref ='304.421.00.04' and bi.lordem =160000
20240621@160718.6066 h1d6fjlbm4o970poj72sgh0s3t Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'az24062040888,174000016 ' 
20240621@160718.6380 h1d6fjlbm4o970poj72sgh0s3t Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '304.4320.00.1'
20240621@160718.6497 h1d6fjlbm4o970poj72sgh0s3t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =005 and bo.boano =2024 and bo.obrano = 0000333 and bi.ref ='304.4320.00.1' and bi.lordem =150000
20240621@160718.7317 h1d6fjlbm4o970poj72sgh0s3t Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'az24062040814,327000015 ' 
20240621@160718.8018 h1d6fjlbm4o970poj72sgh0s3t Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '304.4320.00.1'
20240621@160718.8041 h1d6fjlbm4o970poj72sgh0s3t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =005 and bo.boano =2024 and bo.obrano = 0000333 and bi.ref ='304.4320.00.1' and bi.lordem =140000
20240621@160718.8419 h1d6fjlbm4o970poj72sgh0s3t Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'az24062040814,249000014 ' 
20240621@160718.8911 h1d6fjlbm4o970poj72sgh0s3t Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '304.422.00.07'
20240621@160718.9044 h1d6fjlbm4o970poj72sgh0s3t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =005 and bo.boano =2024 and bo.obrano = 0000333 and bi.ref ='304.422.00.07' and bi.lordem =90000
20240621@160718.9439 h1d6fjlbm4o970poj72sgh0s3t Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'az24062040790,337000009 ' 
20240621@160718.9958 h1d6fjlbm4o970poj72sgh0s3t Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2366.00.1'
20240621@160719.1000 h1d6fjlbm4o970poj72sgh0s3t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =005 and bo.boano =2024 and bo.obrano = 0000333 and bi.ref ='324.2366.00.1' and bi.lordem =20000
20240621@160719.4880 h1d6fjlbm4o970poj72sgh0s3t Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'az24062040711,794000002 ' 
20240621@160719.8390 h1d6fjlbm4o970poj72sgh0s3t Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4161.00.1'
20240621@160719.9660 h1d6fjlbm4o970poj72sgh0s3t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =005 and bo.boano =2024 and bo.obrano = 0000333 and bi.ref ='324.4161.00.1' and bi.lordem =170000
20240621@160719.1320 h1d6fjlbm4o970poj72sgh0s3t Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'az24062040974,899000017 ' 
20240621@160719.1692 h1d6fjlbm4o970poj72sgh0s3t Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2362.00.1'
20240621@160719.1847 h1d6fjlbm4o970poj72sgh0s3t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =005 and bo.boano =2024 and bo.obrano = 0000333 and bi.ref ='324.2362.00.1' and bi.lordem =40000
20240621@160719.2249 h1d6fjlbm4o970poj72sgh0s3t Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'az24062040734,219000004 ' 
20240621@160719.2665 h1d6fjlbm4o970poj72sgh0s3t Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.2330.00.1'
20240621@160719.2808 h1d6fjlbm4o970poj72sgh0s3t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =005 and bo.boano =2024 and bo.obrano = 0000333 and bi.ref ='324.2330.00.1' and bi.lordem =70000
20240621@160719.3683 h1d6fjlbm4o970poj72sgh0s3t Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'az24062040765,284000007 ' 
20240621@160719.4391 h1d6fjlbm4o970poj72sgh0s3t Query : use flama_phc
20240621@160719.4396 h1d6fjlbm4o970poj72sgh0s3t Query : select top 1 1 valor from ts where ts.ndos = 61
20240621@160719.4506 h1d6fjlbm4o970poj72sgh0s3t Query : use flama_phc
20240621@160719.4511 h1d6fjlbm4o970poj72sgh0s3t 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')
20240621@160719.4684 h1d6fjlbm4o970poj72sgh0s3t Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =61
20240621@160719.4840 h1d6fjlbm4o970poj72sgh0s3t Query : use flama_phc
20240621@160719.4844 h1d6fjlbm4o970poj72sgh0s3t Query : select top 1 ~inactivo valor from fl where no = '2' and estab = 2 order by inactivo desc
20240621@160719.4931 h1d6fjlbm4o970poj72sgh0s3t Query : use flama_phc
20240621@160719.4936 h1d6fjlbm4o970poj72sgh0s3t Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -230
20240621@160719.4995 h1d6fjlbm4o970poj72sgh0s3t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='505';
20240621@160719.5011 h1d6fjlbm4o970poj72sgh0s3t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='505';
20240621@161913.9592 m5fluviug26ssmqg1kn5oetjpp Query : use flama_phc
20240621@161913.9597 m5fluviug26ssmqg1kn5oetjpp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@161913.9636 m5fluviug26ssmqg1kn5oetjpp Query : use flama_phc
20240621@161913.9639 m5fluviug26ssmqg1kn5oetjpp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@163614.1267 j13qmiu13o4jrqgd4j3631h8m7 Query : use flama_phc
20240621@163614.1272 j13qmiu13o4jrqgd4j3631h8m7 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@163614.1353 j13qmiu13o4jrqgd4j3631h8m7 Query : use flama_phc
20240621@163614.1356 j13qmiu13o4jrqgd4j3631h8m7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@165241.9940 185rjdiv8ukjnpcuo89o0roi8j Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@165241.1009 185rjdiv8ukjnpcuo89o0roi8j Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@165241.1026 185rjdiv8ukjnpcuo89o0roi8j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='506';
20240621@165241.1107 185rjdiv8ukjnpcuo89o0roi8j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='506';
20240621@165241.1121 185rjdiv8ukjnpcuo89o0roi8j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='506';
20240621@165241.1133 185rjdiv8ukjnpcuo89o0roi8j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='506';
20240621@165241.1161 185rjdiv8ukjnpcuo89o0roi8j Query : use flama_phc
20240621@165241.1164 185rjdiv8ukjnpcuo89o0roi8j Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@165241.1179 185rjdiv8ukjnpcuo89o0roi8j Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4970.00.1'
20240621@165241.1282 185rjdiv8ukjnpcuo89o0roi8j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =002 and bo.boano =2024 and bo.obrano = 2400205 and bi.ref ='324.4970.00.1' and bi.lordem =20000
20240621@165241.1628 185rjdiv8ukjnpcuo89o0roi8j Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'cps24022346863,853000002 ' 
20240621@165241.1954 185rjdiv8ukjnpcuo89o0roi8j Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4970.00.1'
20240621@165241.1964 185rjdiv8ukjnpcuo89o0roi8j Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =002 and bo.boano =2024 and bo.obrano = 2400205 and bi.ref ='324.4970.00.1' and bi.lordem =20000
20240621@165241.1975 185rjdiv8ukjnpcuo89o0roi8j Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'cps24022346863,853000002 ' 
20240621@165241.1987 185rjdiv8ukjnpcuo89o0roi8j Query : use flama_phc
20240621@165241.1990 185rjdiv8ukjnpcuo89o0roi8j Query : select top 1 1 valor from ts where ts.ndos = 61
20240621@165241.2000 185rjdiv8ukjnpcuo89o0roi8j Query : use flama_phc
20240621@165241.2002 185rjdiv8ukjnpcuo89o0roi8j 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')
20240621@165241.2020 185rjdiv8ukjnpcuo89o0roi8j Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =61
20240621@165241.2036 185rjdiv8ukjnpcuo89o0roi8j Query : use flama_phc
20240621@165241.2039 185rjdiv8ukjnpcuo89o0roi8j Query : select top 1 ~inactivo valor from fl where no = '202278' and estab = 00 order by inactivo desc
20240621@165241.2125 185rjdiv8ukjnpcuo89o0roi8j Query : use flama_phc
20240621@165241.2128 185rjdiv8ukjnpcuo89o0roi8j Query : select 1 valor from ts where ndos = 61
20240621@165241.2198 185rjdiv8ukjnpcuo89o0roi8j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240621@165241.2531 185rjdiv8ukjnpcuo89o0roi8j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20240621@165241.2594 185rjdiv8ukjnpcuo89o0roi8j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240621@165241.2630 185rjdiv8ukjnpcuo89o0roi8j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20240621@165241.2638 185rjdiv8ukjnpcuo89o0roi8j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240621@165241.2650 185rjdiv8ukjnpcuo89o0roi8j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20240621@165241.2656 185rjdiv8ukjnpcuo89o0roi8j Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 61
20240621@165241.2791 185rjdiv8ukjnpcuo89o0roi8j Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240621@165241.2904 185rjdiv8ukjnpcuo89o0roi8j Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240621@165241.2922 185rjdiv8ukjnpcuo89o0roi8j Query : use flama_phc
20240621@165241.2925 185rjdiv8ukjnpcuo89o0roi8j Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202278' and estab=00
20240621@165241.3020 185rjdiv8ukjnpcuo89o0roi8j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240621@165241.3034 185rjdiv8ukjnpcuo89o0roi8j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20240621@165241.3066 185rjdiv8ukjnpcuo89o0roi8j Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6675a720106675a1c947',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240621@165241.3159 185rjdiv8ukjnpcuo89o0roi8j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240621@165241.3173 185rjdiv8ukjnpcuo89o0roi8j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20240621@165241.3180 185rjdiv8ukjnpcuo89o0roi8j Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6675a720106675a1c947','--','bo',1.0943643512450851900 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240621@165241.3387 185rjdiv8ukjnpcuo89o0roi8j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240621@165241.3403 185rjdiv8ukjnpcuo89o0roi8j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20240621@165241.3410 185rjdiv8ukjnpcuo89o0roi8j 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 ('aut6675a720106675a1c947','guia r. fornecedor','2024-06-21',61,2401790,?,?,?,?,?,?,?,?,2024, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240621@165245.2954 185rjdiv8ukjnpcuo89o0roi8j Query : use flama_phc
20240621@165245.2958 185rjdiv8ukjnpcuo89o0roi8j Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240621@165245.3073 185rjdiv8ukjnpcuo89o0roi8j Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240621@165245.3233 185rjdiv8ukjnpcuo89o0roi8j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240621@165245.3247 185rjdiv8ukjnpcuo89o0roi8j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20240621@165245.3259 185rjdiv8ukjnpcuo89o0roi8j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240621@165245.3271 185rjdiv8ukjnpcuo89o0roi8j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20240621@165245.3278 185rjdiv8ukjnpcuo89o0roi8j Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400205200a'
20240621@165245.3331 185rjdiv8ukjnpcuo89o0roi8j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240621@165245.3344 185rjdiv8ukjnpcuo89o0roi8j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20240621@165245.3350 185rjdiv8ukjnpcuo89o0roi8j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240621@165245.3365 185rjdiv8ukjnpcuo89o0roi8j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20240621@165245.3371 185rjdiv8ukjnpcuo89o0roi8j Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6675a262096675a1cd51',?,?,'20240621',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20240621@165245.4371 185rjdiv8ukjnpcuo89o0roi8j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240621@165245.4411 185rjdiv8ukjnpcuo89o0roi8j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240621@165245.4424 185rjdiv8ukjnpcuo89o0roi8j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20240621@165245.4432 185rjdiv8ukjnpcuo89o0roi8j Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6675a110306675a1cd6b','aut6675a720106675a1c947',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 = 'aut6675a720106675a1c947'
20240621@165245.4608 185rjdiv8ukjnpcuo89o0roi8j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240621@165245.4625 185rjdiv8ukjnpcuo89o0roi8j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20240621@165245.4639 185rjdiv8ukjnpcuo89o0roi8j 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 'aut6675a110306675a1cd6b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 12, 12*.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 ,7.63,7.63*200.48,7.63,7.63*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,7.63*12,7.63*12*200.48 ,8.448000,8.448000*200.48 ,8.448000,8.448000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,7.63,7.63*200.48,7.63*12,7.63*12*200.48,'cps24022346863,853000002 ',8.35,8.35*12,8.35,8.35*12,?,?,?,4 from bo bo where bo.bostamp = 'aut6675a720106675a1c947'
20240621@165306.2019 185rjdiv8ukjnpcuo89o0roi8j Query : use flama_phc
20240621@165306.2024 185rjdiv8ukjnpcuo89o0roi8j Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240621@165306.2037 185rjdiv8ukjnpcuo89o0roi8j Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240621@165306.2049 185rjdiv8ukjnpcuo89o0roi8j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240621@165306.2062 185rjdiv8ukjnpcuo89o0roi8j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20240621@165306.2073 185rjdiv8ukjnpcuo89o0roi8j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240621@165306.2087 185rjdiv8ukjnpcuo89o0roi8j Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20240621@165306.2092 185rjdiv8ukjnpcuo89o0roi8j Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400205200a'
20240621@165306.2103 185rjdiv8ukjnpcuo89o0roi8j Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240621@165306.2116 185rjdiv8ukjnpcuo89o0roi8j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240621@165306.2128 185rjdiv8ukjnpcuo89o0roi8j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20240621@165306.2134 185rjdiv8ukjnpcuo89o0roi8j Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut6675a858626675a1e233','aut6675a720106675a1c947',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 = 'aut6675a720106675a1c947'
20240621@165306.2323 185rjdiv8ukjnpcuo89o0roi8j Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240621@165306.2339 185rjdiv8ukjnpcuo89o0roi8j Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20240621@165306.2352 185rjdiv8ukjnpcuo89o0roi8j 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 'aut6675a858626675a1e233',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 4788, 4788*.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,20000 ,7.63,7.63*200.48,7.63,7.63*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,7.63*4788,7.63*4788*200.48 ,8.084000,8.084000*200.48 ,8.084000,8.084000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,7.63,7.63*200.48,7.63*4788,7.63*4788*200.48,'cps24022346863,853000002 ',8.35,8.35*4788,8.35,8.35*4788,?,?,?,4 from bo bo where bo.bostamp = 'aut6675a720106675a1c947'
20240621@165320.2737 185rjdiv8ukjnpcuo89o0roi8j Query : use flama_phc
20240621@165320.2742 185rjdiv8ukjnpcuo89o0roi8j Query : declare @bostamp varchar(25) = 'aut6675a720106675a1c947' ,@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 
20240621@165328.1723 185rjdiv8ukjnpcuo89o0roi8j Query : use flama_phc
20240621@165328.1727 185rjdiv8ukjnpcuo89o0roi8j Query : select 1 valor from bo where bo.bostamp = 'aut6675a720106675a1c947'
20240621@165328.1828 185rjdiv8ukjnpcuo89o0roi8j 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) = 'aut6675a720106675a1c947' 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 
20240621@165331.3224 185rjdiv8ukjnpcuo89o0roi8j Query : use flama_phc
20240621@165331.3228 185rjdiv8ukjnpcuo89o0roi8j Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@165331.3239 185rjdiv8ukjnpcuo89o0roi8j Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='506';
20240621@165331.3254 185rjdiv8ukjnpcuo89o0roi8j Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='506';
20240621@171917.7502 6o5vjm8ti6p62s13dcnoi8596m Query : use flama_phc
20240621@171917.7519 6o5vjm8ti6p62s13dcnoi8596m Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@171917.7536 6o5vjm8ti6p62s13dcnoi8596m Query : use flama_phc
20240621@171917.7539 6o5vjm8ti6p62s13dcnoi8596m Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@173617.6479 dhgn6qmvd90taq4qauqbkun6f8 Query : use flama_phc
20240621@173617.6484 dhgn6qmvd90taq4qauqbkun6f8 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@173617.6504 dhgn6qmvd90taq4qauqbkun6f8 Query : use flama_phc
20240621@173617.6507 dhgn6qmvd90taq4qauqbkun6f8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@180735.5159 nlohakl7d5adj943179bl4visk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@180735.5174 nlohakl7d5adj943179bl4visk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@180735.5195 nlohakl7d5adj943179bl4visk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='507';
20240621@180735.5239 nlohakl7d5adj943179bl4visk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='507';
20240621@180735.5256 nlohakl7d5adj943179bl4visk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='507';
20240621@180735.5267 nlohakl7d5adj943179bl4visk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='507';
20240621@180735.5280 nlohakl7d5adj943179bl4visk Query : use flama_phc
20240621@180735.5283 nlohakl7d5adj943179bl4visk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@180735.5304 nlohakl7d5adj943179bl4visk Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '304.4320.00.1'
20240621@180735.5320 nlohakl7d5adj943179bl4visk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =005 and bo.boano =2024 and bo.obrano = 0000337 and bi.ref ='304.4320.00.1' and bi.lordem =50000
20240621@180735.5675 nlohakl7d5adj943179bl4visk Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'az24062154854,745000005 ' 
20240621@180735.5978 nlohakl7d5adj943179bl4visk Query : use flama_phc
20240621@180735.5982 nlohakl7d5adj943179bl4visk Query : select top 1 1 valor from ts where ts.ndos = 61
20240621@180735.6059 nlohakl7d5adj943179bl4visk Query : use flama_phc
20240621@180735.6063 nlohakl7d5adj943179bl4visk 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')
20240621@180735.6100 nlohakl7d5adj943179bl4visk Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =61
20240621@180735.6132 nlohakl7d5adj943179bl4visk Query : use flama_phc
20240621@180735.6135 nlohakl7d5adj943179bl4visk Query : select top 1 ~inactivo valor from fl where no = '2' and estab = 2 order by inactivo desc
20240621@180735.6147 nlohakl7d5adj943179bl4visk Query : use flama_phc
20240621@180735.6150 nlohakl7d5adj943179bl4visk Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -230
20240621@180735.6177 nlohakl7d5adj943179bl4visk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='507';
20240621@180735.6211 nlohakl7d5adj943179bl4visk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='507';
20240621@181916.7919 glnjgmaea72rb6q4hq763bemsq Query : use flama_phc
20240621@181916.7932 glnjgmaea72rb6q4hq763bemsq Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@181916.7949 glnjgmaea72rb6q4hq763bemsq Query : use flama_phc
20240621@181916.7951 glnjgmaea72rb6q4hq763bemsq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@183617.8940 12ngd9cic5m5rdccp8thm0oglr Query : use flama_phc
20240621@183617.9020 12ngd9cic5m5rdccp8thm0oglr Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@183617.9190 12ngd9cic5m5rdccp8thm0oglr Query : use flama_phc
20240621@183617.9210 12ngd9cic5m5rdccp8thm0oglr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@191913.9389 g867aa1stnc9vhg6d14jdcpvlq Query : use flama_phc
20240621@191913.9396 g867aa1stnc9vhg6d14jdcpvlq Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@191913.9413 g867aa1stnc9vhg6d14jdcpvlq Query : use flama_phc
20240621@191913.9417 g867aa1stnc9vhg6d14jdcpvlq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@193614.7100 2pjt4o5sie2kf1am6qvtc4ftv3 Query : use flama_phc
20240621@193614.8100 2pjt4o5sie2kf1am6qvtc4ftv3 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@193614.9800 2pjt4o5sie2kf1am6qvtc4ftv3 Query : use flama_phc
20240621@193614.1010 2pjt4o5sie2kf1am6qvtc4ftv3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@201955.1841 oop0tqhqjshhmigs5qh1tpjmqh Query : use flama_phc
20240621@201955.1845 oop0tqhqjshhmigs5qh1tpjmqh Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@201955.1864 oop0tqhqjshhmigs5qh1tpjmqh Query : use flama_phc
20240621@201955.1867 oop0tqhqjshhmigs5qh1tpjmqh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@201955.4047 pd17fdh7cp147nrp6sstv4a2ki Query : use flama_phc
20240621@201955.4053 pd17fdh7cp147nrp6sstv4a2ki Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@201955.4069 pd17fdh7cp147nrp6sstv4a2ki Query : use flama_phc
20240621@201955.4072 pd17fdh7cp147nrp6sstv4a2ki Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@203615.8266 muvuo544v5ch3602ufrck3s39t Query : use flama_phc
20240621@203615.8271 muvuo544v5ch3602ufrck3s39t Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@203615.8287 muvuo544v5ch3602ufrck3s39t Query : use flama_phc
20240621@203615.8290 muvuo544v5ch3602ufrck3s39t Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@211915.5080 ostpo1psb3i92k85ftnrf7lvtt Query : use flama_phc
20240621@211915.5170 ostpo1psb3i92k85ftnrf7lvtt Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@211915.5340 ostpo1psb3i92k85ftnrf7lvtt Query : use flama_phc
20240621@211915.5360 ostpo1psb3i92k85ftnrf7lvtt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@212311.5389 7m2hvmargu7mug9nhgajj9ekj6 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@212311.5405 7m2hvmargu7mug9nhgajj9ekj6 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@212311.5498 7m2hvmargu7mug9nhgajj9ekj6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='508';
20240621@212311.5540 7m2hvmargu7mug9nhgajj9ekj6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='508';
20240621@212311.5554 7m2hvmargu7mug9nhgajj9ekj6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='508';
20240621@212311.5566 7m2hvmargu7mug9nhgajj9ekj6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='508';
20240621@212311.5578 7m2hvmargu7mug9nhgajj9ekj6 Query : use flama_phc
20240621@212311.5581 7m2hvmargu7mug9nhgajj9ekj6 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@212311.5596 7m2hvmargu7mug9nhgajj9ekj6 Query : use flama_phc
20240621@212311.5599 7m2hvmargu7mug9nhgajj9ekj6 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4537
20240621@212311.5697 7m2hvmargu7mug9nhgajj9ekj6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4906.00.1'
20240621@212311.5853 7m2hvmargu7mug9nhgajj9ekj6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240621@212311.5997 7m2hvmargu7mug9nhgajj9ekj6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240621@212311.6007 7m2hvmargu7mug9nhgajj9ekj6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240621@212311.6017 7m2hvmargu7mug9nhgajj9ekj6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1536.00.1'
20240621@212311.6160 7m2hvmargu7mug9nhgajj9ekj6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1536.00.1'
20240621@212311.6170 7m2hvmargu7mug9nhgajj9ekj6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20240621@212311.6321 7m2hvmargu7mug9nhgajj9ekj6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1690.00.1'
20240621@212311.6472 7m2hvmargu7mug9nhgajj9ekj6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20240621@212311.6708 7m2hvmargu7mug9nhgajj9ekj6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240621@212311.6858 7m2hvmargu7mug9nhgajj9ekj6 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4723.00.2'
20240621@212311.7004 7m2hvmargu7mug9nhgajj9ekj6 Query : use flama_phc
20240621@212311.7007 7m2hvmargu7mug9nhgajj9ekj6 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240621@212311.7180 7m2hvmargu7mug9nhgajj9ekj6 Query : use flama_phc
20240621@212311.7183 7m2hvmargu7mug9nhgajj9ekj6 Query : select top 1 1 valor from td where td.ndoc = 39
20240621@212311.7262 7m2hvmargu7mug9nhgajj9ekj6 Query : use flama_phc
20240621@212311.7264 7m2hvmargu7mug9nhgajj9ekj6 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')
20240621@212311.7715 c8eg4u5b095umatjlufo3p1kes Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@212311.7733 c8eg4u5b095umatjlufo3p1kes Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@212311.7752 c8eg4u5b095umatjlufo3p1kes Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='509';
20240621@212311.7793 c8eg4u5b095umatjlufo3p1kes Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='509';
20240621@212311.7806 c8eg4u5b095umatjlufo3p1kes Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='509';
20240621@212311.7818 c8eg4u5b095umatjlufo3p1kes Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='509';
20240621@212311.7830 c8eg4u5b095umatjlufo3p1kes Query : use flama_phc
20240621@212311.7833 c8eg4u5b095umatjlufo3p1kes Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@212311.7847 c8eg4u5b095umatjlufo3p1kes Query : use flama_phc
20240621@212311.7850 c8eg4u5b095umatjlufo3p1kes Query : select no, estab,szadrsdesc from szadrs where u_coddest=4779
20240621@212311.7932 c8eg4u5b095umatjlufo3p1kes Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20240621@212311.7943 c8eg4u5b095umatjlufo3p1kes Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20240621@212311.8090 c8eg4u5b095umatjlufo3p1kes Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240621@212311.8353 c8eg4u5b095umatjlufo3p1kes Query : use flama_phc
20240621@212311.8356 c8eg4u5b095umatjlufo3p1kes Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240621@212311.8576 c8eg4u5b095umatjlufo3p1kes Query : use flama_phc
20240621@212311.8583 c8eg4u5b095umatjlufo3p1kes Query : select top 1 1 valor from td where td.ndoc = 39
20240621@212311.8594 c8eg4u5b095umatjlufo3p1kes Query : use flama_phc
20240621@212311.8597 c8eg4u5b095umatjlufo3p1kes 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')
20240621@212311.9061 2mlpdjugsi20tu0j0733qiaejf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@212311.9079 2mlpdjugsi20tu0j0733qiaejf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@212311.9094 2mlpdjugsi20tu0j0733qiaejf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='510';
20240621@212312.9800 2mlpdjugsi20tu0j0733qiaejf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='510';
20240621@212312.2210 2mlpdjugsi20tu0j0733qiaejf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='510';
20240621@212312.2350 2mlpdjugsi20tu0j0733qiaejf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='510';
20240621@212312.2470 2mlpdjugsi20tu0j0733qiaejf Query : use flama_phc
20240621@212312.2500 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@212312.2640 2mlpdjugsi20tu0j0733qiaejf Query : use flama_phc
20240621@212312.2670 2mlpdjugsi20tu0j0733qiaejf Query : select no, estab,szadrsdesc from szadrs where u_coddest=5546
20240621@212312.3600 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1684.00.1'
20240621@212312.5030 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1417.00.1'
20240621@212312.6680 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1407.00.1'
20240621@212312.8070 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1407.00.1'
20240621@212312.8170 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5343.00.1'
20240621@212312.9570 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20240621@212312.1098 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20240621@212312.1108 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240621@212312.1252 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240621@212312.1262 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240621@212312.1271 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4901.00.1'
20240621@212312.1410 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4901.00.1'
20240621@212312.1420 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4901.00.1'
20240621@212312.1430 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4421.00.1'
20240621@212312.1573 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4421.00.1'
20240621@212312.1584 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4860.00.1'
20240621@212312.1726 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4160.00.1'
20240621@212312.1869 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240621@212312.2104 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240621@212312.2199 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1221.00.1'
20240621@212312.2344 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1578.00.1'
20240621@212312.2483 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1578.00.1'
20240621@212312.2492 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1716.00.1'
20240621@212312.2697 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4930.00.1'
20240621@212312.2849 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20240621@212312.2862 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2031.00.1'
20240621@212312.3002 2mlpdjugsi20tu0j0733qiaejf Query : use flama_phc
20240621@212312.3005 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240621@212312.3018 2mlpdjugsi20tu0j0733qiaejf Query : use flama_phc
20240621@212312.3021 2mlpdjugsi20tu0j0733qiaejf Query : select top 1 1 valor from td where td.ndoc = 39
20240621@212312.3031 2mlpdjugsi20tu0j0733qiaejf Query : use flama_phc
20240621@212312.3034 2mlpdjugsi20tu0j0733qiaejf 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')
20240621@212312.3537 mc9vbjhrrno3brer6uvstk9uo1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@212312.3555 mc9vbjhrrno3brer6uvstk9uo1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@212312.3572 mc9vbjhrrno3brer6uvstk9uo1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='511';
20240621@212312.3611 mc9vbjhrrno3brer6uvstk9uo1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='511';
20240621@212312.3626 mc9vbjhrrno3brer6uvstk9uo1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='511';
20240621@212312.3638 mc9vbjhrrno3brer6uvstk9uo1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='511';
20240621@212312.3650 mc9vbjhrrno3brer6uvstk9uo1 Query : use flama_phc
20240621@212312.3653 mc9vbjhrrno3brer6uvstk9uo1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@212312.3668 mc9vbjhrrno3brer6uvstk9uo1 Query : use flama_phc
20240621@212312.3670 mc9vbjhrrno3brer6uvstk9uo1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240621@212312.3741 mc9vbjhrrno3brer6uvstk9uo1 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'
20240621@212312.3952 mc9vbjhrrno3brer6uvstk9uo1 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'
20240621@212312.4032 mc9vbjhrrno3brer6uvstk9uo1 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'
20240621@212312.4042 mc9vbjhrrno3brer6uvstk9uo1 Query : use flama_phc
20240621@212312.4045 mc9vbjhrrno3brer6uvstk9uo1 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240621@212312.4057 mc9vbjhrrno3brer6uvstk9uo1 Query : use flama_phc
20240621@212312.4060 mc9vbjhrrno3brer6uvstk9uo1 Query : select top 1 1 valor from td where td.ndoc = 39
20240621@212312.4070 mc9vbjhrrno3brer6uvstk9uo1 Query : use flama_phc
20240621@212312.4073 mc9vbjhrrno3brer6uvstk9uo1 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')
20240621@212312.5491 sgrjqaaai9k0iul4960moc9k7i Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@212312.5507 sgrjqaaai9k0iul4960moc9k7i Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@212312.5523 sgrjqaaai9k0iul4960moc9k7i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='512';
20240621@212312.5562 sgrjqaaai9k0iul4960moc9k7i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='512';
20240621@212312.5575 sgrjqaaai9k0iul4960moc9k7i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='512';
20240621@212312.5586 sgrjqaaai9k0iul4960moc9k7i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='512';
20240621@212312.5598 sgrjqaaai9k0iul4960moc9k7i Query : use flama_phc
20240621@212312.5601 sgrjqaaai9k0iul4960moc9k7i Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@212312.5614 sgrjqaaai9k0iul4960moc9k7i Query : use flama_phc
20240621@212312.5617 sgrjqaaai9k0iul4960moc9k7i Query : select no, estab,szadrsdesc from szadrs where u_coddest=6917
20240621@212312.5694 sgrjqaaai9k0iul4960moc9k7i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20240621@212312.5838 sgrjqaaai9k0iul4960moc9k7i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2000.94.1'
20240621@212312.5982 sgrjqaaai9k0iul4960moc9k7i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20240621@212312.6140 sgrjqaaai9k0iul4960moc9k7i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.700.94.01'
20240621@212312.6285 sgrjqaaai9k0iul4960moc9k7i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20240621@212312.6418 sgrjqaaai9k0iul4960moc9k7i Query : use flama_phc
20240621@212312.6421 sgrjqaaai9k0iul4960moc9k7i Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240621@212312.6434 sgrjqaaai9k0iul4960moc9k7i Query : use flama_phc
20240621@212312.6437 sgrjqaaai9k0iul4960moc9k7i Query : select top 1 1 valor from td where td.ndoc = 39
20240621@212312.6447 sgrjqaaai9k0iul4960moc9k7i Query : use flama_phc
20240621@212312.6450 sgrjqaaai9k0iul4960moc9k7i 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')
20240621@212312.6901 kiji0s4voqfla194eoru2maeua Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@212312.6916 kiji0s4voqfla194eoru2maeua Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@212312.6933 kiji0s4voqfla194eoru2maeua Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='513';
20240621@212312.6967 kiji0s4voqfla194eoru2maeua Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='513';
20240621@212312.6980 kiji0s4voqfla194eoru2maeua Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='513';
20240621@212312.6992 kiji0s4voqfla194eoru2maeua Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='513';
20240621@212312.7004 kiji0s4voqfla194eoru2maeua Query : use flama_phc
20240621@212312.7006 kiji0s4voqfla194eoru2maeua Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@212312.7020 kiji0s4voqfla194eoru2maeua Query : use flama_phc
20240621@212312.7023 kiji0s4voqfla194eoru2maeua Query : select no, estab,szadrsdesc from szadrs where u_coddest=4774
20240621@212312.7096 kiji0s4voqfla194eoru2maeua Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1461.00.1'
20240621@212312.7237 kiji0s4voqfla194eoru2maeua Query : use flama_phc
20240621@212312.7240 kiji0s4voqfla194eoru2maeua Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240621@212312.7252 kiji0s4voqfla194eoru2maeua Query : use flama_phc
20240621@212312.7255 kiji0s4voqfla194eoru2maeua Query : select top 1 1 valor from td where td.ndoc = 39
20240621@212312.7265 kiji0s4voqfla194eoru2maeua Query : use flama_phc
20240621@212312.7268 kiji0s4voqfla194eoru2maeua 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')
20240621@212312.7698 np1mpbdtc2lh62ecp9u5kq1f3s Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@212312.7715 np1mpbdtc2lh62ecp9u5kq1f3s Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@212312.7734 np1mpbdtc2lh62ecp9u5kq1f3s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='514';
20240621@212312.7774 np1mpbdtc2lh62ecp9u5kq1f3s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='514';
20240621@212312.7787 np1mpbdtc2lh62ecp9u5kq1f3s Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='514';
20240621@212312.7799 np1mpbdtc2lh62ecp9u5kq1f3s Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='514';
20240621@212312.7810 np1mpbdtc2lh62ecp9u5kq1f3s Query : use flama_phc
20240621@212312.7813 np1mpbdtc2lh62ecp9u5kq1f3s Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@212312.7827 np1mpbdtc2lh62ecp9u5kq1f3s Query : use flama_phc
20240621@212312.7830 np1mpbdtc2lh62ecp9u5kq1f3s Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20240621@212312.7899 np1mpbdtc2lh62ecp9u5kq1f3s Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9326.00.1'
20240621@212312.8039 np1mpbdtc2lh62ecp9u5kq1f3s Query : use flama_phc
20240621@212312.8042 np1mpbdtc2lh62ecp9u5kq1f3s Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240621@212312.8055 np1mpbdtc2lh62ecp9u5kq1f3s Query : use flama_phc
20240621@212312.8058 np1mpbdtc2lh62ecp9u5kq1f3s Query : select top 1 1 valor from td where td.ndoc = 39
20240621@212312.8068 np1mpbdtc2lh62ecp9u5kq1f3s Query : use flama_phc
20240621@212312.8071 np1mpbdtc2lh62ecp9u5kq1f3s 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')
20240621@212312.8526 p3221mlnbcit3ur6mab98m8p8t Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@212312.8542 p3221mlnbcit3ur6mab98m8p8t Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@212312.8558 p3221mlnbcit3ur6mab98m8p8t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='515';
20240621@212312.8597 p3221mlnbcit3ur6mab98m8p8t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='515';
20240621@212312.8612 p3221mlnbcit3ur6mab98m8p8t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='515';
20240621@212312.8625 p3221mlnbcit3ur6mab98m8p8t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='515';
20240621@212312.8639 p3221mlnbcit3ur6mab98m8p8t Query : use flama_phc
20240621@212312.8642 p3221mlnbcit3ur6mab98m8p8t Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@212312.8657 p3221mlnbcit3ur6mab98m8p8t Query : use flama_phc
20240621@212312.8660 p3221mlnbcit3ur6mab98m8p8t Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240621@212312.8730 p3221mlnbcit3ur6mab98m8p8t Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.642.00.01'
20240621@212312.8870 p3221mlnbcit3ur6mab98m8p8t Query : use flama_phc
20240621@212312.8873 p3221mlnbcit3ur6mab98m8p8t Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240621@212312.8885 p3221mlnbcit3ur6mab98m8p8t Query : use flama_phc
20240621@212312.8888 p3221mlnbcit3ur6mab98m8p8t Query : select top 1 1 valor from td where td.ndoc = 39
20240621@212312.8898 p3221mlnbcit3ur6mab98m8p8t Query : use flama_phc
20240621@212312.8901 p3221mlnbcit3ur6mab98m8p8t 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')
20240621@212312.9340 vmqub4ck7m31cebldcfke1cj5l Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@212312.9359 vmqub4ck7m31cebldcfke1cj5l Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@212312.9375 vmqub4ck7m31cebldcfke1cj5l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='516';
20240621@212312.9413 vmqub4ck7m31cebldcfke1cj5l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='516';
20240621@212312.9426 vmqub4ck7m31cebldcfke1cj5l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='516';
20240621@212312.9438 vmqub4ck7m31cebldcfke1cj5l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='516';
20240621@212312.9449 vmqub4ck7m31cebldcfke1cj5l Query : use flama_phc
20240621@212312.9452 vmqub4ck7m31cebldcfke1cj5l Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@212312.9466 vmqub4ck7m31cebldcfke1cj5l Query : use flama_phc
20240621@212312.9469 vmqub4ck7m31cebldcfke1cj5l Query : select no, estab,szadrsdesc from szadrs where u_coddest=339
20240621@212312.9536 vmqub4ck7m31cebldcfke1cj5l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240621@212312.9546 vmqub4ck7m31cebldcfke1cj5l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20240621@212312.9687 vmqub4ck7m31cebldcfke1cj5l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1608.00.1'
20240621@212312.9822 vmqub4ck7m31cebldcfke1cj5l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.724.00.01'
20240621@212312.9951 vmqub4ck7m31cebldcfke1cj5l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.7002.00.1'
20240621@212313.9600 vmqub4ck7m31cebldcfke1cj5l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.969.00.01'
20240621@212313.2360 vmqub4ck7m31cebldcfke1cj5l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.01'
20240621@212313.3690 vmqub4ck7m31cebldcfke1cj5l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1528.00.1'
20240621@212313.5070 vmqub4ck7m31cebldcfke1cj5l Query : use flama_phc
20240621@212313.5100 vmqub4ck7m31cebldcfke1cj5l Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240621@212313.5230 vmqub4ck7m31cebldcfke1cj5l Query : use flama_phc
20240621@212313.5250 vmqub4ck7m31cebldcfke1cj5l Query : select top 1 1 valor from td where td.ndoc = 39
20240621@212313.5350 vmqub4ck7m31cebldcfke1cj5l Query : use flama_phc
20240621@212313.5380 vmqub4ck7m31cebldcfke1cj5l 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')
20240621@212313.9760 7151o3t4aol8sum1t5c354qab2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@212313.9940 7151o3t4aol8sum1t5c354qab2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@212313.1009 7151o3t4aol8sum1t5c354qab2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='517';
20240621@212313.1046 7151o3t4aol8sum1t5c354qab2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='517';
20240621@212313.1059 7151o3t4aol8sum1t5c354qab2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='517';
20240621@212313.1071 7151o3t4aol8sum1t5c354qab2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='517';
20240621@212313.1082 7151o3t4aol8sum1t5c354qab2 Query : use flama_phc
20240621@212313.1085 7151o3t4aol8sum1t5c354qab2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@212313.1098 7151o3t4aol8sum1t5c354qab2 Query : use flama_phc
20240621@212313.1101 7151o3t4aol8sum1t5c354qab2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=692
20240621@212313.1170 7151o3t4aol8sum1t5c354qab2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1290.1003'
20240621@212313.1322 7151o3t4aol8sum1t5c354qab2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1290.1003'
20240621@212313.1332 7151o3t4aol8sum1t5c354qab2 Query : use flama_phc
20240621@212313.1335 7151o3t4aol8sum1t5c354qab2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240621@212313.1347 7151o3t4aol8sum1t5c354qab2 Query : use flama_phc
20240621@212313.1350 7151o3t4aol8sum1t5c354qab2 Query : select top 1 1 valor from td where td.ndoc = 39
20240621@212313.1360 7151o3t4aol8sum1t5c354qab2 Query : use flama_phc
20240621@212313.1363 7151o3t4aol8sum1t5c354qab2 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')
20240621@212313.1840 onav3c44qbvp1k99a4ihd06fla Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@212313.1854 onav3c44qbvp1k99a4ihd06fla Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@212313.1869 onav3c44qbvp1k99a4ihd06fla Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='518';
20240621@212313.1907 onav3c44qbvp1k99a4ihd06fla Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='518';
20240621@212313.1920 onav3c44qbvp1k99a4ihd06fla Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='518';
20240621@212313.1932 onav3c44qbvp1k99a4ihd06fla Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='518';
20240621@212313.1943 onav3c44qbvp1k99a4ihd06fla Query : use flama_phc
20240621@212313.1946 onav3c44qbvp1k99a4ihd06fla Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@212313.1959 onav3c44qbvp1k99a4ihd06fla Query : use flama_phc
20240621@212313.1962 onav3c44qbvp1k99a4ihd06fla Query : select no, estab,szadrsdesc from szadrs where u_coddest=1397
20240621@212313.2030 onav3c44qbvp1k99a4ihd06fla 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'
20240621@212313.3222 onav3c44qbvp1k99a4ihd06fla Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20240621@212313.3362 onav3c44qbvp1k99a4ihd06fla Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20240621@212313.3372 onav3c44qbvp1k99a4ihd06fla Query : use flama_phc
20240621@212313.3375 onav3c44qbvp1k99a4ihd06fla Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240621@212313.3387 onav3c44qbvp1k99a4ihd06fla Query : use flama_phc
20240621@212313.3390 onav3c44qbvp1k99a4ihd06fla Query : select top 1 1 valor from td where td.ndoc = 39
20240621@212313.3400 onav3c44qbvp1k99a4ihd06fla Query : use flama_phc
20240621@212313.3402 onav3c44qbvp1k99a4ihd06fla 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')
20240621@212313.3840 jvlg0kotqghgpjjtshuru3j81d Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@212313.3859 jvlg0kotqghgpjjtshuru3j81d Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@212313.3877 jvlg0kotqghgpjjtshuru3j81d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='519';
20240621@212313.3916 jvlg0kotqghgpjjtshuru3j81d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='519';
20240621@212313.3929 jvlg0kotqghgpjjtshuru3j81d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='519';
20240621@212313.3941 jvlg0kotqghgpjjtshuru3j81d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='519';
20240621@212313.3952 jvlg0kotqghgpjjtshuru3j81d Query : use flama_phc
20240621@212313.3955 jvlg0kotqghgpjjtshuru3j81d Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@212313.3969 jvlg0kotqghgpjjtshuru3j81d Query : use flama_phc
20240621@212313.3972 jvlg0kotqghgpjjtshuru3j81d Query : select no, estab,szadrsdesc from szadrs where u_coddest=2227
20240621@212313.4043 jvlg0kotqghgpjjtshuru3j81d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2223.00.1'
20240621@212313.4181 jvlg0kotqghgpjjtshuru3j81d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20240621@212313.4321 jvlg0kotqghgpjjtshuru3j81d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20240621@212313.4456 jvlg0kotqghgpjjtshuru3j81d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20240621@212313.4592 jvlg0kotqghgpjjtshuru3j81d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4961.00.1'
20240621@212313.4724 jvlg0kotqghgpjjtshuru3j81d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4962.00.1'
20240621@212313.4858 jvlg0kotqghgpjjtshuru3j81d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4963.00.1'
20240621@212313.4996 jvlg0kotqghgpjjtshuru3j81d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4964.00.1'
20240621@212313.5129 jvlg0kotqghgpjjtshuru3j81d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4840.00.1'
20240621@212313.5262 jvlg0kotqghgpjjtshuru3j81d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4840.00.1'
20240621@212313.5271 jvlg0kotqghgpjjtshuru3j81d Query : use flama_phc
20240621@212313.5274 jvlg0kotqghgpjjtshuru3j81d Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240621@212313.5287 jvlg0kotqghgpjjtshuru3j81d Query : use flama_phc
20240621@212313.5289 jvlg0kotqghgpjjtshuru3j81d Query : select top 1 1 valor from td where td.ndoc = 39
20240621@212313.5299 jvlg0kotqghgpjjtshuru3j81d Query : use flama_phc
20240621@212313.5301 jvlg0kotqghgpjjtshuru3j81d 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')
20240621@212313.5747 cgpbp878t7ak3b8ks3emfmbq5k Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@212313.5759 cgpbp878t7ak3b8ks3emfmbq5k Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@212313.5775 cgpbp878t7ak3b8ks3emfmbq5k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='520';
20240621@212313.5813 cgpbp878t7ak3b8ks3emfmbq5k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='520';
20240621@212313.5825 cgpbp878t7ak3b8ks3emfmbq5k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='520';
20240621@212313.5837 cgpbp878t7ak3b8ks3emfmbq5k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='520';
20240621@212313.5848 cgpbp878t7ak3b8ks3emfmbq5k Query : use flama_phc
20240621@212313.5851 cgpbp878t7ak3b8ks3emfmbq5k Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@212313.5872 cgpbp878t7ak3b8ks3emfmbq5k Query : use flama_phc
20240621@212313.5874 cgpbp878t7ak3b8ks3emfmbq5k Query : select no, estab,szadrsdesc from szadrs where u_coddest=2227
20240621@212313.5904 cgpbp878t7ak3b8ks3emfmbq5k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2223.00.1'
20240621@212313.5914 cgpbp878t7ak3b8ks3emfmbq5k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2224.00.1'
20240621@212313.5924 cgpbp878t7ak3b8ks3emfmbq5k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2221.00.1'
20240621@212313.5933 cgpbp878t7ak3b8ks3emfmbq5k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2222.00.1'
20240621@212313.5942 cgpbp878t7ak3b8ks3emfmbq5k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4961.00.1'
20240621@212313.5951 cgpbp878t7ak3b8ks3emfmbq5k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4962.00.1'
20240621@212313.5961 cgpbp878t7ak3b8ks3emfmbq5k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4963.00.1'
20240621@212313.5970 cgpbp878t7ak3b8ks3emfmbq5k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4964.00.1'
20240621@212313.5980 cgpbp878t7ak3b8ks3emfmbq5k Query : use flama_phc
20240621@212313.5983 cgpbp878t7ak3b8ks3emfmbq5k Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240621@212313.5995 cgpbp878t7ak3b8ks3emfmbq5k Query : use flama_phc
20240621@212313.5998 cgpbp878t7ak3b8ks3emfmbq5k Query : select top 1 1 valor from td where td.ndoc = 39
20240621@212313.6007 cgpbp878t7ak3b8ks3emfmbq5k Query : use flama_phc
20240621@212313.6010 cgpbp878t7ak3b8ks3emfmbq5k 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')
20240621@212313.6464 1gmgi4lt57bqrkc1prmg3qkh43 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@212313.6482 1gmgi4lt57bqrkc1prmg3qkh43 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@212313.6500 1gmgi4lt57bqrkc1prmg3qkh43 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='521';
20240621@212313.6537 1gmgi4lt57bqrkc1prmg3qkh43 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='521';
20240621@212313.6551 1gmgi4lt57bqrkc1prmg3qkh43 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='521';
20240621@212313.6562 1gmgi4lt57bqrkc1prmg3qkh43 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='521';
20240621@212313.6608 1gmgi4lt57bqrkc1prmg3qkh43 Query : use flama_phc
20240621@212313.6649 1gmgi4lt57bqrkc1prmg3qkh43 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@212313.6770 1gmgi4lt57bqrkc1prmg3qkh43 Query : use flama_phc
20240621@212313.6774 1gmgi4lt57bqrkc1prmg3qkh43 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2759
20240621@212313.6845 1gmgi4lt57bqrkc1prmg3qkh43 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'
20240621@212313.6986 1gmgi4lt57bqrkc1prmg3qkh43 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20240621@212313.7119 1gmgi4lt57bqrkc1prmg3qkh43 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'
20240621@212313.7130 1gmgi4lt57bqrkc1prmg3qkh43 Query : use flama_phc
20240621@212313.7133 1gmgi4lt57bqrkc1prmg3qkh43 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240621@212313.7146 1gmgi4lt57bqrkc1prmg3qkh43 Query : use flama_phc
20240621@212313.7148 1gmgi4lt57bqrkc1prmg3qkh43 Query : select top 1 1 valor from td where td.ndoc = 39
20240621@212313.7159 1gmgi4lt57bqrkc1prmg3qkh43 Query : use flama_phc
20240621@212313.7178 1gmgi4lt57bqrkc1prmg3qkh43 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')
20240621@212313.7622 9kqt71k8pukdpg1chgt3608g86 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@212313.7634 9kqt71k8pukdpg1chgt3608g86 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@212313.7650 9kqt71k8pukdpg1chgt3608g86 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='522';
20240621@212313.7688 9kqt71k8pukdpg1chgt3608g86 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='522';
20240621@212313.7700 9kqt71k8pukdpg1chgt3608g86 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='522';
20240621@212313.7711 9kqt71k8pukdpg1chgt3608g86 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='522';
20240621@212313.7723 9kqt71k8pukdpg1chgt3608g86 Query : use flama_phc
20240621@212313.7726 9kqt71k8pukdpg1chgt3608g86 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@212313.7739 9kqt71k8pukdpg1chgt3608g86 Query : use flama_phc
20240621@212313.7744 9kqt71k8pukdpg1chgt3608g86 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240621@212313.7774 9kqt71k8pukdpg1chgt3608g86 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1667.00.1'
20240621@212313.7916 9kqt71k8pukdpg1chgt3608g86 Query : use flama_phc
20240621@212313.7919 9kqt71k8pukdpg1chgt3608g86 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240621@212313.7931 9kqt71k8pukdpg1chgt3608g86 Query : use flama_phc
20240621@212313.7934 9kqt71k8pukdpg1chgt3608g86 Query : select top 1 1 valor from td where td.ndoc = 39
20240621@212313.7944 9kqt71k8pukdpg1chgt3608g86 Query : use flama_phc
20240621@212313.7947 9kqt71k8pukdpg1chgt3608g86 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')
20240621@212313.8404 9jaf9443ptjdag830j7c2ld2kv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@212313.8422 9jaf9443ptjdag830j7c2ld2kv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@212313.8437 9jaf9443ptjdag830j7c2ld2kv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='523';
20240621@212313.8546 9jaf9443ptjdag830j7c2ld2kv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='523';
20240621@212313.8562 9jaf9443ptjdag830j7c2ld2kv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='523';
20240621@212313.8575 9jaf9443ptjdag830j7c2ld2kv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='523';
20240621@212313.8588 9jaf9443ptjdag830j7c2ld2kv Query : use flama_phc
20240621@212313.8591 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@212313.8604 9jaf9443ptjdag830j7c2ld2kv Query : use flama_phc
20240621@212313.8607 9jaf9443ptjdag830j7c2ld2kv Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240621@212313.8636 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8777 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8787 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8796 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8805 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8814 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8824 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8833 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8842 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8851 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8860 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8868 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8877 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8886 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8895 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8914 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8923 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8932 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8941 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8950 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8959 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8967 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8976 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8987 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.8999 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.9008 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.9016 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.9025 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.9042 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.9051 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.9060 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.9069 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240621@212313.9078 9jaf9443ptjdag830j7c2ld2kv Query : use flama_phc
20240621@212313.9080 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240621@212313.9093 9jaf9443ptjdag830j7c2ld2kv Query : use flama_phc
20240621@212313.9096 9jaf9443ptjdag830j7c2ld2kv Query : select top 1 1 valor from td where td.ndoc = 39
20240621@212313.9105 9jaf9443ptjdag830j7c2ld2kv Query : use flama_phc
20240621@212313.9108 9jaf9443ptjdag830j7c2ld2kv 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')
20240621@212313.9586 2a1pghfs42m6h7m8u9nrhbfj1k Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@212313.9605 2a1pghfs42m6h7m8u9nrhbfj1k Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@212313.9621 2a1pghfs42m6h7m8u9nrhbfj1k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='524';
20240621@212313.9817 2a1pghfs42m6h7m8u9nrhbfj1k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='524';
20240621@212313.9855 2a1pghfs42m6h7m8u9nrhbfj1k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='524';
20240621@212313.9869 2a1pghfs42m6h7m8u9nrhbfj1k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='524';
20240621@212313.9882 2a1pghfs42m6h7m8u9nrhbfj1k Query : use flama_phc
20240621@212313.9886 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@212313.9900 2a1pghfs42m6h7m8u9nrhbfj1k Query : use flama_phc
20240621@212313.9903 2a1pghfs42m6h7m8u9nrhbfj1k Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240621@212313.9933 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240621@212314.7800 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240621@212314.8700 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240621@212314.9700 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240621@212314.1060 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240621@212314.1150 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240621@212314.1250 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240621@212314.1350 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240621@212314.1440 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240621@212314.1530 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240621@212314.1620 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240621@212314.1730 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240621@212314.1820 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240621@212314.1920 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240621@212314.2020 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240621@212314.2120 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240621@212314.2210 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240621@212314.2300 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240621@212314.2400 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240621@212314.2510 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240621@212314.2610 2a1pghfs42m6h7m8u9nrhbfj1k Query : use flama_phc
20240621@212314.2640 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240621@212314.2760 2a1pghfs42m6h7m8u9nrhbfj1k Query : use flama_phc
20240621@212314.2790 2a1pghfs42m6h7m8u9nrhbfj1k Query : select top 1 1 valor from td where td.ndoc = 39
20240621@212314.2890 2a1pghfs42m6h7m8u9nrhbfj1k Query : use flama_phc
20240621@212314.2920 2a1pghfs42m6h7m8u9nrhbfj1k 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')
20240621@212314.8220 nhpu6u0j06jb38143q3tqpk2ok Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@212314.8410 nhpu6u0j06jb38143q3tqpk2ok Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@212314.8570 nhpu6u0j06jb38143q3tqpk2ok Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='525';
20240621@212314.8950 nhpu6u0j06jb38143q3tqpk2ok Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='525';
20240621@212314.9080 nhpu6u0j06jb38143q3tqpk2ok Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='525';
20240621@212314.9200 nhpu6u0j06jb38143q3tqpk2ok Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='525';
20240621@212314.9320 nhpu6u0j06jb38143q3tqpk2ok Query : use flama_phc
20240621@212314.9350 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@212314.9490 nhpu6u0j06jb38143q3tqpk2ok Query : use flama_phc
20240621@212314.9510 nhpu6u0j06jb38143q3tqpk2ok Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240621@212314.1039 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.1380 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.1574 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.1597 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.1607 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.1684 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.1693 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.1744 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.1790 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2076 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2087 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2095 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2104 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2113 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2176 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2186 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2194 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2204 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2213 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2222 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2232 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2242 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2251 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2260 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2269 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2278 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2287 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2296 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2304 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2314 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240621@212314.2323 nhpu6u0j06jb38143q3tqpk2ok Query : use flama_phc
20240621@212314.2326 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240621@212314.2339 nhpu6u0j06jb38143q3tqpk2ok Query : use flama_phc
20240621@212314.2341 nhpu6u0j06jb38143q3tqpk2ok Query : select top 1 1 valor from td where td.ndoc = 39
20240621@212314.2351 nhpu6u0j06jb38143q3tqpk2ok Query : use flama_phc
20240621@212314.2354 nhpu6u0j06jb38143q3tqpk2ok 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')
20240621@212314.3879 2pfuatrllna2l2n4kcd309o0sr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240621@212314.3900 2pfuatrllna2l2n4kcd309o0sr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240621@212314.3918 2pfuatrllna2l2n4kcd309o0sr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='526';
20240621@212314.3959 2pfuatrllna2l2n4kcd309o0sr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='526';
20240621@212314.3972 2pfuatrllna2l2n4kcd309o0sr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='526';
20240621@212314.3986 2pfuatrllna2l2n4kcd309o0sr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='526';
20240621@212314.4001 2pfuatrllna2l2n4kcd309o0sr Query : use flama_phc
20240621@212314.4004 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240621@212314.4019 2pfuatrllna2l2n4kcd309o0sr Query : use flama_phc
20240621@212314.4022 2pfuatrllna2l2n4kcd309o0sr Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240621@212314.4057 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4219 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4228 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4238 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4247 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4256 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4265 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4274 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4283 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4292 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4301 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4310 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4319 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4330 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4340 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4349 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4358 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4368 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4378 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4388 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4398 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4408 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4417 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4449 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4458 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4467 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4477 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4486 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4495 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4503 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240621@212314.4513 2pfuatrllna2l2n4kcd309o0sr Query : use flama_phc
20240621@212314.4516 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240621@212314.4530 2pfuatrllna2l2n4kcd309o0sr Query : use flama_phc
20240621@212314.4533 2pfuatrllna2l2n4kcd309o0sr Query : select top 1 1 valor from td where td.ndoc = 39
20240621@212314.4543 2pfuatrllna2l2n4kcd309o0sr Query : use flama_phc
20240621@212314.4546 2pfuatrllna2l2n4kcd309o0sr 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')
20240621@213615.1990 dclbmj5nn7pl4fmb93g7sion4u Query : use flama_phc
20240621@213615.1997 dclbmj5nn7pl4fmb93g7sion4u Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@213615.2023 dclbmj5nn7pl4fmb93g7sion4u Query : use flama_phc
20240621@213615.2025 dclbmj5nn7pl4fmb93g7sion4u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@221912.1653 8ijgss1bi1vuc90sv901j87pju Query : use flama_phc
20240621@221912.1658 8ijgss1bi1vuc90sv901j87pju Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@221912.1675 8ijgss1bi1vuc90sv901j87pju Query : use flama_phc
20240621@221912.1678 8ijgss1bi1vuc90sv901j87pju Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@223612.9280 7ma0vo7kvkgd1eaqqkn8vvbg4i Query : use flama_phc
20240621@223612.9430 7ma0vo7kvkgd1eaqqkn8vvbg4i Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@223612.9620 7ma0vo7kvkgd1eaqqkn8vvbg4i Query : use flama_phc
20240621@223612.9660 7ma0vo7kvkgd1eaqqkn8vvbg4i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@231912.1757 cnhtihgp0084bitulntdgd7l5v Query : use flama_phc
20240621@231912.1763 cnhtihgp0084bitulntdgd7l5v Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@231912.1784 cnhtihgp0084bitulntdgd7l5v Query : use flama_phc
20240621@231912.1787 cnhtihgp0084bitulntdgd7l5v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240621@233612.3897 d2dlvsbrtsrl75an79lbu3d7ii Query : use flama_phc
20240621@233612.3916 d2dlvsbrtsrl75an79lbu3d7ii Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240621@233612.3935 d2dlvsbrtsrl75an79lbu3d7ii Query : use flama_phc
20240621@233612.3938 d2dlvsbrtsrl75an79lbu3d7ii Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@050004.1053 6tq2lahb5sn60srh00qr58cs65 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240622@050004.1090 6tq2lahb5sn60srh00qr58cs65 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240622@050004.1192 6tq2lahb5sn60srh00qr58cs65 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='527';
20240622@050004.1253 6tq2lahb5sn60srh00qr58cs65 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='527';
20240622@050004.1291 6tq2lahb5sn60srh00qr58cs65 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='527';
20240622@050004.1311 6tq2lahb5sn60srh00qr58cs65 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='527';
20240622@050004.1328 6tq2lahb5sn60srh00qr58cs65 Query : use flama_phc
20240622@050004.1332 6tq2lahb5sn60srh00qr58cs65 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240622@050004.1403 6tq2lahb5sn60srh00qr58cs65 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1816.00.1'
20240622@050004.1534 6tq2lahb5sn60srh00qr58cs65 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =002 and bo.boano =2024 and bo.obrano = 2400198 and bi.ref ='324.1816.00.1' and bi.lordem =20000
20240622@050004.1984 6tq2lahb5sn60srh00qr58cs65 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'cps24022240519,365000002 ' 
20240622@050004.2339 6tq2lahb5sn60srh00qr58cs65 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = 'caixa atado'
20240622@050004.2462 6tq2lahb5sn60srh00qr58cs65 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =002 and bo.boano =2024 and bo.obrano = 2400198 and bi.ref ='caixa atado' and bi.lordem =3
20240622@050004.3099 6tq2lahb5sn60srh00qr58cs65 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1816.00.1'
20240622@050004.3397 6tq2lahb5sn60srh00qr58cs65 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =002 and bo.boano =2024 and bo.obrano = 2400198 and bi.ref ='324.1816.00.1' and bi.lordem =20000
20240622@050004.3661 6tq2lahb5sn60srh00qr58cs65 Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'cps24022240519,365000002 ' 
20240622@050004.4031 6tq2lahb5sn60srh00qr58cs65 Query : use flama_phc
20240622@050004.4122 6tq2lahb5sn60srh00qr58cs65 Query : select top 1 1 valor from ts where ts.ndos = 61
20240622@050004.4270 6tq2lahb5sn60srh00qr58cs65 Query : use flama_phc
20240622@050004.4278 6tq2lahb5sn60srh00qr58cs65 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')
20240622@050004.4384 6tq2lahb5sn60srh00qr58cs65 Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =61
20240622@050004.4641 6tq2lahb5sn60srh00qr58cs65 Query : use flama_phc
20240622@050004.4649 6tq2lahb5sn60srh00qr58cs65 Query : select top 1 ~inactivo valor from fl where no = '202133' and estab = 00 order by inactivo desc
20240622@050004.4750 6tq2lahb5sn60srh00qr58cs65 Query : use flama_phc
20240622@050004.4754 6tq2lahb5sn60srh00qr58cs65 Query : select 1 valor from ts where ndos = 61
20240622@050004.4845 6tq2lahb5sn60srh00qr58cs65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240622@050004.5386 6tq2lahb5sn60srh00qr58cs65 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20240622@050004.5470 6tq2lahb5sn60srh00qr58cs65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240622@050004.5490 6tq2lahb5sn60srh00qr58cs65 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20240622@050004.5503 6tq2lahb5sn60srh00qr58cs65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240622@050004.5520 6tq2lahb5sn60srh00qr58cs65 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20240622@050004.5536 6tq2lahb5sn60srh00qr58cs65 Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 61
20240622@050004.5678 6tq2lahb5sn60srh00qr58cs65 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240622@050004.5854 6tq2lahb5sn60srh00qr58cs65 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240622@050004.5882 6tq2lahb5sn60srh00qr58cs65 Query : use flama_phc
20240622@050004.5890 6tq2lahb5sn60srh00qr58cs65 Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202133' and estab=00
20240622@050004.6017 6tq2lahb5sn60srh00qr58cs65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240622@050004.6043 6tq2lahb5sn60srh00qr58cs65 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20240622@050004.6084 6tq2lahb5sn60srh00qr58cs65 Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut667641803266764c448f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240622@050004.6192 6tq2lahb5sn60srh00qr58cs65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240622@050004.6241 6tq2lahb5sn60srh00qr58cs65 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20240622@050004.6255 6tq2lahb5sn60srh00qr58cs65 Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut667641803266764c448f','--','bo',7.7717391304347826086 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240622@050004.6490 6tq2lahb5sn60srh00qr58cs65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240622@050004.6517 6tq2lahb5sn60srh00qr58cs65 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20240622@050004.6526 6tq2lahb5sn60srh00qr58cs65 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 ('aut667641803266764c448f','guia r. fornecedor','2024-06-22',61,2401794,?,?,?,?,?,?,?,?,2024, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240622@050006.7956 6tq2lahb5sn60srh00qr58cs65 Query : use flama_phc
20240622@050006.7977 6tq2lahb5sn60srh00qr58cs65 Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240622@050006.8158 6tq2lahb5sn60srh00qr58cs65 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'
20240622@050006.8371 6tq2lahb5sn60srh00qr58cs65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240622@050006.8390 6tq2lahb5sn60srh00qr58cs65 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20240622@050006.8514 6tq2lahb5sn60srh00qr58cs65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240622@050006.8530 6tq2lahb5sn60srh00qr58cs65 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20240622@050006.8542 6tq2lahb5sn60srh00qr58cs65 Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400198200a'
20240622@050006.8609 6tq2lahb5sn60srh00qr58cs65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240622@050006.8625 6tq2lahb5sn60srh00qr58cs65 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20240622@050006.8674 6tq2lahb5sn60srh00qr58cs65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240622@050006.8730 6tq2lahb5sn60srh00qr58cs65 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20240622@050006.8740 6tq2lahb5sn60srh00qr58cs65 Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut667640708966764c46d3',?,?,'20240622',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20240622@050007.2800 6tq2lahb5sn60srh00qr58cs65 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240622@050007.1680 6tq2lahb5sn60srh00qr58cs65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240622@050007.2680 6tq2lahb5sn60srh00qr58cs65 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20240622@050007.2780 6tq2lahb5sn60srh00qr58cs65 Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut667645153866764c4704','aut667641803266764c448f',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 = 'aut667641803266764c448f'
20240622@050007.4970 6tq2lahb5sn60srh00qr58cs65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240622@050007.5180 6tq2lahb5sn60srh00qr58cs65 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20240622@050007.5340 6tq2lahb5sn60srh00qr58cs65 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 'aut667645153866764c4704',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1397, 1397*.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 ,24.84,24.84*200.48,24.84,24.84*200.48 ,0,0,'un ','' ,bo.marcada,1 ,24.84*1397,24.84*1397*200.48 ,28.123000,28.123000*200.48 ,28.123000,28.123000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,24.84,24.84*200.48,24.84*1397,24.84*1397*200.48,'cps24022240519,365000002 ',193.05,193.05*1397,193.05,193.05*1397,?,?,?,4 from bo bo where bo.bostamp = 'aut667641803266764c448f'
20240622@050015.5473 6tq2lahb5sn60srh00qr58cs65 Query : use flama_phc
20240622@050015.5481 6tq2lahb5sn60srh00qr58cs65 Query : select st.usalote valor from st where st.ref = 'caixa atado'
20240622@050015.5494 6tq2lahb5sn60srh00qr58cs65 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 = 'caixa atado'
20240622@050015.5674 6tq2lahb5sn60srh00qr58cs65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240622@050015.5691 6tq2lahb5sn60srh00qr58cs65 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20240622@050015.5710 6tq2lahb5sn60srh00qr58cs65 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240622@050015.5726 6tq2lahb5sn60srh00qr58cs65 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20240622@050015.5733 6tq2lahb5sn60srh00qr58cs65 Query : use flama_phc
20240622@050015.5736 6tq2lahb5sn60srh00qr58cs65 Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240622@050015.5978 6tq2lahb5sn60srh00qr58cs65 Query : use flama_phc
20240622@050015.5983 6tq2lahb5sn60srh00qr58cs65 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -510
20240622@050015.6043 6tq2lahb5sn60srh00qr58cs65 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='527';
20240622@050015.6056 6tq2lahb5sn60srh00qr58cs65 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='527';
20240622@071921.9425 nrkolr4g6hjg273psva2vd3h87 Query : use flama_phc
20240622@071921.9431 nrkolr4g6hjg273psva2vd3h87 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@071921.9486 nrkolr4g6hjg273psva2vd3h87 Query : use flama_phc
20240622@071921.9489 nrkolr4g6hjg273psva2vd3h87 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@073612.5004 s46q8eq2e3vktacda9qek1f8hm Query : use flama_phc
20240622@073612.5009 s46q8eq2e3vktacda9qek1f8hm Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@073612.5029 s46q8eq2e3vktacda9qek1f8hm Query : use flama_phc
20240622@073612.5032 s46q8eq2e3vktacda9qek1f8hm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@081911.7279 gsh7v6lshfbaqv70k0hb5utek9 Query : use flama_phc
20240622@081911.7284 gsh7v6lshfbaqv70k0hb5utek9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@081911.7340 gsh7v6lshfbaqv70k0hb5utek9 Query : use flama_phc
20240622@081911.7343 gsh7v6lshfbaqv70k0hb5utek9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@083611.8902 spebtb4ke01d26fo2p55v1bb6j Query : use flama_phc
20240622@083611.8908 spebtb4ke01d26fo2p55v1bb6j Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@083611.8963 spebtb4ke01d26fo2p55v1bb6j Query : use flama_phc
20240622@083611.8966 spebtb4ke01d26fo2p55v1bb6j Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@091912.4148 8l6quj9ijgi9n1u5a4gh2mad2p Query : use flama_phc
20240622@091912.4155 8l6quj9ijgi9n1u5a4gh2mad2p Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@091912.4216 8l6quj9ijgi9n1u5a4gh2mad2p Query : use flama_phc
20240622@091912.4219 8l6quj9ijgi9n1u5a4gh2mad2p Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@093612.3483 d3q637ll3nr1fnsm0b2vmn06bc Query : use flama_phc
20240622@093612.3492 d3q637ll3nr1fnsm0b2vmn06bc Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@093612.3510 d3q637ll3nr1fnsm0b2vmn06bc Query : use flama_phc
20240622@093612.3513 d3q637ll3nr1fnsm0b2vmn06bc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@101909.6626 k0sog4mrnt1sem0l56vhquprq2 Query : use flama_phc
20240622@101909.6631 k0sog4mrnt1sem0l56vhquprq2 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@101909.6652 k0sog4mrnt1sem0l56vhquprq2 Query : use flama_phc
20240622@101909.6655 k0sog4mrnt1sem0l56vhquprq2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@103609.8234 lkdqf43kg0m00f7e61q41vgdhs Query : use flama_phc
20240622@103609.8239 lkdqf43kg0m00f7e61q41vgdhs Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@103609.8257 lkdqf43kg0m00f7e61q41vgdhs Query : use flama_phc
20240622@103609.8260 lkdqf43kg0m00f7e61q41vgdhs Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@111911.5251 27087cfh5o6v6dvrtcpbq66nog Query : use flama_phc
20240622@111911.5262 27087cfh5o6v6dvrtcpbq66nog Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@111911.5280 27087cfh5o6v6dvrtcpbq66nog Query : use flama_phc
20240622@111911.5283 27087cfh5o6v6dvrtcpbq66nog Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@113611.5828 pllprt3q2lmkitajhlk1cut5lf Query : use flama_phc
20240622@113611.5833 pllprt3q2lmkitajhlk1cut5lf Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@113611.5851 pllprt3q2lmkitajhlk1cut5lf Query : use flama_phc
20240622@113611.5854 pllprt3q2lmkitajhlk1cut5lf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@121913.7075 vp04991chagf1l0khju62m6e2m Query : use flama_phc
20240622@121913.7085 vp04991chagf1l0khju62m6e2m Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@121913.7103 vp04991chagf1l0khju62m6e2m Query : use flama_phc
20240622@121913.7106 vp04991chagf1l0khju62m6e2m Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@123614.6110 66k6tp8au4udjjpeviia9pgrqi Query : use flama_phc
20240622@123614.6160 66k6tp8au4udjjpeviia9pgrqi Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@123614.6340 66k6tp8au4udjjpeviia9pgrqi Query : use flama_phc
20240622@123614.6360 66k6tp8au4udjjpeviia9pgrqi Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@131910.5801 fvtvopjipl3uv8fsu55rdchh36 Query : use flama_phc
20240622@131910.5805 fvtvopjipl3uv8fsu55rdchh36 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@131910.5823 fvtvopjipl3uv8fsu55rdchh36 Query : use flama_phc
20240622@131910.5826 fvtvopjipl3uv8fsu55rdchh36 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@133610.5298 nqmnn1e9v539nc0m9siijoj5r8 Query : use flama_phc
20240622@133610.5303 nqmnn1e9v539nc0m9siijoj5r8 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@133610.5322 nqmnn1e9v539nc0m9siijoj5r8 Query : use flama_phc
20240622@133610.5325 nqmnn1e9v539nc0m9siijoj5r8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@141913.4401 jvjkd2hi4g71vsb2jh5but3k0s Query : use flama_phc
20240622@141913.4409 jvjkd2hi4g71vsb2jh5but3k0s Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@141913.4431 jvjkd2hi4g71vsb2jh5but3k0s Query : use flama_phc
20240622@141913.4435 jvjkd2hi4g71vsb2jh5but3k0s Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@143613.3105 s5a0abntca4p0gj4a2on2qf15i Query : use flama_phc
20240622@143613.3111 s5a0abntca4p0gj4a2on2qf15i Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@143613.3133 s5a0abntca4p0gj4a2on2qf15i Query : use flama_phc
20240622@143613.3136 s5a0abntca4p0gj4a2on2qf15i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@151912.7214 vnkbgg1mq4dmqe37rdjh1riov1 Query : use flama_phc
20240622@151912.7220 vnkbgg1mq4dmqe37rdjh1riov1 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@151912.7284 vnkbgg1mq4dmqe37rdjh1riov1 Query : use flama_phc
20240622@151912.7287 vnkbgg1mq4dmqe37rdjh1riov1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@153612.7351 36ftii2k3ocofs3g8fhmc1454q Query : use flama_phc
20240622@153612.7355 36ftii2k3ocofs3g8fhmc1454q Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@153612.7373 36ftii2k3ocofs3g8fhmc1454q Query : use flama_phc
20240622@153612.7376 36ftii2k3ocofs3g8fhmc1454q Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@161911.5668 23ej31bv4k0aa5a8cithih31dt Query : use flama_phc
20240622@161911.5681 23ej31bv4k0aa5a8cithih31dt Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@161911.5702 23ej31bv4k0aa5a8cithih31dt Query : use flama_phc
20240622@161911.5704 23ej31bv4k0aa5a8cithih31dt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@163611.6325 8dmlmkh49ahhi0ijq89tfsosvc Query : use flama_phc
20240622@163611.6330 8dmlmkh49ahhi0ijq89tfsosvc Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@163611.6348 8dmlmkh49ahhi0ijq89tfsosvc Query : use flama_phc
20240622@163611.6351 8dmlmkh49ahhi0ijq89tfsosvc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@171937.6411 lkqiam4h1cqpflvnumegv9mnbr Query : use flama_phc
20240622@171937.6416 lkqiam4h1cqpflvnumegv9mnbr Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@171937.6470 lkqiam4h1cqpflvnumegv9mnbr Query : use flama_phc
20240622@171937.6473 lkqiam4h1cqpflvnumegv9mnbr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@173637.7195 a381a34o24ov1nm3gbn1crr7sk Query : use flama_phc
20240622@173637.7199 a381a34o24ov1nm3gbn1crr7sk Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@173637.7216 a381a34o24ov1nm3gbn1crr7sk Query : use flama_phc
20240622@173637.7219 a381a34o24ov1nm3gbn1crr7sk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@181910.7055 bk6jihi83r3ak83ctl72v82h4d Query : use flama_phc
20240622@181910.7069 bk6jihi83r3ak83ctl72v82h4d Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@181910.7086 bk6jihi83r3ak83ctl72v82h4d Query : use flama_phc
20240622@181910.7089 bk6jihi83r3ak83ctl72v82h4d Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@183610.7720 2m9ah776j5rfsj81vmgqtcl3no Query : use flama_phc
20240622@183610.7728 2m9ah776j5rfsj81vmgqtcl3no Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@183610.7746 2m9ah776j5rfsj81vmgqtcl3no Query : use flama_phc
20240622@183610.7749 2m9ah776j5rfsj81vmgqtcl3no Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@191911.3855 uhe8c0o021qvrp1bu1amae8tq6 Query : use flama_phc
20240622@191911.3862 uhe8c0o021qvrp1bu1amae8tq6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@191911.3880 uhe8c0o021qvrp1bu1amae8tq6 Query : use flama_phc
20240622@191911.3883 uhe8c0o021qvrp1bu1amae8tq6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@193611.3884 u4uv5odfm8nursc1e8t6ocqhji Query : use flama_phc
20240622@193611.3888 u4uv5odfm8nursc1e8t6ocqhji Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@193611.3910 u4uv5odfm8nursc1e8t6ocqhji Query : use flama_phc
20240622@193611.3913 u4uv5odfm8nursc1e8t6ocqhji Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@201912.4816 lhvdkv956oilnptpphhcjp585g Query : use flama_phc
20240622@201912.4821 lhvdkv956oilnptpphhcjp585g Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@201912.4839 lhvdkv956oilnptpphhcjp585g Query : use flama_phc
20240622@201912.4842 lhvdkv956oilnptpphhcjp585g Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@203612.1494 cnhpisk8ibdr7gl24pf9i7pomj Query : use flama_phc
20240622@203612.1499 cnhpisk8ibdr7gl24pf9i7pomj Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@203612.1521 cnhpisk8ibdr7gl24pf9i7pomj Query : use flama_phc
20240622@203612.1524 cnhpisk8ibdr7gl24pf9i7pomj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@211910.3966 sbao81oovpf232in3j2d2imeom Query : use flama_phc
20240622@211910.3978 sbao81oovpf232in3j2d2imeom Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@211910.3998 sbao81oovpf232in3j2d2imeom Query : use flama_phc
20240622@211910.4001 sbao81oovpf232in3j2d2imeom Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@213610.6239 1uqp6b7g79dtl27v10r4scn64u Query : use flama_phc
20240622@213610.6250 1uqp6b7g79dtl27v10r4scn64u Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@213610.6271 1uqp6b7g79dtl27v10r4scn64u Query : use flama_phc
20240622@213610.6275 1uqp6b7g79dtl27v10r4scn64u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@221908.2876 miv27ir001jo7pcfb95c47j503 Query : use flama_phc
20240622@221908.2882 miv27ir001jo7pcfb95c47j503 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@221908.2911 miv27ir001jo7pcfb95c47j503 Query : use flama_phc
20240622@221908.2947 miv27ir001jo7pcfb95c47j503 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@223608.7126 bah2nqqv7p8tp4ij98sh7aagqo Query : use flama_phc
20240622@223608.7141 bah2nqqv7p8tp4ij98sh7aagqo Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@223608.7161 bah2nqqv7p8tp4ij98sh7aagqo Query : use flama_phc
20240622@223608.7164 bah2nqqv7p8tp4ij98sh7aagqo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@231909.6373 cfd5l0fak2skb1is8p5mgvi8cb Query : use flama_phc
20240622@231909.6398 cfd5l0fak2skb1is8p5mgvi8cb Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@231909.6749 cfd5l0fak2skb1is8p5mgvi8cb Query : use flama_phc
20240622@231909.6866 cfd5l0fak2skb1is8p5mgvi8cb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240622@233609.3412 b7j24g6fpiqg9va7dkd0st9olr Query : use flama_phc
20240622@233609.3425 b7j24g6fpiqg9va7dkd0st9olr Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240622@233609.3464 b7j24g6fpiqg9va7dkd0st9olr Query : use flama_phc
20240622@233609.3469 b7j24g6fpiqg9va7dkd0st9olr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@023634.5533 mufcpce57c9cdo83bc0vcgm461 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240623@023634.5563 mufcpce57c9cdo83bc0vcgm461 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240623@023634.5608 mufcpce57c9cdo83bc0vcgm461 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='528';
20240623@023634.5653 mufcpce57c9cdo83bc0vcgm461 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='528';
20240623@023634.5680 mufcpce57c9cdo83bc0vcgm461 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='528';
20240623@023634.5695 mufcpce57c9cdo83bc0vcgm461 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='528';
20240623@023634.6532 eg096h9lvsik5j4i66qfo546th Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240623@023634.6547 eg096h9lvsik5j4i66qfo546th Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240623@023634.6566 eg096h9lvsik5j4i66qfo546th Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='529';
20240623@023634.6606 eg096h9lvsik5j4i66qfo546th Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='529';
20240623@023634.6620 eg096h9lvsik5j4i66qfo546th Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='529';
20240623@023634.6633 eg096h9lvsik5j4i66qfo546th Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='529';
20240623@023655.1410 939n6g9i7qf6a5kkel5q860693 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240623@023655.1570 939n6g9i7qf6a5kkel5q860693 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240623@023655.1760 939n6g9i7qf6a5kkel5q860693 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='530';
20240623@023655.3020 939n6g9i7qf6a5kkel5q860693 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='530';
20240623@023655.3200 939n6g9i7qf6a5kkel5q860693 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='530';
20240623@023655.3360 939n6g9i7qf6a5kkel5q860693 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='530';
20240623@023838.9580 g6enm1prtnnq8edpb4i9oa8rll Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240623@023838.9720 g6enm1prtnnq8edpb4i9oa8rll Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240623@023838.9940 g6enm1prtnnq8edpb4i9oa8rll Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='531';
20240623@023838.1032 g6enm1prtnnq8edpb4i9oa8rll Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='531';
20240623@023838.1049 g6enm1prtnnq8edpb4i9oa8rll Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='531';
20240623@023838.1064 g6enm1prtnnq8edpb4i9oa8rll Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='531';
20240623@023838.1724 ei7230h293apuvv5dnh6p8rce8 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240623@023838.1739 ei7230h293apuvv5dnh6p8rce8 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240623@023838.1756 ei7230h293apuvv5dnh6p8rce8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='532';
20240623@023838.1806 ei7230h293apuvv5dnh6p8rce8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='532';
20240623@023838.1821 ei7230h293apuvv5dnh6p8rce8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='532';
20240623@023838.1836 ei7230h293apuvv5dnh6p8rce8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='532';
20240623@023838.5560 m9qc2urmu9e4a8ka0tgse72ln4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240623@023838.5746 m9qc2urmu9e4a8ka0tgse72ln4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240623@023838.5765 m9qc2urmu9e4a8ka0tgse72ln4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='533';
20240623@023838.5804 m9qc2urmu9e4a8ka0tgse72ln4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='533';
20240623@023838.5817 m9qc2urmu9e4a8ka0tgse72ln4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='533';
20240623@023838.5831 m9qc2urmu9e4a8ka0tgse72ln4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='533';
20240623@023838.6071 qorj4ajpk0bdlpo8cn2sn31m8f Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240623@023838.6091 qorj4ajpk0bdlpo8cn2sn31m8f Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240623@023838.6110 qorj4ajpk0bdlpo8cn2sn31m8f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='534';
20240623@023838.6133 7510cfjtoig3qgbl1g5nejvre6 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240623@023838.6149 7510cfjtoig3qgbl1g5nejvre6 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240623@023838.6158 qorj4ajpk0bdlpo8cn2sn31m8f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='534';
20240623@023838.6165 7510cfjtoig3qgbl1g5nejvre6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='535';
20240623@023838.6175 qorj4ajpk0bdlpo8cn2sn31m8f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='534';
20240623@023838.6187 qorj4ajpk0bdlpo8cn2sn31m8f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='534';
20240623@023838.6203 7510cfjtoig3qgbl1g5nejvre6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='535';
20240623@023838.6215 7510cfjtoig3qgbl1g5nejvre6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='535';
20240623@023838.6227 7510cfjtoig3qgbl1g5nejvre6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='535';
20240623@023838.6396 kcuo1s56940p87bgvk3v0idggi Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240623@023838.6411 kcuo1s56940p87bgvk3v0idggi Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240623@023838.6431 kcuo1s56940p87bgvk3v0idggi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='536';
20240623@023838.6481 kcuo1s56940p87bgvk3v0idggi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='536';
20240623@023838.6498 kcuo1s56940p87bgvk3v0idggi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='536';
20240623@023838.6512 kcuo1s56940p87bgvk3v0idggi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='536';
20240623@071901.8774 qq4ko5qbb33fa2q9dokehplsi4 Query : use flama_phc
20240623@071901.8780 qq4ko5qbb33fa2q9dokehplsi4 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@071901.8836 qq4ko5qbb33fa2q9dokehplsi4 Query : use flama_phc
20240623@071901.8839 qq4ko5qbb33fa2q9dokehplsi4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@073601.8260 27j3j1pteooaanm1plac0eeg7j Query : use flama_phc
20240623@073601.8265 27j3j1pteooaanm1plac0eeg7j Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@073601.8283 27j3j1pteooaanm1plac0eeg7j Query : use flama_phc
20240623@073601.8285 27j3j1pteooaanm1plac0eeg7j Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@081911.8906 qdagieccnq1940len7u348ej7v Query : use flama_phc
20240623@081911.8979 qdagieccnq1940len7u348ej7v Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@081911.9201 qdagieccnq1940len7u348ej7v Query : use flama_phc
20240623@081911.9205 qdagieccnq1940len7u348ej7v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@083612.1890 4hra09jqbjo81eo92qdibccpc9 Query : use flama_phc
20240623@083612.1950 4hra09jqbjo81eo92qdibccpc9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@083612.2500 4hra09jqbjo81eo92qdibccpc9 Query : use flama_phc
20240623@083612.2540 4hra09jqbjo81eo92qdibccpc9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@091909.7199 rc95c9a2u3re3sta67pp34p1mv Query : use flama_phc
20240623@091909.7205 rc95c9a2u3re3sta67pp34p1mv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@091909.7263 rc95c9a2u3re3sta67pp34p1mv Query : use flama_phc
20240623@091909.7266 rc95c9a2u3re3sta67pp34p1mv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@093609.6968 95bivrt7sirdpl1i4skij2q5sp Query : use flama_phc
20240623@093609.6977 95bivrt7sirdpl1i4skij2q5sp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@093609.6997 95bivrt7sirdpl1i4skij2q5sp Query : use flama_phc
20240623@093609.7000 95bivrt7sirdpl1i4skij2q5sp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@101909.9503 l1m4ecudg96gt7frsl764he4dv Query : use flama_phc
20240623@101909.9508 l1m4ecudg96gt7frsl764he4dv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@101909.9527 l1m4ecudg96gt7frsl764he4dv Query : use flama_phc
20240623@101909.9530 l1m4ecudg96gt7frsl764he4dv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@103609.4879 99g5sqina5a69cbclu0jvb43ro Query : use flama_phc
20240623@103609.4884 99g5sqina5a69cbclu0jvb43ro Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@103609.4906 99g5sqina5a69cbclu0jvb43ro Query : use flama_phc
20240623@103609.4909 99g5sqina5a69cbclu0jvb43ro Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@111913.9078 5rhrueb59sm8duj15ehhr6objc Query : use flama_phc
20240623@111913.9113 5rhrueb59sm8duj15ehhr6objc Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@111913.9253 5rhrueb59sm8duj15ehhr6objc Query : use flama_phc
20240623@111913.9271 5rhrueb59sm8duj15ehhr6objc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@113613.7351 kqv7f3art07isocbd4536no8rp Query : use flama_phc
20240623@113613.7357 kqv7f3art07isocbd4536no8rp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@113613.7375 kqv7f3art07isocbd4536no8rp Query : use flama_phc
20240623@113613.7378 kqv7f3art07isocbd4536no8rp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@121911.9728 0sjevag8n6p1jsrap40bur3geo Query : use flama_phc
20240623@121911.9735 0sjevag8n6p1jsrap40bur3geo Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@121911.9754 0sjevag8n6p1jsrap40bur3geo Query : use flama_phc
20240623@121911.9757 0sjevag8n6p1jsrap40bur3geo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@123612.1580 f03ql3ifboa275e8v7mb79csia Query : use flama_phc
20240623@123612.1640 f03ql3ifboa275e8v7mb79csia Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@123612.1830 f03ql3ifboa275e8v7mb79csia Query : use flama_phc
20240623@123612.1860 f03ql3ifboa275e8v7mb79csia Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@131910.8721 4s8tstii9kt3o0pgd2v6tpuv3v Query : use flama_phc
20240623@131910.8726 4s8tstii9kt3o0pgd2v6tpuv3v Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@131910.8744 4s8tstii9kt3o0pgd2v6tpuv3v Query : use flama_phc
20240623@131910.8746 4s8tstii9kt3o0pgd2v6tpuv3v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@133611.6540 ielg5vcos9grdamnar8o6bvp1d Query : use flama_phc
20240623@133611.6770 ielg5vcos9grdamnar8o6bvp1d Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@133611.6980 ielg5vcos9grdamnar8o6bvp1d Query : use flama_phc
20240623@133611.7010 ielg5vcos9grdamnar8o6bvp1d Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@141912.5542 3hmnm4stmtfq0i0pb0u4qhq1k4 Query : use flama_phc
20240623@141912.5548 3hmnm4stmtfq0i0pb0u4qhq1k4 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@141912.5578 3hmnm4stmtfq0i0pb0u4qhq1k4 Query : use flama_phc
20240623@141912.5581 3hmnm4stmtfq0i0pb0u4qhq1k4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@143612.3976 ui126a7a6d7su2lp0psrt0g79h Query : use flama_phc
20240623@143612.3981 ui126a7a6d7su2lp0psrt0g79h Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@143612.3998 ui126a7a6d7su2lp0psrt0g79h Query : use flama_phc
20240623@143612.4001 ui126a7a6d7su2lp0psrt0g79h Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@151909.6145 9bl37te9kbbhfg1dlk4su5gsuu Query : use flama_phc
20240623@151909.6149 9bl37te9kbbhfg1dlk4su5gsuu Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@151909.6166 9bl37te9kbbhfg1dlk4su5gsuu Query : use flama_phc
20240623@151909.6169 9bl37te9kbbhfg1dlk4su5gsuu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@153609.7942 bk9h3bo6t3tq6347md52tkilku Query : use flama_phc
20240623@153609.7946 bk9h3bo6t3tq6347md52tkilku Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@153609.7963 bk9h3bo6t3tq6347md52tkilku Query : use flama_phc
20240623@153609.7966 bk9h3bo6t3tq6347md52tkilku Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@161912.4636 ectfig3pddvajmc6db9n707ep9 Query : use flama_phc
20240623@161912.4644 ectfig3pddvajmc6db9n707ep9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@161912.4686 ectfig3pddvajmc6db9n707ep9 Query : use flama_phc
20240623@161912.4689 ectfig3pddvajmc6db9n707ep9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@163612.2950 adlgo0ri808v5h2gb2fi822rku Query : use flama_phc
20240623@163612.2954 adlgo0ri808v5h2gb2fi822rku Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@163612.2972 adlgo0ri808v5h2gb2fi822rku Query : use flama_phc
20240623@163612.2975 adlgo0ri808v5h2gb2fi822rku Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@171912.8477 kjvbjustdoj8fb1qq0cc3ejqms Query : use flama_phc
20240623@171912.8504 kjvbjustdoj8fb1qq0cc3ejqms Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@171912.8715 kjvbjustdoj8fb1qq0cc3ejqms Query : use flama_phc
20240623@171912.8718 kjvbjustdoj8fb1qq0cc3ejqms Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@173613.2967 n8e34p4pht57h2gq35qqc5o5uh Query : use flama_phc
20240623@173613.2972 n8e34p4pht57h2gq35qqc5o5uh Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@173613.2991 n8e34p4pht57h2gq35qqc5o5uh Query : use flama_phc
20240623@173613.2994 n8e34p4pht57h2gq35qqc5o5uh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@181911.2927 vbh2317ce3us1b8akkf2c6hqoh Query : use flama_phc
20240623@181911.2931 vbh2317ce3us1b8akkf2c6hqoh Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@181911.2949 vbh2317ce3us1b8akkf2c6hqoh Query : use flama_phc
20240623@181911.2951 vbh2317ce3us1b8akkf2c6hqoh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@183611.4517 6474cjdpmg5j0q7n6dakhaobd4 Query : use flama_phc
20240623@183611.4521 6474cjdpmg5j0q7n6dakhaobd4 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@183611.4539 6474cjdpmg5j0q7n6dakhaobd4 Query : use flama_phc
20240623@183611.4542 6474cjdpmg5j0q7n6dakhaobd4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@191917.3960 d3stk188vc2n9srvbppqt2nicp Query : use flama_phc
20240623@191917.3965 d3stk188vc2n9srvbppqt2nicp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@191917.3982 d3stk188vc2n9srvbppqt2nicp Query : use flama_phc
20240623@191917.3984 d3stk188vc2n9srvbppqt2nicp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@193617.6581 bi7df1eljt09u929a7r39g87r5 Query : use flama_phc
20240623@193617.6586 bi7df1eljt09u929a7r39g87r5 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@193617.6603 bi7df1eljt09u929a7r39g87r5 Query : use flama_phc
20240623@193617.6607 bi7df1eljt09u929a7r39g87r5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@201912.1630 fgef6etmn25j15485si3k2vmlv Query : use flama_phc
20240623@201912.1670 fgef6etmn25j15485si3k2vmlv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@201912.1850 fgef6etmn25j15485si3k2vmlv Query : use flama_phc
20240623@201912.1870 fgef6etmn25j15485si3k2vmlv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@203611.7190 q6irkj62kh559vq0lhnibrbanj Query : use flama_phc
20240623@203611.7195 q6irkj62kh559vq0lhnibrbanj Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@203611.7234 q6irkj62kh559vq0lhnibrbanj Query : use flama_phc
20240623@203611.7236 q6irkj62kh559vq0lhnibrbanj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@211910.6979 o3cs38p41frvtc1u2l0sfrpe2e Query : use flama_phc
20240623@211910.6983 o3cs38p41frvtc1u2l0sfrpe2e Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@211910.7001 o3cs38p41frvtc1u2l0sfrpe2e Query : use flama_phc
20240623@211910.7004 o3cs38p41frvtc1u2l0sfrpe2e Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@213610.6124 8ps7d1fcjkjmqigapnk1uolnb4 Query : use flama_phc
20240623@213610.6129 8ps7d1fcjkjmqigapnk1uolnb4 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@213610.6147 8ps7d1fcjkjmqigapnk1uolnb4 Query : use flama_phc
20240623@213610.6150 8ps7d1fcjkjmqigapnk1uolnb4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@221912.3751 5ik7krucqk74fa1e0sm51fi7d8 Query : use flama_phc
20240623@221912.3755 5ik7krucqk74fa1e0sm51fi7d8 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@221912.3773 5ik7krucqk74fa1e0sm51fi7d8 Query : use flama_phc
20240623@221912.3776 5ik7krucqk74fa1e0sm51fi7d8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@223612.5641 k9drspji7v31elpmdbr4481k10 Query : use flama_phc
20240623@223612.5646 k9drspji7v31elpmdbr4481k10 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@223612.5663 k9drspji7v31elpmdbr4481k10 Query : use flama_phc
20240623@223612.5666 k9drspji7v31elpmdbr4481k10 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@231910.7004 cn90t4h7gpct4kngh4l335tnbk Query : use flama_phc
20240623@231910.7022 cn90t4h7gpct4kngh4l335tnbk Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@231910.7119 cn90t4h7gpct4kngh4l335tnbk Query : use flama_phc
20240623@231910.7141 cn90t4h7gpct4kngh4l335tnbk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240623@233610.9073 jt8ehb0l9tgia8oe3n08sit83b Query : use flama_phc
20240623@233610.9077 jt8ehb0l9tgia8oe3n08sit83b Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240623@233610.9097 jt8ehb0l9tgia8oe3n08sit83b Query : use flama_phc
20240623@233610.9100 jt8ehb0l9tgia8oe3n08sit83b Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@071915.2830 du5i6fu2tjmg16hmvf0j1a1c1f Query : use flama_phc
20240624@071915.2835 du5i6fu2tjmg16hmvf0j1a1c1f Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@071915.2859 du5i6fu2tjmg16hmvf0j1a1c1f Query : use flama_phc
20240624@071915.2862 du5i6fu2tjmg16hmvf0j1a1c1f Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@073626.5757 f72om0b10i7acc2fnld8dd6mnv Query : use flama_phc
20240624@073626.5763 f72om0b10i7acc2fnld8dd6mnv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@073626.5780 f72om0b10i7acc2fnld8dd6mnv Query : use flama_phc
20240624@073626.5783 f72om0b10i7acc2fnld8dd6mnv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@081913.3932 d6jj2dgvv3c4h0h5n4mbdf63f2 Query : use flama_phc
20240624@081913.3937 d6jj2dgvv3c4h0h5n4mbdf63f2 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@081913.3958 d6jj2dgvv3c4h0h5n4mbdf63f2 Query : use flama_phc
20240624@081913.3962 d6jj2dgvv3c4h0h5n4mbdf63f2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@083613.7475 f9ctt0004htmviip297034hp9g Query : use flama_phc
20240624@083613.7480 f9ctt0004htmviip297034hp9g Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@083613.7503 f9ctt0004htmviip297034hp9g Query : use flama_phc
20240624@083613.7506 f9ctt0004htmviip297034hp9g Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@091909.6317 litr388lvsa0i90hdsparkr9qo Query : use flama_phc
20240624@091909.6322 litr388lvsa0i90hdsparkr9qo Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@091909.6361 litr388lvsa0i90hdsparkr9qo Query : use flama_phc
20240624@091909.6364 litr388lvsa0i90hdsparkr9qo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@093609.8830 o6emjqrsqf7ms7252nv0jhqrto Query : use flama_phc
20240624@093609.8835 o6emjqrsqf7ms7252nv0jhqrto Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@093609.8892 o6emjqrsqf7ms7252nv0jhqrto Query : use flama_phc
20240624@093609.8895 o6emjqrsqf7ms7252nv0jhqrto Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@101910.9801 f93e3bgqtsks5st5dgv23kvouq Query : use flama_phc
20240624@101910.9807 f93e3bgqtsks5st5dgv23kvouq Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@101910.9880 f93e3bgqtsks5st5dgv23kvouq Query : use flama_phc
20240624@101910.9884 f93e3bgqtsks5st5dgv23kvouq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@103610.8589 hlme3esr75vqblu3bmgpqunlai Query : use flama_phc
20240624@103610.8596 hlme3esr75vqblu3bmgpqunlai Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@103610.8615 hlme3esr75vqblu3bmgpqunlai Query : use flama_phc
20240624@103610.8618 hlme3esr75vqblu3bmgpqunlai Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@111915.5230 nnkmun3csd1070mm6r32pr4o8v Query : use flama_phc
20240624@111915.5300 nnkmun3csd1070mm6r32pr4o8v Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@111915.5610 nnkmun3csd1070mm6r32pr4o8v Query : use flama_phc
20240624@111915.5640 nnkmun3csd1070mm6r32pr4o8v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@113615.2895 lmls1e69nt6th467koeffmt9b4 Query : use flama_phc
20240624@113615.2900 lmls1e69nt6th467koeffmt9b4 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@113615.2929 lmls1e69nt6th467koeffmt9b4 Query : use flama_phc
20240624@113615.2968 lmls1e69nt6th467koeffmt9b4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@115055.3378 nu8b1r9fn82vt0bkiu0brncs0e Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@115055.3432 nu8b1r9fn82vt0bkiu0brncs0e Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@115055.3522 nu8b1r9fn82vt0bkiu0brncs0e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='537';
20240624@115055.3563 nu8b1r9fn82vt0bkiu0brncs0e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='537';
20240624@115055.3587 nu8b1r9fn82vt0bkiu0brncs0e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='537';
20240624@115055.3599 nu8b1r9fn82vt0bkiu0brncs0e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='537';
20240624@115055.5057 2hv1b38sjiknfrs5mcl0ib5rhe Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@115055.5071 2hv1b38sjiknfrs5mcl0ib5rhe Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@115055.5085 2hv1b38sjiknfrs5mcl0ib5rhe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='538';
20240624@115055.5122 2hv1b38sjiknfrs5mcl0ib5rhe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='538';
20240624@115055.5135 2hv1b38sjiknfrs5mcl0ib5rhe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='538';
20240624@115055.5147 2hv1b38sjiknfrs5mcl0ib5rhe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='538';
20240624@115055.5158 2hv1b38sjiknfrs5mcl0ib5rhe Query : use flama_phc
20240624@115055.5161 2hv1b38sjiknfrs5mcl0ib5rhe Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240624@115055.5204 2hv1b38sjiknfrs5mcl0ib5rhe Query : select no, estab,szadrsdesc from szadrs where u_coddest=2
20240624@115055.5267 2hv1b38sjiknfrs5mcl0ib5rhe Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.938.00.01'
20240624@115055.5336 2hv1b38sjiknfrs5mcl0ib5rhe Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.4970.00.1'
20240624@115055.5406 2hv1b38sjiknfrs5mcl0ib5rhe Query : use flama_phc
20240624@115055.5409 2hv1b38sjiknfrs5mcl0ib5rhe Query : select top 1 1 valor from ts where ts.ndos = 5
20240624@115055.5451 2hv1b38sjiknfrs5mcl0ib5rhe Query : use flama_phc
20240624@115055.5453 2hv1b38sjiknfrs5mcl0ib5rhe 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')
20240624@115055.5509 2hv1b38sjiknfrs5mcl0ib5rhe Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =5
20240624@115055.5598 2hv1b38sjiknfrs5mcl0ib5rhe Query : use flama_phc
20240624@115055.5601 2hv1b38sjiknfrs5mcl0ib5rhe Query : select top 1 ~inactivo valor from fl where no = '100500' and estab = 0 order by inactivo desc
20240624@115055.5658 2hv1b38sjiknfrs5mcl0ib5rhe Query : use flama_phc
20240624@115055.5661 2hv1b38sjiknfrs5mcl0ib5rhe Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20240624@115055.5695 2hv1b38sjiknfrs5mcl0ib5rhe Query : use flama_phc
20240624@115055.5698 2hv1b38sjiknfrs5mcl0ib5rhe Query : select szadrsstamp valor from szadrs where szadrsdesc='n/instalaÇÕes sede'
20240624@115055.5714 2hv1b38sjiknfrs5mcl0ib5rhe Query : use flama_phc
20240624@115055.5717 2hv1b38sjiknfrs5mcl0ib5rhe Query : select 1 valor from ts where ndos = 5
20240624@115055.5759 2hv1b38sjiknfrs5mcl0ib5rhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240624@115055.6040 2hv1b38sjiknfrs5mcl0ib5rhe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 5
20240624@115055.6127 2hv1b38sjiknfrs5mcl0ib5rhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240624@115055.6139 2hv1b38sjiknfrs5mcl0ib5rhe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 5
20240624@115055.6146 2hv1b38sjiknfrs5mcl0ib5rhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240624@115055.6157 2hv1b38sjiknfrs5mcl0ib5rhe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 5
20240624@115055.6163 2hv1b38sjiknfrs5mcl0ib5rhe Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 5
20240624@115055.6238 2hv1b38sjiknfrs5mcl0ib5rhe Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240624@115055.6311 2hv1b38sjiknfrs5mcl0ib5rhe Query : select top 1 bo.obrano valor from wsbodata bo where bo.ndos = 5 and boano=2024 order by obrano desc
20240624@115055.6878 2hv1b38sjiknfrs5mcl0ib5rhe Query : use flama_phc
20240624@115055.6881 2hv1b38sjiknfrs5mcl0ib5rhe Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='100500' and estab=0
20240624@115055.6971 2hv1b38sjiknfrs5mcl0ib5rhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240624@115055.6984 2hv1b38sjiknfrs5mcl0ib5rhe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 5
20240624@115055.7014 2hv1b38sjiknfrs5mcl0ib5rhe Query : insert into wsbo3data (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut667940237866794f8fa7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240624@115055.7101 2hv1b38sjiknfrs5mcl0ib5rhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240624@115055.7114 2hv1b38sjiknfrs5mcl0ib5rhe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 5
20240624@115055.7121 2hv1b38sjiknfrs5mcl0ib5rhe Query : insert into wsbo2data (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,xpddata,xpdhora,carga,descar) values ('aut667940237866794f8fa7','ga','bo',0 ,0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut','20240624','12:20',?,?)
20240624@115055.7782 2hv1b38sjiknfrs5mcl0ib5rhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240624@115055.7799 2hv1b38sjiknfrs5mcl0ib5rhe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 5
20240624@115055.7813 2hv1b38sjiknfrs5mcl0ib5rhe Query : insert into wsbodata (bostamp, nmdos, dataobra, ndos, obrano, no, estab, nome, ncont, morada, local, codpost, moeda, boano, memissao,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,maquina ) values ('aut667940237866794f8fa7','trf entre armazéns a','2024-06-24',5,342,?,?,?,?,?,?,?,?,2024, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',?)
20240624@115055.8352 2hv1b38sjiknfrs5mcl0ib5rhe Query : use flama_phc
20240624@115055.8356 2hv1b38sjiknfrs5mcl0ib5rhe Query : select st.usalote valor from st where st.ref = '324.938.00.01'
20240624@115055.8434 2hv1b38sjiknfrs5mcl0ib5rhe Query : use flama_phc
20240624@115055.8438 2hv1b38sjiknfrs5mcl0ib5rhe Query : select st.stns valor from st where st.ref = '324.938.00.01'
20240624@115055.8517 2hv1b38sjiknfrs5mcl0ib5rhe Query : use flama_phc
20240624@115055.8520 2hv1b38sjiknfrs5mcl0ib5rhe Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.938.00.01' and sa.armazem = 133 
20240624@115055.8571 2hv1b38sjiknfrs5mcl0ib5rhe Query : use flama_phc
20240624@115055.8574 2hv1b38sjiknfrs5mcl0ib5rhe Query : select st.stns valor from st where st.ref = '324.938.00.01'
20240624@115055.8590 2hv1b38sjiknfrs5mcl0ib5rhe Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.938.00.01'
20240624@115055.8715 2hv1b38sjiknfrs5mcl0ib5rhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240624@115055.8730 2hv1b38sjiknfrs5mcl0ib5rhe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240624@115055.8742 2hv1b38sjiknfrs5mcl0ib5rhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240624@115055.8756 2hv1b38sjiknfrs5mcl0ib5rhe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240624@115055.8764 2hv1b38sjiknfrs5mcl0ib5rhe Query : select sestamp valor from se where ref ='324.938.00.01' and lote = 'r2400003200a'
20240624@115055.8817 2hv1b38sjiknfrs5mcl0ib5rhe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240624@115055.8851 2hv1b38sjiknfrs5mcl0ib5rhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240624@115055.8864 2hv1b38sjiknfrs5mcl0ib5rhe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240624@115055.8871 2hv1b38sjiknfrs5mcl0ib5rhe Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut667940166166794f8fd8','aut667940237866794f8fa7',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut667940237866794f8fa7'
20240624@115055.9119 2hv1b38sjiknfrs5mcl0ib5rhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240624@115055.9134 2hv1b38sjiknfrs5mcl0ib5rhe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240624@115055.9146 2hv1b38sjiknfrs5mcl0ib5rhe Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,eslvu,slvu,esltt,sltt,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,stipo) select 'aut667940166166794f8fd8',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 28.000, 28.000*1.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 ,0,0*200.48,0,0*200.48 ,0,0,'un ','' ,bo.marcada,1 ,0*28.000,0*28.000*200.48 ,7.559000,7.559000*200.48 ,7.559000,7.559000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0*200.48,0*28.000,0*28.000*200.48,0,0*28.000,0,0*28.000,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut667940237866794f8fa7'
20240624@115055.9742 2hv1b38sjiknfrs5mcl0ib5rhe Query : use flama_phc
20240624@115055.9747 2hv1b38sjiknfrs5mcl0ib5rhe Query : select st.usalote valor from st where st.ref = '324.4970.00.1'
20240624@115055.9759 2hv1b38sjiknfrs5mcl0ib5rhe Query : use flama_phc
20240624@115055.9762 2hv1b38sjiknfrs5mcl0ib5rhe Query : select st.stns valor from st where st.ref = '324.4970.00.1'
20240624@115055.9772 2hv1b38sjiknfrs5mcl0ib5rhe Query : use flama_phc
20240624@115055.9775 2hv1b38sjiknfrs5mcl0ib5rhe Query : select isnull(sum(stock) ,0)stock ,isnull(sum(qttrec),0) qttrec ,0 qttcat ,isnull(sum(rescli),0) rescli ,isnull(sum(resfor),0) resfor from sa where sa.ref = '324.4970.00.1' and sa.armazem = 133 
20240624@115055.9828 2hv1b38sjiknfrs5mcl0ib5rhe Query : use flama_phc
20240624@115055.9830 2hv1b38sjiknfrs5mcl0ib5rhe Query : select st.stns valor from st where st.ref = '324.4970.00.1'
20240624@115055.9842 2hv1b38sjiknfrs5mcl0ib5rhe Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.4970.00.1'
20240624@115055.9948 2hv1b38sjiknfrs5mcl0ib5rhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240624@115055.9962 2hv1b38sjiknfrs5mcl0ib5rhe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 5
20240624@115055.9973 2hv1b38sjiknfrs5mcl0ib5rhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240624@115055.9986 2hv1b38sjiknfrs5mcl0ib5rhe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 5
20240624@115055.9992 2hv1b38sjiknfrs5mcl0ib5rhe Query : select sestamp valor from se where ref ='324.4970.00.1' and lote = 'r2400205200a'
20240624@115056.4000 2hv1b38sjiknfrs5mcl0ib5rhe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240624@115056.1400 2hv1b38sjiknfrs5mcl0ib5rhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240624@115056.2600 2hv1b38sjiknfrs5mcl0ib5rhe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 5
20240624@115056.3300 2hv1b38sjiknfrs5mcl0ib5rhe Query : insert into wsbi2data (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut667940620166794f9000','aut667940237866794f8fa7',bo.morada, bo.local,bo.codpost ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut' from wsbodata bo where bo.bostamp = 'aut667940237866794f8fa7'
20240624@115056.1430 2hv1b38sjiknfrs5mcl0ib5rhe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240624@115056.1580 2hv1b38sjiknfrs5mcl0ib5rhe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 5
20240624@115056.1700 2hv1b38sjiknfrs5mcl0ib5rhe Query : insert into wsbidata (bistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,obrano, qtt,uni2qtt ,no, estab,nmdos ,ndos, obranome,fechada, dataobra ,rdata ,dataopen, datafecho,local, morada ,codpost, nome,bostamp,lordem ,edebito,debito, epu,pu ,ivaincl,stns,unidade, unidad2 ,marcada,usalote ,ettdeb,ttdeb,epcusto, pcusto ,ecustoind,custoind ,vendedor,vendnm, ccusto,ncusto ,noserie,tabiva,iva ,ref,design,familia,eslvu,slvu,esltt,sltt,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,ar2mazem,stipo) select 'aut667940620166794f9000',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 12.000, 12.000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,0,0*200.48,0,0*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,0*12.000,0*12.000*200.48 ,7.633000,7.633000*200.48 ,7.633000,7.633000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0*200.48,0*12.000,0*12.000*200.48,0,0*12.000,0,0*12.000,?,?,?,4 from wsbodata bo where bo.bostamp = 'aut667940237866794f8fa7'
20240624@115056.3920 2hv1b38sjiknfrs5mcl0ib5rhe Query : insert into wsbocreationlog (initialstamp,externalid,creationstatus,documenttypeid,idustamp,transactionid) values ('aut667940237866794f8fa7','','wait',5,'adm12071144683,938000003','')
20240624@115056.4330 2hv1b38sjiknfrs5mcl0ib5rhe Query : use flama_phc
20240624@115056.4370 2hv1b38sjiknfrs5mcl0ib5rhe Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@115056.4480 2hv1b38sjiknfrs5mcl0ib5rhe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='538';
20240624@115056.4610 2hv1b38sjiknfrs5mcl0ib5rhe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='538';
20240624@121910.6964 e4q0apeo80ia0kvvktl25n337e Query : use flama_phc
20240624@121910.6970 e4q0apeo80ia0kvvktl25n337e Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@121910.6993 e4q0apeo80ia0kvvktl25n337e Query : use flama_phc
20240624@121910.6996 e4q0apeo80ia0kvvktl25n337e Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@123610.8861 nptp2sg3j1kcu7bstlba3t3hpu Query : use flama_phc
20240624@123610.8866 nptp2sg3j1kcu7bstlba3t3hpu Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@123610.8883 nptp2sg3j1kcu7bstlba3t3hpu Query : use flama_phc
20240624@123610.8886 nptp2sg3j1kcu7bstlba3t3hpu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@131910.5163 sui079m9pohl27fioju1h8t8ek Query : use flama_phc
20240624@131910.5168 sui079m9pohl27fioju1h8t8ek Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@131910.5185 sui079m9pohl27fioju1h8t8ek Query : use flama_phc
20240624@131910.5188 sui079m9pohl27fioju1h8t8ek Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@133610.6352 aoq9ivfqo3ate653f6adspqgkh Query : use flama_phc
20240624@133610.6356 aoq9ivfqo3ate653f6adspqgkh Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@133610.6373 aoq9ivfqo3ate653f6adspqgkh Query : use flama_phc
20240624@133610.6375 aoq9ivfqo3ate653f6adspqgkh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@141916.1444 vo5k4qcma5ikmri7h19aadsqcc Query : use flama_phc
20240624@141916.1449 vo5k4qcma5ikmri7h19aadsqcc Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@141916.1466 vo5k4qcma5ikmri7h19aadsqcc Query : use flama_phc
20240624@141916.1469 vo5k4qcma5ikmri7h19aadsqcc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@143616.2511 9t05ha9qc0vlblaguu7kdbca55 Query : use flama_phc
20240624@143616.2516 9t05ha9qc0vlblaguu7kdbca55 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@143616.2535 9t05ha9qc0vlblaguu7kdbca55 Query : use flama_phc
20240624@143616.2538 9t05ha9qc0vlblaguu7kdbca55 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@151911.5288 03dd3d55odpl291trr4tj4fffc Query : use flama_phc
20240624@151911.5292 03dd3d55odpl291trr4tj4fffc Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@151911.5310 03dd3d55odpl291trr4tj4fffc Query : use flama_phc
20240624@151911.5313 03dd3d55odpl291trr4tj4fffc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@153611.9042 q410ktat4ms7kenmk6o4nfu218 Query : use flama_phc
20240624@153611.9047 q410ktat4ms7kenmk6o4nfu218 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@153611.9064 q410ktat4ms7kenmk6o4nfu218 Query : use flama_phc
20240624@153611.9067 q410ktat4ms7kenmk6o4nfu218 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@161918.2017 0vga4vp0lipj6n3nq1feedh8vb Query : use flama_phc
20240624@161918.2022 0vga4vp0lipj6n3nq1feedh8vb Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@161918.2040 0vga4vp0lipj6n3nq1feedh8vb Query : use flama_phc
20240624@161918.2043 0vga4vp0lipj6n3nq1feedh8vb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@163618.1980 ouibm3g5q951j0k9anp0akbh35 Query : use flama_phc
20240624@163618.1985 ouibm3g5q951j0k9anp0akbh35 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@163618.2053 ouibm3g5q951j0k9anp0akbh35 Query : use flama_phc
20240624@163618.2056 ouibm3g5q951j0k9anp0akbh35 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@171910.6139 r8u358l92rkn8ihs1k1tudqar0 Query : use flama_phc
20240624@171910.6188 r8u358l92rkn8ihs1k1tudqar0 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@171910.6206 r8u358l92rkn8ihs1k1tudqar0 Query : use flama_phc
20240624@171910.6209 r8u358l92rkn8ihs1k1tudqar0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@173610.7647 6oidl1crlfpe8h90e4n10cu3no Query : use flama_phc
20240624@173610.7652 6oidl1crlfpe8h90e4n10cu3no Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@173610.7672 6oidl1crlfpe8h90e4n10cu3no Query : use flama_phc
20240624@173610.7675 6oidl1crlfpe8h90e4n10cu3no Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@175037.9385 10cgbpfk8it84brmio7qs7ld37 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@175037.9432 10cgbpfk8it84brmio7qs7ld37 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@175037.9616 10cgbpfk8it84brmio7qs7ld37 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='539';
20240624@175037.9660 10cgbpfk8it84brmio7qs7ld37 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='539';
20240624@175037.9712 10cgbpfk8it84brmio7qs7ld37 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='539';
20240624@175037.9724 10cgbpfk8it84brmio7qs7ld37 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='539';
20240624@175037.9748 10cgbpfk8it84brmio7qs7ld37 Query : use flama_phc
20240624@175037.9752 10cgbpfk8it84brmio7qs7ld37 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240624@175037.9796 10cgbpfk8it84brmio7qs7ld37 Query : use flama_phc
20240624@175037.9799 10cgbpfk8it84brmio7qs7ld37 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240624@175037.9864 10cgbpfk8it84brmio7qs7ld37 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9005.00.1'
20240624@175037.9966 10cgbpfk8it84brmio7qs7ld37 Query : use flama_phc
20240624@175037.9969 10cgbpfk8it84brmio7qs7ld37 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240624@175038.1090 10cgbpfk8it84brmio7qs7ld37 Query : use flama_phc
20240624@175038.1120 10cgbpfk8it84brmio7qs7ld37 Query : select top 1 1 valor from td where td.ndoc = 39
20240624@175038.1560 10cgbpfk8it84brmio7qs7ld37 Query : use flama_phc
20240624@175038.1590 10cgbpfk8it84brmio7qs7ld37 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')
20240624@175038.7030 qnl4ijlk6mm00mogiuboj85f00 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@175038.7240 qnl4ijlk6mm00mogiuboj85f00 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@175038.7380 qnl4ijlk6mm00mogiuboj85f00 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='540';
20240624@175038.7760 qnl4ijlk6mm00mogiuboj85f00 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='540';
20240624@175038.7900 qnl4ijlk6mm00mogiuboj85f00 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='540';
20240624@175038.8010 qnl4ijlk6mm00mogiuboj85f00 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='540';
20240624@175038.8120 qnl4ijlk6mm00mogiuboj85f00 Query : use flama_phc
20240624@175038.8140 qnl4ijlk6mm00mogiuboj85f00 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240624@175038.8280 qnl4ijlk6mm00mogiuboj85f00 Query : use flama_phc
20240624@175038.8310 qnl4ijlk6mm00mogiuboj85f00 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240624@175038.8570 qnl4ijlk6mm00mogiuboj85f00 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9006.00.1'
20240624@175038.9600 qnl4ijlk6mm00mogiuboj85f00 Query : use flama_phc
20240624@175038.9630 qnl4ijlk6mm00mogiuboj85f00 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240624@175038.9760 qnl4ijlk6mm00mogiuboj85f00 Query : use flama_phc
20240624@175038.9790 qnl4ijlk6mm00mogiuboj85f00 Query : select top 1 1 valor from td where td.ndoc = 39
20240624@175038.9890 qnl4ijlk6mm00mogiuboj85f00 Query : use flama_phc
20240624@175038.9920 qnl4ijlk6mm00mogiuboj85f00 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')
20240624@175038.1511 g4c7l8r3dj06ejuhbcs17l8rb2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@175038.1527 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@175038.1541 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='541';
20240624@175038.1579 g4c7l8r3dj06ejuhbcs17l8rb2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='541';
20240624@175038.1592 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='541';
20240624@175038.1603 g4c7l8r3dj06ejuhbcs17l8rb2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='541';
20240624@175038.1615 g4c7l8r3dj06ejuhbcs17l8rb2 Query : use flama_phc
20240624@175038.1617 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240624@175038.1631 g4c7l8r3dj06ejuhbcs17l8rb2 Query : use flama_phc
20240624@175038.1634 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240624@175038.1662 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20240624@175038.1762 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20240624@175038.1772 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20240624@175038.1781 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20240624@175038.1791 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20240624@175038.1799 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20240624@175038.1808 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20240624@175038.1818 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20240624@175038.1828 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20240624@175038.1837 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20240624@175038.1846 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240624@175038.1949 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240624@175038.1959 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240624@175038.1968 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240624@175038.1977 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240624@175038.1986 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240624@175038.1995 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240624@175038.2004 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240624@175038.2014 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240624@175038.2025 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240624@175038.2035 g4c7l8r3dj06ejuhbcs17l8rb2 Query : use flama_phc
20240624@175038.2038 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240624@175038.2051 g4c7l8r3dj06ejuhbcs17l8rb2 Query : use flama_phc
20240624@175038.2053 g4c7l8r3dj06ejuhbcs17l8rb2 Query : select top 1 1 valor from td where td.ndoc = 39
20240624@175038.2064 g4c7l8r3dj06ejuhbcs17l8rb2 Query : use flama_phc
20240624@175038.2067 g4c7l8r3dj06ejuhbcs17l8rb2 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')
20240624@175038.2557 u415qr7qq3msc4u1p03nh0kka5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@175038.2571 u415qr7qq3msc4u1p03nh0kka5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@175038.2585 u415qr7qq3msc4u1p03nh0kka5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='542';
20240624@175038.2625 u415qr7qq3msc4u1p03nh0kka5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='542';
20240624@175038.2641 u415qr7qq3msc4u1p03nh0kka5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='542';
20240624@175038.2652 u415qr7qq3msc4u1p03nh0kka5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='542';
20240624@175038.2672 u415qr7qq3msc4u1p03nh0kka5 Query : use flama_phc
20240624@175038.2675 u415qr7qq3msc4u1p03nh0kka5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240624@175038.2689 u415qr7qq3msc4u1p03nh0kka5 Query : use flama_phc
20240624@175038.2692 u415qr7qq3msc4u1p03nh0kka5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1123
20240624@175038.2758 u415qr7qq3msc4u1p03nh0kka5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20240624@175038.4036 u415qr7qq3msc4u1p03nh0kka5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1675.00.2'
20240624@175038.4140 u415qr7qq3msc4u1p03nh0kka5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1608.00.1'
20240624@175038.4229 u415qr7qq3msc4u1p03nh0kka5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1608.00.1'
20240624@175038.4238 u415qr7qq3msc4u1p03nh0kka5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5501.00.1'
20240624@175038.4325 u415qr7qq3msc4u1p03nh0kka5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240624@175038.4335 u415qr7qq3msc4u1p03nh0kka5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20240624@175038.4423 u415qr7qq3msc4u1p03nh0kka5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20240624@175038.4432 u415qr7qq3msc4u1p03nh0kka5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4211.00.1'
20240624@175038.4545 u415qr7qq3msc4u1p03nh0kka5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20240624@175038.4554 u415qr7qq3msc4u1p03nh0kka5 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1670.00.1'
20240624@175038.4564 u415qr7qq3msc4u1p03nh0kka5 Query : use flama_phc
20240624@175038.4567 u415qr7qq3msc4u1p03nh0kka5 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240624@175038.4579 u415qr7qq3msc4u1p03nh0kka5 Query : use flama_phc
20240624@175038.4582 u415qr7qq3msc4u1p03nh0kka5 Query : select top 1 1 valor from td where td.ndoc = 39
20240624@175038.4591 u415qr7qq3msc4u1p03nh0kka5 Query : use flama_phc
20240624@175038.4594 u415qr7qq3msc4u1p03nh0kka5 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')
20240624@175038.5084 m6d416qv2tq0n3ds5eed5c0psh Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@175038.5097 m6d416qv2tq0n3ds5eed5c0psh Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@175038.5112 m6d416qv2tq0n3ds5eed5c0psh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='543';
20240624@175038.5150 m6d416qv2tq0n3ds5eed5c0psh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='543';
20240624@175038.5163 m6d416qv2tq0n3ds5eed5c0psh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='543';
20240624@175038.5175 m6d416qv2tq0n3ds5eed5c0psh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='543';
20240624@175038.5194 m6d416qv2tq0n3ds5eed5c0psh Query : use flama_phc
20240624@175038.5198 m6d416qv2tq0n3ds5eed5c0psh Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240624@175038.5211 m6d416qv2tq0n3ds5eed5c0psh Query : use flama_phc
20240624@175038.5214 m6d416qv2tq0n3ds5eed5c0psh Query : select no, estab,szadrsdesc from szadrs where u_coddest=743
20240624@175038.5277 m6d416qv2tq0n3ds5eed5c0psh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240624@175038.5379 m6d416qv2tq0n3ds5eed5c0psh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1675.00.2'
20240624@175038.5389 m6d416qv2tq0n3ds5eed5c0psh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1221.00.1'
20240624@175038.5489 m6d416qv2tq0n3ds5eed5c0psh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.939.00.01'
20240624@175038.5587 m6d416qv2tq0n3ds5eed5c0psh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240624@175038.5677 m6d416qv2tq0n3ds5eed5c0psh Query : use flama_phc
20240624@175038.5680 m6d416qv2tq0n3ds5eed5c0psh Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240624@175038.5693 m6d416qv2tq0n3ds5eed5c0psh Query : use flama_phc
20240624@175038.5695 m6d416qv2tq0n3ds5eed5c0psh Query : select top 1 1 valor from td where td.ndoc = 39
20240624@175038.5705 m6d416qv2tq0n3ds5eed5c0psh Query : use flama_phc
20240624@175038.5708 m6d416qv2tq0n3ds5eed5c0psh 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')
20240624@175038.6308 ketqk4gf5sva4g5ep53ppi7110 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@175038.6327 ketqk4gf5sva4g5ep53ppi7110 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@175038.6342 ketqk4gf5sva4g5ep53ppi7110 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='544';
20240624@175038.6381 ketqk4gf5sva4g5ep53ppi7110 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='544';
20240624@175038.6394 ketqk4gf5sva4g5ep53ppi7110 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='544';
20240624@175038.6407 ketqk4gf5sva4g5ep53ppi7110 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='544';
20240624@175038.6420 ketqk4gf5sva4g5ep53ppi7110 Query : use flama_phc
20240624@175038.6423 ketqk4gf5sva4g5ep53ppi7110 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240624@175038.6438 ketqk4gf5sva4g5ep53ppi7110 Query : use flama_phc
20240624@175038.6441 ketqk4gf5sva4g5ep53ppi7110 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240624@175038.6508 ketqk4gf5sva4g5ep53ppi7110 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'
20240624@175038.6607 ketqk4gf5sva4g5ep53ppi7110 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'
20240624@175038.6617 ketqk4gf5sva4g5ep53ppi7110 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'
20240624@175038.6627 ketqk4gf5sva4g5ep53ppi7110 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'
20240624@175038.6638 ketqk4gf5sva4g5ep53ppi7110 Query : use flama_phc
20240624@175038.6641 ketqk4gf5sva4g5ep53ppi7110 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240624@175038.6654 ketqk4gf5sva4g5ep53ppi7110 Query : use flama_phc
20240624@175038.6656 ketqk4gf5sva4g5ep53ppi7110 Query : select top 1 1 valor from td where td.ndoc = 39
20240624@175038.6667 ketqk4gf5sva4g5ep53ppi7110 Query : use flama_phc
20240624@175038.6670 ketqk4gf5sva4g5ep53ppi7110 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')
20240624@175038.7164 0q42jrr6gp09182vjdebu1tdkn Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@175038.7201 0q42jrr6gp09182vjdebu1tdkn Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@175038.7218 0q42jrr6gp09182vjdebu1tdkn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='545';
20240624@175038.7268 0q42jrr6gp09182vjdebu1tdkn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='545';
20240624@175038.7285 0q42jrr6gp09182vjdebu1tdkn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='545';
20240624@175038.7299 0q42jrr6gp09182vjdebu1tdkn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='545';
20240624@175038.7313 0q42jrr6gp09182vjdebu1tdkn Query : use flama_phc
20240624@175038.7316 0q42jrr6gp09182vjdebu1tdkn Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240624@175038.7331 0q42jrr6gp09182vjdebu1tdkn Query : use flama_phc
20240624@175038.7333 0q42jrr6gp09182vjdebu1tdkn Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240624@175038.7360 0q42jrr6gp09182vjdebu1tdkn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20240624@175038.7462 0q42jrr6gp09182vjdebu1tdkn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20240624@175038.7473 0q42jrr6gp09182vjdebu1tdkn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20240624@175038.7483 0q42jrr6gp09182vjdebu1tdkn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1833.00.2'
20240624@175038.7498 0q42jrr6gp09182vjdebu1tdkn Query : use flama_phc
20240624@175038.7501 0q42jrr6gp09182vjdebu1tdkn Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240624@175038.7513 0q42jrr6gp09182vjdebu1tdkn Query : use flama_phc
20240624@175038.7516 0q42jrr6gp09182vjdebu1tdkn Query : select top 1 1 valor from td where td.ndoc = 39
20240624@175038.7527 0q42jrr6gp09182vjdebu1tdkn Query : use flama_phc
20240624@175038.7529 0q42jrr6gp09182vjdebu1tdkn 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')
20240624@175038.8025 j77rppc2pkk6463rhpjprehn65 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@175038.8053 j77rppc2pkk6463rhpjprehn65 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@175038.8067 j77rppc2pkk6463rhpjprehn65 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='546';
20240624@175038.8107 j77rppc2pkk6463rhpjprehn65 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='546';
20240624@175038.8126 j77rppc2pkk6463rhpjprehn65 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='546';
20240624@175038.8138 j77rppc2pkk6463rhpjprehn65 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='546';
20240624@175038.8153 j77rppc2pkk6463rhpjprehn65 Query : use flama_phc
20240624@175038.8156 j77rppc2pkk6463rhpjprehn65 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240624@175038.8171 j77rppc2pkk6463rhpjprehn65 Query : use flama_phc
20240624@175038.8174 j77rppc2pkk6463rhpjprehn65 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240624@175038.8202 j77rppc2pkk6463rhpjprehn65 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240624@175038.8323 j77rppc2pkk6463rhpjprehn65 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240624@175038.8334 j77rppc2pkk6463rhpjprehn65 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240624@175038.8345 j77rppc2pkk6463rhpjprehn65 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240624@175038.8355 j77rppc2pkk6463rhpjprehn65 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20240624@175038.8365 j77rppc2pkk6463rhpjprehn65 Query : use flama_phc
20240624@175038.8368 j77rppc2pkk6463rhpjprehn65 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240624@175038.8381 j77rppc2pkk6463rhpjprehn65 Query : use flama_phc
20240624@175038.8384 j77rppc2pkk6463rhpjprehn65 Query : select top 1 1 valor from td where td.ndoc = 39
20240624@175038.8394 j77rppc2pkk6463rhpjprehn65 Query : use flama_phc
20240624@175038.8397 j77rppc2pkk6463rhpjprehn65 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')
20240624@175038.8892 rkplsblbrk5jasv8pnpsq10ce8 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@175038.8909 rkplsblbrk5jasv8pnpsq10ce8 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@175038.8924 rkplsblbrk5jasv8pnpsq10ce8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='547';
20240624@175038.8962 rkplsblbrk5jasv8pnpsq10ce8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='547';
20240624@175038.8981 rkplsblbrk5jasv8pnpsq10ce8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='547';
20240624@175038.8991 rkplsblbrk5jasv8pnpsq10ce8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='547';
20240624@175038.9008 rkplsblbrk5jasv8pnpsq10ce8 Query : use flama_phc
20240624@175038.9011 rkplsblbrk5jasv8pnpsq10ce8 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240624@175038.9025 rkplsblbrk5jasv8pnpsq10ce8 Query : use flama_phc
20240624@175038.9028 rkplsblbrk5jasv8pnpsq10ce8 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20240624@175038.9111 rkplsblbrk5jasv8pnpsq10ce8 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'
20240624@175038.9208 rkplsblbrk5jasv8pnpsq10ce8 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'
20240624@175038.9218 rkplsblbrk5jasv8pnpsq10ce8 Query : use flama_phc
20240624@175038.9221 rkplsblbrk5jasv8pnpsq10ce8 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240624@175038.9234 rkplsblbrk5jasv8pnpsq10ce8 Query : use flama_phc
20240624@175038.9236 rkplsblbrk5jasv8pnpsq10ce8 Query : select top 1 1 valor from td where td.ndoc = 39
20240624@175038.9246 rkplsblbrk5jasv8pnpsq10ce8 Query : use flama_phc
20240624@175038.9249 rkplsblbrk5jasv8pnpsq10ce8 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')
20240624@175038.9764 i8vtrf3k486lfrm175mlhv6rrl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@175038.9778 i8vtrf3k486lfrm175mlhv6rrl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@175038.9793 i8vtrf3k486lfrm175mlhv6rrl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='548';
20240624@175038.9835 i8vtrf3k486lfrm175mlhv6rrl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='548';
20240624@175038.9855 i8vtrf3k486lfrm175mlhv6rrl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='548';
20240624@175038.9868 i8vtrf3k486lfrm175mlhv6rrl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='548';
20240624@175038.9882 i8vtrf3k486lfrm175mlhv6rrl Query : use flama_phc
20240624@175038.9885 i8vtrf3k486lfrm175mlhv6rrl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240624@175038.9899 i8vtrf3k486lfrm175mlhv6rrl Query : use flama_phc
20240624@175038.9902 i8vtrf3k486lfrm175mlhv6rrl Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240624@175038.9931 i8vtrf3k486lfrm175mlhv6rrl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.2185.00.1'
20240624@175039.3500 i8vtrf3k486lfrm175mlhv6rrl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.2187.00.1'
20240624@175039.1310 i8vtrf3k486lfrm175mlhv6rrl Query : use flama_phc
20240624@175039.1340 i8vtrf3k486lfrm175mlhv6rrl Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240624@175039.1470 i8vtrf3k486lfrm175mlhv6rrl Query : use flama_phc
20240624@175039.1500 i8vtrf3k486lfrm175mlhv6rrl Query : select top 1 1 valor from td where td.ndoc = 39
20240624@175039.1610 i8vtrf3k486lfrm175mlhv6rrl Query : use flama_phc
20240624@175039.1630 i8vtrf3k486lfrm175mlhv6rrl 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')
20240624@175039.6410 jtersd2jv7tchj1se798k0117d Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@175039.6620 jtersd2jv7tchj1se798k0117d Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@175039.6760 jtersd2jv7tchj1se798k0117d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='549';
20240624@175039.7160 jtersd2jv7tchj1se798k0117d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='549';
20240624@175039.7330 jtersd2jv7tchj1se798k0117d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='549';
20240624@175039.7440 jtersd2jv7tchj1se798k0117d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='549';
20240624@175039.7660 jtersd2jv7tchj1se798k0117d Query : use flama_phc
20240624@175039.7680 jtersd2jv7tchj1se798k0117d Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240624@175039.7820 jtersd2jv7tchj1se798k0117d Query : use flama_phc
20240624@175039.7860 jtersd2jv7tchj1se798k0117d Query : select no, estab,szadrsdesc from szadrs where u_coddest=4743
20240624@175039.8140 jtersd2jv7tchj1se798k0117d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240624@175039.8260 jtersd2jv7tchj1se798k0117d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240624@175039.8350 jtersd2jv7tchj1se798k0117d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240624@175039.8460 jtersd2jv7tchj1se798k0117d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240624@175039.8550 jtersd2jv7tchj1se798k0117d Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240624@175039.8660 jtersd2jv7tchj1se798k0117d Query : use flama_phc
20240624@175039.8690 jtersd2jv7tchj1se798k0117d Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240624@175039.8820 jtersd2jv7tchj1se798k0117d Query : use flama_phc
20240624@175039.8840 jtersd2jv7tchj1se798k0117d Query : select top 1 1 valor from td where td.ndoc = 39
20240624@175039.8950 jtersd2jv7tchj1se798k0117d Query : use flama_phc
20240624@175039.8970 jtersd2jv7tchj1se798k0117d 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')
20240624@175039.1402 ltkjintijavkc1mirqi9fh2pdt Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@175039.1420 ltkjintijavkc1mirqi9fh2pdt Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@175039.1435 ltkjintijavkc1mirqi9fh2pdt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='550';
20240624@175039.1497 ltkjintijavkc1mirqi9fh2pdt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='550';
20240624@175039.1525 ltkjintijavkc1mirqi9fh2pdt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='550';
20240624@175039.1539 ltkjintijavkc1mirqi9fh2pdt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='550';
20240624@175039.1554 ltkjintijavkc1mirqi9fh2pdt Query : use flama_phc
20240624@175039.1558 ltkjintijavkc1mirqi9fh2pdt Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240624@175039.1574 ltkjintijavkc1mirqi9fh2pdt Query : use flama_phc
20240624@175039.1576 ltkjintijavkc1mirqi9fh2pdt Query : select no, estab,szadrsdesc from szadrs where u_coddest=416
20240624@175039.1643 ltkjintijavkc1mirqi9fh2pdt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1675.00.2'
20240624@175039.1653 ltkjintijavkc1mirqi9fh2pdt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1675.00.2'
20240624@175039.1662 ltkjintijavkc1mirqi9fh2pdt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1675.00.2'
20240624@175039.1671 ltkjintijavkc1mirqi9fh2pdt 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'
20240624@175039.1775 ltkjintijavkc1mirqi9fh2pdt 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'
20240624@175039.1784 ltkjintijavkc1mirqi9fh2pdt 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'
20240624@175039.1794 ltkjintijavkc1mirqi9fh2pdt Query : use flama_phc
20240624@175039.1797 ltkjintijavkc1mirqi9fh2pdt Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240624@175039.1810 ltkjintijavkc1mirqi9fh2pdt Query : use flama_phc
20240624@175039.1812 ltkjintijavkc1mirqi9fh2pdt Query : select top 1 1 valor from td where td.ndoc = 39
20240624@175039.1823 ltkjintijavkc1mirqi9fh2pdt Query : use flama_phc
20240624@175039.1826 ltkjintijavkc1mirqi9fh2pdt 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')
20240624@175039.2328 6jhe2n1mmsh627n91g9rnuatb0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@175039.2342 6jhe2n1mmsh627n91g9rnuatb0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@175039.2357 6jhe2n1mmsh627n91g9rnuatb0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='551';
20240624@175039.2399 6jhe2n1mmsh627n91g9rnuatb0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='551';
20240624@175039.2415 6jhe2n1mmsh627n91g9rnuatb0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='551';
20240624@175039.2426 6jhe2n1mmsh627n91g9rnuatb0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='551';
20240624@175039.2438 6jhe2n1mmsh627n91g9rnuatb0 Query : use flama_phc
20240624@175039.2467 6jhe2n1mmsh627n91g9rnuatb0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240624@175039.2482 6jhe2n1mmsh627n91g9rnuatb0 Query : use flama_phc
20240624@175039.2485 6jhe2n1mmsh627n91g9rnuatb0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2679
20240624@175039.2556 6jhe2n1mmsh627n91g9rnuatb0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '326.595.00.01'
20240624@175039.2666 6jhe2n1mmsh627n91g9rnuatb0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '323.367.09.00'
20240624@175039.2763 6jhe2n1mmsh627n91g9rnuatb0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20240624@175039.2854 6jhe2n1mmsh627n91g9rnuatb0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5343.00.1'
20240624@175039.2945 6jhe2n1mmsh627n91g9rnuatb0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5342.00.1'
20240624@175039.3039 6jhe2n1mmsh627n91g9rnuatb0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5342.00.1'
20240624@175039.3049 6jhe2n1mmsh627n91g9rnuatb0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1706.00.1'
20240624@175039.3149 6jhe2n1mmsh627n91g9rnuatb0 Query : use flama_phc
20240624@175039.3153 6jhe2n1mmsh627n91g9rnuatb0 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240624@175039.3166 6jhe2n1mmsh627n91g9rnuatb0 Query : use flama_phc
20240624@175039.3168 6jhe2n1mmsh627n91g9rnuatb0 Query : select top 1 1 valor from td where td.ndoc = 39
20240624@175039.3178 6jhe2n1mmsh627n91g9rnuatb0 Query : use flama_phc
20240624@175039.3181 6jhe2n1mmsh627n91g9rnuatb0 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')
20240624@175039.3780 hs5mqta3fthsehjj8f1d5e7b9h Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@175039.3824 hs5mqta3fthsehjj8f1d5e7b9h Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@175039.3874 hs5mqta3fthsehjj8f1d5e7b9h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='552';
20240624@175039.3971 hs5mqta3fthsehjj8f1d5e7b9h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='552';
20240624@175039.4017 hs5mqta3fthsehjj8f1d5e7b9h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='552';
20240624@175039.4061 hs5mqta3fthsehjj8f1d5e7b9h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='552';
20240624@175039.4087 hs5mqta3fthsehjj8f1d5e7b9h Query : use flama_phc
20240624@175039.4101 hs5mqta3fthsehjj8f1d5e7b9h Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240624@175039.4160 hs5mqta3fthsehjj8f1d5e7b9h Query : use flama_phc
20240624@175039.4167 hs5mqta3fthsehjj8f1d5e7b9h Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240624@175039.4248 hs5mqta3fthsehjj8f1d5e7b9h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20240624@175039.4528 hs5mqta3fthsehjj8f1d5e7b9h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20240624@175039.4629 hs5mqta3fthsehjj8f1d5e7b9h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20240624@175039.4729 hs5mqta3fthsehjj8f1d5e7b9h Query : use flama_phc
20240624@175039.4733 hs5mqta3fthsehjj8f1d5e7b9h Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240624@175039.5063 hs5mqta3fthsehjj8f1d5e7b9h Query : use flama_phc
20240624@175039.5076 hs5mqta3fthsehjj8f1d5e7b9h Query : select top 1 1 valor from td where td.ndoc = 39
20240624@175039.5115 hs5mqta3fthsehjj8f1d5e7b9h Query : use flama_phc
20240624@175039.5120 hs5mqta3fthsehjj8f1d5e7b9h 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')
20240624@175039.5766 bdpfcvjla78gagogaoeojduvmt Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@175039.5790 bdpfcvjla78gagogaoeojduvmt Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@175039.5843 bdpfcvjla78gagogaoeojduvmt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='553';
20240624@175039.5896 bdpfcvjla78gagogaoeojduvmt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='553';
20240624@175039.5918 bdpfcvjla78gagogaoeojduvmt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='553';
20240624@175039.5953 bdpfcvjla78gagogaoeojduvmt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='553';
20240624@175039.5978 bdpfcvjla78gagogaoeojduvmt Query : use flama_phc
20240624@175039.5989 bdpfcvjla78gagogaoeojduvmt Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240624@175039.6030 bdpfcvjla78gagogaoeojduvmt Query : use flama_phc
20240624@175039.6034 bdpfcvjla78gagogaoeojduvmt Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240624@175039.6063 bdpfcvjla78gagogaoeojduvmt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20240624@175039.6173 bdpfcvjla78gagogaoeojduvmt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20240624@175039.6183 bdpfcvjla78gagogaoeojduvmt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20240624@175039.6193 bdpfcvjla78gagogaoeojduvmt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20240624@175039.6204 bdpfcvjla78gagogaoeojduvmt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20240624@175039.6215 bdpfcvjla78gagogaoeojduvmt Query : use flama_phc
20240624@175039.6219 bdpfcvjla78gagogaoeojduvmt Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240624@175039.6232 bdpfcvjla78gagogaoeojduvmt Query : use flama_phc
20240624@175039.6235 bdpfcvjla78gagogaoeojduvmt Query : select top 1 1 valor from td where td.ndoc = 39
20240624@175039.6246 bdpfcvjla78gagogaoeojduvmt Query : use flama_phc
20240624@175039.6249 bdpfcvjla78gagogaoeojduvmt 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')
20240624@175039.6875 qtj1cofi5sae82suljptkpt069 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@175039.6888 qtj1cofi5sae82suljptkpt069 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@175039.6903 qtj1cofi5sae82suljptkpt069 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='554';
20240624@175039.6942 qtj1cofi5sae82suljptkpt069 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='554';
20240624@175039.6957 qtj1cofi5sae82suljptkpt069 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='554';
20240624@175039.6967 qtj1cofi5sae82suljptkpt069 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='554';
20240624@175039.6986 qtj1cofi5sae82suljptkpt069 Query : use flama_phc
20240624@175039.6989 qtj1cofi5sae82suljptkpt069 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240624@175039.7009 qtj1cofi5sae82suljptkpt069 Query : use flama_phc
20240624@175039.7012 qtj1cofi5sae82suljptkpt069 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240624@175039.7040 qtj1cofi5sae82suljptkpt069 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240624@175039.7142 qtj1cofi5sae82suljptkpt069 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240624@175039.7152 qtj1cofi5sae82suljptkpt069 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240624@175039.7163 qtj1cofi5sae82suljptkpt069 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20240624@175039.7180 qtj1cofi5sae82suljptkpt069 Query : use flama_phc
20240624@175039.7183 qtj1cofi5sae82suljptkpt069 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240624@175039.7195 qtj1cofi5sae82suljptkpt069 Query : use flama_phc
20240624@175039.7198 qtj1cofi5sae82suljptkpt069 Query : select top 1 1 valor from td where td.ndoc = 39
20240624@175039.7210 qtj1cofi5sae82suljptkpt069 Query : use flama_phc
20240624@175039.7212 qtj1cofi5sae82suljptkpt069 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')
20240624@175039.7722 1g070sjhgcm52ojjlv8pp5rc0o Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@175039.7744 1g070sjhgcm52ojjlv8pp5rc0o Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@175039.7761 1g070sjhgcm52ojjlv8pp5rc0o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='555';
20240624@175039.7801 1g070sjhgcm52ojjlv8pp5rc0o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='555';
20240624@175039.7819 1g070sjhgcm52ojjlv8pp5rc0o Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='555';
20240624@175039.7829 1g070sjhgcm52ojjlv8pp5rc0o Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='555';
20240624@175039.7845 1g070sjhgcm52ojjlv8pp5rc0o Query : use flama_phc
20240624@175039.7848 1g070sjhgcm52ojjlv8pp5rc0o Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240624@175039.7863 1g070sjhgcm52ojjlv8pp5rc0o Query : use flama_phc
20240624@175039.7865 1g070sjhgcm52ojjlv8pp5rc0o Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240624@175039.7893 1g070sjhgcm52ojjlv8pp5rc0o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20240624@175039.7996 1g070sjhgcm52ojjlv8pp5rc0o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20240624@175039.8007 1g070sjhgcm52ojjlv8pp5rc0o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20240624@175039.8018 1g070sjhgcm52ojjlv8pp5rc0o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20240624@175039.8028 1g070sjhgcm52ojjlv8pp5rc0o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20240624@175039.8038 1g070sjhgcm52ojjlv8pp5rc0o Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20240624@175039.8047 1g070sjhgcm52ojjlv8pp5rc0o Query : use flama_phc
20240624@175039.8050 1g070sjhgcm52ojjlv8pp5rc0o Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240624@175039.8063 1g070sjhgcm52ojjlv8pp5rc0o Query : use flama_phc
20240624@175039.8066 1g070sjhgcm52ojjlv8pp5rc0o Query : select top 1 1 valor from td where td.ndoc = 39
20240624@175039.8076 1g070sjhgcm52ojjlv8pp5rc0o Query : use flama_phc
20240624@175039.8079 1g070sjhgcm52ojjlv8pp5rc0o 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')
20240624@175039.9393 0fadqo2cg228al1hsjgl965brq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@175039.9411 0fadqo2cg228al1hsjgl965brq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@175039.9425 0fadqo2cg228al1hsjgl965brq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='556';
20240624@175039.9464 0fadqo2cg228al1hsjgl965brq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='556';
20240624@175039.9477 0fadqo2cg228al1hsjgl965brq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='556';
20240624@175039.9487 0fadqo2cg228al1hsjgl965brq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='556';
20240624@175039.9507 0fadqo2cg228al1hsjgl965brq Query : use flama_phc
20240624@175039.9511 0fadqo2cg228al1hsjgl965brq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240624@175039.9525 0fadqo2cg228al1hsjgl965brq Query : use flama_phc
20240624@175039.9529 0fadqo2cg228al1hsjgl965brq Query : select no, estab,szadrsdesc from szadrs where u_coddest=1539
20240624@175039.9592 0fadqo2cg228al1hsjgl965brq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4723.00.2'
20240624@175039.9693 0fadqo2cg228al1hsjgl965brq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20240624@175039.9790 0fadqo2cg228al1hsjgl965brq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20240624@175040.2000 0fadqo2cg228al1hsjgl965brq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.645.00.01'
20240624@175040.1400 0fadqo2cg228al1hsjgl965brq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.646.00.01'
20240624@175040.2400 0fadqo2cg228al1hsjgl965brq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240624@175040.1270 0fadqo2cg228al1hsjgl965brq Query : use flama_phc
20240624@175040.1310 0fadqo2cg228al1hsjgl965brq Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240624@175040.1440 0fadqo2cg228al1hsjgl965brq Query : use flama_phc
20240624@175040.1460 0fadqo2cg228al1hsjgl965brq Query : select top 1 1 valor from td where td.ndoc = 39
20240624@175040.1570 0fadqo2cg228al1hsjgl965brq Query : use flama_phc
20240624@175040.1610 0fadqo2cg228al1hsjgl965brq 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')
20240624@175040.6860 adstre25t3qi8lpe9ipdptiap7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@175040.7040 adstre25t3qi8lpe9ipdptiap7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@175040.7190 adstre25t3qi8lpe9ipdptiap7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='557';
20240624@175040.8310 adstre25t3qi8lpe9ipdptiap7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='557';
20240624@175040.8470 adstre25t3qi8lpe9ipdptiap7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='557';
20240624@175040.8580 adstre25t3qi8lpe9ipdptiap7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='557';
20240624@175040.8710 adstre25t3qi8lpe9ipdptiap7 Query : use flama_phc
20240624@175040.8740 adstre25t3qi8lpe9ipdptiap7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240624@175040.8900 adstre25t3qi8lpe9ipdptiap7 Query : use flama_phc
20240624@175040.8930 adstre25t3qi8lpe9ipdptiap7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1540
20240624@175040.9620 adstre25t3qi8lpe9ipdptiap7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20240624@175040.1097 adstre25t3qi8lpe9ipdptiap7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.657.00.01'
20240624@175040.1111 adstre25t3qi8lpe9ipdptiap7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240624@175040.1121 adstre25t3qi8lpe9ipdptiap7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20240624@175040.1228 adstre25t3qi8lpe9ipdptiap7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.649.00.01'
20240624@175040.1238 adstre25t3qi8lpe9ipdptiap7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20240624@175040.1341 adstre25t3qi8lpe9ipdptiap7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.686.00.01'
20240624@175040.1436 adstre25t3qi8lpe9ipdptiap7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.679.00.01'
20240624@175040.1533 adstre25t3qi8lpe9ipdptiap7 Query : use flama_phc
20240624@175040.1537 adstre25t3qi8lpe9ipdptiap7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240624@175040.1550 adstre25t3qi8lpe9ipdptiap7 Query : use flama_phc
20240624@175040.1553 adstre25t3qi8lpe9ipdptiap7 Query : select top 1 1 valor from td where td.ndoc = 39
20240624@175040.1563 adstre25t3qi8lpe9ipdptiap7 Query : use flama_phc
20240624@175040.1566 adstre25t3qi8lpe9ipdptiap7 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')
20240624@175040.2283 unfjc3fsg1qgeks6pkn9c6s5vh Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240624@175040.2298 unfjc3fsg1qgeks6pkn9c6s5vh Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240624@175040.2316 unfjc3fsg1qgeks6pkn9c6s5vh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='558';
20240624@175040.2359 unfjc3fsg1qgeks6pkn9c6s5vh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='558';
20240624@175040.2381 unfjc3fsg1qgeks6pkn9c6s5vh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='558';
20240624@175040.2392 unfjc3fsg1qgeks6pkn9c6s5vh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='558';
20240624@175040.2405 unfjc3fsg1qgeks6pkn9c6s5vh Query : use flama_phc
20240624@175040.2409 unfjc3fsg1qgeks6pkn9c6s5vh Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240624@175040.2424 unfjc3fsg1qgeks6pkn9c6s5vh Query : use flama_phc
20240624@175040.2427 unfjc3fsg1qgeks6pkn9c6s5vh Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240624@175040.2456 unfjc3fsg1qgeks6pkn9c6s5vh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5347.00.1'
20240624@175040.2562 unfjc3fsg1qgeks6pkn9c6s5vh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5347.00.1'
20240624@175040.2571 unfjc3fsg1qgeks6pkn9c6s5vh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5342.00.1'
20240624@175040.2581 unfjc3fsg1qgeks6pkn9c6s5vh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5342.00.1'
20240624@175040.2590 unfjc3fsg1qgeks6pkn9c6s5vh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5501.00.1'
20240624@175040.2599 unfjc3fsg1qgeks6pkn9c6s5vh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5501.00.1'
20240624@175040.2608 unfjc3fsg1qgeks6pkn9c6s5vh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5501.00.1'
20240624@175040.2617 unfjc3fsg1qgeks6pkn9c6s5vh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5396.00.1'
20240624@175040.2733 unfjc3fsg1qgeks6pkn9c6s5vh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5396.00.1'
20240624@175040.2744 unfjc3fsg1qgeks6pkn9c6s5vh Query : use flama_phc
20240624@175040.2747 unfjc3fsg1qgeks6pkn9c6s5vh Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240624@175040.2762 unfjc3fsg1qgeks6pkn9c6s5vh Query : use flama_phc
20240624@175040.2765 unfjc3fsg1qgeks6pkn9c6s5vh Query : select top 1 1 valor from td where td.ndoc = 39
20240624@175040.2776 unfjc3fsg1qgeks6pkn9c6s5vh Query : use flama_phc
20240624@175040.2779 unfjc3fsg1qgeks6pkn9c6s5vh 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')
20240624@181912.5366 lm5bqaal7ft7b5u3rur1vk4a5i Query : use flama_phc
20240624@181912.5372 lm5bqaal7ft7b5u3rur1vk4a5i Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@181912.5394 lm5bqaal7ft7b5u3rur1vk4a5i Query : use flama_phc
20240624@181912.5398 lm5bqaal7ft7b5u3rur1vk4a5i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@183612.1650 2qlo09sj5bcp3ec9pc39ubrr0s Query : use flama_phc
20240624@183612.1655 2qlo09sj5bcp3ec9pc39ubrr0s Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@183612.1677 2qlo09sj5bcp3ec9pc39ubrr0s Query : use flama_phc
20240624@183612.1680 2qlo09sj5bcp3ec9pc39ubrr0s Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@191910.7284 bhdudlmp1iorp5hodjbbfb827h Query : use flama_phc
20240624@191910.7289 bhdudlmp1iorp5hodjbbfb827h Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@191910.7309 bhdudlmp1iorp5hodjbbfb827h Query : use flama_phc
20240624@191910.7312 bhdudlmp1iorp5hodjbbfb827h Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@193610.6440 ihhqfqlth5cote2ubsg7qfka6i Query : use flama_phc
20240624@193610.6445 ihhqfqlth5cote2ubsg7qfka6i Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@193610.6464 ihhqfqlth5cote2ubsg7qfka6i Query : use flama_phc
20240624@193610.6467 ihhqfqlth5cote2ubsg7qfka6i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@201913.4528 2vubjrsmpcs5h7oicl0mtdag00 Query : use flama_phc
20240624@201913.4533 2vubjrsmpcs5h7oicl0mtdag00 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@201913.4586 2vubjrsmpcs5h7oicl0mtdag00 Query : use flama_phc
20240624@201913.4589 2vubjrsmpcs5h7oicl0mtdag00 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@203613.3829 5t4v5at3g97rlkelb2m1ait1mn Query : use flama_phc
20240624@203613.3834 5t4v5at3g97rlkelb2m1ait1mn Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@203613.3852 5t4v5at3g97rlkelb2m1ait1mn Query : use flama_phc
20240624@203613.3855 5t4v5at3g97rlkelb2m1ait1mn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@211911.4990 q1egpsf007shqblm92s68sehps Query : use flama_phc
20240624@211911.5030 q1egpsf007shqblm92s68sehps Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@211911.5210 q1egpsf007shqblm92s68sehps Query : use flama_phc
20240624@211911.5240 q1egpsf007shqblm92s68sehps Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@213611.2828 db6ec45ikat6k7fak2o23t6bdk Query : use flama_phc
20240624@213611.2834 db6ec45ikat6k7fak2o23t6bdk Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@213611.2855 db6ec45ikat6k7fak2o23t6bdk Query : use flama_phc
20240624@213611.2858 db6ec45ikat6k7fak2o23t6bdk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@221910.6165 dvbn5349a1kpd24jgrgpqhhtfg Query : use flama_phc
20240624@221910.6170 dvbn5349a1kpd24jgrgpqhhtfg Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@221910.6187 dvbn5349a1kpd24jgrgpqhhtfg Query : use flama_phc
20240624@221910.6190 dvbn5349a1kpd24jgrgpqhhtfg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@223610.4668 3i210p2jbbgqmkquqai3lfsj5d Query : use flama_phc
20240624@223610.4673 3i210p2jbbgqmkquqai3lfsj5d Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@223610.4691 3i210p2jbbgqmkquqai3lfsj5d Query : use flama_phc
20240624@223610.4694 3i210p2jbbgqmkquqai3lfsj5d Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@231909.5449 a6les2j8efhv4ic9uiqpc0f08q Query : use flama_phc
20240624@231909.5454 a6les2j8efhv4ic9uiqpc0f08q Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@231909.5472 a6les2j8efhv4ic9uiqpc0f08q Query : use flama_phc
20240624@231909.5475 a6les2j8efhv4ic9uiqpc0f08q Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240624@233609.7146 3uqgbb75ao90eqdeioar0kpbk0 Query : use flama_phc
20240624@233609.7150 3uqgbb75ao90eqdeioar0kpbk0 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240624@233609.7167 3uqgbb75ao90eqdeioar0kpbk0 Query : use flama_phc
20240624@233609.7170 3uqgbb75ao90eqdeioar0kpbk0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@030100.4290 rb1vqtfarftr0th55baestqn49 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@030100.4314 rb1vqtfarftr0th55baestqn49 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@030100.4426 rb1vqtfarftr0th55baestqn49 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='559';
20240625@030100.4567 rb1vqtfarftr0th55baestqn49 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='559';
20240625@030100.4598 rb1vqtfarftr0th55baestqn49 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='559';
20240625@030100.4610 rb1vqtfarftr0th55baestqn49 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='559';
20240625@030100.4819 1m5pbajot3naph5lu1dr6r9ssa Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@030100.4832 1m5pbajot3naph5lu1dr6r9ssa Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@030100.4847 1m5pbajot3naph5lu1dr6r9ssa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='560';
20240625@030100.4884 1m5pbajot3naph5lu1dr6r9ssa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='560';
20240625@030100.4899 1m5pbajot3naph5lu1dr6r9ssa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='560';
20240625@030100.4912 1m5pbajot3naph5lu1dr6r9ssa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='560';
20240625@030108.2397 rb1vqtfarftr0th55baestqn49 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@030108.2414 rb1vqtfarftr0th55baestqn49 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@030108.2428 rb1vqtfarftr0th55baestqn49 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='561';
20240625@030108.2464 rb1vqtfarftr0th55baestqn49 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='561';
20240625@030108.2477 rb1vqtfarftr0th55baestqn49 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='561';
20240625@030108.2488 rb1vqtfarftr0th55baestqn49 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='561';
20240625@071929.3188 ec3p663ocb86dvmmt45n8d5ti2 Query : use flama_phc
20240625@071929.3257 ec3p663ocb86dvmmt45n8d5ti2 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@071929.3728 ec3p663ocb86dvmmt45n8d5ti2 Query : use flama_phc
20240625@071929.3785 ec3p663ocb86dvmmt45n8d5ti2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@073632.5282 63395dr0i27g8aoei4tv9t760e Query : use flama_phc
20240625@073632.5287 63395dr0i27g8aoei4tv9t760e Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@073632.5315 63395dr0i27g8aoei4tv9t760e Query : use flama_phc
20240625@073632.5318 63395dr0i27g8aoei4tv9t760e Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@081911.2578 99qa10fdf4gb56jk9eofalvlsj Query : use flama_phc
20240625@081911.2582 99qa10fdf4gb56jk9eofalvlsj Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@081911.2633 99qa10fdf4gb56jk9eofalvlsj Query : use flama_phc
20240625@081911.2636 99qa10fdf4gb56jk9eofalvlsj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@083611.5530 o27s1me1hm89k9o7ml6qb4h4n6 Query : use flama_phc
20240625@083611.5580 o27s1me1hm89k9o7ml6qb4h4n6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@083611.6130 o27s1me1hm89k9o7ml6qb4h4n6 Query : use flama_phc
20240625@083611.6160 o27s1me1hm89k9o7ml6qb4h4n6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@091916.1439 sbfgmjf11mjn9pa6h8e9l1e8pn Query : use flama_phc
20240625@091916.1444 sbfgmjf11mjn9pa6h8e9l1e8pn Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@091916.1494 sbfgmjf11mjn9pa6h8e9l1e8pn Query : use flama_phc
20240625@091916.1497 sbfgmjf11mjn9pa6h8e9l1e8pn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@093508.7308 g3i1jqde4ghfq4uib3setl2t5i Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@093508.7355 g3i1jqde4ghfq4uib3setl2t5i Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@093508.7493 g3i1jqde4ghfq4uib3setl2t5i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='562';
20240625@093508.7539 g3i1jqde4ghfq4uib3setl2t5i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='562';
20240625@093508.7563 g3i1jqde4ghfq4uib3setl2t5i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='562';
20240625@093508.7575 g3i1jqde4ghfq4uib3setl2t5i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='562';
20240625@093508.7588 g3i1jqde4ghfq4uib3setl2t5i Query : use flama_phc
20240625@093508.7591 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@093508.7646 g3i1jqde4ghfq4uib3setl2t5i Query : use flama_phc
20240625@093508.7650 g3i1jqde4ghfq4uib3setl2t5i Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240625@093508.7709 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.7816 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.7833 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.7844 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.7854 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.7879 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.7890 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.7931 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.7944 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.7956 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.7976 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.7988 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.8002 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.8020 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.8032 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.8066 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.8093 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.8125 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.8232 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.8302 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.8328 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.8359 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.8391 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.8402 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.8413 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.8424 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.8436 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.8446 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1847.00.1'
20240625@093508.8457 g3i1jqde4ghfq4uib3setl2t5i Query : use flama_phc
20240625@093508.8465 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240625@093508.8624 g3i1jqde4ghfq4uib3setl2t5i Query : use flama_phc
20240625@093508.8628 g3i1jqde4ghfq4uib3setl2t5i Query : select top 1 1 valor from td where td.ndoc = 39
20240625@093508.8694 g3i1jqde4ghfq4uib3setl2t5i Query : use flama_phc
20240625@093508.8707 g3i1jqde4ghfq4uib3setl2t5i 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')
20240625@093616.1613 1cmbaqvuliqrjqtmjnh3gau2rs Query : use flama_phc
20240625@093616.1628 1cmbaqvuliqrjqtmjnh3gau2rs Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@093616.1662 1cmbaqvuliqrjqtmjnh3gau2rs Query : use flama_phc
20240625@093616.1666 1cmbaqvuliqrjqtmjnh3gau2rs Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@101910.8331 uugpcgvt1iotfcf67ak1cjkpnf Query : use flama_phc
20240625@101910.8336 uugpcgvt1iotfcf67ak1cjkpnf Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@101910.8387 uugpcgvt1iotfcf67ak1cjkpnf Query : use flama_phc
20240625@101910.8389 uugpcgvt1iotfcf67ak1cjkpnf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@103610.7641 48o8g0jn56vdg1qev3jogbk8d1 Query : use flama_phc
20240625@103610.7648 48o8g0jn56vdg1qev3jogbk8d1 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@103610.7665 48o8g0jn56vdg1qev3jogbk8d1 Query : use flama_phc
20240625@103610.7668 48o8g0jn56vdg1qev3jogbk8d1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@111912.5684 t41vecbd3g8grjcrninomv7oc0 Query : use flama_phc
20240625@111912.5805 t41vecbd3g8grjcrninomv7oc0 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@111912.6019 t41vecbd3g8grjcrninomv7oc0 Query : use flama_phc
20240625@111912.6024 t41vecbd3g8grjcrninomv7oc0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@113612.3349 fslmbtr5vs3po5167ta6a2ii49 Query : use flama_phc
20240625@113612.3354 fslmbtr5vs3po5167ta6a2ii49 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@113612.3376 fslmbtr5vs3po5167ta6a2ii49 Query : use flama_phc
20240625@113612.3379 fslmbtr5vs3po5167ta6a2ii49 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@120108.2445 74t9c5efc570imf262govd7oil Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@120108.2478 74t9c5efc570imf262govd7oil Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@120108.2544 74t9c5efc570imf262govd7oil Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='563';
20240625@120108.2587 74t9c5efc570imf262govd7oil Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='563';
20240625@120108.2612 74t9c5efc570imf262govd7oil Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='563';
20240625@120108.2623 74t9c5efc570imf262govd7oil Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='563';
20240625@120108.2636 74t9c5efc570imf262govd7oil Query : use flama_phc
20240625@120108.2640 74t9c5efc570imf262govd7oil Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@120108.2684 74t9c5efc570imf262govd7oil Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1816.00.1'
20240625@120108.3869 74t9c5efc570imf262govd7oil Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =002 and bo.boano =2024 and bo.obrano = 2400199 and bi.ref ='324.1816.00.1' and bi.lordem =20000
20240625@120108.4620 74t9c5efc570imf262govd7oil Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'cps24022240782,360000002 ' 
20240625@120108.4879 74t9c5efc570imf262govd7oil Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = 'caixa atado'
20240625@120108.4956 74t9c5efc570imf262govd7oil Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =002 and bo.boano =2024 and bo.obrano = 2400199 and bi.ref ='caixa atado' and bi.lordem =3
20240625@120108.5234 74t9c5efc570imf262govd7oil Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1816.00.1'
20240625@120108.5244 74t9c5efc570imf262govd7oil Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =002 and bo.boano =2024 and bo.obrano = 2400199 and bi.ref ='324.1816.00.1' and bi.lordem =20000
20240625@120108.5256 74t9c5efc570imf262govd7oil Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'cps24022240782,360000002 ' 
20240625@120108.5274 74t9c5efc570imf262govd7oil Query : use flama_phc
20240625@120108.5278 74t9c5efc570imf262govd7oil Query : select top 1 1 valor from ts where ts.ndos = 61
20240625@120108.5328 74t9c5efc570imf262govd7oil Query : use flama_phc
20240625@120108.5331 74t9c5efc570imf262govd7oil 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')
20240625@120108.5382 74t9c5efc570imf262govd7oil Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =61
20240625@120108.5489 74t9c5efc570imf262govd7oil Query : use flama_phc
20240625@120108.5492 74t9c5efc570imf262govd7oil Query : select top 1 ~inactivo valor from fl where no = '202133' and estab = 00 order by inactivo desc
20240625@120108.5565 74t9c5efc570imf262govd7oil Query : use flama_phc
20240625@120108.5568 74t9c5efc570imf262govd7oil Query : select 1 valor from ts where ndos = 61
20240625@120108.5623 74t9c5efc570imf262govd7oil Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240625@120108.5916 74t9c5efc570imf262govd7oil Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20240625@120108.5980 74t9c5efc570imf262govd7oil Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240625@120108.5993 74t9c5efc570imf262govd7oil Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20240625@120108.6000 74t9c5efc570imf262govd7oil Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240625@120108.6012 74t9c5efc570imf262govd7oil Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20240625@120108.6019 74t9c5efc570imf262govd7oil Query : select top 1 ts2.manternumero, ts.tiposaft, ts.idserie,ts.nmdos,ts.bdempresas from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos = 61
20240625@120108.6112 74t9c5efc570imf262govd7oil Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240625@120108.6190 74t9c5efc570imf262govd7oil Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2024 order by obrano desc
20240625@120108.6206 74t9c5efc570imf262govd7oil Query : use flama_phc
20240625@120108.6210 74t9c5efc570imf262govd7oil Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202133' and estab=00
20240625@120108.6281 74t9c5efc570imf262govd7oil Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240625@120108.6294 74t9c5efc570imf262govd7oil Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20240625@120108.6327 74t9c5efc570imf262govd7oil Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut667aa64002667aa37497',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240625@120108.6377 74t9c5efc570imf262govd7oil Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240625@120108.6392 74t9c5efc570imf262govd7oil Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20240625@120108.6399 74t9c5efc570imf262govd7oil Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut667aa64002667aa37497','--','bo',7.7717391304347826086 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240625@120108.6546 74t9c5efc570imf262govd7oil Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240625@120108.6560 74t9c5efc570imf262govd7oil Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20240625@120108.6568 74t9c5efc570imf262govd7oil 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 ('aut667aa64002667aa37497','guia r. fornecedor','2024-06-25',61,2401813,?,?,?,?,?,?,?,?,2024, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20240625@120108.7184 74t9c5efc570imf262govd7oil Query : use flama_phc
20240625@120108.7187 74t9c5efc570imf262govd7oil Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240625@120108.7270 74t9c5efc570imf262govd7oil 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'
20240625@120108.7396 74t9c5efc570imf262govd7oil Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240625@120108.7411 74t9c5efc570imf262govd7oil Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20240625@120108.7432 74t9c5efc570imf262govd7oil Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240625@120108.7446 74t9c5efc570imf262govd7oil Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20240625@120108.7453 74t9c5efc570imf262govd7oil Query : select sestamp valor from se where ref ='324.1816.00.1' and lote = 'r2400199200a'
20240625@120108.7499 74t9c5efc570imf262govd7oil Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240625@120108.7513 74t9c5efc570imf262govd7oil Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20240625@120108.7521 74t9c5efc570imf262govd7oil Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240625@120108.7534 74t9c5efc570imf262govd7oil Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20240625@120108.7542 74t9c5efc570imf262govd7oil Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut667aa31786667aa374b7',?,?,'20240625',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20240625@120108.8010 74t9c5efc570imf262govd7oil Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20240625@120108.8055 74t9c5efc570imf262govd7oil Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240625@120108.8071 74t9c5efc570imf262govd7oil Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20240625@120108.8079 74t9c5efc570imf262govd7oil Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut667aa16383667aa374c4','aut667aa64002667aa37497',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 = 'aut667aa64002667aa37497'
20240625@120108.8196 74t9c5efc570imf262govd7oil Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240625@120108.8211 74t9c5efc570imf262govd7oil Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20240625@120108.8231 74t9c5efc570imf262govd7oil 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 'aut667aa16383667aa374c4',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 3, 3*.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 ,24.84,24.84*200.48,24.84,24.84*200.48 ,0,0,'un ','' ,bo.marcada,1 ,24.84*3,24.84*3*200.48 ,28.123000,28.123000*200.48 ,28.123000,28.123000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,24.84,24.84*200.48,24.84*3,24.84*3*200.48,'cps24022240782,360000002 ',193.05,193.05*3,193.05,193.05*3,?,?,?,4 from bo bo where bo.bostamp = 'aut667aa64002667aa37497'
20240625@120115.2177 74t9c5efc570imf262govd7oil Query : use flama_phc
20240625@120115.2230 74t9c5efc570imf262govd7oil Query : select st.usalote valor from st where st.ref = 'caixa atado'
20240625@120115.2362 74t9c5efc570imf262govd7oil 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 = 'caixa atado'
20240625@120115.2717 74t9c5efc570imf262govd7oil Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240625@120115.2945 74t9c5efc570imf262govd7oil Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20240625@120115.3175 74t9c5efc570imf262govd7oil Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20240625@120115.3443 74t9c5efc570imf262govd7oil Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20240625@120115.3593 74t9c5efc570imf262govd7oil Query : use flama_phc
20240625@120115.3634 74t9c5efc570imf262govd7oil Query : select st.usalote valor from st where st.ref = '324.1816.00.1'
20240625@120115.4053 74t9c5efc570imf262govd7oil Query : use flama_phc
20240625@120115.4095 74t9c5efc570imf262govd7oil Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -510
20240625@120115.4645 74t9c5efc570imf262govd7oil Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='563';
20240625@120115.4888 74t9c5efc570imf262govd7oil Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='563';
20240625@121910.9669 105d3gll2ovna55m5tvbtd2tiq Query : use flama_phc
20240625@121910.9674 105d3gll2ovna55m5tvbtd2tiq Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@121910.9691 105d3gll2ovna55m5tvbtd2tiq Query : use flama_phc
20240625@121910.9705 105d3gll2ovna55m5tvbtd2tiq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@123611.7000 6quedh2u59rvkjjkrdpc7gg3e0 Query : use flama_phc
20240625@123611.7050 6quedh2u59rvkjjkrdpc7gg3e0 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@123611.7240 6quedh2u59rvkjjkrdpc7gg3e0 Query : use flama_phc
20240625@123611.7260 6quedh2u59rvkjjkrdpc7gg3e0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@131909.6751 l7aa5uie5ik7rn6qtavekm3s7s Query : use flama_phc
20240625@131909.6756 l7aa5uie5ik7rn6qtavekm3s7s Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@131909.6773 l7aa5uie5ik7rn6qtavekm3s7s Query : use flama_phc
20240625@131909.6776 l7aa5uie5ik7rn6qtavekm3s7s Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@133609.8346 cjgdj4tr4j5gfl38f79t417kdu Query : use flama_phc
20240625@133609.8351 cjgdj4tr4j5gfl38f79t417kdu Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@133609.8368 cjgdj4tr4j5gfl38f79t417kdu Query : use flama_phc
20240625@133609.8371 cjgdj4tr4j5gfl38f79t417kdu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@141911.9233 9mb55k3n18phae3qseqm3h9425 Query : use flama_phc
20240625@141911.9237 9mb55k3n18phae3qseqm3h9425 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@141911.9254 9mb55k3n18phae3qseqm3h9425 Query : use flama_phc
20240625@141911.9257 9mb55k3n18phae3qseqm3h9425 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@143611.8963 gvptetl3hlhf627so7b5o2kdcr Query : use flama_phc
20240625@143611.8969 gvptetl3hlhf627so7b5o2kdcr Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@143611.8988 gvptetl3hlhf627so7b5o2kdcr Query : use flama_phc
20240625@143611.8991 gvptetl3hlhf627so7b5o2kdcr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@150932.1027 jk9r2lsp0b6mmsnvtaqs6ikb3t Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@150932.1132 jk9r2lsp0b6mmsnvtaqs6ikb3t Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@150932.1280 jk9r2lsp0b6mmsnvtaqs6ikb3t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='564';
20240625@150932.1407 jk9r2lsp0b6mmsnvtaqs6ikb3t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='564';
20240625@150932.1441 jk9r2lsp0b6mmsnvtaqs6ikb3t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='564';
20240625@150932.1461 jk9r2lsp0b6mmsnvtaqs6ikb3t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='564';
20240625@150932.1474 jk9r2lsp0b6mmsnvtaqs6ikb3t Query : use flama_phc
20240625@150932.1477 jk9r2lsp0b6mmsnvtaqs6ikb3t Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@150932.1529 jk9r2lsp0b6mmsnvtaqs6ikb3t Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '304.421.00.04'
20240625@150932.1658 jk9r2lsp0b6mmsnvtaqs6ikb3t Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =005 and bo.boano =2024 and bo.obrano = 0000339 and bi.ref ='304.421.00.04' and bi.lordem =10000
20240625@150932.1974 jk9r2lsp0b6mmsnvtaqs6ikb3t Query : select bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.obranome ,bi.bostamp ,bo.moeda ,bi.vumoeda ,isnull(bi.vumoeda/nullif(bi.edebito,0),1) cambio ,bi.tabiva from bi inner join bo on bi.bostamp = bo.bostamp where bi.bistamp = 'az24062161283,381000001 ' 
20240625@150932.2273 jk9r2lsp0b6mmsnvtaqs6ikb3t Query : use flama_phc
20240625@150932.2276 jk9r2lsp0b6mmsnvtaqs6ikb3t Query : select top 1 1 valor from ts where ts.ndos = 61
20240625@150932.2328 jk9r2lsp0b6mmsnvtaqs6ikb3t Query : use flama_phc
20240625@150932.2332 jk9r2lsp0b6mmsnvtaqs6ikb3t 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')
20240625@150932.2399 jk9r2lsp0b6mmsnvtaqs6ikb3t Query : select top 1 assinadoc issigned ,ts.stocks ,ts.bdempresas origin ,case when (cmstocks between 1 and 50 or cm2stocks between 1 and 50 ) then 1 else 0 end entrada ,case when cmstocks>50 or (cm2stocks>50 and trfa =1) then 1 else 0 end saida ,stneg validatestock ,tiposaft ,veserie useserialnumber ,foserie assetin ,ftserie assetout ,veserie assets ,trfarm assetstransfer ,grelha usegridfields from ts inner join ts2 on ts.tsstamp=ts2.ts2stamp where ts.ndos =61
20240625@150932.2507 jk9r2lsp0b6mmsnvtaqs6ikb3t Query : use flama_phc
20240625@150932.2511 jk9r2lsp0b6mmsnvtaqs6ikb3t Query : select top 1 ~inactivo valor from fl where no = '2' and estab = 2 order by inactivo desc
20240625@150932.2659 jk9r2lsp0b6mmsnvtaqs6ikb3t Query : use flama_phc
20240625@150932.2663 jk9r2lsp0b6mmsnvtaqs6ikb3t Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -230
20240625@150932.2763 jk9r2lsp0b6mmsnvtaqs6ikb3t Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='564';
20240625@150932.2775 jk9r2lsp0b6mmsnvtaqs6ikb3t Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='564';
20240625@151915.9241 pfbo92cc4hrjkmuer55nkvdau7 Query : use flama_phc
20240625@151915.9246 pfbo92cc4hrjkmuer55nkvdau7 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@151915.9262 pfbo92cc4hrjkmuer55nkvdau7 Query : use flama_phc
20240625@151915.9265 pfbo92cc4hrjkmuer55nkvdau7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@153615.6960 iihsi0vkjnqijepo8d85lekejl Query : use flama_phc
20240625@153615.6964 iihsi0vkjnqijepo8d85lekejl Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@153615.6981 iihsi0vkjnqijepo8d85lekejl Query : use flama_phc
20240625@153615.6984 iihsi0vkjnqijepo8d85lekejl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@161915.8808 k3vrs3f3lqbm0kdnivhs5e2rg4 Query : use flama_phc
20240625@161915.8812 k3vrs3f3lqbm0kdnivhs5e2rg4 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@161915.8830 k3vrs3f3lqbm0kdnivhs5e2rg4 Query : use flama_phc
20240625@161915.8832 k3vrs3f3lqbm0kdnivhs5e2rg4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@163615.5592 kr1bqacqjbv3d74be6opgo1o7v Query : use flama_phc
20240625@163615.5596 kr1bqacqjbv3d74be6opgo1o7v Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@163615.5613 kr1bqacqjbv3d74be6opgo1o7v Query : use flama_phc
20240625@163615.5616 kr1bqacqjbv3d74be6opgo1o7v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@171914.9662 s9sad7gnuvp1b42je1n19f3p3g Query : use flama_phc
20240625@171914.9669 s9sad7gnuvp1b42je1n19f3p3g Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@171914.9733 s9sad7gnuvp1b42je1n19f3p3g Query : use flama_phc
20240625@171914.9736 s9sad7gnuvp1b42je1n19f3p3g Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@173614.6692 qgmdhrkf0r68l98cqks36i2v3p Query : use flama_phc
20240625@173614.6698 qgmdhrkf0r68l98cqks36i2v3p Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20240625@173614.6717 qgmdhrkf0r68l98cqks36i2v3p Query : use flama_phc
20240625@173614.6720 qgmdhrkf0r68l98cqks36i2v3p Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20240625@181212.6640 tpbbru24mcqh9pnj0n60ele2k7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@181212.6870 tpbbru24mcqh9pnj0n60ele2k7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@181212.7270 tpbbru24mcqh9pnj0n60ele2k7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='565';
20240625@181212.7710 tpbbru24mcqh9pnj0n60ele2k7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='565';
20240625@181212.7850 tpbbru24mcqh9pnj0n60ele2k7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='565';
20240625@181212.7970 tpbbru24mcqh9pnj0n60ele2k7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='565';
20240625@181212.8090 tpbbru24mcqh9pnj0n60ele2k7 Query : use flama_phc
20240625@181212.8120 tpbbru24mcqh9pnj0n60ele2k7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@181212.8330 tpbbru24mcqh9pnj0n60ele2k7 Query : use flama_phc
20240625@181212.8360 tpbbru24mcqh9pnj0n60ele2k7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4804
20240625@181212.9070 tpbbru24mcqh9pnj0n60ele2k7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4521.00.1'
20240625@181212.1057 tpbbru24mcqh9pnj0n60ele2k7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20240625@181212.1209 tpbbru24mcqh9pnj0n60ele2k7 Query : use flama_phc
20240625@181212.1212 tpbbru24mcqh9pnj0n60ele2k7 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240625@181212.1386 tpbbru24mcqh9pnj0n60ele2k7 Query : use flama_phc
20240625@181212.1389 tpbbru24mcqh9pnj0n60ele2k7 Query : select top 1 1 valor from td where td.ndoc = 39
20240625@181212.1466 tpbbru24mcqh9pnj0n60ele2k7 Query : use flama_phc
20240625@181212.1469 tpbbru24mcqh9pnj0n60ele2k7 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')
20240625@181212.2206 c4mfp7pd8gissvbocp4u9k92pj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@181212.2226 c4mfp7pd8gissvbocp4u9k92pj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@181212.2241 c4mfp7pd8gissvbocp4u9k92pj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='566';
20240625@181212.2280 c4mfp7pd8gissvbocp4u9k92pj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='566';
20240625@181212.2293 c4mfp7pd8gissvbocp4u9k92pj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='566';
20240625@181212.2304 c4mfp7pd8gissvbocp4u9k92pj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='566';
20240625@181212.2315 c4mfp7pd8gissvbocp4u9k92pj Query : use flama_phc
20240625@181212.2318 c4mfp7pd8gissvbocp4u9k92pj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@181212.2333 c4mfp7pd8gissvbocp4u9k92pj Query : use flama_phc
20240625@181212.2336 c4mfp7pd8gissvbocp4u9k92pj Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20240625@181212.2406 c4mfp7pd8gissvbocp4u9k92pj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1667.00.1'
20240625@181212.2562 c4mfp7pd8gissvbocp4u9k92pj Query : use flama_phc
20240625@181212.2565 c4mfp7pd8gissvbocp4u9k92pj Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240625@181212.2578 c4mfp7pd8gissvbocp4u9k92pj Query : use flama_phc
20240625@181212.2581 c4mfp7pd8gissvbocp4u9k92pj Query : select top 1 1 valor from td where td.ndoc = 39
20240625@181212.2591 c4mfp7pd8gissvbocp4u9k92pj Query : use flama_phc
20240625@181212.2594 c4mfp7pd8gissvbocp4u9k92pj 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')
20240625@181212.3042 ron99j83glit9711diavml0l8i Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@181212.3056 ron99j83glit9711diavml0l8i Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@181212.3071 ron99j83glit9711diavml0l8i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='567';
20240625@181212.3114 ron99j83glit9711diavml0l8i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='567';
20240625@181212.3127 ron99j83glit9711diavml0l8i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='567';
20240625@181212.3138 ron99j83glit9711diavml0l8i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='567';
20240625@181212.3166 ron99j83glit9711diavml0l8i Query : use flama_phc
20240625@181212.3169 ron99j83glit9711diavml0l8i Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@181212.3183 ron99j83glit9711diavml0l8i Query : use flama_phc
20240625@181212.3186 ron99j83glit9711diavml0l8i Query : select no, estab,szadrsdesc from szadrs where u_coddest=2679
20240625@181212.3254 ron99j83glit9711diavml0l8i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240625@181212.3402 ron99j83glit9711diavml0l8i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240625@181212.3412 ron99j83glit9711diavml0l8i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240625@181212.3555 ron99j83glit9711diavml0l8i Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240625@181212.3564 ron99j83glit9711diavml0l8i Query : use flama_phc
20240625@181212.3567 ron99j83glit9711diavml0l8i Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240625@181212.3580 ron99j83glit9711diavml0l8i Query : use flama_phc
20240625@181212.3583 ron99j83glit9711diavml0l8i Query : select top 1 1 valor from td where td.ndoc = 39
20240625@181212.3594 ron99j83glit9711diavml0l8i Query : use flama_phc
20240625@181212.3596 ron99j83glit9711diavml0l8i 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')
20240625@181212.4040 pkdag8rv7ultf41e7ft4k86suc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@181212.4054 pkdag8rv7ultf41e7ft4k86suc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@181212.4068 pkdag8rv7ultf41e7ft4k86suc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='568';
20240625@181212.4105 pkdag8rv7ultf41e7ft4k86suc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='568';
20240625@181212.4117 pkdag8rv7ultf41e7ft4k86suc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='568';
20240625@181212.4128 pkdag8rv7ultf41e7ft4k86suc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='568';
20240625@181212.4140 pkdag8rv7ultf41e7ft4k86suc Query : use flama_phc
20240625@181212.4143 pkdag8rv7ultf41e7ft4k86suc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@181212.4156 pkdag8rv7ultf41e7ft4k86suc Query : use flama_phc
20240625@181212.4158 pkdag8rv7ultf41e7ft4k86suc Query : select no, estab,szadrsdesc from szadrs where u_coddest=6917
20240625@181212.4225 pkdag8rv7ultf41e7ft4k86suc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20240625@181212.4373 pkdag8rv7ultf41e7ft4k86suc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20240625@181212.4383 pkdag8rv7ultf41e7ft4k86suc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2000.94.1'
20240625@181212.4525 pkdag8rv7ultf41e7ft4k86suc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20240625@181212.4668 pkdag8rv7ultf41e7ft4k86suc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20240625@181212.4678 pkdag8rv7ultf41e7ft4k86suc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.700.94.01'
20240625@181212.4826 pkdag8rv7ultf41e7ft4k86suc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20240625@181212.4994 pkdag8rv7ultf41e7ft4k86suc Query : use flama_phc
20240625@181212.4997 pkdag8rv7ultf41e7ft4k86suc Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240625@181212.5010 pkdag8rv7ultf41e7ft4k86suc Query : use flama_phc
20240625@181212.5012 pkdag8rv7ultf41e7ft4k86suc Query : select top 1 1 valor from td where td.ndoc = 39
20240625@181212.5022 pkdag8rv7ultf41e7ft4k86suc Query : use flama_phc
20240625@181212.5025 pkdag8rv7ultf41e7ft4k86suc 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')
20240625@181212.5455 bqa7eoreonvnjn0q4t9i8q3j77 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@181212.5470 bqa7eoreonvnjn0q4t9i8q3j77 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@181212.5484 bqa7eoreonvnjn0q4t9i8q3j77 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='569';
20240625@181212.5525 bqa7eoreonvnjn0q4t9i8q3j77 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='569';
20240625@181212.5538 bqa7eoreonvnjn0q4t9i8q3j77 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='569';
20240625@181212.5548 bqa7eoreonvnjn0q4t9i8q3j77 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='569';
20240625@181212.5559 bqa7eoreonvnjn0q4t9i8q3j77 Query : use flama_phc
20240625@181212.5562 bqa7eoreonvnjn0q4t9i8q3j77 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@181212.5575 bqa7eoreonvnjn0q4t9i8q3j77 Query : use flama_phc
20240625@181212.5578 bqa7eoreonvnjn0q4t9i8q3j77 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2679
20240625@181212.5605 bqa7eoreonvnjn0q4t9i8q3j77 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240625@181212.5615 bqa7eoreonvnjn0q4t9i8q3j77 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240625@181212.5625 bqa7eoreonvnjn0q4t9i8q3j77 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240625@181212.5634 bqa7eoreonvnjn0q4t9i8q3j77 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240625@181212.5643 bqa7eoreonvnjn0q4t9i8q3j77 Query : use flama_phc
20240625@181212.5646 bqa7eoreonvnjn0q4t9i8q3j77 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240625@181212.5658 bqa7eoreonvnjn0q4t9i8q3j77 Query : use flama_phc
20240625@181212.5661 bqa7eoreonvnjn0q4t9i8q3j77 Query : select top 1 1 valor from td where td.ndoc = 39
20240625@181212.5670 bqa7eoreonvnjn0q4t9i8q3j77 Query : use flama_phc
20240625@181212.5673 bqa7eoreonvnjn0q4t9i8q3j77 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')
20240625@181212.6110 o28b9o5osqlb6m57kaic9b1jra Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@181212.6124 o28b9o5osqlb6m57kaic9b1jra Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@181212.6138 o28b9o5osqlb6m57kaic9b1jra Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='570';
20240625@181212.6182 o28b9o5osqlb6m57kaic9b1jra Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='570';
20240625@181212.6195 o28b9o5osqlb6m57kaic9b1jra Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='570';
20240625@181212.6206 o28b9o5osqlb6m57kaic9b1jra Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='570';
20240625@181212.6217 o28b9o5osqlb6m57kaic9b1jra Query : use flama_phc
20240625@181212.6220 o28b9o5osqlb6m57kaic9b1jra Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@181212.6234 o28b9o5osqlb6m57kaic9b1jra Query : use flama_phc
20240625@181212.6237 o28b9o5osqlb6m57kaic9b1jra Query : select no, estab,szadrsdesc from szadrs where u_coddest=760
20240625@181212.6304 o28b9o5osqlb6m57kaic9b1jra Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240625@181212.6452 o28b9o5osqlb6m57kaic9b1jra Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20240625@181212.6593 o28b9o5osqlb6m57kaic9b1jra Query : use flama_phc
20240625@181212.6595 o28b9o5osqlb6m57kaic9b1jra Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240625@181212.6608 o28b9o5osqlb6m57kaic9b1jra Query : use flama_phc
20240625@181212.6610 o28b9o5osqlb6m57kaic9b1jra Query : select top 1 1 valor from td where td.ndoc = 39
20240625@181212.6620 o28b9o5osqlb6m57kaic9b1jra Query : use flama_phc
20240625@181212.6623 o28b9o5osqlb6m57kaic9b1jra 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')
20240625@181212.7075 pukfvs04m64pjkk6cur1a39hob Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@181212.7088 pukfvs04m64pjkk6cur1a39hob Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@181212.7103 pukfvs04m64pjkk6cur1a39hob Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='571';
20240625@181212.7141 pukfvs04m64pjkk6cur1a39hob Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='571';
20240625@181212.7153 pukfvs04m64pjkk6cur1a39hob Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='571';
20240625@181212.7164 pukfvs04m64pjkk6cur1a39hob Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='571';
20240625@181212.7176 pukfvs04m64pjkk6cur1a39hob Query : use flama_phc
20240625@181212.7179 pukfvs04m64pjkk6cur1a39hob Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@181212.7191 pukfvs04m64pjkk6cur1a39hob Query : use flama_phc
20240625@181212.7194 pukfvs04m64pjkk6cur1a39hob Query : select no, estab,szadrsdesc from szadrs where u_coddest=1549
20240625@181212.7358 pukfvs04m64pjkk6cur1a39hob Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240625@181212.7368 pukfvs04m64pjkk6cur1a39hob Query : use flama_phc
20240625@181212.7371 pukfvs04m64pjkk6cur1a39hob Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240625@181212.7383 pukfvs04m64pjkk6cur1a39hob Query : use flama_phc
20240625@181212.7386 pukfvs04m64pjkk6cur1a39hob Query : select top 1 1 valor from td where td.ndoc = 39
20240625@181212.7395 pukfvs04m64pjkk6cur1a39hob Query : use flama_phc
20240625@181212.7398 pukfvs04m64pjkk6cur1a39hob 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')
20240625@181212.7854 ngvrgjrf19jeqvo5bnrva51t50 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@181212.7868 ngvrgjrf19jeqvo5bnrva51t50 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@181212.7883 ngvrgjrf19jeqvo5bnrva51t50 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='572';
20240625@181212.7924 ngvrgjrf19jeqvo5bnrva51t50 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='572';
20240625@181212.7937 ngvrgjrf19jeqvo5bnrva51t50 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='572';
20240625@181212.7947 ngvrgjrf19jeqvo5bnrva51t50 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='572';
20240625@181212.7959 ngvrgjrf19jeqvo5bnrva51t50 Query : use flama_phc
20240625@181212.7962 ngvrgjrf19jeqvo5bnrva51t50 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@181212.7976 ngvrgjrf19jeqvo5bnrva51t50 Query : use flama_phc
20240625@181212.7978 ngvrgjrf19jeqvo5bnrva51t50 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2697
20240625@181212.8048 ngvrgjrf19jeqvo5bnrva51t50 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240625@181212.8059 ngvrgjrf19jeqvo5bnrva51t50 Query : use flama_phc
20240625@181212.8062 ngvrgjrf19jeqvo5bnrva51t50 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240625@181212.8075 ngvrgjrf19jeqvo5bnrva51t50 Query : use flama_phc
20240625@181212.8077 ngvrgjrf19jeqvo5bnrva51t50 Query : select top 1 1 valor from td where td.ndoc = 39
20240625@181212.8087 ngvrgjrf19jeqvo5bnrva51t50 Query : use flama_phc
20240625@181212.8090 ngvrgjrf19jeqvo5bnrva51t50 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')
20240625@181212.8526 a48purckmslhuq54h6acvce6rf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@181212.8540 a48purckmslhuq54h6acvce6rf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@181212.8554 a48purckmslhuq54h6acvce6rf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='573';
20240625@181212.8591 a48purckmslhuq54h6acvce6rf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='573';
20240625@181212.8606 a48purckmslhuq54h6acvce6rf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='573';
20240625@181212.8617 a48purckmslhuq54h6acvce6rf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='573';
20240625@181212.8629 a48purckmslhuq54h6acvce6rf Query : use flama_phc
20240625@181212.8632 a48purckmslhuq54h6acvce6rf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@181212.8645 a48purckmslhuq54h6acvce6rf Query : use flama_phc
20240625@181212.8648 a48purckmslhuq54h6acvce6rf Query : select no, estab,szadrsdesc from szadrs where u_coddest=170
20240625@181212.8716 a48purckmslhuq54h6acvce6rf Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4970.00.1'
20240625@181212.8727 a48purckmslhuq54h6acvce6rf Query : use flama_phc
20240625@181212.8729 a48purckmslhuq54h6acvce6rf Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240625@181212.8742 a48purckmslhuq54h6acvce6rf Query : use flama_phc
20240625@181212.8744 a48purckmslhuq54h6acvce6rf Query : select top 1 1 valor from td where td.ndoc = 39
20240625@181212.8754 a48purckmslhuq54h6acvce6rf Query : use flama_phc
20240625@181212.8757 a48purckmslhuq54h6acvce6rf 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')
20240625@181212.9368 l7r11ifa93drekg1kif24g3f1u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@181212.9381 l7r11ifa93drekg1kif24g3f1u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@181212.9396 l7r11ifa93drekg1kif24g3f1u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='574';
20240625@181212.9433 l7r11ifa93drekg1kif24g3f1u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='574';
20240625@181212.9446 l7r11ifa93drekg1kif24g3f1u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='574';
20240625@181212.9457 l7r11ifa93drekg1kif24g3f1u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='574';
20240625@181212.9468 l7r11ifa93drekg1kif24g3f1u Query : use flama_phc
20240625@181212.9471 l7r11ifa93drekg1kif24g3f1u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@181212.9484 l7r11ifa93drekg1kif24g3f1u Query : use flama_phc
20240625@181212.9487 l7r11ifa93drekg1kif24g3f1u Query : select no, estab,szadrsdesc from szadrs where u_coddest=2794
20240625@181212.9553 l7r11ifa93drekg1kif24g3f1u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9903.00.1'
20240625@181212.9700 l7r11ifa93drekg1kif24g3f1u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9903.00.1'
20240625@181212.9710 l7r11ifa93drekg1kif24g3f1u 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'
20240625@181212.9861 l7r11ifa93drekg1kif24g3f1u 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'
20240625@181212.9870 l7r11ifa93drekg1kif24g3f1u Query : use flama_phc
20240625@181212.9873 l7r11ifa93drekg1kif24g3f1u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240625@181212.9886 l7r11ifa93drekg1kif24g3f1u Query : use flama_phc
20240625@181212.9889 l7r11ifa93drekg1kif24g3f1u Query : select top 1 1 valor from td where td.ndoc = 39
20240625@181212.9899 l7r11ifa93drekg1kif24g3f1u Query : use flama_phc
20240625@181212.9902 l7r11ifa93drekg1kif24g3f1u 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')
20240625@181213.3660 e4g37i2vf5dlqlfih5g3steg1u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@181213.3800 e4g37i2vf5dlqlfih5g3steg1u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@181213.3940 e4g37i2vf5dlqlfih5g3steg1u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='575';
20240625@181213.4320 e4g37i2vf5dlqlfih5g3steg1u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='575';
20240625@181213.4470 e4g37i2vf5dlqlfih5g3steg1u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='575';
20240625@181213.4590 e4g37i2vf5dlqlfih5g3steg1u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='575';
20240625@181213.4700 e4g37i2vf5dlqlfih5g3steg1u Query : use flama_phc
20240625@181213.4730 e4g37i2vf5dlqlfih5g3steg1u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@181213.4870 e4g37i2vf5dlqlfih5g3steg1u Query : use flama_phc
20240625@181213.4890 e4g37i2vf5dlqlfih5g3steg1u Query : select no, estab,szadrsdesc from szadrs where u_coddest=838
20240625@181213.5580 e4g37i2vf5dlqlfih5g3steg1u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20240625@181213.7080 e4g37i2vf5dlqlfih5g3steg1u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20240625@181213.7190 e4g37i2vf5dlqlfih5g3steg1u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20240625@181213.7290 e4g37i2vf5dlqlfih5g3steg1u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20240625@181213.8780 e4g37i2vf5dlqlfih5g3steg1u Query : use flama_phc
20240625@181213.8810 e4g37i2vf5dlqlfih5g3steg1u Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240625@181213.8930 e4g37i2vf5dlqlfih5g3steg1u Query : use flama_phc
20240625@181213.8960 e4g37i2vf5dlqlfih5g3steg1u Query : select top 1 1 valor from td where td.ndoc = 39
20240625@181213.9080 e4g37i2vf5dlqlfih5g3steg1u Query : use flama_phc
20240625@181213.9100 e4g37i2vf5dlqlfih5g3steg1u 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')
20240625@181213.1947 jpm8nnojqddi0adud8o7qu5j74 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@181213.1961 jpm8nnojqddi0adud8o7qu5j74 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@181213.1978 jpm8nnojqddi0adud8o7qu5j74 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='576';
20240625@181213.2021 jpm8nnojqddi0adud8o7qu5j74 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='576';
20240625@181213.2035 jpm8nnojqddi0adud8o7qu5j74 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='576';
20240625@181213.2047 jpm8nnojqddi0adud8o7qu5j74 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='576';
20240625@181213.2059 jpm8nnojqddi0adud8o7qu5j74 Query : use flama_phc
20240625@181213.2063 jpm8nnojqddi0adud8o7qu5j74 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@181213.2077 jpm8nnojqddi0adud8o7qu5j74 Query : use flama_phc
20240625@181213.2080 jpm8nnojqddi0adud8o7qu5j74 Query : select no, estab,szadrsdesc from szadrs where u_coddest=323
20240625@181213.2149 jpm8nnojqddi0adud8o7qu5j74 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'
20240625@181213.2161 jpm8nnojqddi0adud8o7qu5j74 Query : use flama_phc
20240625@181213.2164 jpm8nnojqddi0adud8o7qu5j74 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240625@181213.2178 jpm8nnojqddi0adud8o7qu5j74 Query : use flama_phc
20240625@181213.2181 jpm8nnojqddi0adud8o7qu5j74 Query : select top 1 1 valor from td where td.ndoc = 39
20240625@181213.2192 jpm8nnojqddi0adud8o7qu5j74 Query : use flama_phc
20240625@181213.2195 jpm8nnojqddi0adud8o7qu5j74 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')
20240625@181213.2635 1nq6d4bgchinaafl097d8gso08 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@181213.2649 1nq6d4bgchinaafl097d8gso08 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@181213.2663 1nq6d4bgchinaafl097d8gso08 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='577';
20240625@181213.2701 1nq6d4bgchinaafl097d8gso08 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='577';
20240625@181213.2714 1nq6d4bgchinaafl097d8gso08 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='577';
20240625@181213.2725 1nq6d4bgchinaafl097d8gso08 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='577';
20240625@181213.2737 1nq6d4bgchinaafl097d8gso08 Query : use flama_phc
20240625@181213.2740 1nq6d4bgchinaafl097d8gso08 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@181213.2753 1nq6d4bgchinaafl097d8gso08 Query : use flama_phc
20240625@181213.2756 1nq6d4bgchinaafl097d8gso08 Query : select no, estab,szadrsdesc from szadrs where u_coddest=3080
20240625@181213.2824 1nq6d4bgchinaafl097d8gso08 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'
20240625@181213.2834 1nq6d4bgchinaafl097d8gso08 Query : use flama_phc
20240625@181213.2837 1nq6d4bgchinaafl097d8gso08 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240625@181213.2849 1nq6d4bgchinaafl097d8gso08 Query : use flama_phc
20240625@181213.2852 1nq6d4bgchinaafl097d8gso08 Query : select top 1 1 valor from td where td.ndoc = 39
20240625@181213.2863 1nq6d4bgchinaafl097d8gso08 Query : use flama_phc
20240625@181213.2866 1nq6d4bgchinaafl097d8gso08 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')
20240625@181213.3290 kvvt3ehetk43a3bc9sehdhckrg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@181213.3304 kvvt3ehetk43a3bc9sehdhckrg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@181213.3318 kvvt3ehetk43a3bc9sehdhckrg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='578';
20240625@181213.3355 kvvt3ehetk43a3bc9sehdhckrg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='578';
20240625@181213.3369 kvvt3ehetk43a3bc9sehdhckrg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='578';
20240625@181213.3380 kvvt3ehetk43a3bc9sehdhckrg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='578';
20240625@181213.3392 kvvt3ehetk43a3bc9sehdhckrg Query : use flama_phc
20240625@181213.3395 kvvt3ehetk43a3bc9sehdhckrg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@181213.3409 kvvt3ehetk43a3bc9sehdhckrg Query : use flama_phc
20240625@181213.3412 kvvt3ehetk43a3bc9sehdhckrg Query : select no, estab,szadrsdesc from szadrs where u_coddest=8548
20240625@181213.3481 kvvt3ehetk43a3bc9sehdhckrg 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'
20240625@181213.3492 kvvt3ehetk43a3bc9sehdhckrg Query : use flama_phc
20240625@181213.3494 kvvt3ehetk43a3bc9sehdhckrg Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240625@181213.3507 kvvt3ehetk43a3bc9sehdhckrg Query : use flama_phc
20240625@181213.3510 kvvt3ehetk43a3bc9sehdhckrg Query : select top 1 1 valor from td where td.ndoc = 39
20240625@181213.3520 kvvt3ehetk43a3bc9sehdhckrg Query : use flama_phc
20240625@181213.3523 kvvt3ehetk43a3bc9sehdhckrg 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')
20240625@181213.3962 4haipig6re0eh9oispn73jcg68 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@181213.3976 4haipig6re0eh9oispn73jcg68 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@181213.3990 4haipig6re0eh9oispn73jcg68 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='579';
20240625@181213.4027 4haipig6re0eh9oispn73jcg68 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='579';
20240625@181213.4041 4haipig6re0eh9oispn73jcg68 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='579';
20240625@181213.4053 4haipig6re0eh9oispn73jcg68 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='579';
20240625@181213.4066 4haipig6re0eh9oispn73jcg68 Query : use flama_phc
20240625@181213.4069 4haipig6re0eh9oispn73jcg68 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@181213.4082 4haipig6re0eh9oispn73jcg68 Query : use flama_phc
20240625@181213.4085 4haipig6re0eh9oispn73jcg68 Query : select no, estab,szadrsdesc from szadrs where u_coddest=8698
20240625@181213.4153 4haipig6re0eh9oispn73jcg68 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'
20240625@181213.4164 4haipig6re0eh9oispn73jcg68 Query : use flama_phc
20240625@181213.4166 4haipig6re0eh9oispn73jcg68 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240625@181213.4179 4haipig6re0eh9oispn73jcg68 Query : use flama_phc
20240625@181213.4181 4haipig6re0eh9oispn73jcg68 Query : select top 1 1 valor from td where td.ndoc = 39
20240625@181213.4191 4haipig6re0eh9oispn73jcg68 Query : use flama_phc
20240625@181213.4194 4haipig6re0eh9oispn73jcg68 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')
20240625@181213.4692 6816f60b7tmcodmu3ao81h6pmo Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@181213.4711 6816f60b7tmcodmu3ao81h6pmo Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@181213.4725 6816f60b7tmcodmu3ao81h6pmo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='580';
20240625@181213.4763 6816f60b7tmcodmu3ao81h6pmo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='580';
20240625@181213.4783 6816f60b7tmcodmu3ao81h6pmo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='580';
20240625@181213.4794 6816f60b7tmcodmu3ao81h6pmo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='580';
20240625@181213.4811 6816f60b7tmcodmu3ao81h6pmo Query : use flama_phc
20240625@181213.4814 6816f60b7tmcodmu3ao81h6pmo Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@181213.4828 6816f60b7tmcodmu3ao81h6pmo Query : use flama_phc
20240625@181213.4831 6816f60b7tmcodmu3ao81h6pmo Query : select no, estab,szadrsdesc from szadrs where u_coddest=886
20240625@181213.4906 6816f60b7tmcodmu3ao81h6pmo 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'
20240625@181213.4917 6816f60b7tmcodmu3ao81h6pmo Query : use flama_phc
20240625@181213.4920 6816f60b7tmcodmu3ao81h6pmo Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240625@181213.4932 6816f60b7tmcodmu3ao81h6pmo Query : use flama_phc
20240625@181213.4935 6816f60b7tmcodmu3ao81h6pmo Query : select top 1 1 valor from td where td.ndoc = 39
20240625@181213.4945 6816f60b7tmcodmu3ao81h6pmo Query : use flama_phc
20240625@181213.4947 6816f60b7tmcodmu3ao81h6pmo 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')
20240625@181213.5391 499nj78d4c0cj4mrra7i059l00 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@181213.5404 499nj78d4c0cj4mrra7i059l00 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@181213.5419 499nj78d4c0cj4mrra7i059l00 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='581';
20240625@181213.5457 499nj78d4c0cj4mrra7i059l00 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='581';
20240625@181213.5470 499nj78d4c0cj4mrra7i059l00 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='581';
20240625@181213.5480 499nj78d4c0cj4mrra7i059l00 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='581';
20240625@181213.5491 499nj78d4c0cj4mrra7i059l00 Query : use flama_phc
20240625@181213.5494 499nj78d4c0cj4mrra7i059l00 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@181213.5508 499nj78d4c0cj4mrra7i059l00 Query : use flama_phc
20240625@181213.5511 499nj78d4c0cj4mrra7i059l00 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1474
20240625@181213.5580 499nj78d4c0cj4mrra7i059l00 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'
20240625@181213.5591 499nj78d4c0cj4mrra7i059l00 Query : use flama_phc
20240625@181213.5593 499nj78d4c0cj4mrra7i059l00 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240625@181213.5610 499nj78d4c0cj4mrra7i059l00 Query : use flama_phc
20240625@181213.5618 499nj78d4c0cj4mrra7i059l00 Query : select top 1 1 valor from td where td.ndoc = 39
20240625@181213.5634 499nj78d4c0cj4mrra7i059l00 Query : use flama_phc
20240625@181213.5636 499nj78d4c0cj4mrra7i059l00 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')
20240625@181213.6068 q3fdhgqsr1mfk9p5d9ltd6os7g Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@181213.6081 q3fdhgqsr1mfk9p5d9ltd6os7g Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@181213.6096 q3fdhgqsr1mfk9p5d9ltd6os7g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='582';
20240625@181213.6138 q3fdhgqsr1mfk9p5d9ltd6os7g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='582';
20240625@181213.6151 q3fdhgqsr1mfk9p5d9ltd6os7g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='582';
20240625@181213.6162 q3fdhgqsr1mfk9p5d9ltd6os7g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='582';
20240625@181213.6177 q3fdhgqsr1mfk9p5d9ltd6os7g Query : use flama_phc
20240625@181213.6179 q3fdhgqsr1mfk9p5d9ltd6os7g Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@181213.6193 q3fdhgqsr1mfk9p5d9ltd6os7g Query : use flama_phc
20240625@181213.6195 q3fdhgqsr1mfk9p5d9ltd6os7g Query : select no, estab,szadrsdesc from szadrs where u_coddest=7737
20240625@181213.6263 q3fdhgqsr1mfk9p5d9ltd6os7g 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'
20240625@181213.6273 q3fdhgqsr1mfk9p5d9ltd6os7g Query : use flama_phc
20240625@181213.6276 q3fdhgqsr1mfk9p5d9ltd6os7g Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240625@181213.6288 q3fdhgqsr1mfk9p5d9ltd6os7g Query : use flama_phc
20240625@181213.6291 q3fdhgqsr1mfk9p5d9ltd6os7g Query : select top 1 1 valor from td where td.ndoc = 39
20240625@181213.6301 q3fdhgqsr1mfk9p5d9ltd6os7g Query : use flama_phc
20240625@181213.6304 q3fdhgqsr1mfk9p5d9ltd6os7g 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')
20240625@181213.6865 a1c65vctif6db3e3si0gmnn647 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@181213.6878 a1c65vctif6db3e3si0gmnn647 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@181213.6892 a1c65vctif6db3e3si0gmnn647 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='583';
20240625@181213.6930 a1c65vctif6db3e3si0gmnn647 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='583';
20240625@181213.6945 a1c65vctif6db3e3si0gmnn647 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='583';
20240625@181213.6956 a1c65vctif6db3e3si0gmnn647 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='583';
20240625@181213.6968 a1c65vctif6db3e3si0gmnn647 Query : use flama_phc
20240625@181213.6971 a1c65vctif6db3e3si0gmnn647 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@181213.6985 a1c65vctif6db3e3si0gmnn647 Query : use flama_phc
20240625@181213.6988 a1c65vctif6db3e3si0gmnn647 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1328
20240625@181213.7054 a1c65vctif6db3e3si0gmnn647 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'
20240625@181213.7066 a1c65vctif6db3e3si0gmnn647 Query : use flama_phc
20240625@181213.7069 a1c65vctif6db3e3si0gmnn647 Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20240625@181213.7082 a1c65vctif6db3e3si0gmnn647 Query : use flama_phc
20240625@181213.7085 a1c65vctif6db3e3si0gmnn647 Query : select top 1 1 valor from td where td.ndoc = 39
20240625@181213.7095 a1c65vctif6db3e3si0gmnn647 Query : use flama_phc
20240625@181213.7098 a1c65vctif6db3e3si0gmnn647 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')
20240625@181213.7540 tppke2ogg5ukaui7dkc9vu2ip5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20240625@181213.7554 tppke2ogg5ukaui7dkc9vu2ip5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20240625@181213.7568 tppke2ogg5ukaui7dkc9vu2ip5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='584';
20240625@181213.7606 tppke2ogg5ukaui7dkc9vu2ip5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='584';
20240625@181213.7618 tppke2ogg5ukaui7dkc9vu2ip5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='584';
20240625@181213.7629 tppke2ogg5ukaui7dkc9vu2ip5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='584';
20240625@181213.7640 tppke2ogg5ukaui7dkc9vu2ip5 Query : use flama_phc
20240625@181213.7643 tppke2ogg5ukaui7dkc9vu2ip5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20240625@181213.7656 tppke2ogg5ukaui7dkc9vu2ip5 Query : use flama_phc
20240625@181213.7658 tppke2ogg5ukaui7dkc9vu2ip5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2374
