20250307@155233.4588 ihr7vdireiematgpv531uhrpfe INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20250307@155233.4587 ihr7vdireiematgpv531uhrpfe Query : use flama_phc
20250307@155233.4595 ihr7vdireiematgpv531uhrpfe Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202576' and estab=00
20250307@155233.4677 ihr7vdireiematgpv531uhrpfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250307@155233.4907 ihr7vdireiematgpv531uhrpfe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20250307@155233.5011 ihr7vdireiematgpv531uhrpfe Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67cb11347567cb16416f',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250307@155233.5073 ihr7vdireiematgpv531uhrpfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250307@155233.5090 ihr7vdireiematgpv531uhrpfe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20250307@155233.5104 ihr7vdireiematgpv531uhrpfe Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67cb11347567cb16416f','--','bo',1.1000000000000000000 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250307@155233.5284 ihr7vdireiematgpv531uhrpfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250307@155233.5303 ihr7vdireiematgpv531uhrpfe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20250307@155233.5316 ihr7vdireiematgpv531uhrpfe 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 ('aut67cb11347567cb16416f','guia r. fornecedor','2025-03-07',61,2500908,?,?,?,?,?,?,?,?,2025, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250307@155235.9875 ihr7vdireiematgpv531uhrpfe Query : use flama_phc
20250307@155235.9878 ihr7vdireiematgpv531uhrpfe Query : select st.usalote valor from st where st.ref = '324.966.00.01'
20250307@155235.9974 ihr7vdireiematgpv531uhrpfe Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.966.00.01'
20250307@155236.9900 ihr7vdireiematgpv531uhrpfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250307@155236.1460 ihr7vdireiematgpv531uhrpfe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20250307@155236.1640 ihr7vdireiematgpv531uhrpfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250307@155236.1880 ihr7vdireiematgpv531uhrpfe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20250307@155236.1990 ihr7vdireiematgpv531uhrpfe Query : select sestamp valor from se where ref ='324.966.00.01' and lote = 'r2401239200a'
20250307@155236.2810 ihr7vdireiematgpv531uhrpfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250307@155236.3170 ihr7vdireiematgpv531uhrpfe Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20250307@155236.4260 ihr7vdireiematgpv531uhrpfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250307@155236.5490 ihr7vdireiematgpv531uhrpfe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20250307@155236.5660 ihr7vdireiematgpv531uhrpfe Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67cb15944167cb16440a',?,?,'20250307',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20250307@155236.1978 ihr7vdireiematgpv531uhrpfe Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250307@155236.2170 ihr7vdireiematgpv531uhrpfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250307@155236.2190 ihr7vdireiematgpv531uhrpfe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20250307@155236.2208 ihr7vdireiematgpv531uhrpfe Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67cb14923967cb164434','aut67cb11347567cb16416f',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 = 'aut67cb11347567cb16416f'
20250307@155236.2386 ihr7vdireiematgpv531uhrpfe Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250307@155236.2404 ihr7vdireiematgpv531uhrpfe Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20250307@155236.2425 ihr7vdireiematgpv531uhrpfe 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 'aut67cb14923967cb164434',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1688, 1688*.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 ,9,9*200.48,9,9*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,9*1688,9*1688*200.48 ,12.229000,12.229000*200.48 ,12.229000,12.229000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,9,9*200.48,9*1688,9*1688*200.48,'cps24102961573,192000002 ',9.9,9.9*1688,9.9,9.9*1688,?,?,?,4 from bo bo where bo.bostamp = 'aut67cb11347567cb16416f'
20250307@155243.7644 ihr7vdireiematgpv531uhrpfe Query : use flama_phc
20250307@155243.7649 ihr7vdireiematgpv531uhrpfe Query : declare @bostamp varchar(25) = 'aut67cb11347567cb16416f' ,@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 
20250307@155258.9460 ihr7vdireiematgpv531uhrpfe Query : use flama_phc
20250307@155258.9500 ihr7vdireiematgpv531uhrpfe Query : select 1 valor from bo where bo.bostamp = 'aut67cb11347567cb16416f'
20250307@155258.9920 ihr7vdireiematgpv531uhrpfe 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) = 'aut67cb11347567cb16416f' 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 
20250307@155303.4958 ihr7vdireiematgpv531uhrpfe Query : use flama_phc
20250307@155303.5001 ihr7vdireiematgpv531uhrpfe Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250307@155303.5414 ihr7vdireiematgpv531uhrpfe Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5768';
20250307@155303.5734 ihr7vdireiematgpv531uhrpfe Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5768';
20250307@161909.6610 r4ta3cjn8b3of6ro8po57f586b Query : use flama_phc
20250307@161909.6616 r4ta3cjn8b3of6ro8po57f586b Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250307@161909.6708 r4ta3cjn8b3of6ro8po57f586b Query : use flama_phc
20250307@161909.6713 r4ta3cjn8b3of6ro8po57f586b Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250307@163610.3980 ns5du9o6nncufrju9f0bu8lni0 Query : use flama_phc
20250307@163610.4030 ns5du9o6nncufrju9f0bu8lni0 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250307@163610.4900 ns5du9o6nncufrju9f0bu8lni0 Query : use flama_phc
20250307@163610.4930 ns5du9o6nncufrju9f0bu8lni0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250307@171909.4196 dfn3fcarglto5u7d8odn01emnq Query : use flama_phc
20250307@171909.4201 dfn3fcarglto5u7d8odn01emnq Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250307@171909.4295 dfn3fcarglto5u7d8odn01emnq Query : use flama_phc
20250307@171909.4299 dfn3fcarglto5u7d8odn01emnq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250307@173609.6994 fc1o303bsllv5tbnh0h1nck869 Query : use flama_phc
20250307@173609.6998 fc1o303bsllv5tbnh0h1nck869 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250307@173609.7147 fc1o303bsllv5tbnh0h1nck869 Query : use flama_phc
20250307@173609.7151 fc1o303bsllv5tbnh0h1nck869 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250307@175536.6100 ktg30d93vc8hgdjkrqbihelj1v Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250307@175536.6220 ktg30d93vc8hgdjkrqbihelj1v Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250307@175536.7560 ktg30d93vc8hgdjkrqbihelj1v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5769';
20250307@175536.8350 ktg30d93vc8hgdjkrqbihelj1v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5769';
20250307@175536.9360 ktg30d93vc8hgdjkrqbihelj1v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5769';
20250307@175536.1021 ktg30d93vc8hgdjkrqbihelj1v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5769';
20250307@175536.1098 ktg30d93vc8hgdjkrqbihelj1v Query : use flama_phc
20250307@175536.1128 ktg30d93vc8hgdjkrqbihelj1v Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250307@175536.1306 ktg30d93vc8hgdjkrqbihelj1v Query : use flama_phc
20250307@175536.1310 ktg30d93vc8hgdjkrqbihelj1v Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250307@175536.1377 ktg30d93vc8hgdjkrqbihelj1v Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501605 
20250307@175536.2445 ktg30d93vc8hgdjkrqbihelj1v Query : use flama_phc
20250307@175536.2449 ktg30d93vc8hgdjkrqbihelj1v Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250307@175536.2485 ktg30d93vc8hgdjkrqbihelj1v Query : use flama_phc
20250307@175536.2488 ktg30d93vc8hgdjkrqbihelj1v Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250307@175536.2519 ktg30d93vc8hgdjkrqbihelj1v Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250307@175536.2545 ktg30d93vc8hgdjkrqbihelj1v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5769';
20250307@175536.2589 ktg30d93vc8hgdjkrqbihelj1v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5769';
20250307@175536.3187 ejskf99jvouv0isem7cfqjr76i Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250307@175536.3197 ejskf99jvouv0isem7cfqjr76i Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250307@175536.3272 ejskf99jvouv0isem7cfqjr76i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5770';
20250307@175536.3348 ejskf99jvouv0isem7cfqjr76i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5770';
20250307@175536.3448 ejskf99jvouv0isem7cfqjr76i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5770';
20250307@175536.3489 ejskf99jvouv0isem7cfqjr76i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5770';
20250307@175536.3558 ejskf99jvouv0isem7cfqjr76i Query : use flama_phc
20250307@175536.3562 ejskf99jvouv0isem7cfqjr76i Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250307@175536.3625 ejskf99jvouv0isem7cfqjr76i Query : use flama_phc
20250307@175536.3628 ejskf99jvouv0isem7cfqjr76i Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250307@175536.3713 ejskf99jvouv0isem7cfqjr76i Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501606 
20250307@175536.4095 ejskf99jvouv0isem7cfqjr76i Query : use flama_phc
20250307@175536.4098 ejskf99jvouv0isem7cfqjr76i Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250307@175536.4151 ejskf99jvouv0isem7cfqjr76i Query : use flama_phc
20250307@175536.4154 ejskf99jvouv0isem7cfqjr76i Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250307@175536.4172 ejskf99jvouv0isem7cfqjr76i Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250307@175536.4198 ejskf99jvouv0isem7cfqjr76i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5770';
20250307@175536.4247 ejskf99jvouv0isem7cfqjr76i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5770';
20250307@175536.5015 qfvqvbt5jftr3ehpb5r23giocq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250307@175536.5026 qfvqvbt5jftr3ehpb5r23giocq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250307@175536.5173 qfvqvbt5jftr3ehpb5r23giocq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5771';
20250307@175536.5260 qfvqvbt5jftr3ehpb5r23giocq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5771';
20250307@175536.5348 qfvqvbt5jftr3ehpb5r23giocq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5771';
20250307@175536.5397 qfvqvbt5jftr3ehpb5r23giocq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5771';
20250307@175536.5508 qfvqvbt5jftr3ehpb5r23giocq Query : use flama_phc
20250307@175536.5512 qfvqvbt5jftr3ehpb5r23giocq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250307@175536.5596 qfvqvbt5jftr3ehpb5r23giocq Query : use flama_phc
20250307@175536.5599 qfvqvbt5jftr3ehpb5r23giocq Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250307@175536.5653 qfvqvbt5jftr3ehpb5r23giocq Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501607 
20250307@175536.6064 qfvqvbt5jftr3ehpb5r23giocq Query : use flama_phc
20250307@175536.6068 qfvqvbt5jftr3ehpb5r23giocq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250307@175536.6113 qfvqvbt5jftr3ehpb5r23giocq Query : use flama_phc
20250307@175536.6117 qfvqvbt5jftr3ehpb5r23giocq Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250307@175536.6152 qfvqvbt5jftr3ehpb5r23giocq Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250307@175536.6185 qfvqvbt5jftr3ehpb5r23giocq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5771';
20250307@175536.6260 qfvqvbt5jftr3ehpb5r23giocq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5771';
20250307@175536.7382 u2uae187rir0urvgu6fpv7bgmr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250307@175536.7393 u2uae187rir0urvgu6fpv7bgmr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250307@175536.7477 u2uae187rir0urvgu6fpv7bgmr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5772';
20250307@175536.7984 u2uae187rir0urvgu6fpv7bgmr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5772';
20250307@175536.8265 u2uae187rir0urvgu6fpv7bgmr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5772';
20250307@175536.8316 u2uae187rir0urvgu6fpv7bgmr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5772';
20250307@175536.8519 u2uae187rir0urvgu6fpv7bgmr Query : use flama_phc
20250307@175536.8564 u2uae187rir0urvgu6fpv7bgmr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250307@175536.8682 u2uae187rir0urvgu6fpv7bgmr Query : use flama_phc
20250307@175536.8690 u2uae187rir0urvgu6fpv7bgmr Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250307@175536.8763 u2uae187rir0urvgu6fpv7bgmr Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501609 
20250307@175536.9469 u2uae187rir0urvgu6fpv7bgmr Query : use flama_phc
20250307@175536.9472 u2uae187rir0urvgu6fpv7bgmr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250307@175536.9511 u2uae187rir0urvgu6fpv7bgmr Query : use flama_phc
20250307@175536.9516 u2uae187rir0urvgu6fpv7bgmr Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250307@175536.9535 u2uae187rir0urvgu6fpv7bgmr Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250307@175536.9559 u2uae187rir0urvgu6fpv7bgmr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5772';
20250307@175536.9622 u2uae187rir0urvgu6fpv7bgmr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5772';
20250307@175537.8150 jfdblugnuuf43rkuoap36d3dq4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250307@175537.1045 jfdblugnuuf43rkuoap36d3dq4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250307@175537.2059 jfdblugnuuf43rkuoap36d3dq4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5773';
20250307@175537.2394 jfdblugnuuf43rkuoap36d3dq4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5773';
20250307@175537.2565 jfdblugnuuf43rkuoap36d3dq4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5773';
20250307@175537.2881 jfdblugnuuf43rkuoap36d3dq4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5773';
20250307@175537.3306 jfdblugnuuf43rkuoap36d3dq4 Query : use flama_phc
20250307@175537.3310 jfdblugnuuf43rkuoap36d3dq4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250307@175537.3395 jfdblugnuuf43rkuoap36d3dq4 Query : use flama_phc
20250307@175537.3399 jfdblugnuuf43rkuoap36d3dq4 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250307@175537.3446 jfdblugnuuf43rkuoap36d3dq4 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501610 
20250307@175537.5377 jfdblugnuuf43rkuoap36d3dq4 Query : use flama_phc
20250307@175537.5383 jfdblugnuuf43rkuoap36d3dq4 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250307@175537.5458 jfdblugnuuf43rkuoap36d3dq4 Query : use flama_phc
20250307@175537.5465 jfdblugnuuf43rkuoap36d3dq4 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250307@175537.5500 jfdblugnuuf43rkuoap36d3dq4 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250307@175537.5682 jfdblugnuuf43rkuoap36d3dq4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5773';
20250307@175537.5799 jfdblugnuuf43rkuoap36d3dq4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5773';
20250307@175537.6382 hnma81fdg1mhj6e1a21esumtd9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250307@175537.6394 hnma81fdg1mhj6e1a21esumtd9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250307@175537.6471 hnma81fdg1mhj6e1a21esumtd9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5774';
20250307@175537.6544 hnma81fdg1mhj6e1a21esumtd9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5774';
20250307@175537.6748 hnma81fdg1mhj6e1a21esumtd9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5774';
20250307@175537.6851 hnma81fdg1mhj6e1a21esumtd9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5774';
20250307@175537.6937 hnma81fdg1mhj6e1a21esumtd9 Query : use flama_phc
20250307@175537.6940 hnma81fdg1mhj6e1a21esumtd9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250307@175537.7045 hnma81fdg1mhj6e1a21esumtd9 Query : use flama_phc
20250307@175537.7048 hnma81fdg1mhj6e1a21esumtd9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250307@175537.7094 hnma81fdg1mhj6e1a21esumtd9 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501611 
20250307@175537.7483 hnma81fdg1mhj6e1a21esumtd9 Query : use flama_phc
20250307@175537.7486 hnma81fdg1mhj6e1a21esumtd9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250307@175537.7517 hnma81fdg1mhj6e1a21esumtd9 Query : use flama_phc
20250307@175537.7520 hnma81fdg1mhj6e1a21esumtd9 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250307@175537.7537 hnma81fdg1mhj6e1a21esumtd9 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250307@175537.7559 hnma81fdg1mhj6e1a21esumtd9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5774';
20250307@175537.7606 hnma81fdg1mhj6e1a21esumtd9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5774';
20250307@175537.8139 qprithet2k1p3dkambkjjdvhto Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250307@175537.8150 qprithet2k1p3dkambkjjdvhto Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250307@175537.8227 qprithet2k1p3dkambkjjdvhto Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5775';
20250307@175537.8299 qprithet2k1p3dkambkjjdvhto Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5775';
20250307@175537.8409 qprithet2k1p3dkambkjjdvhto Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5775';
20250307@175537.8459 qprithet2k1p3dkambkjjdvhto Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5775';
20250307@175537.8532 qprithet2k1p3dkambkjjdvhto Query : use flama_phc
20250307@175537.8535 qprithet2k1p3dkambkjjdvhto Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250307@175537.8596 qprithet2k1p3dkambkjjdvhto Query : use flama_phc
20250307@175537.8599 qprithet2k1p3dkambkjjdvhto Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250307@175537.8651 qprithet2k1p3dkambkjjdvhto Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501612 
20250307@175537.9045 qprithet2k1p3dkambkjjdvhto Query : use flama_phc
20250307@175537.9051 qprithet2k1p3dkambkjjdvhto Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250307@175537.9082 qprithet2k1p3dkambkjjdvhto Query : use flama_phc
20250307@175537.9085 qprithet2k1p3dkambkjjdvhto Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250307@175537.9472 qprithet2k1p3dkambkjjdvhto Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250307@175537.9496 qprithet2k1p3dkambkjjdvhto Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5775';
20250307@175537.9551 qprithet2k1p3dkambkjjdvhto Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5775';
20250307@175538.8700 7sjnpooj858a90hsqv1h7an1nk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250307@175538.9900 7sjnpooj858a90hsqv1h7an1nk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250307@175538.2940 7sjnpooj858a90hsqv1h7an1nk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5776';
20250307@175538.3840 7sjnpooj858a90hsqv1h7an1nk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5776';
20250307@175538.4560 7sjnpooj858a90hsqv1h7an1nk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5776';
20250307@175538.4990 7sjnpooj858a90hsqv1h7an1nk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5776';
20250307@175538.6040 7sjnpooj858a90hsqv1h7an1nk Query : use flama_phc
20250307@175538.6080 7sjnpooj858a90hsqv1h7an1nk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250307@175538.6730 7sjnpooj858a90hsqv1h7an1nk Query : use flama_phc
20250307@175538.6760 7sjnpooj858a90hsqv1h7an1nk Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250307@175538.7430 7sjnpooj858a90hsqv1h7an1nk Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501613 
20250307@175538.1127 7sjnpooj858a90hsqv1h7an1nk Query : use flama_phc
20250307@175538.1130 7sjnpooj858a90hsqv1h7an1nk Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250307@175538.1164 7sjnpooj858a90hsqv1h7an1nk Query : use flama_phc
20250307@175538.1167 7sjnpooj858a90hsqv1h7an1nk Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250307@175538.1185 7sjnpooj858a90hsqv1h7an1nk Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250307@175538.1210 7sjnpooj858a90hsqv1h7an1nk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5776';
20250307@175538.1259 7sjnpooj858a90hsqv1h7an1nk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5776';
20250307@175538.1779 95urimp3tivsghvcoq8cspadem Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250307@175538.1791 95urimp3tivsghvcoq8cspadem Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250307@175538.1869 95urimp3tivsghvcoq8cspadem Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5777';
20250307@175538.1941 95urimp3tivsghvcoq8cspadem Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5777';
20250307@175538.2013 95urimp3tivsghvcoq8cspadem Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5777';
20250307@175538.2057 95urimp3tivsghvcoq8cspadem Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5777';
20250307@175538.2126 95urimp3tivsghvcoq8cspadem Query : use flama_phc
20250307@175538.2130 95urimp3tivsghvcoq8cspadem Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250307@175538.2195 95urimp3tivsghvcoq8cspadem Query : use flama_phc
20250307@175538.2199 95urimp3tivsghvcoq8cspadem Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250307@175538.2285 95urimp3tivsghvcoq8cspadem Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501614 
20250307@175538.2825 95urimp3tivsghvcoq8cspadem Query : use flama_phc
20250307@175538.2829 95urimp3tivsghvcoq8cspadem Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250307@175538.2865 95urimp3tivsghvcoq8cspadem Query : use flama_phc
20250307@175538.2868 95urimp3tivsghvcoq8cspadem Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250307@175538.2885 95urimp3tivsghvcoq8cspadem Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250307@175538.2908 95urimp3tivsghvcoq8cspadem Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5777';
20250307@175538.2955 95urimp3tivsghvcoq8cspadem Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5777';
20250307@175538.4535 v12sm15r4pq9thumvlgauqjo0p Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250307@175538.4547 v12sm15r4pq9thumvlgauqjo0p Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250307@175538.4621 v12sm15r4pq9thumvlgauqjo0p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5778';
20250307@175538.4803 v12sm15r4pq9thumvlgauqjo0p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5778';
20250307@175538.4953 v12sm15r4pq9thumvlgauqjo0p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5778';
20250307@175538.5003 v12sm15r4pq9thumvlgauqjo0p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5778';
20250307@175538.5087 v12sm15r4pq9thumvlgauqjo0p Query : use flama_phc
20250307@175538.5091 v12sm15r4pq9thumvlgauqjo0p Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250307@175538.5155 v12sm15r4pq9thumvlgauqjo0p Query : use flama_phc
20250307@175538.5158 v12sm15r4pq9thumvlgauqjo0p Query : select no, estab,szadrsdesc from szadrs where u_coddest=4804
20250307@175538.5247 v12sm15r4pq9thumvlgauqjo0p Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501615 
20250307@175538.5624 v12sm15r4pq9thumvlgauqjo0p Query : use flama_phc
20250307@175538.5627 v12sm15r4pq9thumvlgauqjo0p Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250307@175538.5656 v12sm15r4pq9thumvlgauqjo0p Query : use flama_phc
20250307@175538.5659 v12sm15r4pq9thumvlgauqjo0p Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250307@175538.5675 v12sm15r4pq9thumvlgauqjo0p Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250307@175538.5707 v12sm15r4pq9thumvlgauqjo0p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5778';
20250307@175538.5755 v12sm15r4pq9thumvlgauqjo0p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5778';
20250307@175538.6334 m2752jvncruepkt8fnhml2kafj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250307@175538.6344 m2752jvncruepkt8fnhml2kafj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250307@175538.6421 m2752jvncruepkt8fnhml2kafj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5779';
20250307@175538.6509 m2752jvncruepkt8fnhml2kafj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5779';
20250307@175538.6584 m2752jvncruepkt8fnhml2kafj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5779';
20250307@175538.6630 m2752jvncruepkt8fnhml2kafj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5779';
20250307@175538.6724 m2752jvncruepkt8fnhml2kafj Query : use flama_phc
20250307@175538.6727 m2752jvncruepkt8fnhml2kafj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250307@175538.6798 m2752jvncruepkt8fnhml2kafj Query : use flama_phc
20250307@175538.6801 m2752jvncruepkt8fnhml2kafj Query : select no, estab,szadrsdesc from szadrs where u_coddest=10025
20250307@175538.6885 m2752jvncruepkt8fnhml2kafj Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501617 
20250307@175538.7263 m2752jvncruepkt8fnhml2kafj Query : use flama_phc
20250307@175538.7267 m2752jvncruepkt8fnhml2kafj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250307@175538.7300 m2752jvncruepkt8fnhml2kafj Query : use flama_phc
20250307@175538.7332 m2752jvncruepkt8fnhml2kafj Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250307@175538.7351 m2752jvncruepkt8fnhml2kafj Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250307@175538.7399 m2752jvncruepkt8fnhml2kafj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5779';
20250307@175538.7447 m2752jvncruepkt8fnhml2kafj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5779';
20250307@181909.2161 uqvno3t06dmus3l8nmublu3l7u Query : use flama_phc
20250307@181909.2168 uqvno3t06dmus3l8nmublu3l7u Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250307@181909.2268 uqvno3t06dmus3l8nmublu3l7u Query : use flama_phc
20250307@181909.2284 uqvno3t06dmus3l8nmublu3l7u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250307@183609.1310 ruuktv02efug8u0ea247sd4gth Query : use flama_phc
20250307@183609.1318 ruuktv02efug8u0ea247sd4gth Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250307@183609.1452 ruuktv02efug8u0ea247sd4gth Query : use flama_phc
20250307@183609.1456 ruuktv02efug8u0ea247sd4gth Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250307@191910.9392 vp36cqd1cu5hfonpn567ib3lah Query : use flama_phc
20250307@191910.9397 vp36cqd1cu5hfonpn567ib3lah Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250307@191910.9924 vp36cqd1cu5hfonpn567ib3lah Query : use flama_phc
20250307@191910.9929 vp36cqd1cu5hfonpn567ib3lah Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250307@193610.5917 rarco8516q53kn3uncd8irqhi7 Query : use flama_phc
20250307@193610.5922 rarco8516q53kn3uncd8irqhi7 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250307@193610.6040 rarco8516q53kn3uncd8irqhi7 Query : use flama_phc
20250307@193610.6044 rarco8516q53kn3uncd8irqhi7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250307@201909.6812 ggb114l289dvknlcj5goiuci29 Query : use flama_phc
20250307@201909.6817 ggb114l289dvknlcj5goiuci29 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250307@201909.6913 ggb114l289dvknlcj5goiuci29 Query : use flama_phc
20250307@201909.6916 ggb114l289dvknlcj5goiuci29 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250307@203609.7087 opddj86dqtqnh68ai6j9nemg01 Query : use flama_phc
20250307@203609.7094 opddj86dqtqnh68ai6j9nemg01 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250307@203609.7253 opddj86dqtqnh68ai6j9nemg01 Query : use flama_phc
20250307@203609.7256 opddj86dqtqnh68ai6j9nemg01 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250307@211909.3704 o769j0dpupei3e5dohubqb1ev7 Query : use flama_phc
20250307@211909.3708 o769j0dpupei3e5dohubqb1ev7 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250307@211909.4133 o769j0dpupei3e5dohubqb1ev7 Query : use flama_phc
20250307@211909.4138 o769j0dpupei3e5dohubqb1ev7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250307@213609.5342 8u0mlluvecl7esv0pop54epadv Query : use flama_phc
20250307@213609.5347 8u0mlluvecl7esv0pop54epadv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250307@213609.5443 8u0mlluvecl7esv0pop54epadv Query : use flama_phc
20250307@213609.5447 8u0mlluvecl7esv0pop54epadv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250307@221914.2516 sc0fmd70im783pebegj0p07n44 Query : use flama_phc
20250307@221914.2524 sc0fmd70im783pebegj0p07n44 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250307@221914.2618 sc0fmd70im783pebegj0p07n44 Query : use flama_phc
20250307@221914.2622 sc0fmd70im783pebegj0p07n44 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250307@223614.4381 4b3qablb0p2dmmago3dk6pc660 Query : use flama_phc
20250307@223614.4421 4b3qablb0p2dmmago3dk6pc660 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250307@223614.4533 4b3qablb0p2dmmago3dk6pc660 Query : use flama_phc
20250307@223614.4537 4b3qablb0p2dmmago3dk6pc660 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250307@231909.3798 isk88ev8fc1ptkq7dj2h61dajq Query : use flama_phc
20250307@231909.3803 isk88ev8fc1ptkq7dj2h61dajq Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250307@231909.3899 isk88ev8fc1ptkq7dj2h61dajq Query : use flama_phc
20250307@231909.3902 isk88ev8fc1ptkq7dj2h61dajq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250307@233609.5030 pls6efpvtav9mco3jkndhnr4ur Query : use flama_phc
20250307@233609.5034 pls6efpvtav9mco3jkndhnr4ur Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250307@233609.5118 pls6efpvtav9mco3jkndhnr4ur Query : use flama_phc
20250307@233609.5121 pls6efpvtav9mco3jkndhnr4ur Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@071909.2568 d04pjbj42erh05hm4qbfu51ped Query : use flama_phc
20250308@071909.2575 d04pjbj42erh05hm4qbfu51ped Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@071909.2707 d04pjbj42erh05hm4qbfu51ped Query : use flama_phc
20250308@071909.2711 d04pjbj42erh05hm4qbfu51ped Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@073617.7257 0qb9a5t6fe48r0cb3ec4opoonf Query : use flama_phc
20250308@073617.7262 0qb9a5t6fe48r0cb3ec4opoonf Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@073617.7346 0qb9a5t6fe48r0cb3ec4opoonf Query : use flama_phc
20250308@073617.7349 0qb9a5t6fe48r0cb3ec4opoonf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@081908.5155 v97qamcsc2fke96358vm3b4j55 Query : use flama_phc
20250308@081908.5159 v97qamcsc2fke96358vm3b4j55 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@081908.5276 v97qamcsc2fke96358vm3b4j55 Query : use flama_phc
20250308@081908.5279 v97qamcsc2fke96358vm3b4j55 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@083608.2594 mjh78a3omik2nb5mca4bdpujda Query : use flama_phc
20250308@083608.2599 mjh78a3omik2nb5mca4bdpujda Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@083608.2703 mjh78a3omik2nb5mca4bdpujda Query : use flama_phc
20250308@083608.2706 mjh78a3omik2nb5mca4bdpujda Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@091908.3206 ddr1usqqnm4v4arl9ppc0bb41c Query : use flama_phc
20250308@091908.3211 ddr1usqqnm4v4arl9ppc0bb41c Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@091908.3306 ddr1usqqnm4v4arl9ppc0bb41c Query : use flama_phc
20250308@091908.3310 ddr1usqqnm4v4arl9ppc0bb41c Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@093608.5650 vksluhpomktsce4tl3r0ar71fo Query : use flama_phc
20250308@093608.5690 vksluhpomktsce4tl3r0ar71fo Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@093608.6830 vksluhpomktsce4tl3r0ar71fo Query : use flama_phc
20250308@093608.6870 vksluhpomktsce4tl3r0ar71fo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@101908.8063 0hlk65d1s70scor0be50b32r77 Query : use flama_phc
20250308@101908.8069 0hlk65d1s70scor0be50b32r77 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@101908.8206 0hlk65d1s70scor0be50b32r77 Query : use flama_phc
20250308@101908.8215 0hlk65d1s70scor0be50b32r77 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@103608.3103 9c5lf3fk7bvptug0dsrbisnlr8 Query : use flama_phc
20250308@103608.3109 9c5lf3fk7bvptug0dsrbisnlr8 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@103608.3221 9c5lf3fk7bvptug0dsrbisnlr8 Query : use flama_phc
20250308@103608.3224 9c5lf3fk7bvptug0dsrbisnlr8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@111908.3889 uhigif7hs0vdbja10vvvnhef7k Query : use flama_phc
20250308@111908.3893 uhigif7hs0vdbja10vvvnhef7k Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@111908.3999 uhigif7hs0vdbja10vvvnhef7k Query : use flama_phc
20250308@111908.4002 uhigif7hs0vdbja10vvvnhef7k Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@113608.5630 0e8460vicg9tuo27i94atjk6tk Query : use flama_phc
20250308@113608.5634 0e8460vicg9tuo27i94atjk6tk Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@113608.5718 0e8460vicg9tuo27i94atjk6tk Query : use flama_phc
20250308@113608.5721 0e8460vicg9tuo27i94atjk6tk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@121908.5890 3bsjsc4ic4qpb2iajp70uarg9j Query : use flama_phc
20250308@121908.5895 3bsjsc4ic4qpb2iajp70uarg9j Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@121908.5979 3bsjsc4ic4qpb2iajp70uarg9j Query : use flama_phc
20250308@121908.5982 3bsjsc4ic4qpb2iajp70uarg9j Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@123608.3670 s8opdee45nfme8v5dd9otadqi5 Query : use flama_phc
20250308@123608.3674 s8opdee45nfme8v5dd9otadqi5 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@123608.3756 s8opdee45nfme8v5dd9otadqi5 Query : use flama_phc
20250308@123608.3760 s8opdee45nfme8v5dd9otadqi5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@131908.4270 9slbs9th7nte9dnsmadlnnbrth Query : use flama_phc
20250308@131908.4274 9slbs9th7nte9dnsmadlnnbrth Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@131908.4405 9slbs9th7nte9dnsmadlnnbrth Query : use flama_phc
20250308@131908.4409 9slbs9th7nte9dnsmadlnnbrth Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@133608.3619 p2g1ifabtqkdr02eksds8q9v72 Query : use flama_phc
20250308@133608.3656 p2g1ifabtqkdr02eksds8q9v72 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@133608.4046 p2g1ifabtqkdr02eksds8q9v72 Query : use flama_phc
20250308@133608.4049 p2g1ifabtqkdr02eksds8q9v72 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@141908.5863 palidcnoi62rk3ppnrr98tgvpq Query : use flama_phc
20250308@141908.5867 palidcnoi62rk3ppnrr98tgvpq Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@141908.5950 palidcnoi62rk3ppnrr98tgvpq Query : use flama_phc
20250308@141908.5953 palidcnoi62rk3ppnrr98tgvpq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@143608.7149 uk9n2ei2sj9g0bh90emr171ael Query : use flama_phc
20250308@143608.7153 uk9n2ei2sj9g0bh90emr171ael Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@143608.7270 uk9n2ei2sj9g0bh90emr171ael Query : use flama_phc
20250308@143608.7273 uk9n2ei2sj9g0bh90emr171ael Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@151908.7425 ul9gmng8slpdusq5qp2vcgiqvl Query : use flama_phc
20250308@151908.7508 ul9gmng8slpdusq5qp2vcgiqvl Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@151908.8369 ul9gmng8slpdusq5qp2vcgiqvl Query : use flama_phc
20250308@151908.8373 ul9gmng8slpdusq5qp2vcgiqvl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@153608.3966 mooc2h1mhgg4gliuefhpr29vhf Query : use flama_phc
20250308@153608.3970 mooc2h1mhgg4gliuefhpr29vhf Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@153608.4083 mooc2h1mhgg4gliuefhpr29vhf Query : use flama_phc
20250308@153608.4086 mooc2h1mhgg4gliuefhpr29vhf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@161908.3931 977p6ect3btc8bokkkrsgagsi9 Query : use flama_phc
20250308@161908.3936 977p6ect3btc8bokkkrsgagsi9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@161908.4060 977p6ect3btc8bokkkrsgagsi9 Query : use flama_phc
20250308@161908.4064 977p6ect3btc8bokkkrsgagsi9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@163608.6170 jtokmpdtmhosl6cbpm8l5ohmdr Query : use flama_phc
20250308@163608.6174 jtokmpdtmhosl6cbpm8l5ohmdr Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@163608.6299 jtokmpdtmhosl6cbpm8l5ohmdr Query : use flama_phc
20250308@163608.6308 jtokmpdtmhosl6cbpm8l5ohmdr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@171909.4704 d9gs07i7hgh1o1ufbba5ajq97o Query : use flama_phc
20250308@171909.4712 d9gs07i7hgh1o1ufbba5ajq97o Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@171909.4843 d9gs07i7hgh1o1ufbba5ajq97o Query : use flama_phc
20250308@171909.4847 d9gs07i7hgh1o1ufbba5ajq97o Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@173609.1503 3c2j9hv37r2uaa3arist4nr75v Query : use flama_phc
20250308@173609.1507 3c2j9hv37r2uaa3arist4nr75v Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@173609.1589 3c2j9hv37r2uaa3arist4nr75v Query : use flama_phc
20250308@173609.1592 3c2j9hv37r2uaa3arist4nr75v Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@181908.8618 9fejkkljm7ec6u541kgrgd2fvc Query : use flama_phc
20250308@181908.8661 9fejkkljm7ec6u541kgrgd2fvc Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@181908.9446 9fejkkljm7ec6u541kgrgd2fvc Query : use flama_phc
20250308@181908.9487 9fejkkljm7ec6u541kgrgd2fvc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@183608.5981 qain6324al81710b8eo7c05nld Query : use flama_phc
20250308@183608.5985 qain6324al81710b8eo7c05nld Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@183608.6136 qain6324al81710b8eo7c05nld Query : use flama_phc
20250308@183608.6219 qain6324al81710b8eo7c05nld Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@191908.5913 akrfn9kru181u47ioforono01l Query : use flama_phc
20250308@191908.5917 akrfn9kru181u47ioforono01l Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@191908.5999 akrfn9kru181u47ioforono01l Query : use flama_phc
20250308@191908.6002 akrfn9kru181u47ioforono01l Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@193608.8035 0kprfkb17m67ot8bu4a54r8j9m Query : use flama_phc
20250308@193608.8040 0kprfkb17m67ot8bu4a54r8j9m Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@193608.8127 0kprfkb17m67ot8bu4a54r8j9m Query : use flama_phc
20250308@193608.8130 0kprfkb17m67ot8bu4a54r8j9m Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@201909.7950 uhhfkfvuve103nl7hifb77588m Query : use flama_phc
20250308@201909.8040 uhhfkfvuve103nl7hifb77588m Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@201909.9160 uhhfkfvuve103nl7hifb77588m Query : use flama_phc
20250308@201909.9190 uhhfkfvuve103nl7hifb77588m Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@203608.9090 cmqfc80sucaqird5sdk5upfim5 Query : use flama_phc
20250308@203608.9132 cmqfc80sucaqird5sdk5upfim5 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@203608.9960 cmqfc80sucaqird5sdk5upfim5 Query : use flama_phc
20250308@203609.3000 cmqfc80sucaqird5sdk5upfim5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@211909.1137 plh47ruhckkba4h56s5r5gjfbf Query : use flama_phc
20250308@211909.1141 plh47ruhckkba4h56s5r5gjfbf Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@211909.1294 plh47ruhckkba4h56s5r5gjfbf Query : use flama_phc
20250308@211909.1297 plh47ruhckkba4h56s5r5gjfbf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@213608.9125 5pmlcgj6beqsb9ktlo69gnkqo1 Query : use flama_phc
20250308@213608.9146 5pmlcgj6beqsb9ktlo69gnkqo1 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@213608.9459 5pmlcgj6beqsb9ktlo69gnkqo1 Query : use flama_phc
20250308@213608.9482 5pmlcgj6beqsb9ktlo69gnkqo1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@221910.1108 durte4cbnra2m5hfbmfhincv8s Query : use flama_phc
20250308@221910.1151 durte4cbnra2m5hfbmfhincv8s Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@221910.1936 durte4cbnra2m5hfbmfhincv8s Query : use flama_phc
20250308@221910.1977 durte4cbnra2m5hfbmfhincv8s Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@223609.7820 dqhgrn2uh5hv303ljcbbnobn06 Query : use flama_phc
20250308@223609.7825 dqhgrn2uh5hv303ljcbbnobn06 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@223609.7920 dqhgrn2uh5hv303ljcbbnobn06 Query : use flama_phc
20250308@223609.7924 dqhgrn2uh5hv303ljcbbnobn06 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@231908.9114 2gefc41o96paiuq43l3daf12bg Query : use flama_phc
20250308@231908.9121 2gefc41o96paiuq43l3daf12bg Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@231908.9227 2gefc41o96paiuq43l3daf12bg Query : use flama_phc
20250308@231908.9230 2gefc41o96paiuq43l3daf12bg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250308@233608.9594 d7u04vt3k9sj05l0qaajunv1mh Query : use flama_phc
20250308@233608.9600 d7u04vt3k9sj05l0qaajunv1mh Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250308@233608.9872 d7u04vt3k9sj05l0qaajunv1mh Query : use flama_phc
20250308@233608.9876 d7u04vt3k9sj05l0qaajunv1mh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@071911.3791 dq28ddi6me7p0mnvg4upiq6lr9 Query : use flama_phc
20250309@071911.3796 dq28ddi6me7p0mnvg4upiq6lr9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@071911.3922 dq28ddi6me7p0mnvg4upiq6lr9 Query : use flama_phc
20250309@071911.3926 dq28ddi6me7p0mnvg4upiq6lr9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@073611.3080 ocde2odoudavhc95gpghbt9uam Query : use flama_phc
20250309@073611.3130 ocde2odoudavhc95gpghbt9uam Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@073611.4890 ocde2odoudavhc95gpghbt9uam Query : use flama_phc
20250309@073611.5100 ocde2odoudavhc95gpghbt9uam Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@081909.5982 1oiaq8ombltr7fg2kkgebhanr5 Query : use flama_phc
20250309@081909.5987 1oiaq8ombltr7fg2kkgebhanr5 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@081909.6083 1oiaq8ombltr7fg2kkgebhanr5 Query : use flama_phc
20250309@081909.6086 1oiaq8ombltr7fg2kkgebhanr5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@083609.9829 sshi6qddbe90rkaopbk0ak8edh Query : use flama_phc
20250309@083609.9872 sshi6qddbe90rkaopbk0ak8edh Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@083610.8160 sshi6qddbe90rkaopbk0ak8edh Query : use flama_phc
20250309@083610.8570 sshi6qddbe90rkaopbk0ak8edh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@091908.2220 ukvvqni9b38uqkcc36mkb8obbn Query : use flama_phc
20250309@091908.2261 ukvvqni9b38uqkcc36mkb8obbn Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@091908.3049 ukvvqni9b38uqkcc36mkb8obbn Query : use flama_phc
20250309@091908.3091 ukvvqni9b38uqkcc36mkb8obbn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@093608.5516 9q7200uao0432vap3p6gkrvncu Query : use flama_phc
20250309@093608.5558 9q7200uao0432vap3p6gkrvncu Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@093608.6342 9q7200uao0432vap3p6gkrvncu Query : use flama_phc
20250309@093608.6383 9q7200uao0432vap3p6gkrvncu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@101908.9257 ujeajsa65qghhiltles0s8fppp Query : use flama_phc
20250309@101908.9262 ujeajsa65qghhiltles0s8fppp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@101908.9348 ujeajsa65qghhiltles0s8fppp Query : use flama_phc
20250309@101908.9352 ujeajsa65qghhiltles0s8fppp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@103608.4323 6te21041ug81trpjudld50oljb Query : use flama_phc
20250309@103608.4364 6te21041ug81trpjudld50oljb Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@103608.4585 6te21041ug81trpjudld50oljb Query : use flama_phc
20250309@103608.4590 6te21041ug81trpjudld50oljb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@111909.3848 ljblqh3d8rm6mt0kfsa3ltih0m Query : use flama_phc
20250309@111909.3892 ljblqh3d8rm6mt0kfsa3ltih0m Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@111909.4679 ljblqh3d8rm6mt0kfsa3ltih0m Query : use flama_phc
20250309@111909.4721 ljblqh3d8rm6mt0kfsa3ltih0m Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@113609.5081 j8qbrge6re3fpsnkd6t8isr8rd Query : use flama_phc
20250309@113609.5085 j8qbrge6re3fpsnkd6t8isr8rd Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@113609.5171 j8qbrge6re3fpsnkd6t8isr8rd Query : use flama_phc
20250309@113609.5175 j8qbrge6re3fpsnkd6t8isr8rd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@121908.9852 s4vlumd3fge6gu2uhla28nafua Query : use flama_phc
20250309@121908.9857 s4vlumd3fge6gu2uhla28nafua Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@121908.9944 s4vlumd3fge6gu2uhla28nafua Query : use flama_phc
20250309@121908.9948 s4vlumd3fge6gu2uhla28nafua Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@123608.8662 62vbbl99mr8unfkdlav6ui67r0 Query : use flama_phc
20250309@123608.8706 62vbbl99mr8unfkdlav6ui67r0 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@123608.9494 62vbbl99mr8unfkdlav6ui67r0 Query : use flama_phc
20250309@123608.9536 62vbbl99mr8unfkdlav6ui67r0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@131919.3936 7239kdr84ukqh9dlbmv3at2saj Query : use flama_phc
20250309@131919.3940 7239kdr84ukqh9dlbmv3at2saj Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@131919.4022 7239kdr84ukqh9dlbmv3at2saj Query : use flama_phc
20250309@131919.4026 7239kdr84ukqh9dlbmv3at2saj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@133619.5984 ftudko9n92t5mj2l2b6vd4oaqa Query : use flama_phc
20250309@133619.6046 ftudko9n92t5mj2l2b6vd4oaqa Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@133619.6833 ftudko9n92t5mj2l2b6vd4oaqa Query : use flama_phc
20250309@133619.6874 ftudko9n92t5mj2l2b6vd4oaqa Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@141909.3234 urruld69huj42al8b38l5v4nr0 Query : use flama_phc
20250309@141909.3241 urruld69huj42al8b38l5v4nr0 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@141909.3360 urruld69huj42al8b38l5v4nr0 Query : use flama_phc
20250309@141909.3363 urruld69huj42al8b38l5v4nr0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@143609.1189 f4s0fevkrr0popphibbh429g3j Query : use flama_phc
20250309@143609.1193 f4s0fevkrr0popphibbh429g3j Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@143609.1303 f4s0fevkrr0popphibbh429g3j Query : use flama_phc
20250309@143609.1307 f4s0fevkrr0popphibbh429g3j Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@151908.6374 7oa42qfae0de9l4ntpffsc82dm Query : use flama_phc
20250309@151908.6378 7oa42qfae0de9l4ntpffsc82dm Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@151908.6463 7oa42qfae0de9l4ntpffsc82dm Query : use flama_phc
20250309@151908.6466 7oa42qfae0de9l4ntpffsc82dm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@153608.7938 posfgjdn0bl3o6fgiuebib26h6 Query : use flama_phc
20250309@153608.7981 posfgjdn0bl3o6fgiuebib26h6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@153608.8784 posfgjdn0bl3o6fgiuebib26h6 Query : use flama_phc
20250309@153608.8825 posfgjdn0bl3o6fgiuebib26h6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@161908.7882 mre38bp35ttovkkts291g71ved Query : use flama_phc
20250309@161908.7886 mre38bp35ttovkkts291g71ved Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@161908.8106 mre38bp35ttovkkts291g71ved Query : use flama_phc
20250309@161908.8191 mre38bp35ttovkkts291g71ved Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@163609.1870 vs6mi90lcrmtfjgtgaima89qfh Query : use flama_phc
20250309@163609.1920 vs6mi90lcrmtfjgtgaima89qfh Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@163609.2810 vs6mi90lcrmtfjgtgaima89qfh Query : use flama_phc
20250309@163609.2860 vs6mi90lcrmtfjgtgaima89qfh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@171909.3270 if0ojvlbpmn1qd3vahe3b7c3jm Query : use flama_phc
20250309@171909.3275 if0ojvlbpmn1qd3vahe3b7c3jm Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@171909.3363 if0ojvlbpmn1qd3vahe3b7c3jm Query : use flama_phc
20250309@171909.3367 if0ojvlbpmn1qd3vahe3b7c3jm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@173609.4258 ne1oq52dmj4fdvf9qp4m1rc0ee Query : use flama_phc
20250309@173609.4262 ne1oq52dmj4fdvf9qp4m1rc0ee Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@173609.4352 ne1oq52dmj4fdvf9qp4m1rc0ee Query : use flama_phc
20250309@173609.4356 ne1oq52dmj4fdvf9qp4m1rc0ee Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@181908.6944 6gm1r6eh3n922kf8dso2hqchnn Query : use flama_phc
20250309@181908.6948 6gm1r6eh3n922kf8dso2hqchnn Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@181908.7042 6gm1r6eh3n922kf8dso2hqchnn Query : use flama_phc
20250309@181908.7046 6gm1r6eh3n922kf8dso2hqchnn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@183608.2895 rki82t3256b2kshb2hi75tmc05 Query : use flama_phc
20250309@183608.2899 rki82t3256b2kshb2hi75tmc05 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@183608.3088 rki82t3256b2kshb2hi75tmc05 Query : use flama_phc
20250309@183608.3092 rki82t3256b2kshb2hi75tmc05 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@191908.5913 dr13m7st7qiqmjpbq24clku9fe Query : use flama_phc
20250309@191908.5917 dr13m7st7qiqmjpbq24clku9fe Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@191908.6007 dr13m7st7qiqmjpbq24clku9fe Query : use flama_phc
20250309@191908.6010 dr13m7st7qiqmjpbq24clku9fe Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@193608.2548 l91qq8o5d4u5ui4s36d3iia66c Query : use flama_phc
20250309@193608.2554 l91qq8o5d4u5ui4s36d3iia66c Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@193608.2662 l91qq8o5d4u5ui4s36d3iia66c Query : use flama_phc
20250309@193608.2665 l91qq8o5d4u5ui4s36d3iia66c Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@201908.9073 of7o8ur5en6btgn2beh2vc2evn Query : use flama_phc
20250309@201908.9077 of7o8ur5en6btgn2beh2vc2evn Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@201908.9182 of7o8ur5en6btgn2beh2vc2evn Query : use flama_phc
20250309@201908.9185 of7o8ur5en6btgn2beh2vc2evn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@203608.6706 r1u995sve73lsoi2k24saj2vgo Query : use flama_phc
20250309@203608.6713 r1u995sve73lsoi2k24saj2vgo Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@203608.7416 r1u995sve73lsoi2k24saj2vgo Query : use flama_phc
20250309@203608.7423 r1u995sve73lsoi2k24saj2vgo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@211908.8660 lq5vlj7cv58elesl1j2u3746tm Query : use flama_phc
20250309@211908.8667 lq5vlj7cv58elesl1j2u3746tm Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@211908.8757 lq5vlj7cv58elesl1j2u3746tm Query : use flama_phc
20250309@211908.8760 lq5vlj7cv58elesl1j2u3746tm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@213608.8877 gq9qobjrac7dqlngv5oq150hhd Query : use flama_phc
20250309@213608.8882 gq9qobjrac7dqlngv5oq150hhd Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@213608.8970 gq9qobjrac7dqlngv5oq150hhd Query : use flama_phc
20250309@213608.8973 gq9qobjrac7dqlngv5oq150hhd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@221908.4576 30f3bu2uq7mgu200rop03c8q0d Query : use flama_phc
20250309@221908.4593 30f3bu2uq7mgu200rop03c8q0d Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@221908.4703 30f3bu2uq7mgu200rop03c8q0d Query : use flama_phc
20250309@221908.4708 30f3bu2uq7mgu200rop03c8q0d Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@223608.8631 4pko6hooae9jeb756irmb7s7n4 Query : use flama_phc
20250309@223608.8636 4pko6hooae9jeb756irmb7s7n4 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@223608.8743 4pko6hooae9jeb756irmb7s7n4 Query : use flama_phc
20250309@223608.8746 4pko6hooae9jeb756irmb7s7n4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@231908.8830 vr9lkbr2eonksflt5pt1nb5696 Query : use flama_phc
20250309@231908.8834 vr9lkbr2eonksflt5pt1nb5696 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@231908.9007 vr9lkbr2eonksflt5pt1nb5696 Query : use flama_phc
20250309@231908.9010 vr9lkbr2eonksflt5pt1nb5696 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250309@233608.7366 2lcgjri6qj3l6tgpdvgrndbal6 Query : use flama_phc
20250309@233608.7383 2lcgjri6qj3l6tgpdvgrndbal6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250309@233608.7555 2lcgjri6qj3l6tgpdvgrndbal6 Query : use flama_phc
20250309@233608.7558 2lcgjri6qj3l6tgpdvgrndbal6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@071909.3759 j5p5tet1pbq1c12bg9gq3r08mu Query : use flama_phc
20250310@071909.3802 j5p5tet1pbq1c12bg9gq3r08mu Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@071909.4902 j5p5tet1pbq1c12bg9gq3r08mu Query : use flama_phc
20250310@071909.4947 j5p5tet1pbq1c12bg9gq3r08mu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@073640.5767 7pnrs9c4eb7fp9qdpjt0fiq9o1 Query : use flama_phc
20250310@073640.5771 7pnrs9c4eb7fp9qdpjt0fiq9o1 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@073640.5934 7pnrs9c4eb7fp9qdpjt0fiq9o1 Query : use flama_phc
20250310@073640.5965 7pnrs9c4eb7fp9qdpjt0fiq9o1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@081909.4627 6vgp0d2hidar0g5626pqpnmci1 Query : use flama_phc
20250310@081909.4631 6vgp0d2hidar0g5626pqpnmci1 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@081909.4810 6vgp0d2hidar0g5626pqpnmci1 Query : use flama_phc
20250310@081909.4813 6vgp0d2hidar0g5626pqpnmci1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@083609.2601 r5mnnag8ji4790psjkkvsuuhov Query : use flama_phc
20250310@083609.2605 r5mnnag8ji4790psjkkvsuuhov Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@083609.2693 r5mnnag8ji4790psjkkvsuuhov Query : use flama_phc
20250310@083609.2696 r5mnnag8ji4790psjkkvsuuhov Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@091909.8585 dburhbato42qg1mncc4gtmbd66 Query : use flama_phc
20250310@091909.8671 dburhbato42qg1mncc4gtmbd66 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@091909.8820 dburhbato42qg1mncc4gtmbd66 Query : use flama_phc
20250310@091909.8827 dburhbato42qg1mncc4gtmbd66 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@093609.6400 p3mjscs1jmb1890sted5gq9tmm Query : use flama_phc
20250310@093609.6451 p3mjscs1jmb1890sted5gq9tmm Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@093609.8080 p3mjscs1jmb1890sted5gq9tmm Query : use flama_phc
20250310@093609.8085 p3mjscs1jmb1890sted5gq9tmm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@100022.2745 s8sgmlql5crblfb5lfa81e6l0q Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@100022.2773 s8sgmlql5crblfb5lfa81e6l0q Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@100022.3179 s8sgmlql5crblfb5lfa81e6l0q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5780';
20250310@100022.3286 s8sgmlql5crblfb5lfa81e6l0q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5780';
20250310@100022.3386 s8sgmlql5crblfb5lfa81e6l0q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5780';
20250310@100022.3433 s8sgmlql5crblfb5lfa81e6l0q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5780';
20250310@100022.3525 s8sgmlql5crblfb5lfa81e6l0q Query : use flama_phc
20250310@100022.3529 s8sgmlql5crblfb5lfa81e6l0q Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@100022.3640 s8sgmlql5crblfb5lfa81e6l0q Query : use flama_phc
20250310@100022.3643 s8sgmlql5crblfb5lfa81e6l0q Query : select no, estab,szadrsdesc from szadrs where u_coddest=10174
20250310@100022.3761 s8sgmlql5crblfb5lfa81e6l0q Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501618 
20250310@100022.4187 s8sgmlql5crblfb5lfa81e6l0q Query : use flama_phc
20250310@100022.4190 s8sgmlql5crblfb5lfa81e6l0q Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@100022.4395 s8sgmlql5crblfb5lfa81e6l0q Query : use flama_phc
20250310@100022.4398 s8sgmlql5crblfb5lfa81e6l0q Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@100022.4469 s8sgmlql5crblfb5lfa81e6l0q Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@100022.4520 s8sgmlql5crblfb5lfa81e6l0q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5780';
20250310@100022.4569 s8sgmlql5crblfb5lfa81e6l0q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5780';
20250310@101910.1161 u9ng7tk7me3aoqlm5ah71phddl Query : use flama_phc
20250310@101910.1165 u9ng7tk7me3aoqlm5ah71phddl Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@101910.1379 u9ng7tk7me3aoqlm5ah71phddl Query : use flama_phc
20250310@101910.1383 u9ng7tk7me3aoqlm5ah71phddl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@103609.9637 hftlksr7nkg5l3101k4j9cm6dn Query : use flama_phc
20250310@103609.9642 hftlksr7nkg5l3101k4j9cm6dn Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@103609.9723 hftlksr7nkg5l3101k4j9cm6dn Query : use flama_phc
20250310@103609.9726 hftlksr7nkg5l3101k4j9cm6dn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@111910.1631 2ait1o70td1k60gfamntrostoo Query : use flama_phc
20250310@111910.1636 2ait1o70td1k60gfamntrostoo Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@111910.1729 2ait1o70td1k60gfamntrostoo Query : use flama_phc
20250310@111910.1733 2ait1o70td1k60gfamntrostoo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@113610.1807 2dou6tvqsu5qlgrrkb316nbnqm Query : use flama_phc
20250310@113610.1811 2dou6tvqsu5qlgrrkb316nbnqm Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@113610.1931 2dou6tvqsu5qlgrrkb316nbnqm Query : use flama_phc
20250310@113610.1935 2dou6tvqsu5qlgrrkb316nbnqm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@121909.8912 s7kj1icpjgnuus5s2bberovuop Query : use flama_phc
20250310@121909.8916 s7kj1icpjgnuus5s2bberovuop Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@121909.9014 s7kj1icpjgnuus5s2bberovuop Query : use flama_phc
20250310@121909.9018 s7kj1icpjgnuus5s2bberovuop Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@123609.5250 1jkrqqfdh21ivvt21h1vnv0oe5 Query : use flama_phc
20250310@123609.5256 1jkrqqfdh21ivvt21h1vnv0oe5 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@123609.5352 1jkrqqfdh21ivvt21h1vnv0oe5 Query : use flama_phc
20250310@123609.5356 1jkrqqfdh21ivvt21h1vnv0oe5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@131910.6546 2puknrfa9756ch51h5ncg20slq Query : use flama_phc
20250310@131910.6550 2puknrfa9756ch51h5ncg20slq Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@131910.6747 2puknrfa9756ch51h5ncg20slq Query : use flama_phc
20250310@131910.6750 2puknrfa9756ch51h5ncg20slq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@133610.7090 7rsr66aab6g8fch2n241n9hhnb Query : use flama_phc
20250310@133610.7094 7rsr66aab6g8fch2n241n9hhnb Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@133610.7203 7rsr66aab6g8fch2n241n9hhnb Query : use flama_phc
20250310@133610.7206 7rsr66aab6g8fch2n241n9hhnb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@141909.9267 7to294577tshjvsv8ishmusrtq Query : use flama_phc
20250310@141909.9271 7to294577tshjvsv8ishmusrtq Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@141909.9400 7to294577tshjvsv8ishmusrtq Query : use flama_phc
20250310@141909.9403 7to294577tshjvsv8ishmusrtq Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@143610.1649 g5u5uo4mgpi8ac8gf5c3pd9t82 Query : use flama_phc
20250310@143610.1693 g5u5uo4mgpi8ac8gf5c3pd9t82 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@143610.2478 g5u5uo4mgpi8ac8gf5c3pd9t82 Query : use flama_phc
20250310@143610.2521 g5u5uo4mgpi8ac8gf5c3pd9t82 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@150730.7893 qfcuiolbrdg2t568cr789fnnqi Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@150730.7923 qfcuiolbrdg2t568cr789fnnqi Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@150730.8368 qfcuiolbrdg2t568cr789fnnqi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5798';
20250310@150730.8451 qfcuiolbrdg2t568cr789fnnqi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5798';
20250310@150730.8535 qfcuiolbrdg2t568cr789fnnqi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5798';
20250310@150730.8576 qfcuiolbrdg2t568cr789fnnqi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5798';
20250310@150730.8642 qfcuiolbrdg2t568cr789fnnqi Query : use flama_phc
20250310@150730.8646 qfcuiolbrdg2t568cr789fnnqi Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@150730.8801 qfcuiolbrdg2t568cr789fnnqi Query : use flama_phc
20250310@150730.8804 qfcuiolbrdg2t568cr789fnnqi Query : select no, estab,szadrsdesc from szadrs where u_coddest=672
20250310@150730.8889 qfcuiolbrdg2t568cr789fnnqi Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2015 and bo.obrano = 2501584 
20250310@150731.4480 qfcuiolbrdg2t568cr789fnnqi Query : use flama_phc
20250310@150731.4530 qfcuiolbrdg2t568cr789fnnqi Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@150731.5170 qfcuiolbrdg2t568cr789fnnqi Query : use flama_phc
20250310@150731.5200 qfcuiolbrdg2t568cr789fnnqi Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@150731.5930 qfcuiolbrdg2t568cr789fnnqi Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@150731.6330 qfcuiolbrdg2t568cr789fnnqi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5798';
20250310@150731.6960 qfcuiolbrdg2t568cr789fnnqi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5798';
20250310@150731.1365 vf5jftmssgi009l7ele8f0hja4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@150731.1376 vf5jftmssgi009l7ele8f0hja4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@150731.1452 vf5jftmssgi009l7ele8f0hja4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5799';
20250310@150731.1527 vf5jftmssgi009l7ele8f0hja4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5799';
20250310@150731.1600 vf5jftmssgi009l7ele8f0hja4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5799';
20250310@150731.1642 vf5jftmssgi009l7ele8f0hja4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5799';
20250310@150731.1738 vf5jftmssgi009l7ele8f0hja4 Query : use flama_phc
20250310@150731.1741 vf5jftmssgi009l7ele8f0hja4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@150731.1809 vf5jftmssgi009l7ele8f0hja4 Query : use flama_phc
20250310@150731.1812 vf5jftmssgi009l7ele8f0hja4 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2064
20250310@150731.1896 vf5jftmssgi009l7ele8f0hja4 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2015 and bo.obrano = 2501593 
20250310@150731.2277 vf5jftmssgi009l7ele8f0hja4 Query : use flama_phc
20250310@150731.2280 vf5jftmssgi009l7ele8f0hja4 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@150731.2316 vf5jftmssgi009l7ele8f0hja4 Query : use flama_phc
20250310@150731.2319 vf5jftmssgi009l7ele8f0hja4 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@150731.2336 vf5jftmssgi009l7ele8f0hja4 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@150731.2358 vf5jftmssgi009l7ele8f0hja4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5799';
20250310@150731.2411 vf5jftmssgi009l7ele8f0hja4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5799';
20250310@150731.3038 55v5kgvpdf66sgvc8stam8r759 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@150731.3086 55v5kgvpdf66sgvc8stam8r759 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@150731.3192 55v5kgvpdf66sgvc8stam8r759 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5800';
20250310@150731.3260 55v5kgvpdf66sgvc8stam8r759 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5800';
20250310@150731.3333 55v5kgvpdf66sgvc8stam8r759 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5800';
20250310@150731.3371 55v5kgvpdf66sgvc8stam8r759 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5800';
20250310@150731.3459 55v5kgvpdf66sgvc8stam8r759 Query : use flama_phc
20250310@150731.3462 55v5kgvpdf66sgvc8stam8r759 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@150731.3524 55v5kgvpdf66sgvc8stam8r759 Query : use flama_phc
20250310@150731.3527 55v5kgvpdf66sgvc8stam8r759 Query : select no, estab,szadrsdesc from szadrs where u_coddest=16
20250310@150731.3623 55v5kgvpdf66sgvc8stam8r759 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2015 and bo.obrano = 2501598 
20250310@150731.4035 55v5kgvpdf66sgvc8stam8r759 Query : use flama_phc
20250310@150731.4038 55v5kgvpdf66sgvc8stam8r759 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@150731.4071 55v5kgvpdf66sgvc8stam8r759 Query : use flama_phc
20250310@150731.4075 55v5kgvpdf66sgvc8stam8r759 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@150731.4092 55v5kgvpdf66sgvc8stam8r759 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@150731.4132 55v5kgvpdf66sgvc8stam8r759 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5800';
20250310@150731.4201 55v5kgvpdf66sgvc8stam8r759 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5800';
20250310@150731.4816 6s1hqigjhf8ct6bokiir3blpk0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@150731.4827 6s1hqigjhf8ct6bokiir3blpk0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@150731.4929 6s1hqigjhf8ct6bokiir3blpk0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5801';
20250310@150731.5001 6s1hqigjhf8ct6bokiir3blpk0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5801';
20250310@150731.5072 6s1hqigjhf8ct6bokiir3blpk0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5801';
20250310@150731.5110 6s1hqigjhf8ct6bokiir3blpk0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5801';
20250310@150731.5178 6s1hqigjhf8ct6bokiir3blpk0 Query : use flama_phc
20250310@150731.5182 6s1hqigjhf8ct6bokiir3blpk0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@150731.5245 6s1hqigjhf8ct6bokiir3blpk0 Query : use flama_phc
20250310@150731.5248 6s1hqigjhf8ct6bokiir3blpk0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=489
20250310@150731.5330 6s1hqigjhf8ct6bokiir3blpk0 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501628 
20250310@150731.5687 6s1hqigjhf8ct6bokiir3blpk0 Query : use flama_phc
20250310@150731.5690 6s1hqigjhf8ct6bokiir3blpk0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@150731.5721 6s1hqigjhf8ct6bokiir3blpk0 Query : use flama_phc
20250310@150731.5724 6s1hqigjhf8ct6bokiir3blpk0 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@150731.5742 6s1hqigjhf8ct6bokiir3blpk0 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@150731.5773 6s1hqigjhf8ct6bokiir3blpk0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5801';
20250310@150731.5821 6s1hqigjhf8ct6bokiir3blpk0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5801';
20250310@150731.6374 a0ttub4rnivfpfl6kv729389ii Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@150731.6385 a0ttub4rnivfpfl6kv729389ii Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@150731.6459 a0ttub4rnivfpfl6kv729389ii Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5802';
20250310@150731.6544 a0ttub4rnivfpfl6kv729389ii Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5802';
20250310@150731.6614 a0ttub4rnivfpfl6kv729389ii Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5802';
20250310@150731.6655 a0ttub4rnivfpfl6kv729389ii Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5802';
20250310@150731.6716 a0ttub4rnivfpfl6kv729389ii Query : use flama_phc
20250310@150731.6719 a0ttub4rnivfpfl6kv729389ii Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@150731.6783 a0ttub4rnivfpfl6kv729389ii Query : use flama_phc
20250310@150731.6786 a0ttub4rnivfpfl6kv729389ii Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20250310@150731.6875 a0ttub4rnivfpfl6kv729389ii Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501632 
20250310@150731.7244 a0ttub4rnivfpfl6kv729389ii Query : use flama_phc
20250310@150731.7249 a0ttub4rnivfpfl6kv729389ii Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@150731.7281 a0ttub4rnivfpfl6kv729389ii Query : use flama_phc
20250310@150731.7284 a0ttub4rnivfpfl6kv729389ii Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@150731.7300 a0ttub4rnivfpfl6kv729389ii Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@150731.7337 a0ttub4rnivfpfl6kv729389ii Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5802';
20250310@150731.7383 a0ttub4rnivfpfl6kv729389ii Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5802';
20250310@150731.7899 vl93ioh0q348cp1trdab0a9pmg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@150731.7911 vl93ioh0q348cp1trdab0a9pmg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@150731.8014 vl93ioh0q348cp1trdab0a9pmg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5803';
20250310@150731.8085 vl93ioh0q348cp1trdab0a9pmg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5803';
20250310@150731.8173 vl93ioh0q348cp1trdab0a9pmg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5803';
20250310@150731.8211 vl93ioh0q348cp1trdab0a9pmg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5803';
20250310@150731.8291 vl93ioh0q348cp1trdab0a9pmg Query : use flama_phc
20250310@150731.8299 vl93ioh0q348cp1trdab0a9pmg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@150731.8361 vl93ioh0q348cp1trdab0a9pmg Query : use flama_phc
20250310@150731.8364 vl93ioh0q348cp1trdab0a9pmg Query : select no, estab,szadrsdesc from szadrs where u_coddest=859
20250310@150731.8454 vl93ioh0q348cp1trdab0a9pmg Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501634 
20250310@150731.8818 vl93ioh0q348cp1trdab0a9pmg Query : use flama_phc
20250310@150731.8821 vl93ioh0q348cp1trdab0a9pmg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@150731.8853 vl93ioh0q348cp1trdab0a9pmg Query : use flama_phc
20250310@150731.8856 vl93ioh0q348cp1trdab0a9pmg Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@150731.8872 vl93ioh0q348cp1trdab0a9pmg Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@150731.8900 vl93ioh0q348cp1trdab0a9pmg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5803';
20250310@150731.8949 vl93ioh0q348cp1trdab0a9pmg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5803';
20250310@150732.1014 uon7jlt2jimhd69dlg6unve2ef Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@150732.1028 uon7jlt2jimhd69dlg6unve2ef Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@150732.1109 uon7jlt2jimhd69dlg6unve2ef Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5804';
20250310@150732.1184 uon7jlt2jimhd69dlg6unve2ef Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5804';
20250310@150732.1255 uon7jlt2jimhd69dlg6unve2ef Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5804';
20250310@150732.1315 uon7jlt2jimhd69dlg6unve2ef Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5804';
20250310@150732.1384 uon7jlt2jimhd69dlg6unve2ef Query : use flama_phc
20250310@150732.1388 uon7jlt2jimhd69dlg6unve2ef Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@150732.1452 uon7jlt2jimhd69dlg6unve2ef Query : use flama_phc
20250310@150732.1455 uon7jlt2jimhd69dlg6unve2ef Query : select no, estab,szadrsdesc from szadrs where u_coddest=4799
20250310@150732.1539 uon7jlt2jimhd69dlg6unve2ef Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501635 
20250310@150732.1912 uon7jlt2jimhd69dlg6unve2ef Query : use flama_phc
20250310@150732.1916 uon7jlt2jimhd69dlg6unve2ef Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@150732.1949 uon7jlt2jimhd69dlg6unve2ef Query : use flama_phc
20250310@150732.1952 uon7jlt2jimhd69dlg6unve2ef Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@150732.1969 uon7jlt2jimhd69dlg6unve2ef Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@150732.1990 uon7jlt2jimhd69dlg6unve2ef Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5804';
20250310@150732.2045 uon7jlt2jimhd69dlg6unve2ef Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5804';
20250310@150732.2624 p7nur11b3citmg0q034iapo7a7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@150732.2635 p7nur11b3citmg0q034iapo7a7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@150732.2766 p7nur11b3citmg0q034iapo7a7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5805';
20250310@150732.2844 p7nur11b3citmg0q034iapo7a7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5805';
20250310@150732.2928 p7nur11b3citmg0q034iapo7a7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5805';
20250310@150732.2971 p7nur11b3citmg0q034iapo7a7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5805';
20250310@150732.3041 p7nur11b3citmg0q034iapo7a7 Query : use flama_phc
20250310@150732.3045 p7nur11b3citmg0q034iapo7a7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@150732.3108 p7nur11b3citmg0q034iapo7a7 Query : use flama_phc
20250310@150732.3112 p7nur11b3citmg0q034iapo7a7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=533
20250310@150732.3197 p7nur11b3citmg0q034iapo7a7 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501636 
20250310@150732.3559 p7nur11b3citmg0q034iapo7a7 Query : use flama_phc
20250310@150732.3563 p7nur11b3citmg0q034iapo7a7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@150732.3593 p7nur11b3citmg0q034iapo7a7 Query : use flama_phc
20250310@150732.3596 p7nur11b3citmg0q034iapo7a7 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@150732.3613 p7nur11b3citmg0q034iapo7a7 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@150732.3635 p7nur11b3citmg0q034iapo7a7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5805';
20250310@150732.3682 p7nur11b3citmg0q034iapo7a7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5805';
20250310@151909.2966 t7bar0latbbqnpm6sv9lskrpbk Query : use flama_phc
20250310@151909.2970 t7bar0latbbqnpm6sv9lskrpbk Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@151909.3072 t7bar0latbbqnpm6sv9lskrpbk Query : use flama_phc
20250310@151909.3075 t7bar0latbbqnpm6sv9lskrpbk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@153609.5024 d12p5pg6hpbg3chf6kjdhrokp0 Query : use flama_phc
20250310@153609.5029 d12p5pg6hpbg3chf6kjdhrokp0 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@153609.5130 d12p5pg6hpbg3chf6kjdhrokp0 Query : use flama_phc
20250310@153609.5133 d12p5pg6hpbg3chf6kjdhrokp0 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@161909.5371 m715ss8kbnu3j5m78hmq9phgn9 Query : use flama_phc
20250310@161909.5375 m715ss8kbnu3j5m78hmq9phgn9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@161909.5467 m715ss8kbnu3j5m78hmq9phgn9 Query : use flama_phc
20250310@161909.5470 m715ss8kbnu3j5m78hmq9phgn9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@163610.7870 rvgd0k7tegi6se9ljhdkdg9v69 Query : use flama_phc
20250310@163610.8290 rvgd0k7tegi6se9ljhdkdg9v69 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@163610.1789 rvgd0k7tegi6se9ljhdkdg9v69 Query : use flama_phc
20250310@163610.1831 rvgd0k7tegi6se9ljhdkdg9v69 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@171235.9143 vl0kq7e0stc06lh853vv704pdi Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@171235.9155 vl0kq7e0stc06lh853vv704pdi Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@171235.9258 vl0kq7e0stc06lh853vv704pdi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5810';
20250310@171235.9357 vl0kq7e0stc06lh853vv704pdi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5810';
20250310@171235.9456 vl0kq7e0stc06lh853vv704pdi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5810';
20250310@171235.9507 vl0kq7e0stc06lh853vv704pdi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5810';
20250310@171235.9584 vl0kq7e0stc06lh853vv704pdi Query : use flama_phc
20250310@171235.9589 vl0kq7e0stc06lh853vv704pdi Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@171235.9709 vl0kq7e0stc06lh853vv704pdi Query : use flama_phc
20250310@171235.9713 vl0kq7e0stc06lh853vv704pdi Query : select no, estab,szadrsdesc from szadrs where u_coddest=313
20250310@171235.9803 vl0kq7e0stc06lh853vv704pdi Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501637 
20250310@171236.1770 vl0kq7e0stc06lh853vv704pdi Query : use flama_phc
20250310@171236.1810 vl0kq7e0stc06lh853vv704pdi Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@171236.2430 vl0kq7e0stc06lh853vv704pdi Query : use flama_phc
20250310@171236.2470 vl0kq7e0stc06lh853vv704pdi Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@171236.3170 vl0kq7e0stc06lh853vv704pdi Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@171236.3580 vl0kq7e0stc06lh853vv704pdi Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5810';
20250310@171236.4080 vl0kq7e0stc06lh853vv704pdi Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5810';
20250310@171236.1406 mqicse74ijvk0h6adt9h5f6p34 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@171236.1486 mqicse74ijvk0h6adt9h5f6p34 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@171236.1817 mqicse74ijvk0h6adt9h5f6p34 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5811';
20250310@171236.2116 mqicse74ijvk0h6adt9h5f6p34 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5811';
20250310@171236.2420 mqicse74ijvk0h6adt9h5f6p34 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5811';
20250310@171236.2670 mqicse74ijvk0h6adt9h5f6p34 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5811';
20250310@171236.2973 mqicse74ijvk0h6adt9h5f6p34 Query : use flama_phc
20250310@171236.3009 mqicse74ijvk0h6adt9h5f6p34 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@171236.3463 mqicse74ijvk0h6adt9h5f6p34 Query : use flama_phc
20250310@171236.3484 mqicse74ijvk0h6adt9h5f6p34 Query : select no, estab,szadrsdesc from szadrs where u_coddest=752
20250310@171236.3882 mqicse74ijvk0h6adt9h5f6p34 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501638 
20250310@171236.4825 mqicse74ijvk0h6adt9h5f6p34 Query : use flama_phc
20250310@171236.4830 mqicse74ijvk0h6adt9h5f6p34 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@171236.4973 mqicse74ijvk0h6adt9h5f6p34 Query : use flama_phc
20250310@171236.4990 mqicse74ijvk0h6adt9h5f6p34 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@171236.5153 mqicse74ijvk0h6adt9h5f6p34 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@171236.5382 mqicse74ijvk0h6adt9h5f6p34 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5811';
20250310@171236.6085 mqicse74ijvk0h6adt9h5f6p34 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5811';
20250310@171236.7486 nqo8kcneu7b5vsrs9tp9g129e7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@171236.7498 nqo8kcneu7b5vsrs9tp9g129e7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@171236.7574 nqo8kcneu7b5vsrs9tp9g129e7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5812';
20250310@171236.7663 nqo8kcneu7b5vsrs9tp9g129e7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5812';
20250310@171236.7745 nqo8kcneu7b5vsrs9tp9g129e7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5812';
20250310@171236.7790 nqo8kcneu7b5vsrs9tp9g129e7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5812';
20250310@171236.8042 nqo8kcneu7b5vsrs9tp9g129e7 Query : use flama_phc
20250310@171236.8053 nqo8kcneu7b5vsrs9tp9g129e7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@171236.8116 nqo8kcneu7b5vsrs9tp9g129e7 Query : use flama_phc
20250310@171236.8125 nqo8kcneu7b5vsrs9tp9g129e7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=5338
20250310@171236.8217 nqo8kcneu7b5vsrs9tp9g129e7 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501639 
20250310@171236.8736 nqo8kcneu7b5vsrs9tp9g129e7 Query : use flama_phc
20250310@171236.8740 nqo8kcneu7b5vsrs9tp9g129e7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@171236.8823 nqo8kcneu7b5vsrs9tp9g129e7 Query : use flama_phc
20250310@171236.8826 nqo8kcneu7b5vsrs9tp9g129e7 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@171236.8843 nqo8kcneu7b5vsrs9tp9g129e7 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@171236.8927 nqo8kcneu7b5vsrs9tp9g129e7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5812';
20250310@171236.8980 nqo8kcneu7b5vsrs9tp9g129e7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5812';
20250310@171236.9553 1dlt3i69cnt7r7u0o0g3u7utmu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@171236.9565 1dlt3i69cnt7r7u0o0g3u7utmu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@171236.9708 1dlt3i69cnt7r7u0o0g3u7utmu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5813';
20250310@171236.9852 1dlt3i69cnt7r7u0o0g3u7utmu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5813';
20250310@171236.9956 1dlt3i69cnt7r7u0o0g3u7utmu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5813';
20250310@171237.3800 1dlt3i69cnt7r7u0o0g3u7utmu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5813';
20250310@171237.3990 1dlt3i69cnt7r7u0o0g3u7utmu Query : use flama_phc
20250310@171237.4410 1dlt3i69cnt7r7u0o0g3u7utmu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@171237.5270 1dlt3i69cnt7r7u0o0g3u7utmu Query : use flama_phc
20250310@171237.5310 1dlt3i69cnt7r7u0o0g3u7utmu Query : select no, estab,szadrsdesc from szadrs where u_coddest=227
20250310@171237.1028 1dlt3i69cnt7r7u0o0g3u7utmu Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501640 
20250310@171237.2409 1dlt3i69cnt7r7u0o0g3u7utmu Query : use flama_phc
20250310@171237.2413 1dlt3i69cnt7r7u0o0g3u7utmu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@171237.2448 1dlt3i69cnt7r7u0o0g3u7utmu Query : use flama_phc
20250310@171237.2451 1dlt3i69cnt7r7u0o0g3u7utmu Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@171237.2468 1dlt3i69cnt7r7u0o0g3u7utmu Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@171237.2551 1dlt3i69cnt7r7u0o0g3u7utmu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5813';
20250310@171237.2599 1dlt3i69cnt7r7u0o0g3u7utmu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5813';
20250310@171237.3666 ek83qlj0qdqr5unbjj6rnsvn52 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@171237.3679 ek83qlj0qdqr5unbjj6rnsvn52 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@171237.3774 ek83qlj0qdqr5unbjj6rnsvn52 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5814';
20250310@171237.3851 ek83qlj0qdqr5unbjj6rnsvn52 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5814';
20250310@171237.4116 ek83qlj0qdqr5unbjj6rnsvn52 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5814';
20250310@171237.4185 ek83qlj0qdqr5unbjj6rnsvn52 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5814';
20250310@171237.4257 ek83qlj0qdqr5unbjj6rnsvn52 Query : use flama_phc
20250310@171237.4260 ek83qlj0qdqr5unbjj6rnsvn52 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@171237.4323 ek83qlj0qdqr5unbjj6rnsvn52 Query : use flama_phc
20250310@171237.4328 ek83qlj0qdqr5unbjj6rnsvn52 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1760
20250310@171237.4411 ek83qlj0qdqr5unbjj6rnsvn52 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501641 
20250310@171237.4797 ek83qlj0qdqr5unbjj6rnsvn52 Query : use flama_phc
20250310@171237.4800 ek83qlj0qdqr5unbjj6rnsvn52 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@171237.4832 ek83qlj0qdqr5unbjj6rnsvn52 Query : use flama_phc
20250310@171237.4835 ek83qlj0qdqr5unbjj6rnsvn52 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@171237.4850 ek83qlj0qdqr5unbjj6rnsvn52 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@171237.4871 ek83qlj0qdqr5unbjj6rnsvn52 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5814';
20250310@171237.4918 ek83qlj0qdqr5unbjj6rnsvn52 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5814';
20250310@171237.5634 4a989bjudc8fglto0t4mjn3h5d Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@171237.5647 4a989bjudc8fglto0t4mjn3h5d Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@171237.5724 4a989bjudc8fglto0t4mjn3h5d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5815';
20250310@171237.5797 4a989bjudc8fglto0t4mjn3h5d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5815';
20250310@171237.5869 4a989bjudc8fglto0t4mjn3h5d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5815';
20250310@171237.5912 4a989bjudc8fglto0t4mjn3h5d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5815';
20250310@171237.5991 4a989bjudc8fglto0t4mjn3h5d Query : use flama_phc
20250310@171237.5994 4a989bjudc8fglto0t4mjn3h5d Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@171237.6054 4a989bjudc8fglto0t4mjn3h5d Query : use flama_phc
20250310@171237.6057 4a989bjudc8fglto0t4mjn3h5d Query : select no, estab,szadrsdesc from szadrs where u_coddest=864
20250310@171237.6138 4a989bjudc8fglto0t4mjn3h5d Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501642 
20250310@171237.6535 4a989bjudc8fglto0t4mjn3h5d Query : use flama_phc
20250310@171237.6538 4a989bjudc8fglto0t4mjn3h5d Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@171237.6570 4a989bjudc8fglto0t4mjn3h5d Query : use flama_phc
20250310@171237.6574 4a989bjudc8fglto0t4mjn3h5d Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@171237.6589 4a989bjudc8fglto0t4mjn3h5d Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@171237.6608 4a989bjudc8fglto0t4mjn3h5d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5815';
20250310@171237.6662 4a989bjudc8fglto0t4mjn3h5d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5815';
20250310@171237.7194 4p704ahkkm1ket8mbm6u579ke1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@171237.7204 4p704ahkkm1ket8mbm6u579ke1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@171237.7277 4p704ahkkm1ket8mbm6u579ke1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5816';
20250310@171237.7345 4p704ahkkm1ket8mbm6u579ke1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5816';
20250310@171237.7416 4p704ahkkm1ket8mbm6u579ke1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5816';
20250310@171237.7458 4p704ahkkm1ket8mbm6u579ke1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5816';
20250310@171237.7532 4p704ahkkm1ket8mbm6u579ke1 Query : use flama_phc
20250310@171237.7535 4p704ahkkm1ket8mbm6u579ke1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@171237.7613 4p704ahkkm1ket8mbm6u579ke1 Query : use flama_phc
20250310@171237.7616 4p704ahkkm1ket8mbm6u579ke1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250310@171237.7715 4p704ahkkm1ket8mbm6u579ke1 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501644 
20250310@171237.8101 4p704ahkkm1ket8mbm6u579ke1 Query : use flama_phc
20250310@171237.8105 4p704ahkkm1ket8mbm6u579ke1 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@171237.8139 4p704ahkkm1ket8mbm6u579ke1 Query : use flama_phc
20250310@171237.8142 4p704ahkkm1ket8mbm6u579ke1 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@171237.8157 4p704ahkkm1ket8mbm6u579ke1 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@171237.8178 4p704ahkkm1ket8mbm6u579ke1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5816';
20250310@171237.8224 4p704ahkkm1ket8mbm6u579ke1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5816';
20250310@171237.8784 eo2lqkgl786rv99qndj86oh4f0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@171237.8794 eo2lqkgl786rv99qndj86oh4f0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@171237.8873 eo2lqkgl786rv99qndj86oh4f0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5817';
20250310@171237.8942 eo2lqkgl786rv99qndj86oh4f0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5817';
20250310@171237.9036 eo2lqkgl786rv99qndj86oh4f0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5817';
20250310@171237.9089 eo2lqkgl786rv99qndj86oh4f0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5817';
20250310@171237.9163 eo2lqkgl786rv99qndj86oh4f0 Query : use flama_phc
20250310@171237.9167 eo2lqkgl786rv99qndj86oh4f0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@171237.9227 eo2lqkgl786rv99qndj86oh4f0 Query : use flama_phc
20250310@171237.9230 eo2lqkgl786rv99qndj86oh4f0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250310@171237.9281 eo2lqkgl786rv99qndj86oh4f0 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501645 
20250310@171237.9847 eo2lqkgl786rv99qndj86oh4f0 Query : use flama_phc
20250310@171237.9851 eo2lqkgl786rv99qndj86oh4f0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@171237.9882 eo2lqkgl786rv99qndj86oh4f0 Query : use flama_phc
20250310@171237.9885 eo2lqkgl786rv99qndj86oh4f0 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@171237.9900 eo2lqkgl786rv99qndj86oh4f0 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@171237.9933 eo2lqkgl786rv99qndj86oh4f0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5817';
20250310@171237.9983 eo2lqkgl786rv99qndj86oh4f0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5817';
20250310@171238.5310 prtdpid7826n44piqha1fea61f Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@171238.5420 prtdpid7826n44piqha1fea61f Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@171238.6190 prtdpid7826n44piqha1fea61f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5818';
20250310@171238.6920 prtdpid7826n44piqha1fea61f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5818';
20250310@171238.7690 prtdpid7826n44piqha1fea61f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5818';
20250310@171238.8200 prtdpid7826n44piqha1fea61f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5818';
20250310@171238.8900 prtdpid7826n44piqha1fea61f Query : use flama_phc
20250310@171238.8930 prtdpid7826n44piqha1fea61f Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@171238.9660 prtdpid7826n44piqha1fea61f Query : use flama_phc
20250310@171238.9700 prtdpid7826n44piqha1fea61f Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250310@171238.1020 prtdpid7826n44piqha1fea61f Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501646 
20250310@171238.1375 prtdpid7826n44piqha1fea61f Query : use flama_phc
20250310@171238.1378 prtdpid7826n44piqha1fea61f Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@171238.1408 prtdpid7826n44piqha1fea61f Query : use flama_phc
20250310@171238.1412 prtdpid7826n44piqha1fea61f Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@171238.1428 prtdpid7826n44piqha1fea61f Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@171238.1449 prtdpid7826n44piqha1fea61f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5818';
20250310@171238.1500 prtdpid7826n44piqha1fea61f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5818';
20250310@171238.2088 ieldvo5r24rgrqjououkgd9e54 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@171238.2098 ieldvo5r24rgrqjououkgd9e54 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@171238.2180 ieldvo5r24rgrqjououkgd9e54 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5819';
20250310@171238.2250 ieldvo5r24rgrqjououkgd9e54 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5819';
20250310@171238.2320 ieldvo5r24rgrqjououkgd9e54 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5819';
20250310@171238.2367 ieldvo5r24rgrqjououkgd9e54 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5819';
20250310@171238.2450 ieldvo5r24rgrqjououkgd9e54 Query : use flama_phc
20250310@171238.2456 ieldvo5r24rgrqjououkgd9e54 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@171238.2525 ieldvo5r24rgrqjououkgd9e54 Query : use flama_phc
20250310@171238.2529 ieldvo5r24rgrqjououkgd9e54 Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20250310@171238.2611 ieldvo5r24rgrqjououkgd9e54 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501647 
20250310@171238.3376 ieldvo5r24rgrqjououkgd9e54 Query : use flama_phc
20250310@171238.3404 ieldvo5r24rgrqjououkgd9e54 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@171238.3439 ieldvo5r24rgrqjououkgd9e54 Query : use flama_phc
20250310@171238.3445 ieldvo5r24rgrqjououkgd9e54 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@171238.3465 ieldvo5r24rgrqjououkgd9e54 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@171238.3487 ieldvo5r24rgrqjououkgd9e54 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5819';
20250310@171238.3573 ieldvo5r24rgrqjououkgd9e54 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5819';
20250310@171238.4646 86rl99f7jhe00qhu9n2mhekr8i Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@171238.4931 86rl99f7jhe00qhu9n2mhekr8i Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@171238.5998 86rl99f7jhe00qhu9n2mhekr8i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5820';
20250310@171238.6986 86rl99f7jhe00qhu9n2mhekr8i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5820';
20250310@171238.7473 86rl99f7jhe00qhu9n2mhekr8i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5820';
20250310@171238.7799 86rl99f7jhe00qhu9n2mhekr8i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5820';
20250310@171238.8164 86rl99f7jhe00qhu9n2mhekr8i Query : use flama_phc
20250310@171238.8206 86rl99f7jhe00qhu9n2mhekr8i Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@171238.8829 86rl99f7jhe00qhu9n2mhekr8i Query : use flama_phc
20250310@171238.8870 86rl99f7jhe00qhu9n2mhekr8i Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20250310@171238.9191 86rl99f7jhe00qhu9n2mhekr8i Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501648 
20250310@171239.1980 86rl99f7jhe00qhu9n2mhekr8i Query : use flama_phc
20250310@171239.2400 86rl99f7jhe00qhu9n2mhekr8i Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@171239.6140 86rl99f7jhe00qhu9n2mhekr8i Query : use flama_phc
20250310@171239.6560 86rl99f7jhe00qhu9n2mhekr8i Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@171239.8620 86rl99f7jhe00qhu9n2mhekr8i Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@171239.1033 86rl99f7jhe00qhu9n2mhekr8i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5820';
20250310@171239.1349 86rl99f7jhe00qhu9n2mhekr8i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5820';
20250310@171239.2046 gmetlo3t484eug0da6cpd9gt76 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@171239.2056 gmetlo3t484eug0da6cpd9gt76 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@171239.2134 gmetlo3t484eug0da6cpd9gt76 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5821';
20250310@171239.2208 gmetlo3t484eug0da6cpd9gt76 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5821';
20250310@171239.2285 gmetlo3t484eug0da6cpd9gt76 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5821';
20250310@171239.2331 gmetlo3t484eug0da6cpd9gt76 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5821';
20250310@171239.2399 gmetlo3t484eug0da6cpd9gt76 Query : use flama_phc
20250310@171239.2402 gmetlo3t484eug0da6cpd9gt76 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@171239.2483 gmetlo3t484eug0da6cpd9gt76 Query : use flama_phc
20250310@171239.2486 gmetlo3t484eug0da6cpd9gt76 Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20250310@171239.2553 gmetlo3t484eug0da6cpd9gt76 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501649 
20250310@171239.2921 gmetlo3t484eug0da6cpd9gt76 Query : use flama_phc
20250310@171239.2925 gmetlo3t484eug0da6cpd9gt76 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@171239.2955 gmetlo3t484eug0da6cpd9gt76 Query : use flama_phc
20250310@171239.2958 gmetlo3t484eug0da6cpd9gt76 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@171239.2975 gmetlo3t484eug0da6cpd9gt76 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@171239.2997 gmetlo3t484eug0da6cpd9gt76 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5821';
20250310@171239.3053 gmetlo3t484eug0da6cpd9gt76 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5821';
20250310@171239.3710 k8qddl4r8g9aeb26nac0ga8n2c Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@171239.3792 k8qddl4r8g9aeb26nac0ga8n2c Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@171239.4280 k8qddl4r8g9aeb26nac0ga8n2c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5822';
20250310@171239.4700 k8qddl4r8g9aeb26nac0ga8n2c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5822';
20250310@171239.5066 k8qddl4r8g9aeb26nac0ga8n2c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5822';
20250310@171239.5384 k8qddl4r8g9aeb26nac0ga8n2c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5822';
20250310@171239.5833 k8qddl4r8g9aeb26nac0ga8n2c Query : use flama_phc
20250310@171239.5875 k8qddl4r8g9aeb26nac0ga8n2c Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@171239.6496 k8qddl4r8g9aeb26nac0ga8n2c Query : use flama_phc
20250310@171239.6537 k8qddl4r8g9aeb26nac0ga8n2c Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20250310@171239.6860 k8qddl4r8g9aeb26nac0ga8n2c Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501650 
20250310@171239.7778 k8qddl4r8g9aeb26nac0ga8n2c Query : use flama_phc
20250310@171239.7819 k8qddl4r8g9aeb26nac0ga8n2c Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@171239.8193 k8qddl4r8g9aeb26nac0ga8n2c Query : use flama_phc
20250310@171239.8235 k8qddl4r8g9aeb26nac0ga8n2c Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@171239.8441 k8qddl4r8g9aeb26nac0ga8n2c Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@171239.8610 k8qddl4r8g9aeb26nac0ga8n2c Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5822';
20250310@171239.8940 k8qddl4r8g9aeb26nac0ga8n2c Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5822';
20250310@171240.5930 b665mfgh485hmuorv966orjs88 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@171240.6030 b665mfgh485hmuorv966orjs88 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@171240.2017 b665mfgh485hmuorv966orjs88 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5823';
20250310@171240.2096 b665mfgh485hmuorv966orjs88 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5823';
20250310@171240.2176 b665mfgh485hmuorv966orjs88 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5823';
20250310@171240.2218 b665mfgh485hmuorv966orjs88 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5823';
20250310@171240.2288 b665mfgh485hmuorv966orjs88 Query : use flama_phc
20250310@171240.2292 b665mfgh485hmuorv966orjs88 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@171240.2357 b665mfgh485hmuorv966orjs88 Query : use flama_phc
20250310@171240.2360 b665mfgh485hmuorv966orjs88 Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20250310@171240.2455 b665mfgh485hmuorv966orjs88 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501651 
20250310@171240.2833 b665mfgh485hmuorv966orjs88 Query : use flama_phc
20250310@171240.2836 b665mfgh485hmuorv966orjs88 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@171240.2869 b665mfgh485hmuorv966orjs88 Query : use flama_phc
20250310@171240.2872 b665mfgh485hmuorv966orjs88 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@171240.2896 b665mfgh485hmuorv966orjs88 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@171240.2928 b665mfgh485hmuorv966orjs88 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5823';
20250310@171240.2984 b665mfgh485hmuorv966orjs88 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5823';
20250310@171240.4168 l3o5ic2fgeoihf2clgb5gh9v8d Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@171240.4179 l3o5ic2fgeoihf2clgb5gh9v8d Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@171240.4264 l3o5ic2fgeoihf2clgb5gh9v8d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5824';
20250310@171240.4357 l3o5ic2fgeoihf2clgb5gh9v8d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5824';
20250310@171240.4507 l3o5ic2fgeoihf2clgb5gh9v8d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5824';
20250310@171240.4560 l3o5ic2fgeoihf2clgb5gh9v8d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5824';
20250310@171240.4633 l3o5ic2fgeoihf2clgb5gh9v8d Query : use flama_phc
20250310@171240.4636 l3o5ic2fgeoihf2clgb5gh9v8d Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@171240.4698 l3o5ic2fgeoihf2clgb5gh9v8d Query : use flama_phc
20250310@171240.4702 l3o5ic2fgeoihf2clgb5gh9v8d Query : select no, estab,szadrsdesc from szadrs where u_coddest=5546
20250310@171240.4796 l3o5ic2fgeoihf2clgb5gh9v8d Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501652 
20250310@171240.5166 l3o5ic2fgeoihf2clgb5gh9v8d Query : use flama_phc
20250310@171240.5169 l3o5ic2fgeoihf2clgb5gh9v8d Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@171240.5212 l3o5ic2fgeoihf2clgb5gh9v8d Query : use flama_phc
20250310@171240.5215 l3o5ic2fgeoihf2clgb5gh9v8d Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@171240.5231 l3o5ic2fgeoihf2clgb5gh9v8d Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@171240.5253 l3o5ic2fgeoihf2clgb5gh9v8d Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5824';
20250310@171240.5299 l3o5ic2fgeoihf2clgb5gh9v8d Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5824';
20250310@171240.6029 gb4qo2290ugoo18fcoi0hh0dlt Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250310@171240.6112 gb4qo2290ugoo18fcoi0hh0dlt Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250310@171240.6599 gb4qo2290ugoo18fcoi0hh0dlt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5825';
20250310@171240.6984 gb4qo2290ugoo18fcoi0hh0dlt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5825';
20250310@171240.7347 gb4qo2290ugoo18fcoi0hh0dlt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5825';
20250310@171240.7662 gb4qo2290ugoo18fcoi0hh0dlt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5825';
20250310@171240.8033 gb4qo2290ugoo18fcoi0hh0dlt Query : use flama_phc
20250310@171240.8066 gb4qo2290ugoo18fcoi0hh0dlt Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250310@171240.8692 gb4qo2290ugoo18fcoi0hh0dlt Query : use flama_phc
20250310@171240.8733 gb4qo2290ugoo18fcoi0hh0dlt Query : select no, estab,szadrsdesc from szadrs where u_coddest=16
20250310@171240.9124 gb4qo2290ugoo18fcoi0hh0dlt Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501653 
20250310@171241.1470 gb4qo2290ugoo18fcoi0hh0dlt Query : use flama_phc
20250310@171241.2370 gb4qo2290ugoo18fcoi0hh0dlt Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250310@171241.8330 gb4qo2290ugoo18fcoi0hh0dlt Query : use flama_phc
20250310@171241.8740 gb4qo2290ugoo18fcoi0hh0dlt Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250310@171241.1082 gb4qo2290ugoo18fcoi0hh0dlt Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250310@171241.1249 gb4qo2290ugoo18fcoi0hh0dlt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5825';
20250310@171241.1566 gb4qo2290ugoo18fcoi0hh0dlt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5825';
20250310@171910.8102 90q4633nr3fl4qqfqf5isa6hoa Query : use flama_phc
20250310@171910.8106 90q4633nr3fl4qqfqf5isa6hoa Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@171910.8196 90q4633nr3fl4qqfqf5isa6hoa Query : use flama_phc
20250310@171910.8200 90q4633nr3fl4qqfqf5isa6hoa Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@173610.9213 ih6c5g7mnqmrvt8ep6i4133bst Query : use flama_phc
20250310@173610.9218 ih6c5g7mnqmrvt8ep6i4133bst Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@173610.9299 ih6c5g7mnqmrvt8ep6i4133bst Query : use flama_phc
20250310@173610.9302 ih6c5g7mnqmrvt8ep6i4133bst Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@181909.6823 6suuubp3qsvvm8c8q3r205gr1h Query : use flama_phc
20250310@181909.6827 6suuubp3qsvvm8c8q3r205gr1h Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@181909.6919 6suuubp3qsvvm8c8q3r205gr1h Query : use flama_phc
20250310@181909.6923 6suuubp3qsvvm8c8q3r205gr1h Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@183609.5949 hk9lss1dm8vbll9bqshras0g5q Query : use flama_phc
20250310@183609.5972 hk9lss1dm8vbll9bqshras0g5q Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@183609.6104 hk9lss1dm8vbll9bqshras0g5q Query : use flama_phc
20250310@183609.6109 hk9lss1dm8vbll9bqshras0g5q Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@191946.1011 t74mrg11nnop88feadsvhmnjjr Query : use flama_phc
20250310@191946.1015 t74mrg11nnop88feadsvhmnjjr Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@191946.1102 t74mrg11nnop88feadsvhmnjjr Query : use flama_phc
20250310@191946.1105 t74mrg11nnop88feadsvhmnjjr Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@191946.1950 o4ojmbaau54ublqkrcbpp68l0a Query : use flama_phc
20250310@191946.1954 o4ojmbaau54ublqkrcbpp68l0a Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@191946.2042 o4ojmbaau54ublqkrcbpp68l0a Query : use flama_phc
20250310@191946.2045 o4ojmbaau54ublqkrcbpp68l0a Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@193611.6710 qguup34av9900umjgo7o5qofer Query : use flama_phc
20250310@193611.6770 qguup34av9900umjgo7o5qofer Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@193611.9480 qguup34av9900umjgo7o5qofer Query : use flama_phc
20250310@193611.9520 qguup34av9900umjgo7o5qofer Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@201909.3210 2tspgr89lihmp20grc5itvtkuc Query : use flama_phc
20250310@201909.3214 2tspgr89lihmp20grc5itvtkuc Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@201909.3353 2tspgr89lihmp20grc5itvtkuc Query : use flama_phc
20250310@201909.3356 2tspgr89lihmp20grc5itvtkuc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@203609.6606 ttsgaitn37db89fuklsfq6fvvh Query : use flama_phc
20250310@203609.6611 ttsgaitn37db89fuklsfq6fvvh Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@203609.7025 ttsgaitn37db89fuklsfq6fvvh Query : use flama_phc
20250310@203609.7029 ttsgaitn37db89fuklsfq6fvvh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@211911.1495 kudbahf154m25916pfib7rbt1m Query : use flama_phc
20250310@211911.1499 kudbahf154m25916pfib7rbt1m Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@211911.1755 kudbahf154m25916pfib7rbt1m Query : use flama_phc
20250310@211911.1761 kudbahf154m25916pfib7rbt1m Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@213611.3582 bn5fmq79cg8d9licrkuis4m1u5 Query : use flama_phc
20250310@213611.3587 bn5fmq79cg8d9licrkuis4m1u5 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@213611.3751 bn5fmq79cg8d9licrkuis4m1u5 Query : use flama_phc
20250310@213611.3755 bn5fmq79cg8d9licrkuis4m1u5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@221910.4070 gt6pms82mqjsq6kod4s79qn8i2 Query : use flama_phc
20250310@221910.4075 gt6pms82mqjsq6kod4s79qn8i2 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@221910.4185 gt6pms82mqjsq6kod4s79qn8i2 Query : use flama_phc
20250310@221910.4188 gt6pms82mqjsq6kod4s79qn8i2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@223610.3874 1nq69ujtbrb24n0e5sd3ade500 Query : use flama_phc
20250310@223610.3878 1nq69ujtbrb24n0e5sd3ade500 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@223610.3967 1nq69ujtbrb24n0e5sd3ade500 Query : use flama_phc
20250310@223610.3970 1nq69ujtbrb24n0e5sd3ade500 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@231908.3415 4o0spckgo0srushohvk4ndtoq1 Query : use flama_phc
20250310@231908.3420 4o0spckgo0srushohvk4ndtoq1 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@231908.3541 4o0spckgo0srushohvk4ndtoq1 Query : use flama_phc
20250310@231908.3545 4o0spckgo0srushohvk4ndtoq1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250310@233608.6069 rtjo4esn0dr5bb5c5jb54aeoeh Query : use flama_phc
20250310@233608.6073 rtjo4esn0dr5bb5c5jb54aeoeh Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250310@233608.6158 rtjo4esn0dr5bb5c5jb54aeoeh Query : use flama_phc
20250310@233608.6163 rtjo4esn0dr5bb5c5jb54aeoeh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@071909.1779 d2es2s948ctgm4ab1tji7pks9g Query : use flama_phc
20250311@071909.1822 d2es2s948ctgm4ab1tji7pks9g Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@071909.2151 d2es2s948ctgm4ab1tji7pks9g Query : use flama_phc
20250311@071909.2156 d2es2s948ctgm4ab1tji7pks9g Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@073631.5975 v6rk8l45ckh3ck1n9fdsfrg64d Query : use flama_phc
20250311@073631.5980 v6rk8l45ckh3ck1n9fdsfrg64d Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@073631.6074 v6rk8l45ckh3ck1n9fdsfrg64d Query : use flama_phc
20250311@073631.6078 v6rk8l45ckh3ck1n9fdsfrg64d Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@081908.9978 6vc68k7jghgbba90ek7n6j4cqm Query : use flama_phc
20250311@081908.9984 6vc68k7jghgbba90ek7n6j4cqm Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@081909.1380 6vc68k7jghgbba90ek7n6j4cqm Query : use flama_phc
20250311@081909.1430 6vc68k7jghgbba90ek7n6j4cqm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@083608.8794 siskemn61fn6kpif3g81rj1ruu Query : use flama_phc
20250311@083608.8877 siskemn61fn6kpif3g81rj1ruu Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@083608.9800 siskemn61fn6kpif3g81rj1ruu Query : use flama_phc
20250311@083608.9843 siskemn61fn6kpif3g81rj1ruu Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@091909.7406 p29bivmlehpcnvbggd1b9kjuqv Query : use flama_phc
20250311@091909.7427 p29bivmlehpcnvbggd1b9kjuqv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@091909.7558 p29bivmlehpcnvbggd1b9kjuqv Query : use flama_phc
20250311@091909.7564 p29bivmlehpcnvbggd1b9kjuqv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@093253.6380 o3ck372g23qs85o4of0huu45qt Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@093253.6468 o3ck372g23qs85o4of0huu45qt Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@093253.7801 o3ck372g23qs85o4of0huu45qt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5826';
20250311@093253.8040 o3ck372g23qs85o4of0huu45qt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5826';
20250311@093253.8423 o3ck372g23qs85o4of0huu45qt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5826';
20250311@093253.8898 o3ck372g23qs85o4of0huu45qt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5826';
20250311@093253.9319 o3ck372g23qs85o4of0huu45qt Query : use flama_phc
20250311@093253.9405 o3ck372g23qs85o4of0huu45qt Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@093253.9792 o3ck372g23qs85o4of0huu45qt Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1539.00.1'
20250311@093254.4290 o3ck372g23qs85o4of0huu45qt 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 = 2401467 and bi.ref ='324.1539.00.1' and bi.lordem =40000
20250311@093254.1940 o3ck372g23qs85o4of0huu45qt 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 = 'cps24112659558,241000004 ' 
20250311@093254.2980 o3ck372g23qs85o4of0huu45qt Query : use flama_phc
20250311@093254.2984 o3ck372g23qs85o4of0huu45qt Query : select top 1 1 valor from ts where ts.ndos = 61
20250311@093254.3192 o3ck372g23qs85o4of0huu45qt Query : use flama_phc
20250311@093254.3196 o3ck372g23qs85o4of0huu45qt 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')
20250311@093254.3362 o3ck372g23qs85o4of0huu45qt 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
20250311@093254.3676 o3ck372g23qs85o4of0huu45qt Query : use flama_phc
20250311@093254.3679 o3ck372g23qs85o4of0huu45qt Query : select top 1 ~inactivo valor from fl where no = '202433' and estab = 00 order by inactivo desc
20250311@093254.4150 o3ck372g23qs85o4of0huu45qt Query : use flama_phc
20250311@093254.4153 o3ck372g23qs85o4of0huu45qt Query : select 1 valor from ts where ndos = 61
20250311@093254.4390 o3ck372g23qs85o4of0huu45qt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@093254.5083 o3ck372g23qs85o4of0huu45qt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20250311@093254.5211 o3ck372g23qs85o4of0huu45qt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@093254.5227 o3ck372g23qs85o4of0huu45qt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20250311@093254.5237 o3ck372g23qs85o4of0huu45qt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@093254.5262 o3ck372g23qs85o4of0huu45qt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20250311@093254.5284 o3ck372g23qs85o4of0huu45qt 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
20250311@093254.5450 o3ck372g23qs85o4of0huu45qt Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2025 order by obrano desc
20250311@093254.5598 o3ck372g23qs85o4of0huu45qt Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2025 order by obrano desc
20250311@093254.5618 o3ck372g23qs85o4of0huu45qt Query : use flama_phc
20250311@093254.5625 o3ck372g23qs85o4of0huu45qt Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202433' and estab=00
20250311@093254.5751 o3ck372g23qs85o4of0huu45qt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@093254.5767 o3ck372g23qs85o4of0huu45qt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20250311@093254.5805 o3ck372g23qs85o4of0huu45qt Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67d008568367d0034689',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250311@093254.5907 o3ck372g23qs85o4of0huu45qt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@093254.5924 o3ck372g23qs85o4of0huu45qt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20250311@093254.5961 o3ck372g23qs85o4of0huu45qt Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67d008568367d0034689','--','bo',7.8604103599058190380 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250311@093254.6398 o3ck372g23qs85o4of0huu45qt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@093254.6469 o3ck372g23qs85o4of0huu45qt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20250311@093254.6486 o3ck372g23qs85o4of0huu45qt 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 ('aut67d008568367d0034689','guia r. fornecedor','2025-03-11',61,2500940,?,?,?,?,?,?,?,?,2025, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250311@093259.3991 o3ck372g23qs85o4of0huu45qt Query : use flama_phc
20250311@093259.4125 o3ck372g23qs85o4of0huu45qt Query : select st.usalote valor from st where st.ref = '324.1539.00.1'
20250311@093259.4865 o3ck372g23qs85o4of0huu45qt 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.1539.00.1'
20250311@093259.5310 o3ck372g23qs85o4of0huu45qt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@093259.5548 o3ck372g23qs85o4of0huu45qt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20250311@093259.5565 o3ck372g23qs85o4of0huu45qt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@093259.5581 o3ck372g23qs85o4of0huu45qt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20250311@093259.5590 o3ck372g23qs85o4of0huu45qt Query : select sestamp valor from se where ref ='324.1539.00.1' and lote = 'r2401467400a'
20250311@093259.5643 o3ck372g23qs85o4of0huu45qt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@093259.5658 o3ck372g23qs85o4of0huu45qt Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20250311@093259.5669 o3ck372g23qs85o4of0huu45qt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@093259.5692 o3ck372g23qs85o4of0huu45qt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20250311@093259.5706 o3ck372g23qs85o4of0huu45qt Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67d001702667d0034b8a',?,?,'20250311',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20250311@093259.6616 o3ck372g23qs85o4of0huu45qt Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250311@093259.6666 o3ck372g23qs85o4of0huu45qt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@093259.6684 o3ck372g23qs85o4of0huu45qt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20250311@093259.6697 o3ck372g23qs85o4of0huu45qt Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67d004104567d0034ba2','aut67d008568367d0034689',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 = 'aut67d008568367d0034689'
20250311@093259.6856 o3ck372g23qs85o4of0huu45qt Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@093259.6876 o3ck372g23qs85o4of0huu45qt Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20250311@093259.6898 o3ck372g23qs85o4of0huu45qt 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 'aut67d004104567d0034ba2',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 422, 422*.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 ,29.73,29.73*200.48,29.73,29.73*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,29.73*422,29.73*422*200.48 ,.000000,.000000*200.48 ,.000000,.000000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,29.73,29.73*200.48,29.73*422,29.73*422*200.48,'cps24112659558,241000004 ',233.69,233.69*422,233.69,233.69*422,?,?,?,4 from bo bo where bo.bostamp = 'aut67d008568367d0034689'
20250311@093323.8781 o3ck372g23qs85o4of0huu45qt Query : use flama_phc
20250311@093323.8787 o3ck372g23qs85o4of0huu45qt Query : declare @bostamp varchar(25) = 'aut67d008568367d0034689' ,@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 
20250311@093356.9130 o3ck372g23qs85o4of0huu45qt Query : use flama_phc
20250311@093356.9600 o3ck372g23qs85o4of0huu45qt Query : select 1 valor from bo where bo.bostamp = 'aut67d008568367d0034689'
20250311@093356.1648 o3ck372g23qs85o4of0huu45qt 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) = 'aut67d008568367d0034689' 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 
20250311@093403.5020 o3ck372g23qs85o4of0huu45qt Query : use flama_phc
20250311@093403.5070 o3ck372g23qs85o4of0huu45qt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@093403.9020 o3ck372g23qs85o4of0huu45qt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5826';
20250311@093403.1194 o3ck372g23qs85o4of0huu45qt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5826';
20250311@093609.9085 uo4orru9r80feotlhk7lqms8b6 Query : use flama_phc
20250311@093609.9090 uo4orru9r80feotlhk7lqms8b6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@093609.9301 uo4orru9r80feotlhk7lqms8b6 Query : use flama_phc
20250311@093609.9307 uo4orru9r80feotlhk7lqms8b6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@101908.5131 ovg9443417lvmr8cpkdscp76ik Query : use flama_phc
20250311@101908.5136 ovg9443417lvmr8cpkdscp76ik Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@101908.5288 ovg9443417lvmr8cpkdscp76ik Query : use flama_phc
20250311@101908.5292 ovg9443417lvmr8cpkdscp76ik Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@103608.4599 c5s9ck1v7ghb0hkg2c85e5heic Query : use flama_phc
20250311@103608.4604 c5s9ck1v7ghb0hkg2c85e5heic Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@103608.4711 c5s9ck1v7ghb0hkg2c85e5heic Query : use flama_phc
20250311@103608.4715 c5s9ck1v7ghb0hkg2c85e5heic Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@111908.6502 ts18i7hidbdune43bv94dnk0mb Query : use flama_phc
20250311@111908.6508 ts18i7hidbdune43bv94dnk0mb Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@111908.6704 ts18i7hidbdune43bv94dnk0mb Query : use flama_phc
20250311@111908.6708 ts18i7hidbdune43bv94dnk0mb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@113608.7602 lm22u8i64uh3ae3jppeqlggcia Query : use flama_phc
20250311@113608.7606 lm22u8i64uh3ae3jppeqlggcia Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@113608.7691 lm22u8i64uh3ae3jppeqlggcia Query : use flama_phc
20250311@113608.7694 lm22u8i64uh3ae3jppeqlggcia Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@121908.6830 f63l8lkgim5gdclu8vui17i2u8 Query : use flama_phc
20250311@121908.6835 f63l8lkgim5gdclu8vui17i2u8 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@121908.7788 f63l8lkgim5gdclu8vui17i2u8 Query : use flama_phc
20250311@121908.7792 f63l8lkgim5gdclu8vui17i2u8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@123608.6875 gkh92sn8csi85qnkjfacnh0jce Query : use flama_phc
20250311@123608.6880 gkh92sn8csi85qnkjfacnh0jce Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@123608.7238 gkh92sn8csi85qnkjfacnh0jce Query : use flama_phc
20250311@123608.7245 gkh92sn8csi85qnkjfacnh0jce Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@131910.4868 k46hjv1p07cvi1m9jpjm8vokse Query : use flama_phc
20250311@131910.4872 k46hjv1p07cvi1m9jpjm8vokse Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@131910.4964 k46hjv1p07cvi1m9jpjm8vokse Query : use flama_phc
20250311@131910.4967 k46hjv1p07cvi1m9jpjm8vokse Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@133610.5465 nnrbcte50mvg7nek7aimom72g6 Query : use flama_phc
20250311@133610.5469 nnrbcte50mvg7nek7aimom72g6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@133610.5555 nnrbcte50mvg7nek7aimom72g6 Query : use flama_phc
20250311@133610.5558 nnrbcte50mvg7nek7aimom72g6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@141909.8204 3iuglgf3n2584v9d2eknhm85p9 Query : use flama_phc
20250311@141909.8209 3iuglgf3n2584v9d2eknhm85p9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@141909.8305 3iuglgf3n2584v9d2eknhm85p9 Query : use flama_phc
20250311@141909.8308 3iuglgf3n2584v9d2eknhm85p9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@143610.8990 o6ihc8f5qg32da01u43nfhqelo Query : use flama_phc
20250311@143610.9060 o6ihc8f5qg32da01u43nfhqelo Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@143610.1068 o6ihc8f5qg32da01u43nfhqelo Query : use flama_phc
20250311@143610.1073 o6ihc8f5qg32da01u43nfhqelo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@145307.2510 1ss5fc9a871jckp78mmgpcegjf Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@145307.2541 1ss5fc9a871jckp78mmgpcegjf Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@145307.2915 1ss5fc9a871jckp78mmgpcegjf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5827';
20250311@145307.3009 1ss5fc9a871jckp78mmgpcegjf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5827';
20250311@145307.3111 1ss5fc9a871jckp78mmgpcegjf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5827';
20250311@145307.3162 1ss5fc9a871jckp78mmgpcegjf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5827';
20250311@145307.3235 1ss5fc9a871jckp78mmgpcegjf Query : use flama_phc
20250311@145307.3239 1ss5fc9a871jckp78mmgpcegjf Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@145307.3349 1ss5fc9a871jckp78mmgpcegjf Query : use flama_phc
20250311@145307.3353 1ss5fc9a871jckp78mmgpcegjf Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20250311@145307.3453 1ss5fc9a871jckp78mmgpcegjf Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501633 
20250311@145307.3861 1ss5fc9a871jckp78mmgpcegjf Query : use flama_phc
20250311@145307.3864 1ss5fc9a871jckp78mmgpcegjf Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@145307.4224 1ss5fc9a871jckp78mmgpcegjf Query : use flama_phc
20250311@145307.4228 1ss5fc9a871jckp78mmgpcegjf Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@145307.4422 1ss5fc9a871jckp78mmgpcegjf Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@145307.4537 1ss5fc9a871jckp78mmgpcegjf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5827';
20250311@145307.4630 1ss5fc9a871jckp78mmgpcegjf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5827';
20250311@145307.5293 ultrtt8n71g2uv28b1cm79od41 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@145307.5304 ultrtt8n71g2uv28b1cm79od41 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@145307.5452 ultrtt8n71g2uv28b1cm79od41 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5828';
20250311@145307.5534 ultrtt8n71g2uv28b1cm79od41 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5828';
20250311@145307.5788 ultrtt8n71g2uv28b1cm79od41 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5828';
20250311@145307.5911 ultrtt8n71g2uv28b1cm79od41 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5828';
20250311@145307.5985 ultrtt8n71g2uv28b1cm79od41 Query : use flama_phc
20250311@145307.5989 ultrtt8n71g2uv28b1cm79od41 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@145307.6060 ultrtt8n71g2uv28b1cm79od41 Query : use flama_phc
20250311@145307.6064 ultrtt8n71g2uv28b1cm79od41 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2427
20250311@145307.6164 ultrtt8n71g2uv28b1cm79od41 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501643 
20250311@145307.6685 ultrtt8n71g2uv28b1cm79od41 Query : use flama_phc
20250311@145307.6689 ultrtt8n71g2uv28b1cm79od41 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@145307.6722 ultrtt8n71g2uv28b1cm79od41 Query : use flama_phc
20250311@145307.6725 ultrtt8n71g2uv28b1cm79od41 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@145307.6744 ultrtt8n71g2uv28b1cm79od41 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@145307.6773 ultrtt8n71g2uv28b1cm79od41 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5828';
20250311@145307.6827 ultrtt8n71g2uv28b1cm79od41 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5828';
20250311@145307.7520 b0dp3bmocc2jq2d6i4oupclebc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@145307.7531 b0dp3bmocc2jq2d6i4oupclebc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@145307.7620 b0dp3bmocc2jq2d6i4oupclebc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5829';
20250311@145307.7696 b0dp3bmocc2jq2d6i4oupclebc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5829';
20250311@145307.7886 b0dp3bmocc2jq2d6i4oupclebc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5829';
20250311@145307.8044 b0dp3bmocc2jq2d6i4oupclebc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5829';
20250311@145307.8250 b0dp3bmocc2jq2d6i4oupclebc Query : use flama_phc
20250311@145307.8255 b0dp3bmocc2jq2d6i4oupclebc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@145307.8326 b0dp3bmocc2jq2d6i4oupclebc Query : use flama_phc
20250311@145307.8329 b0dp3bmocc2jq2d6i4oupclebc Query : select no, estab,szadrsdesc from szadrs where u_coddest=1246
20250311@145307.8424 b0dp3bmocc2jq2d6i4oupclebc Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501655 
20250311@145307.8795 b0dp3bmocc2jq2d6i4oupclebc Query : use flama_phc
20250311@145307.8799 b0dp3bmocc2jq2d6i4oupclebc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@145307.8834 b0dp3bmocc2jq2d6i4oupclebc Query : use flama_phc
20250311@145307.8838 b0dp3bmocc2jq2d6i4oupclebc Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@145307.8855 b0dp3bmocc2jq2d6i4oupclebc Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@145307.8882 b0dp3bmocc2jq2d6i4oupclebc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5829';
20250311@145307.8929 b0dp3bmocc2jq2d6i4oupclebc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5829';
20250311@145307.9480 gki7cnqjch7pn6p0kkk24ru1nu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@145307.9491 gki7cnqjch7pn6p0kkk24ru1nu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@145307.9568 gki7cnqjch7pn6p0kkk24ru1nu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5830';
20250311@145307.9630 gki7cnqjch7pn6p0kkk24ru1nu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5830';
20250311@145307.9698 gki7cnqjch7pn6p0kkk24ru1nu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5830';
20250311@145307.9737 gki7cnqjch7pn6p0kkk24ru1nu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5830';
20250311@145307.9799 gki7cnqjch7pn6p0kkk24ru1nu Query : use flama_phc
20250311@145307.9802 gki7cnqjch7pn6p0kkk24ru1nu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@145307.9863 gki7cnqjch7pn6p0kkk24ru1nu Query : use flama_phc
20250311@145307.9866 gki7cnqjch7pn6p0kkk24ru1nu Query : select no, estab,szadrsdesc from szadrs where u_coddest=416
20250311@145307.9962 gki7cnqjch7pn6p0kkk24ru1nu Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501656 
20250311@145308.3380 gki7cnqjch7pn6p0kkk24ru1nu Query : use flama_phc
20250311@145308.3420 gki7cnqjch7pn6p0kkk24ru1nu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@145308.3730 gki7cnqjch7pn6p0kkk24ru1nu Query : use flama_phc
20250311@145308.3760 gki7cnqjch7pn6p0kkk24ru1nu Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@145308.3930 gki7cnqjch7pn6p0kkk24ru1nu Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@145308.4150 gki7cnqjch7pn6p0kkk24ru1nu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5830';
20250311@145308.4590 gki7cnqjch7pn6p0kkk24ru1nu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5830';
20250311@145308.1091 achlp02sb2sqq556pb1sf839n6 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@145308.1106 achlp02sb2sqq556pb1sf839n6 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@145308.1185 achlp02sb2sqq556pb1sf839n6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5831';
20250311@145308.1255 achlp02sb2sqq556pb1sf839n6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5831';
20250311@145308.1329 achlp02sb2sqq556pb1sf839n6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5831';
20250311@145308.1369 achlp02sb2sqq556pb1sf839n6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5831';
20250311@145308.1445 achlp02sb2sqq556pb1sf839n6 Query : use flama_phc
20250311@145308.1448 achlp02sb2sqq556pb1sf839n6 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@145308.1513 achlp02sb2sqq556pb1sf839n6 Query : use flama_phc
20250311@145308.1516 achlp02sb2sqq556pb1sf839n6 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250311@145308.1917 achlp02sb2sqq556pb1sf839n6 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501658 
20250311@145308.2287 achlp02sb2sqq556pb1sf839n6 Query : use flama_phc
20250311@145308.2290 achlp02sb2sqq556pb1sf839n6 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@145308.2320 achlp02sb2sqq556pb1sf839n6 Query : use flama_phc
20250311@145308.2323 achlp02sb2sqq556pb1sf839n6 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@145308.2339 achlp02sb2sqq556pb1sf839n6 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@145308.2402 achlp02sb2sqq556pb1sf839n6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5831';
20250311@145308.3557 achlp02sb2sqq556pb1sf839n6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5831';
20250311@145308.4188 i9ru4q5sq784ep6coar3fog4nn Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@145308.4199 i9ru4q5sq784ep6coar3fog4nn Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@145308.4285 i9ru4q5sq784ep6coar3fog4nn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5832';
20250311@145308.4348 i9ru4q5sq784ep6coar3fog4nn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5832';
20250311@145308.4420 i9ru4q5sq784ep6coar3fog4nn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5832';
20250311@145308.4467 i9ru4q5sq784ep6coar3fog4nn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5832';
20250311@145308.4533 i9ru4q5sq784ep6coar3fog4nn Query : use flama_phc
20250311@145308.4536 i9ru4q5sq784ep6coar3fog4nn Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@145308.4599 i9ru4q5sq784ep6coar3fog4nn Query : use flama_phc
20250311@145308.4601 i9ru4q5sq784ep6coar3fog4nn Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250311@145308.4648 i9ru4q5sq784ep6coar3fog4nn Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501659 
20250311@145308.5028 i9ru4q5sq784ep6coar3fog4nn Query : use flama_phc
20250311@145308.5031 i9ru4q5sq784ep6coar3fog4nn Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@145308.5197 i9ru4q5sq784ep6coar3fog4nn Query : use flama_phc
20250311@145308.5200 i9ru4q5sq784ep6coar3fog4nn Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@145308.5217 i9ru4q5sq784ep6coar3fog4nn Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@145308.5238 i9ru4q5sq784ep6coar3fog4nn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5832';
20250311@145308.5286 i9ru4q5sq784ep6coar3fog4nn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5832';
20250311@145308.5933 kn8f9g8c9s3ggbbrki19flerig Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@145308.6017 kn8f9g8c9s3ggbbrki19flerig Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@145308.6200 kn8f9g8c9s3ggbbrki19flerig Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5833';
20250311@145308.6273 kn8f9g8c9s3ggbbrki19flerig Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5833';
20250311@145308.6343 kn8f9g8c9s3ggbbrki19flerig Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5833';
20250311@145308.6394 kn8f9g8c9s3ggbbrki19flerig Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5833';
20250311@145308.6465 kn8f9g8c9s3ggbbrki19flerig Query : use flama_phc
20250311@145308.6469 kn8f9g8c9s3ggbbrki19flerig Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@145308.6543 kn8f9g8c9s3ggbbrki19flerig Query : use flama_phc
20250311@145308.6546 kn8f9g8c9s3ggbbrki19flerig Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250311@145308.6891 kn8f9g8c9s3ggbbrki19flerig Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501660 
20250311@145308.7510 kn8f9g8c9s3ggbbrki19flerig Query : use flama_phc
20250311@145308.7522 kn8f9g8c9s3ggbbrki19flerig Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@145308.7626 kn8f9g8c9s3ggbbrki19flerig Query : use flama_phc
20250311@145308.7629 kn8f9g8c9s3ggbbrki19flerig Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@145308.7645 kn8f9g8c9s3ggbbrki19flerig Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@145308.7669 kn8f9g8c9s3ggbbrki19flerig Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5833';
20250311@145308.7718 kn8f9g8c9s3ggbbrki19flerig Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5833';
20250311@145308.8321 jm8scu10p6n8ei3vutj1mppiin Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@145308.8332 jm8scu10p6n8ei3vutj1mppiin Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@145308.8422 jm8scu10p6n8ei3vutj1mppiin Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5834';
20250311@145308.8513 jm8scu10p6n8ei3vutj1mppiin Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5834';
20250311@145308.8605 jm8scu10p6n8ei3vutj1mppiin Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5834';
20250311@145308.8660 jm8scu10p6n8ei3vutj1mppiin Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5834';
20250311@145308.8744 jm8scu10p6n8ei3vutj1mppiin Query : use flama_phc
20250311@145308.8748 jm8scu10p6n8ei3vutj1mppiin Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@145308.8818 jm8scu10p6n8ei3vutj1mppiin Query : use flama_phc
20250311@145308.8821 jm8scu10p6n8ei3vutj1mppiin Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250311@145308.8873 jm8scu10p6n8ei3vutj1mppiin Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501662 
20250311@145308.9307 jm8scu10p6n8ei3vutj1mppiin Query : use flama_phc
20250311@145308.9310 jm8scu10p6n8ei3vutj1mppiin Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@145308.9355 jm8scu10p6n8ei3vutj1mppiin Query : use flama_phc
20250311@145308.9359 jm8scu10p6n8ei3vutj1mppiin Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@145308.9376 jm8scu10p6n8ei3vutj1mppiin Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@145308.9398 jm8scu10p6n8ei3vutj1mppiin Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5834';
20250311@145308.9460 jm8scu10p6n8ei3vutj1mppiin Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5834';
20250311@145308.9972 abplhfvjj5qcrushkuumm0akqa Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@145308.9983 abplhfvjj5qcrushkuumm0akqa Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@145309.5500 abplhfvjj5qcrushkuumm0akqa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5835';
20250311@145309.1390 abplhfvjj5qcrushkuumm0akqa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5835';
20250311@145309.2150 abplhfvjj5qcrushkuumm0akqa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5835';
20250311@145309.2570 abplhfvjj5qcrushkuumm0akqa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5835';
20250311@145309.3240 abplhfvjj5qcrushkuumm0akqa Query : use flama_phc
20250311@145309.3270 abplhfvjj5qcrushkuumm0akqa Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@145309.3950 abplhfvjj5qcrushkuumm0akqa Query : use flama_phc
20250311@145309.3980 abplhfvjj5qcrushkuumm0akqa Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250311@145309.4480 abplhfvjj5qcrushkuumm0akqa Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501663 
20250311@145309.8250 abplhfvjj5qcrushkuumm0akqa Query : use flama_phc
20250311@145309.8280 abplhfvjj5qcrushkuumm0akqa Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@145309.8580 abplhfvjj5qcrushkuumm0akqa Query : use flama_phc
20250311@145309.8620 abplhfvjj5qcrushkuumm0akqa Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@145309.8780 abplhfvjj5qcrushkuumm0akqa Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@145309.9000 abplhfvjj5qcrushkuumm0akqa Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5835';
20250311@145309.9690 abplhfvjj5qcrushkuumm0akqa Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5835';
20250311@145309.1502 i5ghsfv4gmakhireuvfpc3c0m2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@145309.1513 i5ghsfv4gmakhireuvfpc3c0m2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@145309.1594 i5ghsfv4gmakhireuvfpc3c0m2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5836';
20250311@145309.1672 i5ghsfv4gmakhireuvfpc3c0m2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5836';
20250311@145309.1757 i5ghsfv4gmakhireuvfpc3c0m2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5836';
20250311@145309.1812 i5ghsfv4gmakhireuvfpc3c0m2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5836';
20250311@145309.1916 i5ghsfv4gmakhireuvfpc3c0m2 Query : use flama_phc
20250311@145309.1920 i5ghsfv4gmakhireuvfpc3c0m2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@145309.1991 i5ghsfv4gmakhireuvfpc3c0m2 Query : use flama_phc
20250311@145309.1994 i5ghsfv4gmakhireuvfpc3c0m2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250311@145309.2100 i5ghsfv4gmakhireuvfpc3c0m2 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501664 
20250311@145309.4449 i5ghsfv4gmakhireuvfpc3c0m2 Query : use flama_phc
20250311@145309.4473 i5ghsfv4gmakhireuvfpc3c0m2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@145309.4532 i5ghsfv4gmakhireuvfpc3c0m2 Query : use flama_phc
20250311@145309.4535 i5ghsfv4gmakhireuvfpc3c0m2 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@145309.4554 i5ghsfv4gmakhireuvfpc3c0m2 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@145309.4580 i5ghsfv4gmakhireuvfpc3c0m2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5836';
20250311@145309.4634 i5ghsfv4gmakhireuvfpc3c0m2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5836';
20250311@145309.6090 r0ndgsch64heirollsqecbl69f Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@145309.6100 r0ndgsch64heirollsqecbl69f Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@145309.6174 r0ndgsch64heirollsqecbl69f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5837';
20250311@145309.6286 r0ndgsch64heirollsqecbl69f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5837';
20250311@145309.6365 r0ndgsch64heirollsqecbl69f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5837';
20250311@145309.6412 r0ndgsch64heirollsqecbl69f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5837';
20250311@145309.6493 r0ndgsch64heirollsqecbl69f Query : use flama_phc
20250311@145309.6501 r0ndgsch64heirollsqecbl69f Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@145309.6564 r0ndgsch64heirollsqecbl69f Query : use flama_phc
20250311@145309.6567 r0ndgsch64heirollsqecbl69f Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250311@145309.6614 r0ndgsch64heirollsqecbl69f Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501665 
20250311@145309.7029 r0ndgsch64heirollsqecbl69f Query : use flama_phc
20250311@145309.7032 r0ndgsch64heirollsqecbl69f Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@145309.7063 r0ndgsch64heirollsqecbl69f Query : use flama_phc
20250311@145309.7066 r0ndgsch64heirollsqecbl69f Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@145309.7082 r0ndgsch64heirollsqecbl69f Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@145309.7103 r0ndgsch64heirollsqecbl69f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5837';
20250311@145309.7149 r0ndgsch64heirollsqecbl69f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5837';
20250311@145309.7777 5f9j2kgheuksrg8qbm3ih3ci9u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@145309.7788 5f9j2kgheuksrg8qbm3ih3ci9u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@145309.7866 5f9j2kgheuksrg8qbm3ih3ci9u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5838';
20250311@145309.7937 5f9j2kgheuksrg8qbm3ih3ci9u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5838';
20250311@145309.8020 5f9j2kgheuksrg8qbm3ih3ci9u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5838';
20250311@145309.8058 5f9j2kgheuksrg8qbm3ih3ci9u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5838';
20250311@145309.8121 5f9j2kgheuksrg8qbm3ih3ci9u Query : use flama_phc
20250311@145309.8171 5f9j2kgheuksrg8qbm3ih3ci9u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@145309.8234 5f9j2kgheuksrg8qbm3ih3ci9u Query : use flama_phc
20250311@145309.8237 5f9j2kgheuksrg8qbm3ih3ci9u Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250311@145309.8287 5f9j2kgheuksrg8qbm3ih3ci9u Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501666 
20250311@145309.8653 5f9j2kgheuksrg8qbm3ih3ci9u Query : use flama_phc
20250311@145309.8656 5f9j2kgheuksrg8qbm3ih3ci9u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@145309.8696 5f9j2kgheuksrg8qbm3ih3ci9u Query : use flama_phc
20250311@145309.8700 5f9j2kgheuksrg8qbm3ih3ci9u Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@145309.8717 5f9j2kgheuksrg8qbm3ih3ci9u Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@145309.8744 5f9j2kgheuksrg8qbm3ih3ci9u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5838';
20250311@145309.8793 5f9j2kgheuksrg8qbm3ih3ci9u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5838';
20250311@145309.9461 vaiegql8lm6afmeiqhi7qenc0f Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@145309.9518 vaiegql8lm6afmeiqhi7qenc0f Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@145309.9779 vaiegql8lm6afmeiqhi7qenc0f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5839';
20250311@145309.9856 vaiegql8lm6afmeiqhi7qenc0f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5839';
20250311@145309.9938 vaiegql8lm6afmeiqhi7qenc0f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5839';
20250311@145309.9997 vaiegql8lm6afmeiqhi7qenc0f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5839';
20250311@145310.8700 vaiegql8lm6afmeiqhi7qenc0f Query : use flama_phc
20250311@145310.9200 vaiegql8lm6afmeiqhi7qenc0f Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@145310.1580 vaiegql8lm6afmeiqhi7qenc0f Query : use flama_phc
20250311@145310.1610 vaiegql8lm6afmeiqhi7qenc0f Query : select no, estab,szadrsdesc from szadrs where u_coddest=4779
20250311@145310.3780 vaiegql8lm6afmeiqhi7qenc0f Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501667 
20250311@145310.7510 vaiegql8lm6afmeiqhi7qenc0f Query : use flama_phc
20250311@145310.7540 vaiegql8lm6afmeiqhi7qenc0f Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@145310.7860 vaiegql8lm6afmeiqhi7qenc0f Query : use flama_phc
20250311@145310.7880 vaiegql8lm6afmeiqhi7qenc0f Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@145310.8050 vaiegql8lm6afmeiqhi7qenc0f Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@145310.8280 vaiegql8lm6afmeiqhi7qenc0f Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5839';
20250311@145310.8820 vaiegql8lm6afmeiqhi7qenc0f Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5839';
20250311@145310.1395 n7pail14qsk2nr3c5aakqto6hr Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@145310.1406 n7pail14qsk2nr3c5aakqto6hr Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@145310.1482 n7pail14qsk2nr3c5aakqto6hr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5840';
20250311@145310.1553 n7pail14qsk2nr3c5aakqto6hr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5840';
20250311@145310.1629 n7pail14qsk2nr3c5aakqto6hr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5840';
20250311@145310.1671 n7pail14qsk2nr3c5aakqto6hr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5840';
20250311@145310.1735 n7pail14qsk2nr3c5aakqto6hr Query : use flama_phc
20250311@145310.1739 n7pail14qsk2nr3c5aakqto6hr Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@145310.1808 n7pail14qsk2nr3c5aakqto6hr Query : use flama_phc
20250311@145310.1811 n7pail14qsk2nr3c5aakqto6hr Query : select no, estab,szadrsdesc from szadrs where u_coddest=1760
20250311@145310.1897 n7pail14qsk2nr3c5aakqto6hr Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501669 
20250311@145310.2285 n7pail14qsk2nr3c5aakqto6hr Query : use flama_phc
20250311@145310.2288 n7pail14qsk2nr3c5aakqto6hr Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@145310.2319 n7pail14qsk2nr3c5aakqto6hr Query : use flama_phc
20250311@145310.2322 n7pail14qsk2nr3c5aakqto6hr Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@145310.2339 n7pail14qsk2nr3c5aakqto6hr Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@145310.2360 n7pail14qsk2nr3c5aakqto6hr Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5840';
20250311@145310.2429 n7pail14qsk2nr3c5aakqto6hr Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5840';
20250311@145310.3061 mgqchq0f5psrjlrgj6t4aih91q Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@145310.3072 mgqchq0f5psrjlrgj6t4aih91q Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@145310.3162 mgqchq0f5psrjlrgj6t4aih91q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5841';
20250311@145310.3236 mgqchq0f5psrjlrgj6t4aih91q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5841';
20250311@145310.3321 mgqchq0f5psrjlrgj6t4aih91q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5841';
20250311@145310.3372 mgqchq0f5psrjlrgj6t4aih91q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5841';
20250311@145310.3453 mgqchq0f5psrjlrgj6t4aih91q Query : use flama_phc
20250311@145310.3457 mgqchq0f5psrjlrgj6t4aih91q Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@145310.3520 mgqchq0f5psrjlrgj6t4aih91q Query : use flama_phc
20250311@145310.3524 mgqchq0f5psrjlrgj6t4aih91q Query : select no, estab,szadrsdesc from szadrs where u_coddest=692
20250311@145310.3615 mgqchq0f5psrjlrgj6t4aih91q Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501670 
20250311@145310.4309 mgqchq0f5psrjlrgj6t4aih91q Query : use flama_phc
20250311@145310.4312 mgqchq0f5psrjlrgj6t4aih91q Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@145310.4342 mgqchq0f5psrjlrgj6t4aih91q Query : use flama_phc
20250311@145310.4345 mgqchq0f5psrjlrgj6t4aih91q Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@145310.4361 mgqchq0f5psrjlrgj6t4aih91q Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@145310.4390 mgqchq0f5psrjlrgj6t4aih91q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5841';
20250311@145310.4438 mgqchq0f5psrjlrgj6t4aih91q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5841';
20250311@151909.1886 15t8u5ocq18572kl1ipkk8bh6u Query : use flama_phc
20250311@151909.1891 15t8u5ocq18572kl1ipkk8bh6u Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@151909.1982 15t8u5ocq18572kl1ipkk8bh6u Query : use flama_phc
20250311@151909.1985 15t8u5ocq18572kl1ipkk8bh6u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@153609.1515 ub8rpjlbhdvh0t3m3fkhi7r5lv Query : use flama_phc
20250311@153609.1519 ub8rpjlbhdvh0t3m3fkhi7r5lv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@153609.1605 ub8rpjlbhdvh0t3m3fkhi7r5lv Query : use flama_phc
20250311@153609.1608 ub8rpjlbhdvh0t3m3fkhi7r5lv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@153836.2711 r9me314n6d3nfa5ir1e4m8afl3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@153836.2722 r9me314n6d3nfa5ir1e4m8afl3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@153836.2793 r9me314n6d3nfa5ir1e4m8afl3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5842';
20250311@153836.2882 r9me314n6d3nfa5ir1e4m8afl3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5842';
20250311@153836.2950 r9me314n6d3nfa5ir1e4m8afl3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5842';
20250311@153836.2990 r9me314n6d3nfa5ir1e4m8afl3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5842';
20250311@153836.3045 r9me314n6d3nfa5ir1e4m8afl3 Query : use flama_phc
20250311@153836.3048 r9me314n6d3nfa5ir1e4m8afl3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@153836.3118 r9me314n6d3nfa5ir1e4m8afl3 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1537.00.1'
20250311@153836.3224 r9me314n6d3nfa5ir1e4m8afl3 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 = 2401467 and bi.ref ='324.1537.00.1' and bi.lordem =1
20250311@153836.3614 r9me314n6d3nfa5ir1e4m8afl3 Query : use flama_phc
20250311@153836.3618 r9me314n6d3nfa5ir1e4m8afl3 Query : select top 1 1 valor from ts where ts.ndos = 61
20250311@153836.3702 r9me314n6d3nfa5ir1e4m8afl3 Query : use flama_phc
20250311@153836.3705 r9me314n6d3nfa5ir1e4m8afl3 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')
20250311@153836.3790 r9me314n6d3nfa5ir1e4m8afl3 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
20250311@153836.3929 r9me314n6d3nfa5ir1e4m8afl3 Query : use flama_phc
20250311@153836.3933 r9me314n6d3nfa5ir1e4m8afl3 Query : select top 1 ~inactivo valor from fl where no = '202433' and estab = 00 order by inactivo desc
20250311@153836.4029 r9me314n6d3nfa5ir1e4m8afl3 Query : use flama_phc
20250311@153836.4032 r9me314n6d3nfa5ir1e4m8afl3 Query : select 1 valor from ts where ndos = 61
20250311@153836.4089 r9me314n6d3nfa5ir1e4m8afl3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@153836.4406 r9me314n6d3nfa5ir1e4m8afl3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20250311@153836.4484 r9me314n6d3nfa5ir1e4m8afl3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@153836.4498 r9me314n6d3nfa5ir1e4m8afl3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20250311@153836.4507 r9me314n6d3nfa5ir1e4m8afl3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@153836.4522 r9me314n6d3nfa5ir1e4m8afl3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20250311@153836.4531 r9me314n6d3nfa5ir1e4m8afl3 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
20250311@153836.4627 r9me314n6d3nfa5ir1e4m8afl3 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2025 order by obrano desc
20250311@153836.4715 r9me314n6d3nfa5ir1e4m8afl3 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2025 order by obrano desc
20250311@153836.4738 r9me314n6d3nfa5ir1e4m8afl3 Query : use flama_phc
20250311@153836.4744 r9me314n6d3nfa5ir1e4m8afl3 Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202433' and estab=00
20250311@153836.4816 r9me314n6d3nfa5ir1e4m8afl3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@153836.4831 r9me314n6d3nfa5ir1e4m8afl3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20250311@153836.4866 r9me314n6d3nfa5ir1e4m8afl3 Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67d054525267d058fc73',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250311@153836.4956 r9me314n6d3nfa5ir1e4m8afl3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@153836.4972 r9me314n6d3nfa5ir1e4m8afl3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20250311@153836.4985 r9me314n6d3nfa5ir1e4m8afl3 Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67d054525267d058fc73','--','bo',0 ,0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250311@153836.5154 r9me314n6d3nfa5ir1e4m8afl3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@153836.5177 r9me314n6d3nfa5ir1e4m8afl3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20250311@153836.5195 r9me314n6d3nfa5ir1e4m8afl3 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 ('aut67d054525267d058fc73','guia r. fornecedor','2025-03-11',61,2500951,?,?,?,?,?,?,?,?,2025, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250311@153839.8198 r9me314n6d3nfa5ir1e4m8afl3 Query : use flama_phc
20250311@153839.8201 r9me314n6d3nfa5ir1e4m8afl3 Query : select st.usalote valor from st where st.ref = '324.1537.00.1'
20250311@153839.8604 r9me314n6d3nfa5ir1e4m8afl3 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.1537.00.1'
20250311@153839.8752 r9me314n6d3nfa5ir1e4m8afl3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@153839.8770 r9me314n6d3nfa5ir1e4m8afl3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20250311@153839.8799 r9me314n6d3nfa5ir1e4m8afl3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@153839.8818 r9me314n6d3nfa5ir1e4m8afl3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20250311@153839.8829 r9me314n6d3nfa5ir1e4m8afl3 Query : select sestamp valor from se where ref ='324.1537.00.1' and lote = 'r2401467200a'
20250311@153839.8884 r9me314n6d3nfa5ir1e4m8afl3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@153839.8901 r9me314n6d3nfa5ir1e4m8afl3 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20250311@153839.8912 r9me314n6d3nfa5ir1e4m8afl3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@153839.8946 r9me314n6d3nfa5ir1e4m8afl3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20250311@153839.8960 r9me314n6d3nfa5ir1e4m8afl3 Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67d056568767d058ffd9',?,?,'20250311',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20250311@153839.9457 r9me314n6d3nfa5ir1e4m8afl3 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250311@153839.9497 r9me314n6d3nfa5ir1e4m8afl3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@153839.9514 r9me314n6d3nfa5ir1e4m8afl3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20250311@153839.9527 r9me314n6d3nfa5ir1e4m8afl3 Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67d054679367d058ffe7','aut67d054525267d058fc73',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 = 'aut67d054525267d058fc73'
20250311@153839.9686 r9me314n6d3nfa5ir1e4m8afl3 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250311@153839.9706 r9me314n6d3nfa5ir1e4m8afl3 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20250311@153839.9726 r9me314n6d3nfa5ir1e4m8afl3 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,eslvu,slvu,esltt,sltt,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,obistamp ,stipo) select 'aut67d054679367d058ffe7',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 683, 683*.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*683,0*683*200.48 ,.000000,.000000*200.48 ,.000000,.000000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0*200.48,0*683,0*683*200.48,0,0*683,0,0*683,?,?,?,4 from bo bo where bo.bostamp = 'aut67d054525267d058fc73'
20250311@153840.1210 r9me314n6d3nfa5ir1e4m8afl3 Query : use flama_phc
20250311@153840.1250 r9me314n6d3nfa5ir1e4m8afl3 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -110
20250311@153840.2020 r9me314n6d3nfa5ir1e4m8afl3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5842';
20250311@153840.2670 r9me314n6d3nfa5ir1e4m8afl3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5842';
20250311@153842.1572 7jt7aik36v5epg9h6dubl8kacl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@153842.1584 7jt7aik36v5epg9h6dubl8kacl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@153842.1695 7jt7aik36v5epg9h6dubl8kacl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5843';
20250311@153842.1938 7jt7aik36v5epg9h6dubl8kacl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5843';
20250311@153842.2009 7jt7aik36v5epg9h6dubl8kacl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5843';
20250311@153842.2058 7jt7aik36v5epg9h6dubl8kacl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5843';
20250311@153842.2128 7jt7aik36v5epg9h6dubl8kacl Query : use flama_phc
20250311@153842.2132 7jt7aik36v5epg9h6dubl8kacl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@153842.2199 7jt7aik36v5epg9h6dubl8kacl Query : use flama_phc
20250311@153842.2202 7jt7aik36v5epg9h6dubl8kacl Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250311@153842.2250 7jt7aik36v5epg9h6dubl8kacl Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 501661. 
20250311@153842.2640 7jt7aik36v5epg9h6dubl8kacl Query : use flama_phc
20250311@153842.2643 7jt7aik36v5epg9h6dubl8kacl Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@153842.2673 7jt7aik36v5epg9h6dubl8kacl Query : use flama_phc
20250311@153842.2676 7jt7aik36v5epg9h6dubl8kacl Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@153842.2691 7jt7aik36v5epg9h6dubl8kacl Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@153842.2713 7jt7aik36v5epg9h6dubl8kacl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5843';
20250311@153842.2760 7jt7aik36v5epg9h6dubl8kacl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5843';
20250311@161910.7227 3a7fnu5ipfei5s8duvv3mclkrp Query : use flama_phc
20250311@161910.7231 3a7fnu5ipfei5s8duvv3mclkrp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@161910.7412 3a7fnu5ipfei5s8duvv3mclkrp Query : use flama_phc
20250311@161910.7416 3a7fnu5ipfei5s8duvv3mclkrp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@163610.6960 ej6ih6g2849dufc5d1t2oi1h49 Query : use flama_phc
20250311@163610.6965 ej6ih6g2849dufc5d1t2oi1h49 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@163610.7062 ej6ih6g2849dufc5d1t2oi1h49 Query : use flama_phc
20250311@163610.7066 ej6ih6g2849dufc5d1t2oi1h49 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@171909.7512 4lg62qtn5rndnfhfe1lvt0nv9b Query : use flama_phc
20250311@171909.7516 4lg62qtn5rndnfhfe1lvt0nv9b Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@171909.7613 4lg62qtn5rndnfhfe1lvt0nv9b Query : use flama_phc
20250311@171909.7616 4lg62qtn5rndnfhfe1lvt0nv9b Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@173609.8542 gp3l0in2r768qct888sjm5i0k5 Query : use flama_phc
20250311@173609.8545 gp3l0in2r768qct888sjm5i0k5 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@173609.8634 gp3l0in2r768qct888sjm5i0k5 Query : use flama_phc
20250311@173609.8637 gp3l0in2r768qct888sjm5i0k5 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@175400.9298 sfdj0biusulod6rn6h8ouesl4n Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@175400.9424 sfdj0biusulod6rn6h8ouesl4n Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@175401.7410 sfdj0biusulod6rn6h8ouesl4n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5844';
20250311@175401.2514 sfdj0biusulod6rn6h8ouesl4n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5844';
20250311@175401.3112 sfdj0biusulod6rn6h8ouesl4n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5844';
20250311@175401.3666 sfdj0biusulod6rn6h8ouesl4n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5844';
20250311@175401.4494 sfdj0biusulod6rn6h8ouesl4n Query : use flama_phc
20250311@175401.4552 sfdj0biusulod6rn6h8ouesl4n Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@175401.5698 sfdj0biusulod6rn6h8ouesl4n Query : use flama_phc
20250311@175401.5809 sfdj0biusulod6rn6h8ouesl4n Query : select no, estab,szadrsdesc from szadrs where u_coddest=2448
20250311@175401.8588 sfdj0biusulod6rn6h8ouesl4n Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501671 
20250311@175402.5430 sfdj0biusulod6rn6h8ouesl4n Query : use flama_phc
20250311@175402.6530 sfdj0biusulod6rn6h8ouesl4n Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@175402.1311 sfdj0biusulod6rn6h8ouesl4n Query : use flama_phc
20250311@175402.1394 sfdj0biusulod6rn6h8ouesl4n Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@175402.3210 sfdj0biusulod6rn6h8ouesl4n Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@175402.3546 sfdj0biusulod6rn6h8ouesl4n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5844';
20250311@175402.4108 sfdj0biusulod6rn6h8ouesl4n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5844';
20250311@175402.5027 o584cd8das1enhqhi1macncflj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@175402.5040 o584cd8das1enhqhi1macncflj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@175402.5131 o584cd8das1enhqhi1macncflj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5845';
20250311@175402.5226 o584cd8das1enhqhi1macncflj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5845';
20250311@175402.5311 o584cd8das1enhqhi1macncflj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5845';
20250311@175402.5367 o584cd8das1enhqhi1macncflj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5845';
20250311@175402.5450 o584cd8das1enhqhi1macncflj Query : use flama_phc
20250311@175402.5455 o584cd8das1enhqhi1macncflj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@175402.5527 o584cd8das1enhqhi1macncflj Query : use flama_phc
20250311@175402.5531 o584cd8das1enhqhi1macncflj Query : select no, estab,szadrsdesc from szadrs where u_coddest=2155
20250311@175402.5971 o584cd8das1enhqhi1macncflj Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501673 
20250311@175402.6435 o584cd8das1enhqhi1macncflj Query : use flama_phc
20250311@175402.6438 o584cd8das1enhqhi1macncflj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@175402.6473 o584cd8das1enhqhi1macncflj Query : use flama_phc
20250311@175402.6476 o584cd8das1enhqhi1macncflj Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@175402.6494 o584cd8das1enhqhi1macncflj Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@175402.6515 o584cd8das1enhqhi1macncflj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5845';
20250311@175402.6590 o584cd8das1enhqhi1macncflj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5845';
20250311@175402.7187 l6q5ta3s7u0bq4ic72b17p77tk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@175402.7208 l6q5ta3s7u0bq4ic72b17p77tk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@175402.7303 l6q5ta3s7u0bq4ic72b17p77tk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5846';
20250311@175402.7394 l6q5ta3s7u0bq4ic72b17p77tk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5846';
20250311@175402.7480 l6q5ta3s7u0bq4ic72b17p77tk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5846';
20250311@175402.7534 l6q5ta3s7u0bq4ic72b17p77tk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5846';
20250311@175402.7616 l6q5ta3s7u0bq4ic72b17p77tk Query : use flama_phc
20250311@175402.7620 l6q5ta3s7u0bq4ic72b17p77tk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@175402.7685 l6q5ta3s7u0bq4ic72b17p77tk Query : use flama_phc
20250311@175402.7689 l6q5ta3s7u0bq4ic72b17p77tk Query : select no, estab,szadrsdesc from szadrs where u_coddest=10188
20250311@175402.7804 l6q5ta3s7u0bq4ic72b17p77tk Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501674 
20250311@175402.8293 l6q5ta3s7u0bq4ic72b17p77tk Query : use flama_phc
20250311@175402.8297 l6q5ta3s7u0bq4ic72b17p77tk Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@175402.8330 l6q5ta3s7u0bq4ic72b17p77tk Query : use flama_phc
20250311@175402.8333 l6q5ta3s7u0bq4ic72b17p77tk Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@175402.8350 l6q5ta3s7u0bq4ic72b17p77tk Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@175402.8374 l6q5ta3s7u0bq4ic72b17p77tk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5846';
20250311@175402.8436 l6q5ta3s7u0bq4ic72b17p77tk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5846';
20250311@175402.8987 5hntgr0e9s4g8kajbvvb1iiab2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@175402.8998 5hntgr0e9s4g8kajbvvb1iiab2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@175402.9086 5hntgr0e9s4g8kajbvvb1iiab2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5847';
20250311@175402.9179 5hntgr0e9s4g8kajbvvb1iiab2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5847';
20250311@175402.9261 5hntgr0e9s4g8kajbvvb1iiab2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5847';
20250311@175402.9315 5hntgr0e9s4g8kajbvvb1iiab2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5847';
20250311@175402.9401 5hntgr0e9s4g8kajbvvb1iiab2 Query : use flama_phc
20250311@175402.9405 5hntgr0e9s4g8kajbvvb1iiab2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@175402.9472 5hntgr0e9s4g8kajbvvb1iiab2 Query : use flama_phc
20250311@175402.9476 5hntgr0e9s4g8kajbvvb1iiab2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6917
20250311@175402.9656 5hntgr0e9s4g8kajbvvb1iiab2 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501675 
20250311@175403.1260 5hntgr0e9s4g8kajbvvb1iiab2 Query : use flama_phc
20250311@175403.1290 5hntgr0e9s4g8kajbvvb1iiab2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@175403.1820 5hntgr0e9s4g8kajbvvb1iiab2 Query : use flama_phc
20250311@175403.1860 5hntgr0e9s4g8kajbvvb1iiab2 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@175403.2090 5hntgr0e9s4g8kajbvvb1iiab2 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@175403.2370 5hntgr0e9s4g8kajbvvb1iiab2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5847';
20250311@175403.3190 5hntgr0e9s4g8kajbvvb1iiab2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5847';
20250311@175403.9420 vajit934l5856vu5lan60rbj5i Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@175403.9560 vajit934l5856vu5lan60rbj5i Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@175403.1055 vajit934l5856vu5lan60rbj5i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5848';
20250311@175403.1160 vajit934l5856vu5lan60rbj5i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5848';
20250311@175403.2824 vajit934l5856vu5lan60rbj5i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5848';
20250311@175403.2890 vajit934l5856vu5lan60rbj5i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5848';
20250311@175403.3008 vajit934l5856vu5lan60rbj5i Query : use flama_phc
20250311@175403.3012 vajit934l5856vu5lan60rbj5i Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@175403.3131 vajit934l5856vu5lan60rbj5i Query : use flama_phc
20250311@175403.3135 vajit934l5856vu5lan60rbj5i Query : select no, estab,szadrsdesc from szadrs where u_coddest=4804
20250311@175403.3270 vajit934l5856vu5lan60rbj5i Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501676 
20250311@175403.3890 vajit934l5856vu5lan60rbj5i Query : use flama_phc
20250311@175403.3895 vajit934l5856vu5lan60rbj5i Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@175403.3937 vajit934l5856vu5lan60rbj5i Query : use flama_phc
20250311@175403.3942 vajit934l5856vu5lan60rbj5i Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@175403.3963 vajit934l5856vu5lan60rbj5i Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@175403.3994 vajit934l5856vu5lan60rbj5i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5848';
20250311@175403.4063 vajit934l5856vu5lan60rbj5i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5848';
20250311@175403.5737 3u814lkv4cnamr1vfh5cgvu0s3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@175403.5765 3u814lkv4cnamr1vfh5cgvu0s3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@175403.5876 3u814lkv4cnamr1vfh5cgvu0s3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5849';
20250311@175403.5981 3u814lkv4cnamr1vfh5cgvu0s3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5849';
20250311@175403.6088 3u814lkv4cnamr1vfh5cgvu0s3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5849';
20250311@175403.6153 3u814lkv4cnamr1vfh5cgvu0s3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5849';
20250311@175403.6317 3u814lkv4cnamr1vfh5cgvu0s3 Query : use flama_phc
20250311@175403.6323 3u814lkv4cnamr1vfh5cgvu0s3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@175403.6396 3u814lkv4cnamr1vfh5cgvu0s3 Query : use flama_phc
20250311@175403.6401 3u814lkv4cnamr1vfh5cgvu0s3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250311@175403.6490 3u814lkv4cnamr1vfh5cgvu0s3 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501677 
20250311@175403.7072 3u814lkv4cnamr1vfh5cgvu0s3 Query : use flama_phc
20250311@175403.7077 3u814lkv4cnamr1vfh5cgvu0s3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@175403.7117 3u814lkv4cnamr1vfh5cgvu0s3 Query : use flama_phc
20250311@175403.7121 3u814lkv4cnamr1vfh5cgvu0s3 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@175403.7141 3u814lkv4cnamr1vfh5cgvu0s3 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@175403.7167 3u814lkv4cnamr1vfh5cgvu0s3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5849';
20250311@175403.7298 3u814lkv4cnamr1vfh5cgvu0s3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5849';
20250311@175403.8020 p28ijeon8ss7md00pmgoh2tmcu Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@175403.8034 p28ijeon8ss7md00pmgoh2tmcu Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@175403.8144 p28ijeon8ss7md00pmgoh2tmcu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5850';
20250311@175403.8244 p28ijeon8ss7md00pmgoh2tmcu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5850';
20250311@175403.8739 p28ijeon8ss7md00pmgoh2tmcu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5850';
20250311@175403.8808 p28ijeon8ss7md00pmgoh2tmcu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5850';
20250311@175403.8906 p28ijeon8ss7md00pmgoh2tmcu Query : use flama_phc
20250311@175403.8911 p28ijeon8ss7md00pmgoh2tmcu Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@175403.8994 p28ijeon8ss7md00pmgoh2tmcu Query : use flama_phc
20250311@175403.8998 p28ijeon8ss7md00pmgoh2tmcu Query : select no, estab,szadrsdesc from szadrs where u_coddest=9159
20250311@175403.9132 p28ijeon8ss7md00pmgoh2tmcu Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501678 
20250311@175403.9639 p28ijeon8ss7md00pmgoh2tmcu Query : use flama_phc
20250311@175403.9644 p28ijeon8ss7md00pmgoh2tmcu Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@175403.9680 p28ijeon8ss7md00pmgoh2tmcu Query : use flama_phc
20250311@175403.9683 p28ijeon8ss7md00pmgoh2tmcu Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@175403.9703 p28ijeon8ss7md00pmgoh2tmcu Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@175403.9726 p28ijeon8ss7md00pmgoh2tmcu Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5850';
20250311@175403.9783 p28ijeon8ss7md00pmgoh2tmcu Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5850';
20250311@175404.4690 d772n3jgj33u4r6luc7m2onodo Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@175404.4880 d772n3jgj33u4r6luc7m2onodo Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@175404.5880 d772n3jgj33u4r6luc7m2onodo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5851';
20250311@175404.6920 d772n3jgj33u4r6luc7m2onodo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5851';
20250311@175404.1009 d772n3jgj33u4r6luc7m2onodo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5851';
20250311@175404.1087 d772n3jgj33u4r6luc7m2onodo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5851';
20250311@175404.1198 d772n3jgj33u4r6luc7m2onodo Query : use flama_phc
20250311@175404.1204 d772n3jgj33u4r6luc7m2onodo Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@175404.1312 d772n3jgj33u4r6luc7m2onodo Query : use flama_phc
20250311@175404.1317 d772n3jgj33u4r6luc7m2onodo Query : select no, estab,szadrsdesc from szadrs where u_coddest=2138
20250311@175404.1421 d772n3jgj33u4r6luc7m2onodo Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501680 
20250311@175404.2001 d772n3jgj33u4r6luc7m2onodo Query : use flama_phc
20250311@175404.2007 d772n3jgj33u4r6luc7m2onodo Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@175404.2049 d772n3jgj33u4r6luc7m2onodo Query : use flama_phc
20250311@175404.2054 d772n3jgj33u4r6luc7m2onodo Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@175404.2075 d772n3jgj33u4r6luc7m2onodo Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@175404.2101 d772n3jgj33u4r6luc7m2onodo Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5851';
20250311@175404.2185 d772n3jgj33u4r6luc7m2onodo Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5851';
20250311@175404.2883 peo82helu30t37rt8j550v27v1 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250311@175404.2895 peo82helu30t37rt8j550v27v1 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250311@175404.2998 peo82helu30t37rt8j550v27v1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5852';
20250311@175404.3110 peo82helu30t37rt8j550v27v1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5852';
20250311@175404.3199 peo82helu30t37rt8j550v27v1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5852';
20250311@175404.3256 peo82helu30t37rt8j550v27v1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5852';
20250311@175404.3377 peo82helu30t37rt8j550v27v1 Query : use flama_phc
20250311@175404.3381 peo82helu30t37rt8j550v27v1 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250311@175404.3464 peo82helu30t37rt8j550v27v1 Query : use flama_phc
20250311@175404.3469 peo82helu30t37rt8j550v27v1 Query : select no, estab,szadrsdesc from szadrs where u_coddest=10191
20250311@175404.3586 peo82helu30t37rt8j550v27v1 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501682 
20250311@175404.4055 peo82helu30t37rt8j550v27v1 Query : use flama_phc
20250311@175404.4058 peo82helu30t37rt8j550v27v1 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250311@175404.4101 peo82helu30t37rt8j550v27v1 Query : use flama_phc
20250311@175404.4112 peo82helu30t37rt8j550v27v1 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250311@175404.4135 peo82helu30t37rt8j550v27v1 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250311@175404.4216 peo82helu30t37rt8j550v27v1 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5852';
20250311@175404.4284 peo82helu30t37rt8j550v27v1 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5852';
20250311@181909.8499 vsmt0iip7u9d8vbcq2th1fba34 Query : use flama_phc
20250311@181909.8503 vsmt0iip7u9d8vbcq2th1fba34 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@181909.8662 vsmt0iip7u9d8vbcq2th1fba34 Query : use flama_phc
20250311@181909.8936 vsmt0iip7u9d8vbcq2th1fba34 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@183609.8471 3f6629h6ehjr1jb23gmb0rqlvd Query : use flama_phc
20250311@183609.8517 3f6629h6ehjr1jb23gmb0rqlvd Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@183609.8630 3f6629h6ehjr1jb23gmb0rqlvd Query : use flama_phc
20250311@183609.8633 3f6629h6ehjr1jb23gmb0rqlvd Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@191943.7982 vm4fp8dmim67fvt2uqdin2n7um Query : use flama_phc
20250311@191943.7987 vm4fp8dmim67fvt2uqdin2n7um Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@191943.8075 vm4fp8dmim67fvt2uqdin2n7um Query : use flama_phc
20250311@191943.8078 vm4fp8dmim67fvt2uqdin2n7um Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@191943.8847 v1c174m17s9a7ijpl1q3pnfq97 Query : use flama_phc
20250311@191943.8851 v1c174m17s9a7ijpl1q3pnfq97 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@191943.8936 v1c174m17s9a7ijpl1q3pnfq97 Query : use flama_phc
20250311@191943.8939 v1c174m17s9a7ijpl1q3pnfq97 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@193614.1101 l8s3t5um1gktlqj11epnb88nov Query : use flama_phc
20250311@193614.1106 l8s3t5um1gktlqj11epnb88nov Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@193614.1217 l8s3t5um1gktlqj11epnb88nov Query : use flama_phc
20250311@193614.1220 l8s3t5um1gktlqj11epnb88nov Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@201908.5919 lnvqtjhnvn57os7ph2i8nhmt46 Query : use flama_phc
20250311@201908.5923 lnvqtjhnvn57os7ph2i8nhmt46 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@201908.6012 lnvqtjhnvn57os7ph2i8nhmt46 Query : use flama_phc
20250311@201908.6016 lnvqtjhnvn57os7ph2i8nhmt46 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@203608.9215 7ff37in6750f6vahdl8r2u5gi7 Query : use flama_phc
20250311@203608.9219 7ff37in6750f6vahdl8r2u5gi7 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@203608.9434 7ff37in6750f6vahdl8r2u5gi7 Query : use flama_phc
20250311@203608.9437 7ff37in6750f6vahdl8r2u5gi7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@211909.3510 t0kjbrqc3od0882mn8kb59ied3 Query : use flama_phc
20250311@211909.3550 t0kjbrqc3od0882mn8kb59ied3 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@211909.4500 t0kjbrqc3od0882mn8kb59ied3 Query : use flama_phc
20250311@211909.4540 t0kjbrqc3od0882mn8kb59ied3 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@213609.3630 13sfpg84qk25lahi8hgj80fvot Query : use flama_phc
20250311@213609.3690 13sfpg84qk25lahi8hgj80fvot Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@213609.4600 13sfpg84qk25lahi8hgj80fvot Query : use flama_phc
20250311@213609.4640 13sfpg84qk25lahi8hgj80fvot Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@221910.9009 cm842vckhrbagu87sej7n9v4e6 Query : use flama_phc
20250311@221910.9014 cm842vckhrbagu87sej7n9v4e6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@221910.9097 cm842vckhrbagu87sej7n9v4e6 Query : use flama_phc
20250311@221910.9101 cm842vckhrbagu87sej7n9v4e6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@223611.3514 s7j8fveitt8tj24ldqdm0lqq0f Query : use flama_phc
20250311@223611.3518 s7j8fveitt8tj24ldqdm0lqq0f Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@223611.3609 s7j8fveitt8tj24ldqdm0lqq0f Query : use flama_phc
20250311@223611.3613 s7j8fveitt8tj24ldqdm0lqq0f Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@231908.7086 q7pgbmbb9ng3mrv8k1mv1qflka Query : use flama_phc
20250311@231908.7091 q7pgbmbb9ng3mrv8k1mv1qflka Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@231908.7185 q7pgbmbb9ng3mrv8k1mv1qflka Query : use flama_phc
20250311@231908.7189 q7pgbmbb9ng3mrv8k1mv1qflka Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250311@233608.8749 rqkscc5tr9ju3ea2f1be7kclnc Query : use flama_phc
20250311@233608.8753 rqkscc5tr9ju3ea2f1be7kclnc Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250311@233608.8855 rqkscc5tr9ju3ea2f1be7kclnc Query : use flama_phc
20250311@233608.8858 rqkscc5tr9ju3ea2f1be7kclnc Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250312@071909.2779 1ndjbbugmp222112euvvmdf9it Query : use flama_phc
20250312@071909.2783 1ndjbbugmp222112euvvmdf9it Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250312@071909.2938 1ndjbbugmp222112euvvmdf9it Query : use flama_phc
20250312@071909.2943 1ndjbbugmp222112euvvmdf9it Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250312@073648.1795 0idrhn94c1i5k93mfi8aaqq6as Query : use flama_phc
20250312@073648.1800 0idrhn94c1i5k93mfi8aaqq6as Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250312@073648.1937 0idrhn94c1i5k93mfi8aaqq6as Query : use flama_phc
20250312@073648.1941 0idrhn94c1i5k93mfi8aaqq6as Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250312@081909.1642 90g2o1r4abm23d5se4v93e56gj Query : use flama_phc
20250312@081909.1647 90g2o1r4abm23d5se4v93e56gj Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250312@081909.1737 90g2o1r4abm23d5se4v93e56gj Query : use flama_phc
20250312@081909.1741 90g2o1r4abm23d5se4v93e56gj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250312@083608.9819 dtdm1a9nmfsfhk3qdjeirh2o5i Query : use flama_phc
20250312@083608.9824 dtdm1a9nmfsfhk3qdjeirh2o5i Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250312@083608.9904 dtdm1a9nmfsfhk3qdjeirh2o5i Query : use flama_phc
20250312@083608.9908 dtdm1a9nmfsfhk3qdjeirh2o5i Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250312@091757.7480 jk3kjtme8v4uc98k9jrkdvpqe4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@091757.7850 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@091757.2375 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5853';
20250312@091757.2485 jk3kjtme8v4uc98k9jrkdvpqe4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5853';
20250312@091757.2873 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5853';
20250312@091757.3336 jk3kjtme8v4uc98k9jrkdvpqe4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5853';
20250312@091757.3500 jk3kjtme8v4uc98k9jrkdvpqe4 Query : use flama_phc
20250312@091757.3505 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@091757.3748 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1879.00.1'
20250312@091757.3904 jk3kjtme8v4uc98k9jrkdvpqe4 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 = 2401226 and bi.ref ='324.1879.00.1' and bi.lordem =20000
20250312@091757.4785 jk3kjtme8v4uc98k9jrkdvpqe4 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 = 'cps24102849869,202000002 ' 
20250312@091757.5289 jk3kjtme8v4uc98k9jrkdvpqe4 Query : use flama_phc
20250312@091757.5695 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select top 1 1 valor from ts where ts.ndos = 61
20250312@091757.5893 jk3kjtme8v4uc98k9jrkdvpqe4 Query : use flama_phc
20250312@091757.5897 jk3kjtme8v4uc98k9jrkdvpqe4 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')
20250312@091757.6156 jk3kjtme8v4uc98k9jrkdvpqe4 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
20250312@091757.6822 jk3kjtme8v4uc98k9jrkdvpqe4 Query : use flama_phc
20250312@091757.6844 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select top 1 ~inactivo valor from fl where no = '202133' and estab = 00 order by inactivo desc
20250312@091757.7176 jk3kjtme8v4uc98k9jrkdvpqe4 Query : use flama_phc
20250312@091757.7183 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select 1 valor from ts where ndos = 61
20250312@091757.7352 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@091757.8059 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20250312@091757.8283 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@091757.8331 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20250312@091757.8373 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@091757.8445 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20250312@091757.8461 jk3kjtme8v4uc98k9jrkdvpqe4 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
20250312@091757.8829 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2025 order by obrano desc
20250312@091757.9266 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2025 order by obrano desc
20250312@091757.9326 jk3kjtme8v4uc98k9jrkdvpqe4 Query : use flama_phc
20250312@091757.9334 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202133' and estab=00
20250312@091757.9481 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@091757.9647 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20250312@091757.9808 jk3kjtme8v4uc98k9jrkdvpqe4 Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67d158427667d15145e3',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250312@091757.9905 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@091758.6450 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20250312@091758.8230 jk3kjtme8v4uc98k9jrkdvpqe4 Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67d158427667d15145e3','--','bo',7.8596631916599839615 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250312@091758.1171 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@091758.1254 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20250312@091758.1293 jk3kjtme8v4uc98k9jrkdvpqe4 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 ('aut67d158427667d15145e3','guia r. fornecedor','2025-03-12',61,2500956,?,?,?,?,?,?,?,?,2025, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250312@091803.6773 jk3kjtme8v4uc98k9jrkdvpqe4 Query : use flama_phc
20250312@091803.6778 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select st.usalote valor from st where st.ref = '324.1879.00.1'
20250312@091803.7179 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1879.00.1'
20250312@091803.7414 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@091803.7448 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20250312@091803.7478 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@091803.7722 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20250312@091803.7744 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select sestamp valor from se where ref ='324.1879.00.1' and lote = 'r2401226200a'
20250312@091803.7838 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@091803.7866 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20250312@091803.7885 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@091803.7910 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20250312@091803.7924 jk3kjtme8v4uc98k9jrkdvpqe4 Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67d153164667d1514bc0',?,?,'20250312',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20250312@091803.9471 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250312@091803.9558 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@091803.9592 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20250312@091803.9632 jk3kjtme8v4uc98k9jrkdvpqe4 Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67d152467367d1514be9','aut67d158427667d15145e3',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 = 'aut67d158427667d15145e3'
20250312@091803.9873 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@091803.9937 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20250312@091803.9964 jk3kjtme8v4uc98k9jrkdvpqe4 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 'aut67d152467367d1514be9',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1290, 1290*.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.94,24.94*200.48,24.94,24.94*200.48 ,0,0,'un ','' ,bo.marcada,1 ,24.94*1290,24.94*1290*200.48 ,27.528000,27.528000*200.48 ,27.528000,27.528000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,24.94,24.94*200.48,24.94*1290,24.94*1290*200.48,'cps24102849869,202000002 ',196.02,196.02*1290,196.02,196.02*1290,?,?,?,4 from bo bo where bo.bostamp = 'aut67d158427667d15145e3'
20250312@091854.9932 jk3kjtme8v4uc98k9jrkdvpqe4 Query : use flama_phc
20250312@091855.1870 jk3kjtme8v4uc98k9jrkdvpqe4 Query : declare @bostamp varchar(25) = 'aut67d158427667d15145e3' ,@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 
20250312@091940.7655 jk3kjtme8v4uc98k9jrkdvpqe4 Query : use flama_phc
20250312@091940.7704 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select 1 valor from bo where bo.bostamp = 'aut67d158427667d15145e3'
20250312@091940.8040 jk3kjtme8v4uc98k9jrkdvpqe4 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) = 'aut67d158427667d15145e3' 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 
20250312@091946.3251 jk3kjtme8v4uc98k9jrkdvpqe4 Query : use flama_phc
20250312@091946.3294 jk3kjtme8v4uc98k9jrkdvpqe4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250312@091946.3718 jk3kjtme8v4uc98k9jrkdvpqe4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5853';
20250312@091946.4016 jk3kjtme8v4uc98k9jrkdvpqe4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5853';
20250312@091946.4972 3vp7h6fa1dv61f7vb8vvsttp0a Query : use flama_phc
20250312@091946.4976 3vp7h6fa1dv61f7vb8vvsttp0a Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250312@091946.5059 3vp7h6fa1dv61f7vb8vvsttp0a Query : use flama_phc
20250312@091946.5062 3vp7h6fa1dv61f7vb8vvsttp0a Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250312@093609.8622 uv0mo52s6t8qorh135u0olof99 Query : use flama_phc
20250312@093609.8628 uv0mo52s6t8qorh135u0olof99 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250312@093609.8787 uv0mo52s6t8qorh135u0olof99 Query : use flama_phc
20250312@093609.8791 uv0mo52s6t8qorh135u0olof99 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250312@101910.9736 il9utq0dc5nlm440tkelmj426u Query : use flama_phc
20250312@101910.9782 il9utq0dc5nlm440tkelmj426u Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250312@101911.5490 il9utq0dc5nlm440tkelmj426u Query : use flama_phc
20250312@101911.5550 il9utq0dc5nlm440tkelmj426u Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250312@103610.8622 bhndbf00gnhagkjvct6ds1mk8a Query : use flama_phc
20250312@103610.8705 bhndbf00gnhagkjvct6ds1mk8a Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250312@103611.3967 bhndbf00gnhagkjvct6ds1mk8a Query : use flama_phc
20250312@103611.4058 bhndbf00gnhagkjvct6ds1mk8a Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250312@104119.7820 mmr7pr15djq0hp3fsurrl54kpg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@104119.8020 mmr7pr15djq0hp3fsurrl54kpg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@104119.9140 mmr7pr15djq0hp3fsurrl54kpg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5854';
20250312@104119.1010 mmr7pr15djq0hp3fsurrl54kpg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5854';
20250312@104119.1098 mmr7pr15djq0hp3fsurrl54kpg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5854';
20250312@104119.1213 mmr7pr15djq0hp3fsurrl54kpg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5854';
20250312@104119.2668 mmr7pr15djq0hp3fsurrl54kpg Query : use flama_phc
20250312@104119.2676 mmr7pr15djq0hp3fsurrl54kpg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@104119.2747 mmr7pr15djq0hp3fsurrl54kpg Query : use flama_phc
20250312@104119.2751 mmr7pr15djq0hp3fsurrl54kpg Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250312@104119.2850 mmr7pr15djq0hp3fsurrl54kpg Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501685 
20250312@104119.3268 mmr7pr15djq0hp3fsurrl54kpg Query : use flama_phc
20250312@104119.3273 mmr7pr15djq0hp3fsurrl54kpg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250312@104119.3354 mmr7pr15djq0hp3fsurrl54kpg Query : use flama_phc
20250312@104119.3357 mmr7pr15djq0hp3fsurrl54kpg Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250312@104119.3432 mmr7pr15djq0hp3fsurrl54kpg Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250312@104119.3467 mmr7pr15djq0hp3fsurrl54kpg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5854';
20250312@104119.3520 mmr7pr15djq0hp3fsurrl54kpg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5854';
20250312@104119.4117 far301anrmrmp34bfcnngv820p Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@104119.4133 far301anrmrmp34bfcnngv820p Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@104119.4223 far301anrmrmp34bfcnngv820p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5855';
20250312@104119.4299 far301anrmrmp34bfcnngv820p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5855';
20250312@104119.4389 far301anrmrmp34bfcnngv820p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5855';
20250312@104119.4738 far301anrmrmp34bfcnngv820p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5855';
20250312@104119.4817 far301anrmrmp34bfcnngv820p Query : use flama_phc
20250312@104119.4823 far301anrmrmp34bfcnngv820p Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@104119.4885 far301anrmrmp34bfcnngv820p Query : use flama_phc
20250312@104119.4888 far301anrmrmp34bfcnngv820p Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250312@104119.4940 far301anrmrmp34bfcnngv820p Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501686 
20250312@104119.5360 far301anrmrmp34bfcnngv820p Query : use flama_phc
20250312@104119.5364 far301anrmrmp34bfcnngv820p Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250312@104119.5394 far301anrmrmp34bfcnngv820p Query : use flama_phc
20250312@104119.5398 far301anrmrmp34bfcnngv820p Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250312@104119.5414 far301anrmrmp34bfcnngv820p Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250312@104119.5443 far301anrmrmp34bfcnngv820p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5855';
20250312@104119.5499 far301anrmrmp34bfcnngv820p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5855';
20250312@104119.6143 rnj044l19b6p55hirtjvi586mk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@104119.6226 rnj044l19b6p55hirtjvi586mk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@104119.6717 rnj044l19b6p55hirtjvi586mk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5856';
20250312@104119.7110 rnj044l19b6p55hirtjvi586mk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5856';
20250312@104119.7508 rnj044l19b6p55hirtjvi586mk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5856';
20250312@104119.7832 rnj044l19b6p55hirtjvi586mk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5856';
20250312@104119.8351 rnj044l19b6p55hirtjvi586mk Query : use flama_phc
20250312@104119.8423 rnj044l19b6p55hirtjvi586mk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@104120.1349 rnj044l19b6p55hirtjvi586mk Query : use flama_phc
20250312@104120.1424 rnj044l19b6p55hirtjvi586mk Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250312@104120.2005 rnj044l19b6p55hirtjvi586mk Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501687 
20250312@104120.3496 rnj044l19b6p55hirtjvi586mk Query : use flama_phc
20250312@104120.3583 rnj044l19b6p55hirtjvi586mk Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250312@104120.3997 rnj044l19b6p55hirtjvi586mk Query : use flama_phc
20250312@104120.4038 rnj044l19b6p55hirtjvi586mk Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250312@104120.4248 rnj044l19b6p55hirtjvi586mk Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250312@104120.4420 rnj044l19b6p55hirtjvi586mk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5856';
20250312@104120.4880 rnj044l19b6p55hirtjvi586mk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5856';
20250312@111909.7007 d7bsb998etf8mv4ubmireovjg6 Query : use flama_phc
20250312@111909.7011 d7bsb998etf8mv4ubmireovjg6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250312@111909.7162 d7bsb998etf8mv4ubmireovjg6 Query : use flama_phc
20250312@111909.7165 d7bsb998etf8mv4ubmireovjg6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250312@113609.7503 omnoladp5bg6umo47l7an9aeog Query : use flama_phc
20250312@113609.7507 omnoladp5bg6umo47l7an9aeog Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250312@113609.7818 omnoladp5bg6umo47l7an9aeog Query : use flama_phc
20250312@113609.7860 omnoladp5bg6umo47l7an9aeog Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250312@121632.4044 jcuutdgl78doci7g9im0hccqqh Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@121632.4075 jcuutdgl78doci7g9im0hccqqh Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@121632.4453 jcuutdgl78doci7g9im0hccqqh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5857';
20250312@121632.4530 jcuutdgl78doci7g9im0hccqqh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5857';
20250312@121632.4603 jcuutdgl78doci7g9im0hccqqh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5857';
20250312@121632.4640 jcuutdgl78doci7g9im0hccqqh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5857';
20250312@121632.4708 jcuutdgl78doci7g9im0hccqqh Query : use flama_phc
20250312@121632.4711 jcuutdgl78doci7g9im0hccqqh Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@121632.4824 jcuutdgl78doci7g9im0hccqqh Query : use flama_phc
20250312@121632.4828 jcuutdgl78doci7g9im0hccqqh Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20250312@121632.5280 jcuutdgl78doci7g9im0hccqqh Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2017 and bo.obrano = 2501704 
20250312@121632.5922 jcuutdgl78doci7g9im0hccqqh Query : use flama_phc
20250312@121632.5926 jcuutdgl78doci7g9im0hccqqh Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250312@121632.5964 jcuutdgl78doci7g9im0hccqqh Query : use flama_phc
20250312@121632.5967 jcuutdgl78doci7g9im0hccqqh Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250312@121632.6002 jcuutdgl78doci7g9im0hccqqh Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250312@121632.6031 jcuutdgl78doci7g9im0hccqqh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5857';
20250312@121632.6081 jcuutdgl78doci7g9im0hccqqh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5857';
20250312@121910.4030 d0602sb4lg8jfoigbor2s5bodf Query : use flama_phc
20250312@121910.4033 d0602sb4lg8jfoigbor2s5bodf Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250312@121910.4132 d0602sb4lg8jfoigbor2s5bodf Query : use flama_phc
20250312@121910.4135 d0602sb4lg8jfoigbor2s5bodf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250312@123610.5190 nfjdq6s1l4pt9l99mh7ocrofp1 Query : use flama_phc
20250312@123610.5195 nfjdq6s1l4pt9l99mh7ocrofp1 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250312@123610.5343 nfjdq6s1l4pt9l99mh7ocrofp1 Query : use flama_phc
20250312@123610.5347 nfjdq6s1l4pt9l99mh7ocrofp1 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250312@131910.3179 rmmeutijo7t2krbqjgkk2h28sl Query : use flama_phc
20250312@131910.3184 rmmeutijo7t2krbqjgkk2h28sl Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250312@131910.3273 rmmeutijo7t2krbqjgkk2h28sl Query : use flama_phc
20250312@131910.3276 rmmeutijo7t2krbqjgkk2h28sl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250312@132210.6049 pjk6054hlms7ei763f0q667296 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@132210.6080 pjk6054hlms7ei763f0q667296 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@132210.6555 pjk6054hlms7ei763f0q667296 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5858';
20250312@132210.6635 pjk6054hlms7ei763f0q667296 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5858';
20250312@132210.6711 pjk6054hlms7ei763f0q667296 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5858';
20250312@132210.6757 pjk6054hlms7ei763f0q667296 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5858';
20250312@132210.6839 pjk6054hlms7ei763f0q667296 Query : use flama_phc
20250312@132210.6843 pjk6054hlms7ei763f0q667296 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@132210.6957 pjk6054hlms7ei763f0q667296 Query : use flama_phc
20250312@132210.6962 pjk6054hlms7ei763f0q667296 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2679
20250312@132210.7049 pjk6054hlms7ei763f0q667296 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2017 and bo.obrano = 2501705 
20250312@132210.7482 pjk6054hlms7ei763f0q667296 Query : use flama_phc
20250312@132210.7486 pjk6054hlms7ei763f0q667296 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250312@132210.7525 pjk6054hlms7ei763f0q667296 Query : use flama_phc
20250312@132210.7528 pjk6054hlms7ei763f0q667296 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250312@132210.7577 pjk6054hlms7ei763f0q667296 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250312@132210.7605 pjk6054hlms7ei763f0q667296 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5858';
20250312@132210.7650 pjk6054hlms7ei763f0q667296 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5858';
20250312@133609.9833 8f7ehl0lvd0cennplp5ndriqtg Query : use flama_phc
20250312@133609.9838 8f7ehl0lvd0cennplp5ndriqtg Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250312@133609.9975 8f7ehl0lvd0cennplp5ndriqtg Query : use flama_phc
20250312@133609.9978 8f7ehl0lvd0cennplp5ndriqtg Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250312@135407.9981 86o557fv8mnr0mpmsdb46i0432 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@135407.9993 86o557fv8mnr0mpmsdb46i0432 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@135408.8900 86o557fv8mnr0mpmsdb46i0432 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5859';
20250312@135408.2000 86o557fv8mnr0mpmsdb46i0432 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5859';
20250312@135408.2920 86o557fv8mnr0mpmsdb46i0432 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5859';
20250312@135408.3450 86o557fv8mnr0mpmsdb46i0432 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5859';
20250312@135408.4030 86o557fv8mnr0mpmsdb46i0432 Query : use flama_phc
20250312@135408.4060 86o557fv8mnr0mpmsdb46i0432 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@135408.4770 86o557fv8mnr0mpmsdb46i0432 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1538.00.1'
20250312@135408.5890 86o557fv8mnr0mpmsdb46i0432 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 = 2401467 and bi.ref ='324.1538.00.1' and bi.lordem =2
20250312@135408.9390 86o557fv8mnr0mpmsdb46i0432 Query : use flama_phc
20250312@135408.9430 86o557fv8mnr0mpmsdb46i0432 Query : select top 1 1 valor from ts where ts.ndos = 61
20250312@135408.1336 86o557fv8mnr0mpmsdb46i0432 Query : use flama_phc
20250312@135408.1341 86o557fv8mnr0mpmsdb46i0432 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')
20250312@135408.1425 86o557fv8mnr0mpmsdb46i0432 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
20250312@135408.1580 86o557fv8mnr0mpmsdb46i0432 Query : use flama_phc
20250312@135408.1583 86o557fv8mnr0mpmsdb46i0432 Query : select top 1 ~inactivo valor from fl where no = '202433' and estab = 00 order by inactivo desc
20250312@135408.1696 86o557fv8mnr0mpmsdb46i0432 Query : use flama_phc
20250312@135408.1700 86o557fv8mnr0mpmsdb46i0432 Query : select 1 valor from ts where ndos = 61
20250312@135408.1764 86o557fv8mnr0mpmsdb46i0432 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@135408.2055 86o557fv8mnr0mpmsdb46i0432 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20250312@135408.2129 86o557fv8mnr0mpmsdb46i0432 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@135408.2144 86o557fv8mnr0mpmsdb46i0432 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20250312@135408.2154 86o557fv8mnr0mpmsdb46i0432 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@135408.2168 86o557fv8mnr0mpmsdb46i0432 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20250312@135408.2178 86o557fv8mnr0mpmsdb46i0432 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
20250312@135408.2286 86o557fv8mnr0mpmsdb46i0432 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2025 order by obrano desc
20250312@135408.2376 86o557fv8mnr0mpmsdb46i0432 Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2025 order by obrano desc
20250312@135408.2400 86o557fv8mnr0mpmsdb46i0432 Query : use flama_phc
20250312@135408.2406 86o557fv8mnr0mpmsdb46i0432 Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202433' and estab=00
20250312@135408.2486 86o557fv8mnr0mpmsdb46i0432 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@135408.2503 86o557fv8mnr0mpmsdb46i0432 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20250312@135408.2539 86o557fv8mnr0mpmsdb46i0432 Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67d197958767d192003a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250312@135408.2608 86o557fv8mnr0mpmsdb46i0432 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@135408.2624 86o557fv8mnr0mpmsdb46i0432 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20250312@135408.2637 86o557fv8mnr0mpmsdb46i0432 Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67d197958767d192003a','--','bo',0 ,0,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250312@135408.2844 86o557fv8mnr0mpmsdb46i0432 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@135408.3113 86o557fv8mnr0mpmsdb46i0432 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20250312@135408.3126 86o557fv8mnr0mpmsdb46i0432 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 ('aut67d197958767d192003a','guia r. fornecedor','2025-03-12',61,2500964,?,?,?,?,?,?,?,?,2025, (select valor from para1 where descricao = 'ge_euro') ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250312@135408.4327 86o557fv8mnr0mpmsdb46i0432 Query : use flama_phc
20250312@135408.4331 86o557fv8mnr0mpmsdb46i0432 Query : select st.usalote valor from st where st.ref = '324.1538.00.1'
20250312@135408.4468 86o557fv8mnr0mpmsdb46i0432 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.1538.00.1'
20250312@135408.4609 86o557fv8mnr0mpmsdb46i0432 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@135408.4625 86o557fv8mnr0mpmsdb46i0432 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20250312@135408.4659 86o557fv8mnr0mpmsdb46i0432 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@135408.4674 86o557fv8mnr0mpmsdb46i0432 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20250312@135408.4684 86o557fv8mnr0mpmsdb46i0432 Query : select sestamp valor from se where ref ='324.1538.00.1' and lote = 'r2401467300a'
20250312@135408.4741 86o557fv8mnr0mpmsdb46i0432 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@135408.4759 86o557fv8mnr0mpmsdb46i0432 Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20250312@135408.4768 86o557fv8mnr0mpmsdb46i0432 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@135408.4788 86o557fv8mnr0mpmsdb46i0432 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20250312@135408.4802 86o557fv8mnr0mpmsdb46i0432 Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut67d199384567d1920074',?,?,'20250312',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20250312@135408.5342 86o557fv8mnr0mpmsdb46i0432 Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250312@135408.5384 86o557fv8mnr0mpmsdb46i0432 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@135408.5400 86o557fv8mnr0mpmsdb46i0432 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20250312@135408.5415 86o557fv8mnr0mpmsdb46i0432 Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut67d191995167d1920083','aut67d197958767d192003a',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 = 'aut67d197958767d192003a'
20250312@135408.5588 86o557fv8mnr0mpmsdb46i0432 Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250312@135408.5609 86o557fv8mnr0mpmsdb46i0432 Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20250312@135408.5630 86o557fv8mnr0mpmsdb46i0432 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,eslvu,slvu,esltt,sltt,vumoeda,ttmoeda,slvumoeda,slttmoeda,lote,armazem,obistamp ,stipo) select 'aut67d191995167d1920083',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 593, 593*.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*593,0*593*200.48 ,.000000,.000000*200.48 ,.000000,.000000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0*200.48,0*593,0*593*200.48,0,0*593,0,0*593,?,?,?,4 from bo bo where bo.bostamp = 'aut67d197958767d192003a'
20250312@135408.6002 86o557fv8mnr0mpmsdb46i0432 Query : use flama_phc
20250312@135408.6005 86o557fv8mnr0mpmsdb46i0432 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -110
20250312@135408.6085 86o557fv8mnr0mpmsdb46i0432 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5859';
20250312@135408.6132 86o557fv8mnr0mpmsdb46i0432 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5859';
20250312@141026.5806 oqeabna1k4j0065h58ucg18t4v Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@141026.5855 oqeabna1k4j0065h58ucg18t4v Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@141026.5946 oqeabna1k4j0065h58ucg18t4v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5860';
20250312@141026.6037 oqeabna1k4j0065h58ucg18t4v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5860';
20250312@141026.6509 oqeabna1k4j0065h58ucg18t4v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5860';
20250312@141026.6814 oqeabna1k4j0065h58ucg18t4v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5860';
20250312@141026.8301 0uidmu4csec4hrrqnd80l3fa3e Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@141026.8313 0uidmu4csec4hrrqnd80l3fa3e Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@141026.8424 0uidmu4csec4hrrqnd80l3fa3e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5861';
20250312@141026.8497 0uidmu4csec4hrrqnd80l3fa3e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5861';
20250312@141026.8601 0uidmu4csec4hrrqnd80l3fa3e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5861';
20250312@141026.8655 0uidmu4csec4hrrqnd80l3fa3e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5861';
20250312@141026.8750 0uidmu4csec4hrrqnd80l3fa3e Query : use flama_phc
20250312@141026.8753 0uidmu4csec4hrrqnd80l3fa3e Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@141026.8841 0uidmu4csec4hrrqnd80l3fa3e Query : select no, estab,szadrsdesc from szadrs where u_coddest=00000001
20250312@141026.8943 0uidmu4csec4hrrqnd80l3fa3e Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1539.00.1'
20250312@141026.9056 0uidmu4csec4hrrqnd80l3fa3e Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1537.00.1'
20250312@141026.9215 0uidmu4csec4hrrqnd80l3fa3e Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1538.00.1'
20250312@141026.9248 0uidmu4csec4hrrqnd80l3fa3e Query : use flama_phc
20250312@141026.9253 0uidmu4csec4hrrqnd80l3fa3e Query : select top 1 1 valor from ts where ts.ndos = 5
20250312@141026.9355 0uidmu4csec4hrrqnd80l3fa3e Query : use flama_phc
20250312@141026.9359 0uidmu4csec4hrrqnd80l3fa3e 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')
20250312@141026.9427 0uidmu4csec4hrrqnd80l3fa3e 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
20250312@141026.9593 0uidmu4csec4hrrqnd80l3fa3e Query : use flama_phc
20250312@141026.9597 0uidmu4csec4hrrqnd80l3fa3e Query : select top 1 ~inactivo valor from fl where no = '102245' and estab = 0 order by inactivo desc
20250312@141026.9750 0uidmu4csec4hrrqnd80l3fa3e Query : use flama_phc
20250312@141026.9753 0uidmu4csec4hrrqnd80l3fa3e Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -230
20250312@141026.9823 0uidmu4csec4hrrqnd80l3fa3e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5861';
20250312@141026.9870 0uidmu4csec4hrrqnd80l3fa3e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5861';
20250312@141908.6292 bc5oq6fg8nee5baakt99aasnu6 Query : use flama_phc
20250312@141908.6297 bc5oq6fg8nee5baakt99aasnu6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250312@141908.6392 bc5oq6fg8nee5baakt99aasnu6 Query : use flama_phc
20250312@141908.6395 bc5oq6fg8nee5baakt99aasnu6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250312@143608.6574 q5npaek7811h58atg1fr12r5gv Query : use flama_phc
20250312@143608.6620 q5npaek7811h58atg1fr12r5gv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250312@143608.6775 q5npaek7811h58atg1fr12r5gv Query : use flama_phc
20250312@143608.6779 q5npaek7811h58atg1fr12r5gv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250312@151909.1800 ld90sat8hroncuj8uo7d350cas Query : use flama_phc
20250312@151909.2200 ld90sat8hroncuj8uo7d350cas Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250312@151909.1110 ld90sat8hroncuj8uo7d350cas Query : use flama_phc
20250312@151909.1150 ld90sat8hroncuj8uo7d350cas Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250312@153609.6150 9vohu1tdqb12pcl6c0gdjvik40 Query : use flama_phc
20250312@153609.6200 9vohu1tdqb12pcl6c0gdjvik40 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250312@153609.7030 9vohu1tdqb12pcl6c0gdjvik40 Query : use flama_phc
20250312@153609.7060 9vohu1tdqb12pcl6c0gdjvik40 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250312@161909.4888 dgu9o6j8u24198vhg3jdfrj8ab Query : use flama_phc
20250312@161909.4892 dgu9o6j8u24198vhg3jdfrj8ab Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250312@161909.5058 dgu9o6j8u24198vhg3jdfrj8ab Query : use flama_phc
20250312@161909.5085 dgu9o6j8u24198vhg3jdfrj8ab Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250312@162925.5600 dft8av63oujf0qv1nnpef5era7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@162925.6310 dft8av63oujf0qv1nnpef5era7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@162925.1177 dft8av63oujf0qv1nnpef5era7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5862';
20250312@162925.1257 dft8av63oujf0qv1nnpef5era7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5862';
20250312@162925.1478 dft8av63oujf0qv1nnpef5era7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5862';
20250312@162925.1577 dft8av63oujf0qv1nnpef5era7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5862';
20250312@162925.1645 dft8av63oujf0qv1nnpef5era7 Query : use flama_phc
20250312@162925.1648 dft8av63oujf0qv1nnpef5era7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@162925.1745 dft8av63oujf0qv1nnpef5era7 Query : use flama_phc
20250312@162925.1748 dft8av63oujf0qv1nnpef5era7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=8748
20250312@162925.1836 dft8av63oujf0qv1nnpef5era7 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501683 
20250312@162925.2265 dft8av63oujf0qv1nnpef5era7 Query : use flama_phc
20250312@162925.2268 dft8av63oujf0qv1nnpef5era7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250312@162925.2334 dft8av63oujf0qv1nnpef5era7 Query : use flama_phc
20250312@162925.2337 dft8av63oujf0qv1nnpef5era7 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250312@162925.2399 dft8av63oujf0qv1nnpef5era7 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250312@162925.2433 dft8av63oujf0qv1nnpef5era7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5862';
20250312@162925.2482 dft8av63oujf0qv1nnpef5era7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5862';
20250312@162925.3104 0a0khngo1dddjmakgvacsm2re4 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@162925.3115 0a0khngo1dddjmakgvacsm2re4 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@162925.3198 0a0khngo1dddjmakgvacsm2re4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5863';
20250312@162925.3343 0a0khngo1dddjmakgvacsm2re4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5863';
20250312@162925.3448 0a0khngo1dddjmakgvacsm2re4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5863';
20250312@162925.3492 0a0khngo1dddjmakgvacsm2re4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5863';
20250312@162925.3566 0a0khngo1dddjmakgvacsm2re4 Query : use flama_phc
20250312@162925.3569 0a0khngo1dddjmakgvacsm2re4 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@162925.3636 0a0khngo1dddjmakgvacsm2re4 Query : use flama_phc
20250312@162925.3640 0a0khngo1dddjmakgvacsm2re4 Query : select no, estab,szadrsdesc from szadrs where u_coddest=8748
20250312@162925.3689 0a0khngo1dddjmakgvacsm2re4 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501684 
20250312@162925.4071 0a0khngo1dddjmakgvacsm2re4 Query : use flama_phc
20250312@162925.4075 0a0khngo1dddjmakgvacsm2re4 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250312@162925.4106 0a0khngo1dddjmakgvacsm2re4 Query : use flama_phc
20250312@162925.4110 0a0khngo1dddjmakgvacsm2re4 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250312@162925.4126 0a0khngo1dddjmakgvacsm2re4 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250312@162925.4148 0a0khngo1dddjmakgvacsm2re4 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5863';
20250312@162925.4196 0a0khngo1dddjmakgvacsm2re4 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5863';
20250312@162925.4872 7r6muov4nsjcqn76sbmatmf9cj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@162925.4956 7r6muov4nsjcqn76sbmatmf9cj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@162925.5445 7r6muov4nsjcqn76sbmatmf9cj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5864';
20250312@162925.5830 7r6muov4nsjcqn76sbmatmf9cj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5864';
20250312@162925.6203 7r6muov4nsjcqn76sbmatmf9cj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5864';
20250312@162925.6497 7r6muov4nsjcqn76sbmatmf9cj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5864';
20250312@162925.6624 7r6muov4nsjcqn76sbmatmf9cj Query : use flama_phc
20250312@162925.6629 7r6muov4nsjcqn76sbmatmf9cj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@162925.6698 7r6muov4nsjcqn76sbmatmf9cj Query : use flama_phc
20250312@162925.6703 7r6muov4nsjcqn76sbmatmf9cj Query : select no, estab,szadrsdesc from szadrs where u_coddest=1123
20250312@162925.6820 7r6muov4nsjcqn76sbmatmf9cj Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501688 
20250312@162925.8272 7r6muov4nsjcqn76sbmatmf9cj Query : use flama_phc
20250312@162925.8334 7r6muov4nsjcqn76sbmatmf9cj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250312@162925.8927 7r6muov4nsjcqn76sbmatmf9cj Query : use flama_phc
20250312@162925.8969 7r6muov4nsjcqn76sbmatmf9cj Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250312@162925.9272 7r6muov4nsjcqn76sbmatmf9cj Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250312@162925.9525 7r6muov4nsjcqn76sbmatmf9cj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5864';
20250312@162926.2070 7r6muov4nsjcqn76sbmatmf9cj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5864';
20250312@162926.1174 3o9dlgn4ddt68j5qmbhi0k1mf3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@162926.1257 3o9dlgn4ddt68j5qmbhi0k1mf3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@162926.1826 3o9dlgn4ddt68j5qmbhi0k1mf3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5865';
20250312@162926.2326 3o9dlgn4ddt68j5qmbhi0k1mf3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5865';
20250312@162926.2869 3o9dlgn4ddt68j5qmbhi0k1mf3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5865';
20250312@162926.3199 3o9dlgn4ddt68j5qmbhi0k1mf3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5865';
20250312@162926.3568 3o9dlgn4ddt68j5qmbhi0k1mf3 Query : use flama_phc
20250312@162926.3610 3o9dlgn4ddt68j5qmbhi0k1mf3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@162926.4235 3o9dlgn4ddt68j5qmbhi0k1mf3 Query : use flama_phc
20250312@162926.4278 3o9dlgn4ddt68j5qmbhi0k1mf3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=416
20250312@162926.4586 3o9dlgn4ddt68j5qmbhi0k1mf3 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501689 
20250312@162926.5038 3o9dlgn4ddt68j5qmbhi0k1mf3 Query : use flama_phc
20250312@162926.5041 3o9dlgn4ddt68j5qmbhi0k1mf3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250312@162926.5098 3o9dlgn4ddt68j5qmbhi0k1mf3 Query : use flama_phc
20250312@162926.5104 3o9dlgn4ddt68j5qmbhi0k1mf3 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250312@162926.5258 3o9dlgn4ddt68j5qmbhi0k1mf3 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250312@162926.5381 3o9dlgn4ddt68j5qmbhi0k1mf3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5865';
20250312@162926.6871 3o9dlgn4ddt68j5qmbhi0k1mf3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5865';
20250312@162926.7456 ba87ttir4mbgg1vr8t9ogqr5td Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@162926.7468 ba87ttir4mbgg1vr8t9ogqr5td Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@162926.7548 ba87ttir4mbgg1vr8t9ogqr5td Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5866';
20250312@162926.7646 ba87ttir4mbgg1vr8t9ogqr5td Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5866';
20250312@162926.7730 ba87ttir4mbgg1vr8t9ogqr5td Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5866';
20250312@162926.7786 ba87ttir4mbgg1vr8t9ogqr5td Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5866';
20250312@162926.7909 ba87ttir4mbgg1vr8t9ogqr5td Query : use flama_phc
20250312@162926.7913 ba87ttir4mbgg1vr8t9ogqr5td Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@162926.8273 ba87ttir4mbgg1vr8t9ogqr5td Query : use flama_phc
20250312@162926.8277 ba87ttir4mbgg1vr8t9ogqr5td Query : select no, estab,szadrsdesc from szadrs where u_coddest=635
20250312@162926.8430 ba87ttir4mbgg1vr8t9ogqr5td Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501690 
20250312@162926.8994 ba87ttir4mbgg1vr8t9ogqr5td Query : use flama_phc
20250312@162926.8998 ba87ttir4mbgg1vr8t9ogqr5td Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250312@162926.9032 ba87ttir4mbgg1vr8t9ogqr5td Query : use flama_phc
20250312@162926.9035 ba87ttir4mbgg1vr8t9ogqr5td Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250312@162926.9052 ba87ttir4mbgg1vr8t9ogqr5td Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250312@162926.9083 ba87ttir4mbgg1vr8t9ogqr5td Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5866';
20250312@162926.9132 ba87ttir4mbgg1vr8t9ogqr5td Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5866';
20250312@162926.9783 tr1hkndjptb80126j421tacuto Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@162926.9794 tr1hkndjptb80126j421tacuto Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@162926.9877 tr1hkndjptb80126j421tacuto Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5867';
20250312@162926.9954 tr1hkndjptb80126j421tacuto Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5867';
20250312@162927.9000 tr1hkndjptb80126j421tacuto Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5867';
20250312@162927.1510 tr1hkndjptb80126j421tacuto Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5867';
20250312@162927.2440 tr1hkndjptb80126j421tacuto Query : use flama_phc
20250312@162927.2490 tr1hkndjptb80126j421tacuto Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@162927.3240 tr1hkndjptb80126j421tacuto Query : use flama_phc
20250312@162927.3270 tr1hkndjptb80126j421tacuto Query : select no, estab,szadrsdesc from szadrs where u_coddest=859
20250312@162927.4220 tr1hkndjptb80126j421tacuto Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501691 
20250312@162927.9700 tr1hkndjptb80126j421tacuto Query : use flama_phc
20250312@162927.9730 tr1hkndjptb80126j421tacuto Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250312@162927.1210 tr1hkndjptb80126j421tacuto Query : use flama_phc
20250312@162927.1214 tr1hkndjptb80126j421tacuto Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250312@162927.1237 tr1hkndjptb80126j421tacuto Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250312@162927.1280 tr1hkndjptb80126j421tacuto Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5867';
20250312@162927.1332 tr1hkndjptb80126j421tacuto Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5867';
20250312@162927.3241 dlu5kirmso8b5m4nbcl5h4adi9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@162927.3256 dlu5kirmso8b5m4nbcl5h4adi9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@162927.3336 dlu5kirmso8b5m4nbcl5h4adi9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5868';
20250312@162927.3418 dlu5kirmso8b5m4nbcl5h4adi9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5868';
20250312@162927.3604 dlu5kirmso8b5m4nbcl5h4adi9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5868';
20250312@162927.3741 dlu5kirmso8b5m4nbcl5h4adi9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5868';
20250312@162927.3824 dlu5kirmso8b5m4nbcl5h4adi9 Query : use flama_phc
20250312@162927.3828 dlu5kirmso8b5m4nbcl5h4adi9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@162927.3893 dlu5kirmso8b5m4nbcl5h4adi9 Query : use flama_phc
20250312@162927.3896 dlu5kirmso8b5m4nbcl5h4adi9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=339
20250312@162927.3997 dlu5kirmso8b5m4nbcl5h4adi9 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501692 
20250312@162927.4458 dlu5kirmso8b5m4nbcl5h4adi9 Query : use flama_phc
20250312@162927.4461 dlu5kirmso8b5m4nbcl5h4adi9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250312@162927.4493 dlu5kirmso8b5m4nbcl5h4adi9 Query : use flama_phc
20250312@162927.4497 dlu5kirmso8b5m4nbcl5h4adi9 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250312@162927.4514 dlu5kirmso8b5m4nbcl5h4adi9 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250312@162927.4535 dlu5kirmso8b5m4nbcl5h4adi9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5868';
20250312@162927.4581 dlu5kirmso8b5m4nbcl5h4adi9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5868';
20250312@162927.5245 0advkh4iisubu19e8scaihuce9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@162927.5256 0advkh4iisubu19e8scaihuce9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@162927.5332 0advkh4iisubu19e8scaihuce9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5869';
20250312@162927.5447 0advkh4iisubu19e8scaihuce9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5869';
20250312@162927.5534 0advkh4iisubu19e8scaihuce9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5869';
20250312@162927.5617 0advkh4iisubu19e8scaihuce9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5869';
20250312@162927.5715 0advkh4iisubu19e8scaihuce9 Query : use flama_phc
20250312@162927.5719 0advkh4iisubu19e8scaihuce9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@162927.5787 0advkh4iisubu19e8scaihuce9 Query : use flama_phc
20250312@162927.5790 0advkh4iisubu19e8scaihuce9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=351
20250312@162927.5925 0advkh4iisubu19e8scaihuce9 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501694 
20250312@162927.6328 0advkh4iisubu19e8scaihuce9 Query : use flama_phc
20250312@162927.6331 0advkh4iisubu19e8scaihuce9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250312@162927.6388 0advkh4iisubu19e8scaihuce9 Query : use flama_phc
20250312@162927.6391 0advkh4iisubu19e8scaihuce9 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250312@162927.6409 0advkh4iisubu19e8scaihuce9 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250312@162927.6430 0advkh4iisubu19e8scaihuce9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5869';
20250312@162927.6476 0advkh4iisubu19e8scaihuce9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5869';
20250312@162927.7025 1ea84hefkbq76vrm4qh9ggltai Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@162927.7035 1ea84hefkbq76vrm4qh9ggltai Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@162927.7111 1ea84hefkbq76vrm4qh9ggltai Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5870';
20250312@162927.7194 1ea84hefkbq76vrm4qh9ggltai Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5870';
20250312@162927.7274 1ea84hefkbq76vrm4qh9ggltai Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5870';
20250312@162927.7330 1ea84hefkbq76vrm4qh9ggltai Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5870';
20250312@162927.7415 1ea84hefkbq76vrm4qh9ggltai Query : use flama_phc
20250312@162927.7420 1ea84hefkbq76vrm4qh9ggltai Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@162927.7516 1ea84hefkbq76vrm4qh9ggltai Query : use flama_phc
20250312@162927.7521 1ea84hefkbq76vrm4qh9ggltai Query : select no, estab,szadrsdesc from szadrs where u_coddest=6076
20250312@162927.7625 1ea84hefkbq76vrm4qh9ggltai Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501695 
20250312@162927.8077 1ea84hefkbq76vrm4qh9ggltai Query : use flama_phc
20250312@162927.8080 1ea84hefkbq76vrm4qh9ggltai Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250312@162927.8111 1ea84hefkbq76vrm4qh9ggltai Query : use flama_phc
20250312@162927.8114 1ea84hefkbq76vrm4qh9ggltai Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250312@162927.8173 1ea84hefkbq76vrm4qh9ggltai Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250312@162927.8244 1ea84hefkbq76vrm4qh9ggltai Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5870';
20250312@162927.8295 1ea84hefkbq76vrm4qh9ggltai Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5870';
20250312@162927.8833 03894rde9tkp2ogl46onkbrmec Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@162927.8845 03894rde9tkp2ogl46onkbrmec Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@162927.8931 03894rde9tkp2ogl46onkbrmec Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5871';
20250312@162927.9042 03894rde9tkp2ogl46onkbrmec Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5871';
20250312@162927.9131 03894rde9tkp2ogl46onkbrmec Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5871';
20250312@162927.9188 03894rde9tkp2ogl46onkbrmec Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5871';
20250312@162927.9276 03894rde9tkp2ogl46onkbrmec Query : use flama_phc
20250312@162927.9280 03894rde9tkp2ogl46onkbrmec Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@162927.9367 03894rde9tkp2ogl46onkbrmec Query : use flama_phc
20250312@162927.9371 03894rde9tkp2ogl46onkbrmec Query : select no, estab,szadrsdesc from szadrs where u_coddest=201
20250312@162927.9470 03894rde9tkp2ogl46onkbrmec Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501696 
20250312@162927.9907 03894rde9tkp2ogl46onkbrmec Query : use flama_phc
20250312@162927.9910 03894rde9tkp2ogl46onkbrmec Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250312@162927.9943 03894rde9tkp2ogl46onkbrmec Query : use flama_phc
20250312@162927.9945 03894rde9tkp2ogl46onkbrmec Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250312@162927.9963 03894rde9tkp2ogl46onkbrmec Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250312@162928.2000 03894rde9tkp2ogl46onkbrmec Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5871';
20250312@162928.6900 03894rde9tkp2ogl46onkbrmec Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5871';
20250312@162928.7450 nrvo58birlikjr53e2hao9n4dm Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@162928.7560 nrvo58birlikjr53e2hao9n4dm Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@162928.8360 nrvo58birlikjr53e2hao9n4dm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5872';
20250312@162928.9250 nrvo58birlikjr53e2hao9n4dm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5872';
20250312@162928.1014 nrvo58birlikjr53e2hao9n4dm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5872';
20250312@162928.1074 nrvo58birlikjr53e2hao9n4dm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5872';
20250312@162928.1170 nrvo58birlikjr53e2hao9n4dm Query : use flama_phc
20250312@162928.1175 nrvo58birlikjr53e2hao9n4dm Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@162928.1239 nrvo58birlikjr53e2hao9n4dm Query : use flama_phc
20250312@162928.1242 nrvo58birlikjr53e2hao9n4dm Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20250312@162928.1339 nrvo58birlikjr53e2hao9n4dm Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2016 and bo.obrano = 2501697 
20250312@162928.1979 nrvo58birlikjr53e2hao9n4dm Query : use flama_phc
20250312@162928.1983 nrvo58birlikjr53e2hao9n4dm Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250312@162928.2024 nrvo58birlikjr53e2hao9n4dm Query : use flama_phc
20250312@162928.2027 nrvo58birlikjr53e2hao9n4dm Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250312@162928.2055 nrvo58birlikjr53e2hao9n4dm Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250312@162928.2076 nrvo58birlikjr53e2hao9n4dm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5872';
20250312@162928.2123 nrvo58birlikjr53e2hao9n4dm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5872';
20250312@162928.2707 95chorbj8f1l0d138msu8rpso5 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@162928.2718 95chorbj8f1l0d138msu8rpso5 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@162928.2797 95chorbj8f1l0d138msu8rpso5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5873';
20250312@162928.2878 95chorbj8f1l0d138msu8rpso5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5873';
20250312@162928.2949 95chorbj8f1l0d138msu8rpso5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5873';
20250312@162928.2992 95chorbj8f1l0d138msu8rpso5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5873';
20250312@162928.3064 95chorbj8f1l0d138msu8rpso5 Query : use flama_phc
20250312@162928.3067 95chorbj8f1l0d138msu8rpso5 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@162928.3154 95chorbj8f1l0d138msu8rpso5 Query : use flama_phc
20250312@162928.3158 95chorbj8f1l0d138msu8rpso5 Query : select no, estab,szadrsdesc from szadrs where u_coddest=416
20250312@162928.3206 95chorbj8f1l0d138msu8rpso5 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2017 and bo.obrano = 2501701 
20250312@162928.3850 95chorbj8f1l0d138msu8rpso5 Query : use flama_phc
20250312@162928.3853 95chorbj8f1l0d138msu8rpso5 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250312@162928.3883 95chorbj8f1l0d138msu8rpso5 Query : use flama_phc
20250312@162928.3886 95chorbj8f1l0d138msu8rpso5 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250312@162928.3902 95chorbj8f1l0d138msu8rpso5 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250312@162928.3925 95chorbj8f1l0d138msu8rpso5 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5873';
20250312@162928.3981 95chorbj8f1l0d138msu8rpso5 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5873';
20250312@162928.4633 gqe4jt7gc2qf06ls5r49bifr1g Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@162928.4646 gqe4jt7gc2qf06ls5r49bifr1g Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@162928.4723 gqe4jt7gc2qf06ls5r49bifr1g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5874';
20250312@162928.4804 gqe4jt7gc2qf06ls5r49bifr1g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5874';
20250312@162928.4891 gqe4jt7gc2qf06ls5r49bifr1g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5874';
20250312@162928.4942 gqe4jt7gc2qf06ls5r49bifr1g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5874';
20250312@162928.5014 gqe4jt7gc2qf06ls5r49bifr1g Query : use flama_phc
20250312@162928.5017 gqe4jt7gc2qf06ls5r49bifr1g Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@162928.5088 gqe4jt7gc2qf06ls5r49bifr1g Query : use flama_phc
20250312@162928.5097 gqe4jt7gc2qf06ls5r49bifr1g Query : select no, estab,szadrsdesc from szadrs where u_coddest=5187
20250312@162928.5206 gqe4jt7gc2qf06ls5r49bifr1g Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2017 and bo.obrano = 2501702 
20250312@162928.5600 gqe4jt7gc2qf06ls5r49bifr1g Query : use flama_phc
20250312@162928.5605 gqe4jt7gc2qf06ls5r49bifr1g Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250312@162928.5648 gqe4jt7gc2qf06ls5r49bifr1g Query : use flama_phc
20250312@162928.5651 gqe4jt7gc2qf06ls5r49bifr1g Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250312@162928.5667 gqe4jt7gc2qf06ls5r49bifr1g Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250312@162928.5689 gqe4jt7gc2qf06ls5r49bifr1g Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5874';
20250312@162928.5747 gqe4jt7gc2qf06ls5r49bifr1g Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5874';
20250312@162928.8254 t4qr99tvt0cld8k0d9u2nrdeb3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@162928.8267 t4qr99tvt0cld8k0d9u2nrdeb3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@162928.8349 t4qr99tvt0cld8k0d9u2nrdeb3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5875';
20250312@162928.8438 t4qr99tvt0cld8k0d9u2nrdeb3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5875';
20250312@162928.8516 t4qr99tvt0cld8k0d9u2nrdeb3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5875';
20250312@162928.8565 t4qr99tvt0cld8k0d9u2nrdeb3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5875';
20250312@162928.8671 t4qr99tvt0cld8k0d9u2nrdeb3 Query : use flama_phc
20250312@162928.8698 t4qr99tvt0cld8k0d9u2nrdeb3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@162928.8769 t4qr99tvt0cld8k0d9u2nrdeb3 Query : use flama_phc
20250312@162928.8772 t4qr99tvt0cld8k0d9u2nrdeb3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6975
20250312@162928.8909 t4qr99tvt0cld8k0d9u2nrdeb3 Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2017 and bo.obrano = 2501703 
20250312@162928.9347 t4qr99tvt0cld8k0d9u2nrdeb3 Query : use flama_phc
20250312@162928.9353 t4qr99tvt0cld8k0d9u2nrdeb3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250312@162928.9391 t4qr99tvt0cld8k0d9u2nrdeb3 Query : use flama_phc
20250312@162928.9394 t4qr99tvt0cld8k0d9u2nrdeb3 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250312@162928.9440 t4qr99tvt0cld8k0d9u2nrdeb3 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250312@162928.9462 t4qr99tvt0cld8k0d9u2nrdeb3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5875';
20250312@162928.9513 t4qr99tvt0cld8k0d9u2nrdeb3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5875';
20250312@162929.4700 cgovd07du3hpqjj66ukhfu0sqb Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@162929.5900 cgovd07du3hpqjj66ukhfu0sqb Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@162929.1370 cgovd07du3hpqjj66ukhfu0sqb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5876';
20250312@162929.2170 cgovd07du3hpqjj66ukhfu0sqb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5876';
20250312@162929.2880 cgovd07du3hpqjj66ukhfu0sqb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5876';
20250312@162929.3340 cgovd07du3hpqjj66ukhfu0sqb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5876';
20250312@162929.4220 cgovd07du3hpqjj66ukhfu0sqb Query : use flama_phc
20250312@162929.4250 cgovd07du3hpqjj66ukhfu0sqb Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250312@162929.4880 cgovd07du3hpqjj66ukhfu0sqb Query : use flama_phc
20250312@162929.4910 cgovd07du3hpqjj66ukhfu0sqb Query : select no, estab,szadrsdesc from szadrs where u_coddest=3155
20250312@162929.5930 cgovd07du3hpqjj66ukhfu0sqb Query : select bi.bistamp ,bi.ref code ,bi.qtt quantity ,bi.edebito ,bi.desconto ,bi.desc2 ,bi.desc3 ,bi.desc4 ,bi.bostamp ,st.u_uncxcl from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 250 and bo.boano = 2017 and bo.obrano = 2501708 
20250312@162929.9990 cgovd07du3hpqjj66ukhfu0sqb Query : use flama_phc
20250312@162929.1003 cgovd07du3hpqjj66ukhfu0sqb Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250312@162929.1034 cgovd07du3hpqjj66ukhfu0sqb Query : use flama_phc
20250312@162929.1037 cgovd07du3hpqjj66ukhfu0sqb Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250312@162929.1052 cgovd07du3hpqjj66ukhfu0sqb Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250312@162929.1074 cgovd07du3hpqjj66ukhfu0sqb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5876';
20250312@162929.1120 cgovd07du3hpqjj66ukhfu0sqb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5876';
20250312@162929.1664 7q7on9rma5suvkmcd5f7qhs86h Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250312@162929.1675 7q7on9rma5suvkmcd5f7qhs86h Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250312@162929.1759 7q7on9rma5suvkmcd5f7qhs86h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5877';
20250312@162929.1841 7q7on9rma5suvkmcd5f7qhs86h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5877';
20250312@162929.1915 7q7on9rma5suvkmcd5f7qhs86h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='5877';
20250312@162929.1960 7q7on9rma5suvkmcd5f7qhs86h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='5877';
20250312@162929.2029 7q7on9rma5suvkmcd5f7qhs86h Query : use flama_phc
20250312@162929.2033 7q7on9rma5suvkmcd5f7qhs86h Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
