20250121@115227.4053 v22fclja32u3lp02oti1iqgmtf INICIO DE FICHEIRO DE LOG :: /var/www/webservices/logs/website.sql.log
20250121@115227.4051 v22fclja32u3lp02oti1iqgmtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20250121@115227.4069 v22fclja32u3lp02oti1iqgmtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@115227.4086 v22fclja32u3lp02oti1iqgmtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20250121@115227.4096 v22fclja32u3lp02oti1iqgmtf Query : select sestamp valor from se where ref ='324.719.00.02' and lote = 'r2400693100a'
20250121@115227.4116 v22fclja32u3lp02oti1iqgmtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@115227.4131 v22fclja32u3lp02oti1iqgmtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20250121@115227.4142 v22fclja32u3lp02oti1iqgmtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@115227.4158 v22fclja32u3lp02oti1iqgmtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20250121@115227.4172 v22fclja32u3lp02oti1iqgmtf Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678f862715678f8a7b65',?,?,'20250121',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20250121@115227.4234 v22fclja32u3lp02oti1iqgmtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250121@115227.4249 v22fclja32u3lp02oti1iqgmtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@115227.4266 v22fclja32u3lp02oti1iqgmtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20250121@115227.4279 v22fclja32u3lp02oti1iqgmtf Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut678f871275678f8a7b67','aut678f849599678f8a63a4',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 = 'aut678f849599678f8a63a4'
20250121@115227.4422 v22fclja32u3lp02oti1iqgmtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@115227.4443 v22fclja32u3lp02oti1iqgmtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20250121@115227.4462 v22fclja32u3lp02oti1iqgmtf 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 'aut678f871275678f8a7b67',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 2000, 2000*.0000000 ,bo.no, bo.estab,bo.nmdos ,bo.ndos, bo.obranome,bo.fechada, bo.dataobra ,bo.dataobra ,bo.dataopen,bo.datafecho,bo.local, bo.morada ,bo.codpost, bo.nome,bo.bostamp,20000 ,5.3553646677472,5.3553646677472*200.48,5.3553646677472,5.3553646677472*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,5.3553646677472*2000,5.3553646677472*2000*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,5.3553646677472,5.3553646677472*200.48,5.3553646677472*2000,5.3553646677472*2000*200.48,'cps24062540064,559000004 ',42.2,42.2*2000,42.2,42.2*2000,?,?,?,4 from bo bo where bo.bostamp = 'aut678f849599678f8a63a4'
20250121@115228.4467 v22fclja32u3lp02oti1iqgmtf Query : use flama_phc
20250121@115228.4473 v22fclja32u3lp02oti1iqgmtf Query : select st.usalote valor from st where st.ref = '324.736.00.01'
20250121@115228.4504 v22fclja32u3lp02oti1iqgmtf Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.736.00.01'
20250121@115228.4645 v22fclja32u3lp02oti1iqgmtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@115228.4665 v22fclja32u3lp02oti1iqgmtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20250121@115228.4680 v22fclja32u3lp02oti1iqgmtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@115228.4701 v22fclja32u3lp02oti1iqgmtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20250121@115228.4712 v22fclja32u3lp02oti1iqgmtf Query : select sestamp valor from se where ref ='324.736.00.01' and lote = 'r2400693200a'
20250121@115228.4727 v22fclja32u3lp02oti1iqgmtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@115228.4746 v22fclja32u3lp02oti1iqgmtf Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20250121@115228.4757 v22fclja32u3lp02oti1iqgmtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@115228.4776 v22fclja32u3lp02oti1iqgmtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20250121@115228.4792 v22fclja32u3lp02oti1iqgmtf Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678f856719678f8a7c74',?,?,'20250121',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20250121@115228.4858 v22fclja32u3lp02oti1iqgmtf Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250121@115228.4876 v22fclja32u3lp02oti1iqgmtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@115228.4896 v22fclja32u3lp02oti1iqgmtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20250121@115228.4919 v22fclja32u3lp02oti1iqgmtf Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut678f862542678f8a7c77','aut678f849599678f8a63a4',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 = 'aut678f849599678f8a63a4'
20250121@115228.5063 v22fclja32u3lp02oti1iqgmtf Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@115228.5083 v22fclja32u3lp02oti1iqgmtf Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20250121@115228.5102 v22fclja32u3lp02oti1iqgmtf 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 'aut678f862542678f8a7c77',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 2540, 2540*.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,30000 ,7.83,7.83*200.48,7.83,7.83*200.48 ,0,0,'un',' ' ,bo.marcada,1 ,7.83*2540,7.83*2540*200.48 ,10.384000,10.384000*200.48 ,10.384000,10.384000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,7.83,7.83*200.48,7.83*2540,7.83*2540*200.48,'cps24060663113,331000004 ',61.7,61.7*2540,61.7,61.7*2540,?,?,?,4 from bo bo where bo.bostamp = 'aut678f849599678f8a63a4'
20250121@115228.7372 v22fclja32u3lp02oti1iqgmtf Query : use flama_phc
20250121@115228.7411 v22fclja32u3lp02oti1iqgmtf Query : declare @bostamp varchar(25) = 'aut678f849599678f8a63a4' ,@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 
20250121@115243.1857 v22fclja32u3lp02oti1iqgmtf Query : use flama_phc
20250121@115243.1861 v22fclja32u3lp02oti1iqgmtf Query : select 1 valor from bo where bo.bostamp = 'aut678f849599678f8a63a4'
20250121@115243.1952 v22fclja32u3lp02oti1iqgmtf 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) = 'aut678f849599678f8a63a4' 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 
20250121@115245.9741 v22fclja32u3lp02oti1iqgmtf Query : use flama_phc
20250121@115245.9744 v22fclja32u3lp02oti1iqgmtf Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@115245.9796 v22fclja32u3lp02oti1iqgmtf Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4802';
20250121@115245.9844 v22fclja32u3lp02oti1iqgmtf Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4802';
20250121@121910.6394 f1ip3j5vv41v7lq17acr2kvfu9 Query : use flama_phc
20250121@121910.6517 f1ip3j5vv41v7lq17acr2kvfu9 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@121910.7360 f1ip3j5vv41v7lq17acr2kvfu9 Query : use flama_phc
20250121@121910.7365 f1ip3j5vv41v7lq17acr2kvfu9 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@123610.3968 20l2tived1vjamuc2vvmbjaccv Query : use flama_phc
20250121@123610.3972 20l2tived1vjamuc2vvmbjaccv Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@123610.4101 20l2tived1vjamuc2vvmbjaccv Query : use flama_phc
20250121@123610.4105 20l2tived1vjamuc2vvmbjaccv Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@131910.7895 7ghb3o9g59u4civfj34j5fh55l Query : use flama_phc
20250121@131910.7900 7ghb3o9g59u4civfj34j5fh55l Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@131910.7989 7ghb3o9g59u4civfj34j5fh55l Query : use flama_phc
20250121@131910.7993 7ghb3o9g59u4civfj34j5fh55l Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@133610.9958 2j0vokv90gqa43em4u4v5fok53 Query : use flama_phc
20250121@133610.9964 2j0vokv90gqa43em4u4v5fok53 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@133611.5700 2j0vokv90gqa43em4u4v5fok53 Query : use flama_phc
20250121@133611.6100 2j0vokv90gqa43em4u4v5fok53 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@141910.3094 6hssb9vcvcoeq2rr7o4e366vhi Query : use flama_phc
20250121@141910.3098 6hssb9vcvcoeq2rr7o4e366vhi Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@141910.3206 6hssb9vcvcoeq2rr7o4e366vhi Query : use flama_phc
20250121@141910.3233 6hssb9vcvcoeq2rr7o4e366vhi Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@143610.4058 gpaqg3ngsstabc9imvrkvesq0g Query : use flama_phc
20250121@143610.4063 gpaqg3ngsstabc9imvrkvesq0g Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@143610.4157 gpaqg3ngsstabc9imvrkvesq0g Query : use flama_phc
20250121@143610.4161 gpaqg3ngsstabc9imvrkvesq0g Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@144215.7518 vgjqn8j43qssu4tvn21ur9s1kv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144215.7553 vgjqn8j43qssu4tvn21ur9s1kv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144215.8324 vgjqn8j43qssu4tvn21ur9s1kv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4803';
20250121@144215.8419 vgjqn8j43qssu4tvn21ur9s1kv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4803';
20250121@144215.8563 vgjqn8j43qssu4tvn21ur9s1kv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4803';
20250121@144215.8616 vgjqn8j43qssu4tvn21ur9s1kv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4803';
20250121@144215.8710 vgjqn8j43qssu4tvn21ur9s1kv Query : use flama_phc
20250121@144215.8733 vgjqn8j43qssu4tvn21ur9s1kv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144215.9131 vgjqn8j43qssu4tvn21ur9s1kv Query : use flama_phc
20250121@144215.9135 vgjqn8j43qssu4tvn21ur9s1kv Query : select no, estab,szadrsdesc from szadrs where u_coddest=1123
20250121@144215.9252 vgjqn8j43qssu4tvn21ur9s1kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20250121@144215.9547 vgjqn8j43qssu4tvn21ur9s1kv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500520 and bi.ref ='324.1816.00.1' and bi.lordem =1
20250121@144216.2310 vgjqn8j43qssu4tvn21ur9s1kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20250121@144216.4340 vgjqn8j43qssu4tvn21ur9s1kv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500520 and bi.ref ='324.1816.00.1' and bi.lordem =1
20250121@144216.5140 vgjqn8j43qssu4tvn21ur9s1kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20250121@144216.5470 vgjqn8j43qssu4tvn21ur9s1kv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500520 and bi.ref ='324.1816.00.1' and bi.lordem =1
20250121@144216.5700 vgjqn8j43qssu4tvn21ur9s1kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20250121@144216.5960 vgjqn8j43qssu4tvn21ur9s1kv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500520 and bi.ref ='324.1816.00.1' and bi.lordem =1
20250121@144216.6190 vgjqn8j43qssu4tvn21ur9s1kv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20250121@144216.6450 vgjqn8j43qssu4tvn21ur9s1kv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500520 and bi.ref ='324.1816.00.1' and bi.lordem =2
20250121@144216.1018 vgjqn8j43qssu4tvn21ur9s1kv 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500520 
20250121@144216.1325 vgjqn8j43qssu4tvn21ur9s1kv Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144216.1384 vgjqn8j43qssu4tvn21ur9s1kv Query : use flama_phc
20250121@144216.1389 vgjqn8j43qssu4tvn21ur9s1kv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144216.1480 vgjqn8j43qssu4tvn21ur9s1kv Query : use flama_phc
20250121@144216.1486 vgjqn8j43qssu4tvn21ur9s1kv Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144216.1593 vgjqn8j43qssu4tvn21ur9s1kv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4803';
20250121@144216.1721 vgjqn8j43qssu4tvn21ur9s1kv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4803';
20250121@144216.2396 ds3gubnc81mdj419dgp7idk8ot Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144216.2409 ds3gubnc81mdj419dgp7idk8ot Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144216.2571 ds3gubnc81mdj419dgp7idk8ot Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4804';
20250121@144216.2696 ds3gubnc81mdj419dgp7idk8ot Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4804';
20250121@144216.2847 ds3gubnc81mdj419dgp7idk8ot Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4804';
20250121@144216.2917 ds3gubnc81mdj419dgp7idk8ot Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4804';
20250121@144216.3010 ds3gubnc81mdj419dgp7idk8ot Query : use flama_phc
20250121@144216.3015 ds3gubnc81mdj419dgp7idk8ot Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144216.3098 ds3gubnc81mdj419dgp7idk8ot Query : use flama_phc
20250121@144216.3104 ds3gubnc81mdj419dgp7idk8ot Query : select no, estab,szadrsdesc from szadrs where u_coddest=2138
20250121@144216.3214 ds3gubnc81mdj419dgp7idk8ot Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1705.00.1'
20250121@144216.3599 ds3gubnc81mdj419dgp7idk8ot Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500521 and bi.ref ='324.1705.00.1' and bi.lordem =1
20250121@144216.3949 ds3gubnc81mdj419dgp7idk8ot Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1407.00.1'
20250121@144216.4146 ds3gubnc81mdj419dgp7idk8ot Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500521 and bi.ref ='324.1407.00.1' and bi.lordem =3
20250121@144216.4490 ds3gubnc81mdj419dgp7idk8ot Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1417.00.1'
20250121@144216.4618 ds3gubnc81mdj419dgp7idk8ot Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500521 and bi.ref ='324.1417.00.1' and bi.lordem =5
20250121@144216.4948 ds3gubnc81mdj419dgp7idk8ot Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.2187.00.1'
20250121@144216.5165 ds3gubnc81mdj419dgp7idk8ot Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500521 and bi.ref ='304.2187.00.1' and bi.lordem =7
20250121@144216.5815 ds3gubnc81mdj419dgp7idk8ot Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20250121@144216.6182 ds3gubnc81mdj419dgp7idk8ot Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500521 and bi.ref ='324.1321.00.1' and bi.lordem =8
20250121@144216.6577 ds3gubnc81mdj419dgp7idk8ot Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1321.00.1'
20250121@144216.6605 ds3gubnc81mdj419dgp7idk8ot Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500521 and bi.ref ='324.1321.00.1' and bi.lordem =8
20250121@144216.6627 ds3gubnc81mdj419dgp7idk8ot Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1329.00.1'
20250121@144216.6777 ds3gubnc81mdj419dgp7idk8ot Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500521 and bi.ref ='324.1329.00.1' and bi.lordem =9
20250121@144216.7097 ds3gubnc81mdj419dgp7idk8ot 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500521 
20250121@144216.7413 ds3gubnc81mdj419dgp7idk8ot Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144216.7440 ds3gubnc81mdj419dgp7idk8ot Query : use flama_phc
20250121@144216.7444 ds3gubnc81mdj419dgp7idk8ot Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144216.7484 ds3gubnc81mdj419dgp7idk8ot Query : use flama_phc
20250121@144216.7489 ds3gubnc81mdj419dgp7idk8ot Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144216.7646 ds3gubnc81mdj419dgp7idk8ot Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4804';
20250121@144216.7727 ds3gubnc81mdj419dgp7idk8ot Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4804';
20250121@144216.8407 3bleqasejoqtg88kn3nb7r3r1q Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144216.8487 3bleqasejoqtg88kn3nb7r3r1q Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144216.8743 3bleqasejoqtg88kn3nb7r3r1q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4805';
20250121@144216.8836 3bleqasejoqtg88kn3nb7r3r1q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4805';
20250121@144216.8939 3bleqasejoqtg88kn3nb7r3r1q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4805';
20250121@144216.9231 3bleqasejoqtg88kn3nb7r3r1q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4805';
20250121@144216.9311 3bleqasejoqtg88kn3nb7r3r1q Query : use flama_phc
20250121@144216.9315 3bleqasejoqtg88kn3nb7r3r1q Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144216.9385 3bleqasejoqtg88kn3nb7r3r1q Query : use flama_phc
20250121@144216.9388 3bleqasejoqtg88kn3nb7r3r1q Query : select no, estab,szadrsdesc from szadrs where u_coddest=170
20250121@144216.9577 3bleqasejoqtg88kn3nb7r3r1q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.711.00.01'
20250121@144217.1250 3bleqasejoqtg88kn3nb7r3r1q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500522 and bi.ref ='324.711.00.01' and bi.lordem =1
20250121@144217.5130 3bleqasejoqtg88kn3nb7r3r1q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20250121@144217.6570 3bleqasejoqtg88kn3nb7r3r1q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500522 and bi.ref ='324.727.00.01' and bi.lordem =3
20250121@144217.1076 3bleqasejoqtg88kn3nb7r3r1q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20250121@144217.1117 3bleqasejoqtg88kn3nb7r3r1q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500522 and bi.ref ='324.727.00.01' and bi.lordem =3
20250121@144217.1135 3bleqasejoqtg88kn3nb7r3r1q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.734.00.02'
20250121@144217.1996 3bleqasejoqtg88kn3nb7r3r1q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500522 and bi.ref ='324.734.00.02' and bi.lordem =5
20250121@144217.3193 3bleqasejoqtg88kn3nb7r3r1q Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.734.00.02'
20250121@144217.3224 3bleqasejoqtg88kn3nb7r3r1q Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500522 and bi.ref ='324.734.00.02' and bi.lordem =5
20250121@144217.3248 3bleqasejoqtg88kn3nb7r3r1q 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500522 
20250121@144217.3872 3bleqasejoqtg88kn3nb7r3r1q Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144217.3900 3bleqasejoqtg88kn3nb7r3r1q Query : use flama_phc
20250121@144217.3906 3bleqasejoqtg88kn3nb7r3r1q Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144217.3950 3bleqasejoqtg88kn3nb7r3r1q Query : use flama_phc
20250121@144217.3954 3bleqasejoqtg88kn3nb7r3r1q Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144217.3991 3bleqasejoqtg88kn3nb7r3r1q Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4805';
20250121@144217.4047 3bleqasejoqtg88kn3nb7r3r1q Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4805';
20250121@144217.4670 gqddeefpujmt1nj8b2c8uis2t2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144217.4687 gqddeefpujmt1nj8b2c8uis2t2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144217.4822 gqddeefpujmt1nj8b2c8uis2t2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4806';
20250121@144217.4923 gqddeefpujmt1nj8b2c8uis2t2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4806';
20250121@144217.4997 gqddeefpujmt1nj8b2c8uis2t2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4806';
20250121@144217.5046 gqddeefpujmt1nj8b2c8uis2t2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4806';
20250121@144217.5136 gqddeefpujmt1nj8b2c8uis2t2 Query : use flama_phc
20250121@144217.5140 gqddeefpujmt1nj8b2c8uis2t2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144217.5254 gqddeefpujmt1nj8b2c8uis2t2 Query : use flama_phc
20250121@144217.5260 gqddeefpujmt1nj8b2c8uis2t2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250121@144217.5364 gqddeefpujmt1nj8b2c8uis2t2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '323.367.09.00'
20250121@144217.5506 gqddeefpujmt1nj8b2c8uis2t2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500523 and bi.ref ='323.367.09.00' and bi.lordem =1
20250121@144217.5863 gqddeefpujmt1nj8b2c8uis2t2 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500523 
20250121@144217.6139 gqddeefpujmt1nj8b2c8uis2t2 Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144217.6162 gqddeefpujmt1nj8b2c8uis2t2 Query : use flama_phc
20250121@144217.6166 gqddeefpujmt1nj8b2c8uis2t2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144217.6203 gqddeefpujmt1nj8b2c8uis2t2 Query : use flama_phc
20250121@144217.6209 gqddeefpujmt1nj8b2c8uis2t2 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144217.6251 gqddeefpujmt1nj8b2c8uis2t2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4806';
20250121@144217.6302 gqddeefpujmt1nj8b2c8uis2t2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4806';
20250121@144217.6931 qd2olnsainglv9pfr3ftmq66ni Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144217.6955 qd2olnsainglv9pfr3ftmq66ni Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144217.7041 qd2olnsainglv9pfr3ftmq66ni Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4807';
20250121@144217.7130 qd2olnsainglv9pfr3ftmq66ni Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4807';
20250121@144217.7203 qd2olnsainglv9pfr3ftmq66ni Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4807';
20250121@144217.7249 qd2olnsainglv9pfr3ftmq66ni Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4807';
20250121@144217.7316 qd2olnsainglv9pfr3ftmq66ni Query : use flama_phc
20250121@144217.7320 qd2olnsainglv9pfr3ftmq66ni Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144217.7391 qd2olnsainglv9pfr3ftmq66ni Query : use flama_phc
20250121@144217.7395 qd2olnsainglv9pfr3ftmq66ni Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20250121@144217.7543 qd2olnsainglv9pfr3ftmq66ni Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9006.00.1'
20250121@144217.7685 qd2olnsainglv9pfr3ftmq66ni Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500524 and bi.ref ='328.9006.00.1' and bi.lordem =1
20250121@144217.8026 qd2olnsainglv9pfr3ftmq66ni 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500524 
20250121@144217.8308 qd2olnsainglv9pfr3ftmq66ni Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144217.8341 qd2olnsainglv9pfr3ftmq66ni Query : use flama_phc
20250121@144217.8387 qd2olnsainglv9pfr3ftmq66ni Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144217.8628 qd2olnsainglv9pfr3ftmq66ni Query : use flama_phc
20250121@144217.8632 qd2olnsainglv9pfr3ftmq66ni Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144217.8716 qd2olnsainglv9pfr3ftmq66ni Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4807';
20250121@144217.8774 qd2olnsainglv9pfr3ftmq66ni Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4807';
20250121@144217.9912 qttb1p844esr6vjfoeoj3an5mc Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144217.9934 qttb1p844esr6vjfoeoj3an5mc Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144218.1140 qttb1p844esr6vjfoeoj3an5mc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4808';
20250121@144218.2070 qttb1p844esr6vjfoeoj3an5mc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4808';
20250121@144218.4540 qttb1p844esr6vjfoeoj3an5mc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4808';
20250121@144218.5310 qttb1p844esr6vjfoeoj3an5mc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4808';
20250121@144218.6150 qttb1p844esr6vjfoeoj3an5mc Query : use flama_phc
20250121@144218.6200 qttb1p844esr6vjfoeoj3an5mc Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144218.7150 qttb1p844esr6vjfoeoj3an5mc Query : use flama_phc
20250121@144218.7190 qttb1p844esr6vjfoeoj3an5mc Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250121@144218.8020 qttb1p844esr6vjfoeoj3an5mc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.2186.00.1'
20250121@144218.9660 qttb1p844esr6vjfoeoj3an5mc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500526 and bi.ref ='304.2186.00.1' and bi.lordem =1
20250121@144218.1323 qttb1p844esr6vjfoeoj3an5mc Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.2186.00.1'
20250121@144218.1353 qttb1p844esr6vjfoeoj3an5mc Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500526 and bi.ref ='304.2186.00.1' and bi.lordem =1
20250121@144218.1379 qttb1p844esr6vjfoeoj3an5mc 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500526 
20250121@144218.1936 qttb1p844esr6vjfoeoj3an5mc Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144218.2083 qttb1p844esr6vjfoeoj3an5mc Query : use flama_phc
20250121@144218.2090 qttb1p844esr6vjfoeoj3an5mc Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144218.2181 qttb1p844esr6vjfoeoj3an5mc Query : use flama_phc
20250121@144218.2188 qttb1p844esr6vjfoeoj3an5mc Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144218.2221 qttb1p844esr6vjfoeoj3an5mc Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4808';
20250121@144218.2284 qttb1p844esr6vjfoeoj3an5mc Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4808';
20250121@144218.3058 095tvl855m35umnh76j0agdgep Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144218.3078 095tvl855m35umnh76j0agdgep Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144218.3255 095tvl855m35umnh76j0agdgep Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4809';
20250121@144218.3369 095tvl855m35umnh76j0agdgep Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4809';
20250121@144218.3458 095tvl855m35umnh76j0agdgep Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4809';
20250121@144218.3536 095tvl855m35umnh76j0agdgep Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4809';
20250121@144218.3617 095tvl855m35umnh76j0agdgep Query : use flama_phc
20250121@144218.3621 095tvl855m35umnh76j0agdgep Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144218.3730 095tvl855m35umnh76j0agdgep Query : use flama_phc
20250121@144218.3734 095tvl855m35umnh76j0agdgep Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250121@144218.3820 095tvl855m35umnh76j0agdgep Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4988.00.1'
20250121@144218.3971 095tvl855m35umnh76j0agdgep Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500527 and bi.ref ='324.4988.00.1' and bi.lordem =1
20250121@144218.4335 095tvl855m35umnh76j0agdgep 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500527 
20250121@144218.4664 095tvl855m35umnh76j0agdgep Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144218.4691 095tvl855m35umnh76j0agdgep Query : use flama_phc
20250121@144218.4695 095tvl855m35umnh76j0agdgep Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144218.4731 095tvl855m35umnh76j0agdgep Query : use flama_phc
20250121@144218.4735 095tvl855m35umnh76j0agdgep Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144218.4764 095tvl855m35umnh76j0agdgep Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4809';
20250121@144218.4841 095tvl855m35umnh76j0agdgep Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4809';
20250121@144218.5518 jmdd6q9ojqhggfm2ttod1hi6bm Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144218.5539 jmdd6q9ojqhggfm2ttod1hi6bm Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144218.5639 jmdd6q9ojqhggfm2ttod1hi6bm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4810';
20250121@144218.5780 jmdd6q9ojqhggfm2ttod1hi6bm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4810';
20250121@144218.5947 jmdd6q9ojqhggfm2ttod1hi6bm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4810';
20250121@144218.6088 jmdd6q9ojqhggfm2ttod1hi6bm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4810';
20250121@144218.6173 jmdd6q9ojqhggfm2ttod1hi6bm Query : use flama_phc
20250121@144218.6177 jmdd6q9ojqhggfm2ttod1hi6bm Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144218.6373 jmdd6q9ojqhggfm2ttod1hi6bm Query : use flama_phc
20250121@144218.6392 jmdd6q9ojqhggfm2ttod1hi6bm Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250121@144218.6557 jmdd6q9ojqhggfm2ttod1hi6bm Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20250121@144218.6825 jmdd6q9ojqhggfm2ttod1hi6bm Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500528 and bi.ref ='324.2907.00.1' and bi.lordem =1
20250121@144218.7210 jmdd6q9ojqhggfm2ttod1hi6bm 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500528 
20250121@144218.7616 jmdd6q9ojqhggfm2ttod1hi6bm Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144218.7663 jmdd6q9ojqhggfm2ttod1hi6bm Query : use flama_phc
20250121@144218.7669 jmdd6q9ojqhggfm2ttod1hi6bm Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144218.8851 jmdd6q9ojqhggfm2ttod1hi6bm Query : use flama_phc
20250121@144218.8933 jmdd6q9ojqhggfm2ttod1hi6bm Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144218.9094 jmdd6q9ojqhggfm2ttod1hi6bm Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4810';
20250121@144218.9186 jmdd6q9ojqhggfm2ttod1hi6bm Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4810';
20250121@144218.9850 uldb9v666af1ik9230m1b4qucb Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144218.9862 uldb9v666af1ik9230m1b4qucb Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144218.9944 uldb9v666af1ik9230m1b4qucb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4811';
20250121@144219.3700 uldb9v666af1ik9230m1b4qucb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4811';
20250121@144219.1470 uldb9v666af1ik9230m1b4qucb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4811';
20250121@144219.2400 uldb9v666af1ik9230m1b4qucb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4811';
20250121@144219.3160 uldb9v666af1ik9230m1b4qucb Query : use flama_phc
20250121@144219.3200 uldb9v666af1ik9230m1b4qucb Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144219.4480 uldb9v666af1ik9230m1b4qucb Query : use flama_phc
20250121@144219.5050 uldb9v666af1ik9230m1b4qucb Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250121@144219.5870 uldb9v666af1ik9230m1b4qucb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.938.00.01'
20250121@144219.7750 uldb9v666af1ik9230m1b4qucb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500529 and bi.ref ='324.938.00.01' and bi.lordem =1
20250121@144219.1293 uldb9v666af1ik9230m1b4qucb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.938.00.01'
20250121@144219.1381 uldb9v666af1ik9230m1b4qucb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500529 and bi.ref ='324.938.00.01' and bi.lordem =1
20250121@144219.1403 uldb9v666af1ik9230m1b4qucb 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500529 
20250121@144219.1749 uldb9v666af1ik9230m1b4qucb Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144219.1862 uldb9v666af1ik9230m1b4qucb Query : use flama_phc
20250121@144219.1911 uldb9v666af1ik9230m1b4qucb Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144219.1969 uldb9v666af1ik9230m1b4qucb Query : use flama_phc
20250121@144219.1974 uldb9v666af1ik9230m1b4qucb Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144219.2008 uldb9v666af1ik9230m1b4qucb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4811';
20250121@144219.2127 uldb9v666af1ik9230m1b4qucb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4811';
20250121@144219.2917 te9f77po9vu2k8rhmqe1l0l68v Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144219.2930 te9f77po9vu2k8rhmqe1l0l68v Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144219.3087 te9f77po9vu2k8rhmqe1l0l68v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4812';
20250121@144219.3163 te9f77po9vu2k8rhmqe1l0l68v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4812';
20250121@144219.3237 te9f77po9vu2k8rhmqe1l0l68v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4812';
20250121@144219.3294 te9f77po9vu2k8rhmqe1l0l68v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4812';
20250121@144219.3389 te9f77po9vu2k8rhmqe1l0l68v Query : use flama_phc
20250121@144219.3393 te9f77po9vu2k8rhmqe1l0l68v Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144219.3479 te9f77po9vu2k8rhmqe1l0l68v Query : use flama_phc
20250121@144219.3487 te9f77po9vu2k8rhmqe1l0l68v Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250121@144219.3548 te9f77po9vu2k8rhmqe1l0l68v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20250121@144219.3754 te9f77po9vu2k8rhmqe1l0l68v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500530 and bi.ref ='324.948.00.01' and bi.lordem =1
20250121@144219.4101 te9f77po9vu2k8rhmqe1l0l68v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.948.00.01'
20250121@144219.4127 te9f77po9vu2k8rhmqe1l0l68v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500530 and bi.ref ='324.948.00.01' and bi.lordem =1
20250121@144219.4151 te9f77po9vu2k8rhmqe1l0l68v 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500530 
20250121@144219.4638 te9f77po9vu2k8rhmqe1l0l68v Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144219.4700 te9f77po9vu2k8rhmqe1l0l68v Query : use flama_phc
20250121@144219.4722 te9f77po9vu2k8rhmqe1l0l68v Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144219.4766 te9f77po9vu2k8rhmqe1l0l68v Query : use flama_phc
20250121@144219.4771 te9f77po9vu2k8rhmqe1l0l68v Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144219.4818 te9f77po9vu2k8rhmqe1l0l68v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4812';
20250121@144219.4875 te9f77po9vu2k8rhmqe1l0l68v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4812';
20250121@144219.6989 r29as9rmq484af62jeia29228n Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144219.7891 r29as9rmq484af62jeia29228n Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144219.8264 r29as9rmq484af62jeia29228n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4813';
20250121@144219.8354 r29as9rmq484af62jeia29228n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4813';
20250121@144219.8437 r29as9rmq484af62jeia29228n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4813';
20250121@144219.8488 r29as9rmq484af62jeia29228n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4813';
20250121@144219.8623 r29as9rmq484af62jeia29228n Query : use flama_phc
20250121@144219.8629 r29as9rmq484af62jeia29228n Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144219.8711 r29as9rmq484af62jeia29228n Query : use flama_phc
20250121@144219.8729 r29as9rmq484af62jeia29228n Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250121@144219.8833 r29as9rmq484af62jeia29228n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1892.00.1'
20250121@144219.9004 r29as9rmq484af62jeia29228n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500531 and bi.ref ='324.1892.00.1' and bi.lordem =1
20250121@144219.9687 r29as9rmq484af62jeia29228n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1892.00.1'
20250121@144219.9850 r29as9rmq484af62jeia29228n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500531 and bi.ref ='324.1892.00.1' and bi.lordem =1
20250121@144219.9925 r29as9rmq484af62jeia29228n Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1892.00.1'
20250121@144219.9961 r29as9rmq484af62jeia29228n Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500531 and bi.ref ='324.1892.00.1' and bi.lordem =1
20250121@144219.9985 r29as9rmq484af62jeia29228n 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500531 
20250121@144220.3920 r29as9rmq484af62jeia29228n Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144220.4160 r29as9rmq484af62jeia29228n Query : use flama_phc
20250121@144220.4200 r29as9rmq484af62jeia29228n Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144220.5130 r29as9rmq484af62jeia29228n Query : use flama_phc
20250121@144220.5280 r29as9rmq484af62jeia29228n Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144220.6070 r29as9rmq484af62jeia29228n Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4813';
20250121@144220.7050 r29as9rmq484af62jeia29228n Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4813';
20250121@144220.1261 vuc7d0hsvmnlvcavvrmkef24ua Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144220.1301 vuc7d0hsvmnlvcavvrmkef24ua Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144220.1430 vuc7d0hsvmnlvcavvrmkef24ua Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4814';
20250121@144220.1547 vuc7d0hsvmnlvcavvrmkef24ua Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4814';
20250121@144220.1744 vuc7d0hsvmnlvcavvrmkef24ua Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4814';
20250121@144220.1881 vuc7d0hsvmnlvcavvrmkef24ua Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4814';
20250121@144220.2002 vuc7d0hsvmnlvcavvrmkef24ua Query : use flama_phc
20250121@144220.2008 vuc7d0hsvmnlvcavvrmkef24ua Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144220.2221 vuc7d0hsvmnlvcavvrmkef24ua Query : use flama_phc
20250121@144220.2253 vuc7d0hsvmnlvcavvrmkef24ua Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250121@144220.2331 vuc7d0hsvmnlvcavvrmkef24ua Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20250121@144220.2506 vuc7d0hsvmnlvcavvrmkef24ua Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500532 and bi.ref ='324.1805.00.1' and bi.lordem =1
20250121@144220.2925 vuc7d0hsvmnlvcavvrmkef24ua Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20250121@144220.3081 vuc7d0hsvmnlvcavvrmkef24ua Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500532 and bi.ref ='324.1805.00.1' and bi.lordem =1
20250121@144220.3250 vuc7d0hsvmnlvcavvrmkef24ua Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20250121@144220.3313 vuc7d0hsvmnlvcavvrmkef24ua Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500532 and bi.ref ='324.1805.00.1' and bi.lordem =1
20250121@144220.3345 vuc7d0hsvmnlvcavvrmkef24ua Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20250121@144220.3373 vuc7d0hsvmnlvcavvrmkef24ua Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500532 and bi.ref ='324.1805.00.1' and bi.lordem =1
20250121@144220.3397 vuc7d0hsvmnlvcavvrmkef24ua Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20250121@144220.3432 vuc7d0hsvmnlvcavvrmkef24ua Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500532 and bi.ref ='324.1805.00.1' and bi.lordem =1
20250121@144220.3453 vuc7d0hsvmnlvcavvrmkef24ua Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20250121@144220.3478 vuc7d0hsvmnlvcavvrmkef24ua Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500532 and bi.ref ='324.1805.00.1' and bi.lordem =1
20250121@144220.3535 vuc7d0hsvmnlvcavvrmkef24ua Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20250121@144220.3564 vuc7d0hsvmnlvcavvrmkef24ua Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500532 and bi.ref ='324.1805.00.1' and bi.lordem =1
20250121@144220.3601 vuc7d0hsvmnlvcavvrmkef24ua Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20250121@144220.3626 vuc7d0hsvmnlvcavvrmkef24ua Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500532 and bi.ref ='324.1805.00.1' and bi.lordem =1
20250121@144220.3651 vuc7d0hsvmnlvcavvrmkef24ua 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500532 
20250121@144220.4031 vuc7d0hsvmnlvcavvrmkef24ua Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144220.4112 vuc7d0hsvmnlvcavvrmkef24ua Query : use flama_phc
20250121@144220.4123 vuc7d0hsvmnlvcavvrmkef24ua Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144220.4168 vuc7d0hsvmnlvcavvrmkef24ua Query : use flama_phc
20250121@144220.4172 vuc7d0hsvmnlvcavvrmkef24ua Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144220.4204 vuc7d0hsvmnlvcavvrmkef24ua Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4814';
20250121@144220.4271 vuc7d0hsvmnlvcavvrmkef24ua Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4814';
20250121@144220.4963 l6ja7djuk0l6pcrvpp7o3sb729 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144220.4974 l6ja7djuk0l6pcrvpp7o3sb729 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144220.5066 l6ja7djuk0l6pcrvpp7o3sb729 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4815';
20250121@144220.5182 l6ja7djuk0l6pcrvpp7o3sb729 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4815';
20250121@144220.5285 l6ja7djuk0l6pcrvpp7o3sb729 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4815';
20250121@144220.5364 l6ja7djuk0l6pcrvpp7o3sb729 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4815';
20250121@144220.5470 l6ja7djuk0l6pcrvpp7o3sb729 Query : use flama_phc
20250121@144220.5506 l6ja7djuk0l6pcrvpp7o3sb729 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144220.5654 l6ja7djuk0l6pcrvpp7o3sb729 Query : use flama_phc
20250121@144220.5661 l6ja7djuk0l6pcrvpp7o3sb729 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250121@144220.5792 l6ja7djuk0l6pcrvpp7o3sb729 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4861.00.2'
20250121@144220.6093 l6ja7djuk0l6pcrvpp7o3sb729 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500534 and bi.ref ='304.4861.00.2' and bi.lordem =1
20250121@144220.6515 l6ja7djuk0l6pcrvpp7o3sb729 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4861.00.2'
20250121@144220.6608 l6ja7djuk0l6pcrvpp7o3sb729 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500534 and bi.ref ='304.4861.00.2' and bi.lordem =1
20250121@144220.7207 l6ja7djuk0l6pcrvpp7o3sb729 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4861.00.2'
20250121@144220.8164 l6ja7djuk0l6pcrvpp7o3sb729 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500534 and bi.ref ='304.4861.00.2' and bi.lordem =1
20250121@144220.8844 l6ja7djuk0l6pcrvpp7o3sb729 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4861.00.2'
20250121@144220.8870 l6ja7djuk0l6pcrvpp7o3sb729 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500534 and bi.ref ='304.4861.00.2' and bi.lordem =1
20250121@144220.8894 l6ja7djuk0l6pcrvpp7o3sb729 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500534 
20250121@144220.9642 l6ja7djuk0l6pcrvpp7o3sb729 Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144220.9667 l6ja7djuk0l6pcrvpp7o3sb729 Query : use flama_phc
20250121@144220.9672 l6ja7djuk0l6pcrvpp7o3sb729 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144220.9710 l6ja7djuk0l6pcrvpp7o3sb729 Query : use flama_phc
20250121@144220.9714 l6ja7djuk0l6pcrvpp7o3sb729 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144220.9745 l6ja7djuk0l6pcrvpp7o3sb729 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4815';
20250121@144220.9801 l6ja7djuk0l6pcrvpp7o3sb729 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4815';
20250121@144221.3570 ihbf719chij02fh71me3hkigae Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144221.3680 ihbf719chij02fh71me3hkigae Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144221.4480 ihbf719chij02fh71me3hkigae Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4816';
20250121@144221.5430 ihbf719chij02fh71me3hkigae Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4816';
20250121@144221.6430 ihbf719chij02fh71me3hkigae Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4816';
20250121@144221.7900 ihbf719chij02fh71me3hkigae Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4816';
20250121@144221.9450 ihbf719chij02fh71me3hkigae Query : use flama_phc
20250121@144221.9750 ihbf719chij02fh71me3hkigae Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144221.1159 ihbf719chij02fh71me3hkigae Query : use flama_phc
20250121@144221.1177 ihbf719chij02fh71me3hkigae Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250121@144221.1249 ihbf719chij02fh71me3hkigae Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2357.00.1'
20250121@144221.1406 ihbf719chij02fh71me3hkigae Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500535 and bi.ref ='324.2357.00.1' and bi.lordem =1
20250121@144221.1829 ihbf719chij02fh71me3hkigae Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2366.00.1'
20250121@144221.2028 ihbf719chij02fh71me3hkigae Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500535 and bi.ref ='324.2366.00.1' and bi.lordem =2
20250121@144221.2465 ihbf719chij02fh71me3hkigae Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20250121@144221.2714 ihbf719chij02fh71me3hkigae Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500535 and bi.ref ='324.1837.00.1' and bi.lordem =3
20250121@144221.3143 ihbf719chij02fh71me3hkigae 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500535 
20250121@144221.3483 ihbf719chij02fh71me3hkigae Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144221.3532 ihbf719chij02fh71me3hkigae Query : use flama_phc
20250121@144221.3563 ihbf719chij02fh71me3hkigae Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144221.3721 ihbf719chij02fh71me3hkigae Query : use flama_phc
20250121@144221.3728 ihbf719chij02fh71me3hkigae Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144221.3763 ihbf719chij02fh71me3hkigae Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4816';
20250121@144221.3814 ihbf719chij02fh71me3hkigae Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4816';
20250121@144221.4520 60f9r62spvaa7f2s3369nknsg9 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144221.4552 60f9r62spvaa7f2s3369nknsg9 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144221.4726 60f9r62spvaa7f2s3369nknsg9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4817';
20250121@144221.4899 60f9r62spvaa7f2s3369nknsg9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4817';
20250121@144221.5013 60f9r62spvaa7f2s3369nknsg9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4817';
20250121@144221.5096 60f9r62spvaa7f2s3369nknsg9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4817';
20250121@144221.5198 60f9r62spvaa7f2s3369nknsg9 Query : use flama_phc
20250121@144221.5203 60f9r62spvaa7f2s3369nknsg9 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144221.5308 60f9r62spvaa7f2s3369nknsg9 Query : use flama_phc
20250121@144221.5312 60f9r62spvaa7f2s3369nknsg9 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4779
20250121@144221.5414 60f9r62spvaa7f2s3369nknsg9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20250121@144221.5665 60f9r62spvaa7f2s3369nknsg9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500536 and bi.ref ='304.422.00.07' and bi.lordem =1
20250121@144221.6540 60f9r62spvaa7f2s3369nknsg9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20250121@144221.6699 60f9r62spvaa7f2s3369nknsg9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500536 and bi.ref ='304.421.00.04' and bi.lordem =2
20250121@144221.7352 60f9r62spvaa7f2s3369nknsg9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20250121@144221.7397 60f9r62spvaa7f2s3369nknsg9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500536 and bi.ref ='304.421.00.04' and bi.lordem =2
20250121@144221.7427 60f9r62spvaa7f2s3369nknsg9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2232.00.1'
20250121@144221.7593 60f9r62spvaa7f2s3369nknsg9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500536 and bi.ref ='324.2232.00.1' and bi.lordem =3
20250121@144221.7962 60f9r62spvaa7f2s3369nknsg9 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4980.00.1'
20250121@144221.8153 60f9r62spvaa7f2s3369nknsg9 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500536 and bi.ref ='324.4980.00.1' and bi.lordem =4
20250121@144221.8557 60f9r62spvaa7f2s3369nknsg9 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500536 
20250121@144221.8881 60f9r62spvaa7f2s3369nknsg9 Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144221.8921 60f9r62spvaa7f2s3369nknsg9 Query : use flama_phc
20250121@144221.8938 60f9r62spvaa7f2s3369nknsg9 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144221.8971 60f9r62spvaa7f2s3369nknsg9 Query : use flama_phc
20250121@144221.8974 60f9r62spvaa7f2s3369nknsg9 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144221.8999 60f9r62spvaa7f2s3369nknsg9 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4817';
20250121@144221.9046 60f9r62spvaa7f2s3369nknsg9 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4817';
20250121@144221.9558 o6uvkt7ddr6d227kilvbj542rl Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144221.9568 o6uvkt7ddr6d227kilvbj542rl Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144221.9654 o6uvkt7ddr6d227kilvbj542rl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4818';
20250121@144221.9771 o6uvkt7ddr6d227kilvbj542rl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4818';
20250121@144221.9867 o6uvkt7ddr6d227kilvbj542rl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4818';
20250121@144221.9917 o6uvkt7ddr6d227kilvbj542rl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4818';
20250121@144221.9984 o6uvkt7ddr6d227kilvbj542rl Query : use flama_phc
20250121@144221.9988 o6uvkt7ddr6d227kilvbj542rl Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144222.7200 o6uvkt7ddr6d227kilvbj542rl Query : use flama_phc
20250121@144222.7500 o6uvkt7ddr6d227kilvbj542rl Query : select no, estab,szadrsdesc from szadrs where u_coddest=8748
20250121@144222.1710 o6uvkt7ddr6d227kilvbj542rl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20250121@144222.3290 o6uvkt7ddr6d227kilvbj542rl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500537 and bi.ref ='324.2335.00.1' and bi.lordem =1
20250121@144222.7620 o6uvkt7ddr6d227kilvbj542rl Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2335.00.1'
20250121@144222.8060 o6uvkt7ddr6d227kilvbj542rl Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500537 and bi.ref ='324.2335.00.1' and bi.lordem =1
20250121@144222.8220 o6uvkt7ddr6d227kilvbj542rl 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500537 
20250121@144222.1079 o6uvkt7ddr6d227kilvbj542rl Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144222.1100 o6uvkt7ddr6d227kilvbj542rl Query : use flama_phc
20250121@144222.1103 o6uvkt7ddr6d227kilvbj542rl Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144222.1134 o6uvkt7ddr6d227kilvbj542rl Query : use flama_phc
20250121@144222.1137 o6uvkt7ddr6d227kilvbj542rl Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144222.1187 o6uvkt7ddr6d227kilvbj542rl Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4818';
20250121@144222.1250 o6uvkt7ddr6d227kilvbj542rl Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4818';
20250121@144222.2018 4se1cqa3rqvlpa8g7gojg26d15 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144222.2029 4se1cqa3rqvlpa8g7gojg26d15 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144222.2127 4se1cqa3rqvlpa8g7gojg26d15 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4819';
20250121@144222.2238 4se1cqa3rqvlpa8g7gojg26d15 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4819';
20250121@144222.2420 4se1cqa3rqvlpa8g7gojg26d15 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4819';
20250121@144222.2487 4se1cqa3rqvlpa8g7gojg26d15 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4819';
20250121@144222.2593 4se1cqa3rqvlpa8g7gojg26d15 Query : use flama_phc
20250121@144222.2596 4se1cqa3rqvlpa8g7gojg26d15 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144222.2688 4se1cqa3rqvlpa8g7gojg26d15 Query : use flama_phc
20250121@144222.2695 4se1cqa3rqvlpa8g7gojg26d15 Query : select no, estab,szadrsdesc from szadrs where u_coddest=8748
20250121@144222.2752 4se1cqa3rqvlpa8g7gojg26d15 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5343.00.1'
20250121@144222.2891 4se1cqa3rqvlpa8g7gojg26d15 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500540 and bi.ref ='324.5343.00.1' and bi.lordem =1
20250121@144222.3248 4se1cqa3rqvlpa8g7gojg26d15 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500540 
20250121@144222.3571 4se1cqa3rqvlpa8g7gojg26d15 Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144222.3708 4se1cqa3rqvlpa8g7gojg26d15 Query : use flama_phc
20250121@144222.3711 4se1cqa3rqvlpa8g7gojg26d15 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144222.3744 4se1cqa3rqvlpa8g7gojg26d15 Query : use flama_phc
20250121@144222.3747 4se1cqa3rqvlpa8g7gojg26d15 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144222.3776 4se1cqa3rqvlpa8g7gojg26d15 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4819';
20250121@144222.3825 4se1cqa3rqvlpa8g7gojg26d15 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4819';
20250121@144222.4356 tgemmh4fsahps2gjmftl4gc4nn Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144222.4366 tgemmh4fsahps2gjmftl4gc4nn Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144222.4447 tgemmh4fsahps2gjmftl4gc4nn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4820';
20250121@144222.4536 tgemmh4fsahps2gjmftl4gc4nn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4820';
20250121@144222.4611 tgemmh4fsahps2gjmftl4gc4nn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4820';
20250121@144222.4694 tgemmh4fsahps2gjmftl4gc4nn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4820';
20250121@144222.4801 tgemmh4fsahps2gjmftl4gc4nn Query : use flama_phc
20250121@144222.4804 tgemmh4fsahps2gjmftl4gc4nn Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144222.4867 tgemmh4fsahps2gjmftl4gc4nn Query : use flama_phc
20250121@144222.4870 tgemmh4fsahps2gjmftl4gc4nn Query : select no, estab,szadrsdesc from szadrs where u_coddest=2448
20250121@144222.4998 tgemmh4fsahps2gjmftl4gc4nn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20250121@144222.5155 tgemmh4fsahps2gjmftl4gc4nn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500542 and bi.ref ='324.4960.00.1' and bi.lordem =1
20250121@144222.5565 tgemmh4fsahps2gjmftl4gc4nn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.422.00.07'
20250121@144222.5745 tgemmh4fsahps2gjmftl4gc4nn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500542 and bi.ref ='304.422.00.07' and bi.lordem =2
20250121@144222.6179 tgemmh4fsahps2gjmftl4gc4nn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20250121@144222.6461 tgemmh4fsahps2gjmftl4gc4nn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500542 and bi.ref ='304.4320.00.1' and bi.lordem =3
20250121@144222.6883 tgemmh4fsahps2gjmftl4gc4nn 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500542 
20250121@144222.7347 tgemmh4fsahps2gjmftl4gc4nn Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144222.7473 tgemmh4fsahps2gjmftl4gc4nn Query : use flama_phc
20250121@144222.7502 tgemmh4fsahps2gjmftl4gc4nn Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144222.7665 tgemmh4fsahps2gjmftl4gc4nn Query : use flama_phc
20250121@144222.7671 tgemmh4fsahps2gjmftl4gc4nn Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144222.7780 tgemmh4fsahps2gjmftl4gc4nn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4820';
20250121@144222.7940 tgemmh4fsahps2gjmftl4gc4nn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4820';
20250121@144222.8651 i31fg1cs9asq7o6me945vrhbod Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144222.8665 i31fg1cs9asq7o6me945vrhbod Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144222.8833 i31fg1cs9asq7o6me945vrhbod Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4821';
20250121@144222.9048 i31fg1cs9asq7o6me945vrhbod Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4821';
20250121@144222.9178 i31fg1cs9asq7o6me945vrhbod Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4821';
20250121@144222.9245 i31fg1cs9asq7o6me945vrhbod Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4821';
20250121@144222.9367 i31fg1cs9asq7o6me945vrhbod Query : use flama_phc
20250121@144222.9381 i31fg1cs9asq7o6me945vrhbod Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144222.9562 i31fg1cs9asq7o6me945vrhbod Query : use flama_phc
20250121@144222.9597 i31fg1cs9asq7o6me945vrhbod Query : select no, estab,szadrsdesc from szadrs where u_coddest=692
20250121@144223.1335 i31fg1cs9asq7o6me945vrhbod Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1290.1003'
20250121@144223.1569 i31fg1cs9asq7o6me945vrhbod Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500548 and bi.ref ='325.1290.1003' and bi.lordem =1
20250121@144223.1953 i31fg1cs9asq7o6me945vrhbod 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500548 
20250121@144223.2307 i31fg1cs9asq7o6me945vrhbod Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144223.2358 i31fg1cs9asq7o6me945vrhbod Query : use flama_phc
20250121@144223.2366 i31fg1cs9asq7o6me945vrhbod Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144223.2487 i31fg1cs9asq7o6me945vrhbod Query : use flama_phc
20250121@144223.2527 i31fg1cs9asq7o6me945vrhbod Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144223.2621 i31fg1cs9asq7o6me945vrhbod Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4821';
20250121@144223.2693 i31fg1cs9asq7o6me945vrhbod Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4821';
20250121@144223.4014 2ffvumr8aucl7belr607ns2jc7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144223.4116 2ffvumr8aucl7belr607ns2jc7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144223.4786 2ffvumr8aucl7belr607ns2jc7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4822';
20250121@144223.5219 2ffvumr8aucl7belr607ns2jc7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4822';
20250121@144223.6287 2ffvumr8aucl7belr607ns2jc7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4822';
20250121@144223.6655 2ffvumr8aucl7belr607ns2jc7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4822';
20250121@144223.7172 2ffvumr8aucl7belr607ns2jc7 Query : use flama_phc
20250121@144223.7214 2ffvumr8aucl7belr607ns2jc7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144223.7865 2ffvumr8aucl7belr607ns2jc7 Query : use flama_phc
20250121@144223.7908 2ffvumr8aucl7belr607ns2jc7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4025
20250121@144223.8351 2ffvumr8aucl7belr607ns2jc7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250121@144223.8872 2ffvumr8aucl7belr607ns2jc7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500549 and bi.ref ='324.1824.00.1' and bi.lordem =1
20250121@144223.9656 2ffvumr8aucl7belr607ns2jc7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250121@144223.9724 2ffvumr8aucl7belr607ns2jc7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500549 and bi.ref ='324.1824.00.1' and bi.lordem =1
20250121@144223.9799 2ffvumr8aucl7belr607ns2jc7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250121@144223.9823 2ffvumr8aucl7belr607ns2jc7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500549 and bi.ref ='324.1824.00.1' and bi.lordem =2
20250121@144224.3520 2ffvumr8aucl7belr607ns2jc7 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500549 
20250121@144224.1101 2ffvumr8aucl7belr607ns2jc7 Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144224.1219 2ffvumr8aucl7belr607ns2jc7 Query : use flama_phc
20250121@144224.1228 2ffvumr8aucl7belr607ns2jc7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144224.1419 2ffvumr8aucl7belr607ns2jc7 Query : use flama_phc
20250121@144224.1424 2ffvumr8aucl7belr607ns2jc7 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144224.1540 2ffvumr8aucl7belr607ns2jc7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4822';
20250121@144224.1664 2ffvumr8aucl7belr607ns2jc7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4822';
20250121@144224.2472 9oa757j6clk008hh9mcvo2nmkb Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144224.2485 9oa757j6clk008hh9mcvo2nmkb Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144224.2576 9oa757j6clk008hh9mcvo2nmkb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4823';
20250121@144224.2673 9oa757j6clk008hh9mcvo2nmkb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4823';
20250121@144224.2761 9oa757j6clk008hh9mcvo2nmkb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4823';
20250121@144224.2821 9oa757j6clk008hh9mcvo2nmkb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4823';
20250121@144224.2919 9oa757j6clk008hh9mcvo2nmkb Query : use flama_phc
20250121@144224.2929 9oa757j6clk008hh9mcvo2nmkb Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144224.3045 9oa757j6clk008hh9mcvo2nmkb Query : use flama_phc
20250121@144224.3050 9oa757j6clk008hh9mcvo2nmkb Query : select no, estab,szadrsdesc from szadrs where u_coddest=3004
20250121@144224.3182 9oa757j6clk008hh9mcvo2nmkb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20250121@144224.3331 9oa757j6clk008hh9mcvo2nmkb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500552 and bi.ref ='324.1803.00.1' and bi.lordem =1
20250121@144224.3707 9oa757j6clk008hh9mcvo2nmkb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20250121@144224.3732 9oa757j6clk008hh9mcvo2nmkb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500552 and bi.ref ='324.1816.00.1' and bi.lordem =2
20250121@144224.4094 9oa757j6clk008hh9mcvo2nmkb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20250121@144224.4123 9oa757j6clk008hh9mcvo2nmkb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500552 and bi.ref ='324.1816.00.1' and bi.lordem =2
20250121@144224.4160 9oa757j6clk008hh9mcvo2nmkb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20250121@144224.4189 9oa757j6clk008hh9mcvo2nmkb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500552 and bi.ref ='324.1816.00.1' and bi.lordem =3
20250121@144224.4551 9oa757j6clk008hh9mcvo2nmkb Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20250121@144224.4592 9oa757j6clk008hh9mcvo2nmkb Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500552 and bi.ref ='324.1837.00.1' and bi.lordem =4
20250121@144224.5011 9oa757j6clk008hh9mcvo2nmkb 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500552 
20250121@144224.5317 9oa757j6clk008hh9mcvo2nmkb Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144224.5348 9oa757j6clk008hh9mcvo2nmkb Query : use flama_phc
20250121@144224.5351 9oa757j6clk008hh9mcvo2nmkb Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144224.5394 9oa757j6clk008hh9mcvo2nmkb Query : use flama_phc
20250121@144224.5398 9oa757j6clk008hh9mcvo2nmkb Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144224.5457 9oa757j6clk008hh9mcvo2nmkb Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4823';
20250121@144224.5510 9oa757j6clk008hh9mcvo2nmkb Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4823';
20250121@144224.6061 m1jg5lokf6kct9bml1o0mti6t7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144224.6072 m1jg5lokf6kct9bml1o0mti6t7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144224.6428 m1jg5lokf6kct9bml1o0mti6t7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4824';
20250121@144224.6530 m1jg5lokf6kct9bml1o0mti6t7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4824';
20250121@144224.6625 m1jg5lokf6kct9bml1o0mti6t7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4824';
20250121@144224.6688 m1jg5lokf6kct9bml1o0mti6t7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4824';
20250121@144224.6803 m1jg5lokf6kct9bml1o0mti6t7 Query : use flama_phc
20250121@144224.6808 m1jg5lokf6kct9bml1o0mti6t7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144224.6886 m1jg5lokf6kct9bml1o0mti6t7 Query : use flama_phc
20250121@144224.6891 m1jg5lokf6kct9bml1o0mti6t7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=416
20250121@144224.7038 m1jg5lokf6kct9bml1o0mti6t7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250121@144224.7066 m1jg5lokf6kct9bml1o0mti6t7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500560 and bi.ref ='324.1824.00.1' and bi.lordem =1
20250121@144224.7560 m1jg5lokf6kct9bml1o0mti6t7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250121@144224.7586 m1jg5lokf6kct9bml1o0mti6t7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500560 and bi.ref ='324.1824.00.1' and bi.lordem =1
20250121@144224.7605 m1jg5lokf6kct9bml1o0mti6t7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250121@144224.7627 m1jg5lokf6kct9bml1o0mti6t7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500560 and bi.ref ='324.1824.00.1' and bi.lordem =2
20250121@144224.8113 m1jg5lokf6kct9bml1o0mti6t7 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500560 
20250121@144224.8406 m1jg5lokf6kct9bml1o0mti6t7 Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144224.8432 m1jg5lokf6kct9bml1o0mti6t7 Query : use flama_phc
20250121@144224.8438 m1jg5lokf6kct9bml1o0mti6t7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144224.8477 m1jg5lokf6kct9bml1o0mti6t7 Query : use flama_phc
20250121@144224.8481 m1jg5lokf6kct9bml1o0mti6t7 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144224.8574 m1jg5lokf6kct9bml1o0mti6t7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4824';
20250121@144224.8680 m1jg5lokf6kct9bml1o0mti6t7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4824';
20250121@144225.2130 i427pvk5a5hgdot1fle5t5l8dg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144225.2270 i427pvk5a5hgdot1fle5t5l8dg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144225.3200 i427pvk5a5hgdot1fle5t5l8dg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4825';
20250121@144225.3990 i427pvk5a5hgdot1fle5t5l8dg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4825';
20250121@144225.4800 i427pvk5a5hgdot1fle5t5l8dg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4825';
20250121@144225.5290 i427pvk5a5hgdot1fle5t5l8dg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4825';
20250121@144225.6060 i427pvk5a5hgdot1fle5t5l8dg Query : use flama_phc
20250121@144225.6090 i427pvk5a5hgdot1fle5t5l8dg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144225.6910 i427pvk5a5hgdot1fle5t5l8dg Query : use flama_phc
20250121@144225.6950 i427pvk5a5hgdot1fle5t5l8dg Query : select no, estab,szadrsdesc from szadrs where u_coddest=1988
20250121@144225.7840 i427pvk5a5hgdot1fle5t5l8dg Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5540.00.1'
20250121@144225.9140 i427pvk5a5hgdot1fle5t5l8dg Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500562 and bi.ref ='324.5540.00.1' and bi.lordem =1
20250121@144225.1218 i427pvk5a5hgdot1fle5t5l8dg 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500562 
20250121@144225.1467 i427pvk5a5hgdot1fle5t5l8dg Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144225.1490 i427pvk5a5hgdot1fle5t5l8dg Query : use flama_phc
20250121@144225.1494 i427pvk5a5hgdot1fle5t5l8dg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144225.1530 i427pvk5a5hgdot1fle5t5l8dg Query : use flama_phc
20250121@144225.1540 i427pvk5a5hgdot1fle5t5l8dg Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144225.1570 i427pvk5a5hgdot1fle5t5l8dg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4825';
20250121@144225.1649 i427pvk5a5hgdot1fle5t5l8dg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4825';
20250121@144225.2205 tnctkk0nr736ipd14sba00ba5a Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@144225.2218 tnctkk0nr736ipd14sba00ba5a Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@144225.2294 tnctkk0nr736ipd14sba00ba5a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4826';
20250121@144225.2378 tnctkk0nr736ipd14sba00ba5a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4826';
20250121@144225.2461 tnctkk0nr736ipd14sba00ba5a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4826';
20250121@144225.2528 tnctkk0nr736ipd14sba00ba5a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4826';
20250121@144225.2631 tnctkk0nr736ipd14sba00ba5a Query : use flama_phc
20250121@144225.2634 tnctkk0nr736ipd14sba00ba5a Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@144225.2712 tnctkk0nr736ipd14sba00ba5a Query : use flama_phc
20250121@144225.2715 tnctkk0nr736ipd14sba00ba5a Query : select no, estab,szadrsdesc from szadrs where u_coddest=2926
20250121@144225.2824 tnctkk0nr736ipd14sba00ba5a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.648.00.01'
20250121@144225.3007 tnctkk0nr736ipd14sba00ba5a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500564 and bi.ref ='324.648.00.01' and bi.lordem =1
20250121@144225.3408 tnctkk0nr736ipd14sba00ba5a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20250121@144225.3572 tnctkk0nr736ipd14sba00ba5a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500564 and bi.ref ='324.691.00.01' and bi.lordem =2
20250121@144225.3991 tnctkk0nr736ipd14sba00ba5a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.675.00.01'
20250121@144225.4242 tnctkk0nr736ipd14sba00ba5a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500564 and bi.ref ='324.675.00.01' and bi.lordem =3
20250121@144225.4585 tnctkk0nr736ipd14sba00ba5a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1831.00.2'
20250121@144225.4747 tnctkk0nr736ipd14sba00ba5a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500564 and bi.ref ='324.1831.00.2' and bi.lordem =4
20250121@144225.5287 tnctkk0nr736ipd14sba00ba5a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1832.00.2'
20250121@144225.5433 tnctkk0nr736ipd14sba00ba5a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500564 and bi.ref ='324.1832.00.2' and bi.lordem =5
20250121@144225.5811 tnctkk0nr736ipd14sba00ba5a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1871.00.1'
20250121@144225.6066 tnctkk0nr736ipd14sba00ba5a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500564 and bi.ref ='324.1871.00.1' and bi.lordem =6
20250121@144225.6465 tnctkk0nr736ipd14sba00ba5a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1803.00.1'
20250121@144225.6537 tnctkk0nr736ipd14sba00ba5a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500564 and bi.ref ='324.1803.00.1' and bi.lordem =7
20250121@144225.6927 tnctkk0nr736ipd14sba00ba5a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1805.00.1'
20250121@144225.6959 tnctkk0nr736ipd14sba00ba5a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500564 and bi.ref ='324.1805.00.1' and bi.lordem =8
20250121@144225.7348 tnctkk0nr736ipd14sba00ba5a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.711.00.01'
20250121@144225.7378 tnctkk0nr736ipd14sba00ba5a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500564 and bi.ref ='324.711.00.01' and bi.lordem =9
20250121@144225.8016 tnctkk0nr736ipd14sba00ba5a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5343.00.1'
20250121@144225.8056 tnctkk0nr736ipd14sba00ba5a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500564 and bi.ref ='324.5343.00.1' and bi.lordem =10
20250121@144225.8459 tnctkk0nr736ipd14sba00ba5a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4743.00.1'
20250121@144225.8820 tnctkk0nr736ipd14sba00ba5a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500564 and bi.ref ='324.4743.00.1' and bi.lordem =11
20250121@144225.9440 tnctkk0nr736ipd14sba00ba5a 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500564 
20250121@144225.9797 tnctkk0nr736ipd14sba00ba5a Query : insert into wserrorlog (doctype, tabela,texto) values (39,'ft',?)
20250121@144225.9843 tnctkk0nr736ipd14sba00ba5a Query : use flama_phc
20250121@144225.9850 tnctkk0nr736ipd14sba00ba5a Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@144225.9911 tnctkk0nr736ipd14sba00ba5a Query : use flama_phc
20250121@144225.9916 tnctkk0nr736ipd14sba00ba5a Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@144225.9955 tnctkk0nr736ipd14sba00ba5a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4826';
20250121@144226.5000 tnctkk0nr736ipd14sba00ba5a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4826';
20250121@151317.8599 m235ec2b625n8qerteh6cikgjp Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@151317.8622 m235ec2b625n8qerteh6cikgjp Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@151317.8694 m235ec2b625n8qerteh6cikgjp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4827';
20250121@151317.8757 m235ec2b625n8qerteh6cikgjp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4827';
20250121@151317.8821 m235ec2b625n8qerteh6cikgjp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4827';
20250121@151317.8856 m235ec2b625n8qerteh6cikgjp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4827';
20250121@151317.8904 m235ec2b625n8qerteh6cikgjp Query : use flama_phc
20250121@151317.8907 m235ec2b625n8qerteh6cikgjp Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@151317.8969 m235ec2b625n8qerteh6cikgjp Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1889.00.1'
20250121@151317.9083 m235ec2b625n8qerteh6cikgjp 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 = 2401034 and bi.ref ='324.1889.00.1' and bi.lordem =20000
20250121@151317.9406 m235ec2b625n8qerteh6cikgjp 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 = 'cps24090550640,455000002 ' 
20250121@151317.9731 m235ec2b625n8qerteh6cikgjp Query : use flama_phc
20250121@151317.9734 m235ec2b625n8qerteh6cikgjp Query : select top 1 1 valor from ts where ts.ndos = 61
20250121@151317.9805 m235ec2b625n8qerteh6cikgjp Query : use flama_phc
20250121@151317.9808 m235ec2b625n8qerteh6cikgjp 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')
20250121@151317.9880 m235ec2b625n8qerteh6cikgjp 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
20250121@151318.0000 m235ec2b625n8qerteh6cikgjp Query : use flama_phc
20250121@151318.3000 m235ec2b625n8qerteh6cikgjp Query : select top 1 ~inactivo valor from fl where no = '202241' and estab = 00 order by inactivo desc
20250121@151318.1040 m235ec2b625n8qerteh6cikgjp Query : use flama_phc
20250121@151318.1080 m235ec2b625n8qerteh6cikgjp Query : select 1 valor from ts where ndos = 61
20250121@151318.1600 m235ec2b625n8qerteh6cikgjp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@151318.4890 m235ec2b625n8qerteh6cikgjp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo' and documentnumber = 61
20250121@151318.5500 m235ec2b625n8qerteh6cikgjp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@151318.5660 m235ec2b625n8qerteh6cikgjp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo2' and documentnumber = 61
20250121@151318.5760 m235ec2b625n8qerteh6cikgjp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@151318.5940 m235ec2b625n8qerteh6cikgjp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bo3' and documentnumber = 61
20250121@151318.6050 m235ec2b625n8qerteh6cikgjp 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
20250121@151318.7010 m235ec2b625n8qerteh6cikgjp Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2025 order by obrano desc
20250121@151318.8290 m235ec2b625n8qerteh6cikgjp Query : select top 1 bo.obrano valor from bo bo where bo.ndos = 61 and boano=2025 order by obrano desc
20250121@151318.8510 m235ec2b625n8qerteh6cikgjp Query : use flama_phc
20250121@151318.8570 m235ec2b625n8qerteh6cikgjp Query : select top 1 no,estab,nome, morada, local,codpost,ncont,pncont,pais,inactivo,motiseimp,codmotiseimp from fl where no='202241' and estab=00
20250121@151318.1017 m235ec2b625n8qerteh6cikgjp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@151318.1034 m235ec2b625n8qerteh6cikgjp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo3' and documentnumber = 61
20250121@151318.1073 m235ec2b625n8qerteh6cikgjp Query : insert into bo3 (bo3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678fb86572678fb98e14',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250121@151318.1133 m235ec2b625n8qerteh6cikgjp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@151318.1148 m235ec2b625n8qerteh6cikgjp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo2' and documentnumber = 61
20250121@151318.1160 m235ec2b625n8qerteh6cikgjp Query : insert into bo2 (bo2stamp, tiposaft, idserie,cambio,cambiofixo,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678fb86572678fb98e14','--','bo',7.9171597633136094674 ,1,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut')
20250121@151318.1315 m235ec2b625n8qerteh6cikgjp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@151318.1338 m235ec2b625n8qerteh6cikgjp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bo' and documentnumber = 61
20250121@151318.1363 m235ec2b625n8qerteh6cikgjp 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 ('aut678fb86572678fb98e14','guia r. fornecedor','2025-01-21',61,2500240,?,?,?,?,?,?,?,?,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')
20250121@151321.3633 m235ec2b625n8qerteh6cikgjp Query : use flama_phc
20250121@151321.3638 m235ec2b625n8qerteh6cikgjp Query : select st.usalote valor from st where st.ref = '324.1889.00.1'
20250121@151321.3749 m235ec2b625n8qerteh6cikgjp 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.1889.00.1'
20250121@151321.3877 m235ec2b625n8qerteh6cikgjp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@151321.3894 m235ec2b625n8qerteh6cikgjp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi' and documentnumber = 61
20250121@151321.3911 m235ec2b625n8qerteh6cikgjp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@151321.3929 m235ec2b625n8qerteh6cikgjp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'bi2' and documentnumber = 61
20250121@151321.3939 m235ec2b625n8qerteh6cikgjp Query : select sestamp valor from se where ref ='324.1889.00.1' and lote = 'r2401034200a'
20250121@151321.3995 m235ec2b625n8qerteh6cikgjp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@151321.4012 m235ec2b625n8qerteh6cikgjp Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'se' and documentnumber = 0
20250121@151321.4028 m235ec2b625n8qerteh6cikgjp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@151321.4048 m235ec2b625n8qerteh6cikgjp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'se' and documentnumber = 0
20250121@151321.4063 m235ec2b625n8qerteh6cikgjp Query : insert into se (sestamp,ref, lote, data,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut678fb29184678fb99162',?,?,'20250121',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut;','aut;')
20250121@151321.4937 m235ec2b625n8qerteh6cikgjp Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250121@151321.5019 m235ec2b625n8qerteh6cikgjp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@151321.5037 m235ec2b625n8qerteh6cikgjp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi2' and documentnumber = 61
20250121@151321.5052 m235ec2b625n8qerteh6cikgjp Query : insert into bi2 (bi2stamp,bostamp,morada, local,codpost ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) select 'aut678fb38681678fb9917a','aut678fb86572678fb98e14',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 = 'aut678fb86572678fb98e14'
20250121@151321.5189 m235ec2b625n8qerteh6cikgjp Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250121@151321.5207 m235ec2b625n8qerteh6cikgjp Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'bi' and documentnumber = 61
20250121@151321.5227 m235ec2b625n8qerteh6cikgjp 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 'aut678fb38681678fb9917a',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'aut','aut',bo.obrano, 1336, 1336*.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 ,27.04,27.04*200.48,27.04,27.04*200.48 ,0,0,'un ',' ' ,bo.marcada,1 ,27.04*1336,27.04*1336*200.48 ,29.078000,29.078000*200.48 ,29.078000,29.078000*200.48 ,bo.vendedor,bo.vendnm,bo.ccusto,bo.ncusto ,0,2,23.00,?,?,?,0,0,0,0,27.04,27.04*200.48,27.04*1336,27.04*1336*200.48,'cps24090550640,455000002 ',214.08,214.08*1336,214.08,214.08*1336,?,?,?,4 from bo bo where bo.bostamp = 'aut678fb86572678fb98e14'
20250121@151340.6193 m235ec2b625n8qerteh6cikgjp Query : use flama_phc
20250121@151340.6200 m235ec2b625n8qerteh6cikgjp Query : declare @bostamp varchar(25) = 'aut678fb86572678fb98e14' ,@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 
20250121@151355.1662 m235ec2b625n8qerteh6cikgjp Query : use flama_phc
20250121@151355.1666 m235ec2b625n8qerteh6cikgjp Query : select 1 valor from bo where bo.bostamp = 'aut678fb86572678fb98e14'
20250121@151355.1756 m235ec2b625n8qerteh6cikgjp 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) = 'aut678fb86572678fb98e14' 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 
20250121@151357.4210 m235ec2b625n8qerteh6cikgjp Query : use flama_phc
20250121@151357.4215 m235ec2b625n8qerteh6cikgjp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@151357.4308 m235ec2b625n8qerteh6cikgjp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4827';
20250121@151357.4366 m235ec2b625n8qerteh6cikgjp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4827';
20250121@151910.2809 tr8c4phje8uns0gknd7br9m2ql Query : use flama_phc
20250121@151910.2813 tr8c4phje8uns0gknd7br9m2ql Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@151910.3562 tr8c4phje8uns0gknd7br9m2ql Query : use flama_phc
20250121@151910.3570 tr8c4phje8uns0gknd7br9m2ql Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@153610.1673 rl8h2jgcn3b54cg58jvmicu6nt Query : use flama_phc
20250121@153610.1678 rl8h2jgcn3b54cg58jvmicu6nt Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@153610.1875 rl8h2jgcn3b54cg58jvmicu6nt Query : use flama_phc
20250121@153610.1879 rl8h2jgcn3b54cg58jvmicu6nt Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@161909.3928 bs3pe3p8qds8alvlq84f9jolg2 Query : use flama_phc
20250121@161909.3933 bs3pe3p8qds8alvlq84f9jolg2 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@161909.4040 bs3pe3p8qds8alvlq84f9jolg2 Query : use flama_phc
20250121@161909.4044 bs3pe3p8qds8alvlq84f9jolg2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@163609.8196 u0pp2f328na4aqqlora3qihu02 Query : use flama_phc
20250121@163609.8200 u0pp2f328na4aqqlora3qihu02 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@163609.8378 u0pp2f328na4aqqlora3qihu02 Query : use flama_phc
20250121@163609.8383 u0pp2f328na4aqqlora3qihu02 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@171912.9675 epeqnj595vicnund1cerfb84ak Query : use flama_phc
20250121@171912.9680 epeqnj595vicnund1cerfb84ak Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@171912.9879 epeqnj595vicnund1cerfb84ak Query : use flama_phc
20250121@171912.9884 epeqnj595vicnund1cerfb84ak Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@173613.2302 ieqduqgr3vtofgj906p3qhpb5d Query : use flama_phc
20250121@173613.2306 ieqduqgr3vtofgj906p3qhpb5d Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@173613.2426 ieqduqgr3vtofgj906p3qhpb5d Query : use flama_phc
20250121@173613.2429 ieqduqgr3vtofgj906p3qhpb5d Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@181910.2422 uemddcs5c4b2ktnu49fd9b3nre Query : use flama_phc
20250121@181910.2426 uemddcs5c4b2ktnu49fd9b3nre Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@181910.2517 uemddcs5c4b2ktnu49fd9b3nre Query : use flama_phc
20250121@181910.2522 uemddcs5c4b2ktnu49fd9b3nre Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@183610.2490 h5u1taaip64o7usgchoni9as1l Query : use flama_phc
20250121@183610.2540 h5u1taaip64o7usgchoni9as1l Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@183610.4020 h5u1taaip64o7usgchoni9as1l Query : use flama_phc
20250121@183610.4050 h5u1taaip64o7usgchoni9as1l Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@184723.6747 ceqe89632ioun894q7fh0o5fpp Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@184723.6780 ceqe89632ioun894q7fh0o5fpp Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@184723.7106 ceqe89632ioun894q7fh0o5fpp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4828';
20250121@184723.7198 ceqe89632ioun894q7fh0o5fpp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4828';
20250121@184723.7290 ceqe89632ioun894q7fh0o5fpp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4828';
20250121@184723.7335 ceqe89632ioun894q7fh0o5fpp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4828';
20250121@184723.7403 ceqe89632ioun894q7fh0o5fpp Query : use flama_phc
20250121@184723.7407 ceqe89632ioun894q7fh0o5fpp Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@184723.7518 ceqe89632ioun894q7fh0o5fpp Query : use flama_phc
20250121@184723.7522 ceqe89632ioun894q7fh0o5fpp Query : select no, estab,szadrsdesc from szadrs where u_coddest=6917
20250121@184723.7636 ceqe89632ioun894q7fh0o5fpp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.700.94.01'
20250121@184723.7772 ceqe89632ioun894q7fh0o5fpp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500571 and bi.ref ='324.700.94.01' and bi.lordem =1
20250121@184723.8148 ceqe89632ioun894q7fh0o5fpp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2000.94.1'
20250121@184723.8308 ceqe89632ioun894q7fh0o5fpp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500571 and bi.ref ='324.2000.94.1' and bi.lordem =2
20250121@184723.8629 ceqe89632ioun894q7fh0o5fpp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20250121@184723.8789 ceqe89632ioun894q7fh0o5fpp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500571 and bi.ref ='324.600.94.01' and bi.lordem =3
20250121@184723.9117 ceqe89632ioun894q7fh0o5fpp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20250121@184723.9146 ceqe89632ioun894q7fh0o5fpp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500571 and bi.ref ='324.600.94.01' and bi.lordem =3
20250121@184723.9164 ceqe89632ioun894q7fh0o5fpp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.600.94.01'
20250121@184723.9186 ceqe89632ioun894q7fh0o5fpp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500571 and bi.ref ='324.600.94.01' and bi.lordem =3
20250121@184723.9207 ceqe89632ioun894q7fh0o5fpp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.900.94.01'
20250121@184723.9525 ceqe89632ioun894q7fh0o5fpp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500571 and bi.ref ='324.900.94.01' and bi.lordem =4
20250121@184723.9865 ceqe89632ioun894q7fh0o5fpp Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2200.94.1'
20250121@184723.9995 ceqe89632ioun894q7fh0o5fpp Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500571 and bi.ref ='324.2200.94.1' and bi.lordem =5
20250121@184724.3490 ceqe89632ioun894q7fh0o5fpp 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500571 
20250121@184724.6590 ceqe89632ioun894q7fh0o5fpp Query : use flama_phc
20250121@184724.6630 ceqe89632ioun894q7fh0o5fpp Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@184724.1010 ceqe89632ioun894q7fh0o5fpp Query : use flama_phc
20250121@184724.1019 ceqe89632ioun894q7fh0o5fpp Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@184724.1141 ceqe89632ioun894q7fh0o5fpp Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250121@184724.1197 ceqe89632ioun894q7fh0o5fpp Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4828';
20250121@184724.1268 ceqe89632ioun894q7fh0o5fpp Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4828';
20250121@184724.1987 agh99qg9p820l3hqnn250v42hk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@184724.2000 agh99qg9p820l3hqnn250v42hk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@184724.2157 agh99qg9p820l3hqnn250v42hk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4829';
20250121@184724.2336 agh99qg9p820l3hqnn250v42hk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4829';
20250121@184724.2430 agh99qg9p820l3hqnn250v42hk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4829';
20250121@184724.2604 agh99qg9p820l3hqnn250v42hk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4829';
20250121@184724.3018 agh99qg9p820l3hqnn250v42hk Query : use flama_phc
20250121@184724.3052 agh99qg9p820l3hqnn250v42hk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@184724.3264 agh99qg9p820l3hqnn250v42hk Query : use flama_phc
20250121@184724.3268 agh99qg9p820l3hqnn250v42hk Query : select no, estab,szadrsdesc from szadrs where u_coddest=1973
20250121@184724.3430 agh99qg9p820l3hqnn250v42hk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20250121@184724.3636 agh99qg9p820l3hqnn250v42hk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500582 and bi.ref ='324.1834.00.1' and bi.lordem =1
20250121@184724.4256 agh99qg9p820l3hqnn250v42hk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1816.00.1'
20250121@184724.4458 agh99qg9p820l3hqnn250v42hk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500582 and bi.ref ='324.1816.00.1' and bi.lordem =2
20250121@184724.4933 agh99qg9p820l3hqnn250v42hk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1837.00.1'
20250121@184724.5134 agh99qg9p820l3hqnn250v42hk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500582 and bi.ref ='324.1837.00.1' and bi.lordem =3
20250121@184724.5709 agh99qg9p820l3hqnn250v42hk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.497.00.01'
20250121@184724.5957 agh99qg9p820l3hqnn250v42hk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500582 and bi.ref ='324.497.00.01' and bi.lordem =4
20250121@184724.6507 agh99qg9p820l3hqnn250v42hk 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500582 
20250121@184724.6859 agh99qg9p820l3hqnn250v42hk Query : use flama_phc
20250121@184724.6863 agh99qg9p820l3hqnn250v42hk Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@184724.6898 agh99qg9p820l3hqnn250v42hk Query : use flama_phc
20250121@184724.6936 agh99qg9p820l3hqnn250v42hk Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@184724.6955 agh99qg9p820l3hqnn250v42hk Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250121@184724.6979 agh99qg9p820l3hqnn250v42hk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4829';
20250121@184724.7027 agh99qg9p820l3hqnn250v42hk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4829';
20250121@184724.7592 600fd5mfgfns4t7bb151smfhgv Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@184724.7604 600fd5mfgfns4t7bb151smfhgv Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@184724.7681 600fd5mfgfns4t7bb151smfhgv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4830';
20250121@184724.7762 600fd5mfgfns4t7bb151smfhgv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4830';
20250121@184724.7861 600fd5mfgfns4t7bb151smfhgv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4830';
20250121@184724.7912 600fd5mfgfns4t7bb151smfhgv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4830';
20250121@184724.7985 600fd5mfgfns4t7bb151smfhgv Query : use flama_phc
20250121@184724.7989 600fd5mfgfns4t7bb151smfhgv Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@184724.8481 600fd5mfgfns4t7bb151smfhgv Query : use flama_phc
20250121@184724.8485 600fd5mfgfns4t7bb151smfhgv Query : select no, estab,szadrsdesc from szadrs where u_coddest=912
20250121@184724.8586 600fd5mfgfns4t7bb151smfhgv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20250121@184724.8806 600fd5mfgfns4t7bb151smfhgv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500583 and bi.ref ='324.691.00.01' and bi.lordem =1
20250121@184724.9167 600fd5mfgfns4t7bb151smfhgv Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.678.00.01'
20250121@184724.9356 600fd5mfgfns4t7bb151smfhgv Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500583 and bi.ref ='324.678.00.01' and bi.lordem =2
20250121@184725.1860 600fd5mfgfns4t7bb151smfhgv 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500583 
20250121@184725.5150 600fd5mfgfns4t7bb151smfhgv Query : use flama_phc
20250121@184725.5190 600fd5mfgfns4t7bb151smfhgv Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@184725.5510 600fd5mfgfns4t7bb151smfhgv Query : use flama_phc
20250121@184725.5540 600fd5mfgfns4t7bb151smfhgv Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@184725.5710 600fd5mfgfns4t7bb151smfhgv Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250121@184725.5920 600fd5mfgfns4t7bb151smfhgv Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4830';
20250121@184725.6360 600fd5mfgfns4t7bb151smfhgv Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4830';
20250121@184725.2331 22da7tnmgdom7pbvcnbc4a3hr8 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@184725.2342 22da7tnmgdom7pbvcnbc4a3hr8 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@184725.2449 22da7tnmgdom7pbvcnbc4a3hr8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4831';
20250121@184725.2519 22da7tnmgdom7pbvcnbc4a3hr8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4831';
20250121@184725.2593 22da7tnmgdom7pbvcnbc4a3hr8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4831';
20250121@184725.2660 22da7tnmgdom7pbvcnbc4a3hr8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4831';
20250121@184725.2759 22da7tnmgdom7pbvcnbc4a3hr8 Query : use flama_phc
20250121@184725.2764 22da7tnmgdom7pbvcnbc4a3hr8 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@184725.2830 22da7tnmgdom7pbvcnbc4a3hr8 Query : use flama_phc
20250121@184725.2833 22da7tnmgdom7pbvcnbc4a3hr8 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250121@184725.2926 22da7tnmgdom7pbvcnbc4a3hr8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20250121@184725.3070 22da7tnmgdom7pbvcnbc4a3hr8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500584 and bi.ref ='324.1889.00.1' and bi.lordem =1
20250121@184725.3382 22da7tnmgdom7pbvcnbc4a3hr8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20250121@184725.3407 22da7tnmgdom7pbvcnbc4a3hr8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500584 and bi.ref ='324.1889.00.1' and bi.lordem =1
20250121@184725.3424 22da7tnmgdom7pbvcnbc4a3hr8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20250121@184725.3446 22da7tnmgdom7pbvcnbc4a3hr8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500584 and bi.ref ='324.1889.00.1' and bi.lordem =1
20250121@184725.3497 22da7tnmgdom7pbvcnbc4a3hr8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20250121@184725.3519 22da7tnmgdom7pbvcnbc4a3hr8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500584 and bi.ref ='324.1889.00.1' and bi.lordem =1
20250121@184725.3537 22da7tnmgdom7pbvcnbc4a3hr8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20250121@184725.3559 22da7tnmgdom7pbvcnbc4a3hr8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500584 and bi.ref ='324.1889.00.1' and bi.lordem =1
20250121@184725.3577 22da7tnmgdom7pbvcnbc4a3hr8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20250121@184725.3597 22da7tnmgdom7pbvcnbc4a3hr8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500584 and bi.ref ='324.1889.00.1' and bi.lordem =1
20250121@184725.3614 22da7tnmgdom7pbvcnbc4a3hr8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20250121@184725.3638 22da7tnmgdom7pbvcnbc4a3hr8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500584 and bi.ref ='324.1889.00.1' and bi.lordem =2
20250121@184725.3963 22da7tnmgdom7pbvcnbc4a3hr8 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1889.00.1'
20250121@184725.3991 22da7tnmgdom7pbvcnbc4a3hr8 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500584 and bi.ref ='324.1889.00.1' and bi.lordem =2
20250121@184725.4048 22da7tnmgdom7pbvcnbc4a3hr8 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500584 
20250121@184725.4331 22da7tnmgdom7pbvcnbc4a3hr8 Query : use flama_phc
20250121@184725.4334 22da7tnmgdom7pbvcnbc4a3hr8 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@184725.4400 22da7tnmgdom7pbvcnbc4a3hr8 Query : use flama_phc
20250121@184725.4404 22da7tnmgdom7pbvcnbc4a3hr8 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@184725.4421 22da7tnmgdom7pbvcnbc4a3hr8 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250121@184725.4444 22da7tnmgdom7pbvcnbc4a3hr8 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4831';
20250121@184725.4499 22da7tnmgdom7pbvcnbc4a3hr8 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4831';
20250121@184725.5079 d9rupbu12nh5v37g7udf6j766u Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@184725.5091 d9rupbu12nh5v37g7udf6j766u Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@184725.5191 d9rupbu12nh5v37g7udf6j766u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4832';
20250121@184725.5269 d9rupbu12nh5v37g7udf6j766u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4832';
20250121@184725.5344 d9rupbu12nh5v37g7udf6j766u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4832';
20250121@184725.5384 d9rupbu12nh5v37g7udf6j766u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4832';
20250121@184725.5451 d9rupbu12nh5v37g7udf6j766u Query : use flama_phc
20250121@184725.5455 d9rupbu12nh5v37g7udf6j766u Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@184725.5524 d9rupbu12nh5v37g7udf6j766u Query : use flama_phc
20250121@184725.5529 d9rupbu12nh5v37g7udf6j766u Query : select no, estab,szadrsdesc from szadrs where u_coddest=912
20250121@184725.5584 d9rupbu12nh5v37g7udf6j766u Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20250121@184725.5744 d9rupbu12nh5v37g7udf6j766u Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500585 and bi.ref ='324.692.00.01' and bi.lordem =1
20250121@184725.6061 d9rupbu12nh5v37g7udf6j766u 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500585 
20250121@184725.6345 d9rupbu12nh5v37g7udf6j766u Query : use flama_phc
20250121@184725.6349 d9rupbu12nh5v37g7udf6j766u Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@184725.6385 d9rupbu12nh5v37g7udf6j766u Query : use flama_phc
20250121@184725.6389 d9rupbu12nh5v37g7udf6j766u Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@184725.6429 d9rupbu12nh5v37g7udf6j766u Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250121@184725.6455 d9rupbu12nh5v37g7udf6j766u Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4832';
20250121@184725.6503 d9rupbu12nh5v37g7udf6j766u Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4832';
20250121@184725.7055 55i8lohh81o2itesnj8uls3gdk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250121@184725.7069 55i8lohh81o2itesnj8uls3gdk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250121@184725.7192 55i8lohh81o2itesnj8uls3gdk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4833';
20250121@184725.7335 55i8lohh81o2itesnj8uls3gdk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4833';
20250121@184725.7410 55i8lohh81o2itesnj8uls3gdk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4833';
20250121@184725.7461 55i8lohh81o2itesnj8uls3gdk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4833';
20250121@184725.7532 55i8lohh81o2itesnj8uls3gdk Query : use flama_phc
20250121@184725.7536 55i8lohh81o2itesnj8uls3gdk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250121@184725.7635 55i8lohh81o2itesnj8uls3gdk Query : use flama_phc
20250121@184725.7639 55i8lohh81o2itesnj8uls3gdk Query : select no, estab,szadrsdesc from szadrs where u_coddest=170
20250121@184725.7739 55i8lohh81o2itesnj8uls3gdk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20250121@184725.7944 55i8lohh81o2itesnj8uls3gdk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500586 and bi.ref ='324.736.00.01' and bi.lordem =1
20250121@184725.8399 55i8lohh81o2itesnj8uls3gdk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20250121@184725.8515 55i8lohh81o2itesnj8uls3gdk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500586 and bi.ref ='324.736.00.01' and bi.lordem =1
20250121@184725.8579 55i8lohh81o2itesnj8uls3gdk Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.02'
20250121@184725.8792 55i8lohh81o2itesnj8uls3gdk Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500586 and bi.ref ='324.719.00.02' and bi.lordem =3
20250121@184725.9293 55i8lohh81o2itesnj8uls3gdk 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500586 
20250121@184725.9646 55i8lohh81o2itesnj8uls3gdk Query : use flama_phc
20250121@184725.9654 55i8lohh81o2itesnj8uls3gdk Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250121@184725.9770 55i8lohh81o2itesnj8uls3gdk Query : use flama_phc
20250121@184725.9774 55i8lohh81o2itesnj8uls3gdk Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250121@184725.9793 55i8lohh81o2itesnj8uls3gdk Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250121@184725.9815 55i8lohh81o2itesnj8uls3gdk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4833';
20250121@184725.9864 55i8lohh81o2itesnj8uls3gdk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4833';
20250121@191910.1131 qsg74sg7l2ccl43g5rgdss4toe Query : use flama_phc
20250121@191910.1136 qsg74sg7l2ccl43g5rgdss4toe Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@191910.1244 qsg74sg7l2ccl43g5rgdss4toe Query : use flama_phc
20250121@191910.1249 qsg74sg7l2ccl43g5rgdss4toe Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@193610.4576 kj3ocpmpe10nt4acjvijs162ol Query : use flama_phc
20250121@193610.4583 kj3ocpmpe10nt4acjvijs162ol Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@193610.4686 kj3ocpmpe10nt4acjvijs162ol Query : use flama_phc
20250121@193610.4690 kj3ocpmpe10nt4acjvijs162ol Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@201909.8162 a75fm40tc1c9ds54pt7dv5vb3t Query : use flama_phc
20250121@201909.8167 a75fm40tc1c9ds54pt7dv5vb3t Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@201909.8436 a75fm40tc1c9ds54pt7dv5vb3t Query : use flama_phc
20250121@201909.8440 a75fm40tc1c9ds54pt7dv5vb3t Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@203610.1364 64b8e879o5k1l3fikpm63u49ps Query : use flama_phc
20250121@203610.1368 64b8e879o5k1l3fikpm63u49ps Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@203610.1579 64b8e879o5k1l3fikpm63u49ps Query : use flama_phc
20250121@203610.1582 64b8e879o5k1l3fikpm63u49ps Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@211909.4523 70adm776es5srmpg79u4tiao01 Query : use flama_phc
20250121@211909.4529 70adm776es5srmpg79u4tiao01 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@211909.4624 70adm776es5srmpg79u4tiao01 Query : use flama_phc
20250121@211909.4628 70adm776es5srmpg79u4tiao01 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@213609.1956 qrpnfi0g9ftoaagqhm0bg90e0e Query : use flama_phc
20250121@213609.1961 qrpnfi0g9ftoaagqhm0bg90e0e Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@213609.2054 qrpnfi0g9ftoaagqhm0bg90e0e Query : use flama_phc
20250121@213609.2058 qrpnfi0g9ftoaagqhm0bg90e0e Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@221910.7990 i5kjuktcjrtcu03hvbi8lbgrh2 Query : use flama_phc
20250121@221910.7996 i5kjuktcjrtcu03hvbi8lbgrh2 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@221910.8097 i5kjuktcjrtcu03hvbi8lbgrh2 Query : use flama_phc
20250121@221910.8101 i5kjuktcjrtcu03hvbi8lbgrh2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@223610.5451 t1ig0odqlrhvpdir48t8qlhcpk Query : use flama_phc
20250121@223610.5459 t1ig0odqlrhvpdir48t8qlhcpk Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@223610.5555 t1ig0odqlrhvpdir48t8qlhcpk Query : use flama_phc
20250121@223610.5559 t1ig0odqlrhvpdir48t8qlhcpk Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@231911.6050 2gnvcbsq8g531sdvj540arfmq4 Query : use flama_phc
20250121@231911.6055 2gnvcbsq8g531sdvj540arfmq4 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@231911.6146 2gnvcbsq8g531sdvj540arfmq4 Query : use flama_phc
20250121@231911.6149 2gnvcbsq8g531sdvj540arfmq4 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250121@233611.9065 b25b49hr0bf75rr7utlrfih07h Query : use flama_phc
20250121@233611.9072 b25b49hr0bf75rr7utlrfih07h Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250121@233611.9165 b25b49hr0bf75rr7utlrfih07h Query : use flama_phc
20250121@233611.9168 b25b49hr0bf75rr7utlrfih07h Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@071910.5897 ofd2htj242ep1obbok0ic7fsnn Query : use flama_phc
20250122@071910.5903 ofd2htj242ep1obbok0ic7fsnn Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@071910.6053 ofd2htj242ep1obbok0ic7fsnn Query : use flama_phc
20250122@071910.6057 ofd2htj242ep1obbok0ic7fsnn Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@073600.6505 10tnor1n34p8j74efi5m47s7db Query : use flama_phc
20250122@073600.6510 10tnor1n34p8j74efi5m47s7db Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@073600.6606 10tnor1n34p8j74efi5m47s7db Query : use flama_phc
20250122@073600.6611 10tnor1n34p8j74efi5m47s7db Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@081911.3249 tk0l69d28npcvsr4p8ul8o2iil Query : use flama_phc
20250122@081911.3254 tk0l69d28npcvsr4p8ul8o2iil Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@081911.3352 tk0l69d28npcvsr4p8ul8o2iil Query : use flama_phc
20250122@081911.3357 tk0l69d28npcvsr4p8ul8o2iil Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@083611.6320 hn0opfgsvubocbbl829vtrjpeo Query : use flama_phc
20250122@083611.6370 hn0opfgsvubocbbl829vtrjpeo Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@083611.7270 hn0opfgsvubocbbl829vtrjpeo Query : use flama_phc
20250122@083611.7300 hn0opfgsvubocbbl829vtrjpeo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@091911.5721 kq4hvmsbvqsh7fv9lc0nedjkdo Query : use flama_phc
20250122@091911.5767 kq4hvmsbvqsh7fv9lc0nedjkdo Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@091911.6316 kq4hvmsbvqsh7fv9lc0nedjkdo Query : use flama_phc
20250122@091911.6321 kq4hvmsbvqsh7fv9lc0nedjkdo Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@093611.2300 1mva8sh0p4jjhh6ftmoobfed05 Query : use flama_phc
20250122@093611.2350 1mva8sh0p4jjhh6ftmoobfed05 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@093611.3390 1mva8sh0p4jjhh6ftmoobfed05 Query : use flama_phc
20250122@093611.3430 1mva8sh0p4jjhh6ftmoobfed05 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@101917.7418 vk0pe7r85p2gke4s6csib92e4o Query : use flama_phc
20250122@101917.7422 vk0pe7r85p2gke4s6csib92e4o Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@101917.7515 vk0pe7r85p2gke4s6csib92e4o Query : use flama_phc
20250122@101917.7520 vk0pe7r85p2gke4s6csib92e4o Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@103617.7314 vjseibt7r9bqkjc6d4cft0bvpb Query : use flama_phc
20250122@103617.7318 vjseibt7r9bqkjc6d4cft0bvpb Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@103617.7421 vjseibt7r9bqkjc6d4cft0bvpb Query : use flama_phc
20250122@103617.7425 vjseibt7r9bqkjc6d4cft0bvpb Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@105523.2416 iuh5kejmo8h9bmd4pv0ot7bl7p Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@105523.2447 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@105523.2791 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4834';
20250122@105523.2878 iuh5kejmo8h9bmd4pv0ot7bl7p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4834';
20250122@105523.2960 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4834';
20250122@105523.3000 iuh5kejmo8h9bmd4pv0ot7bl7p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4834';
20250122@105523.3066 iuh5kejmo8h9bmd4pv0ot7bl7p Query : use flama_phc
20250122@105523.3069 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@105523.3178 iuh5kejmo8h9bmd4pv0ot7bl7p Query : use flama_phc
20250122@105523.3183 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@105523.3320 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@105523.3662 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@105523.4011 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@105523.4035 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@105523.4060 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@105523.4083 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@105523.4105 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@105523.4133 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@105523.4157 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@105523.4179 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@105523.4202 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@105523.4224 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@105523.4246 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@105523.4268 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@105523.4293 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20250122@105523.4515 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1646.00.1' and bi.lordem =40000
20250122@105523.4879 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8770000-4 ' 
20250122@105523.5217 iuh5kejmo8h9bmd4pv0ot7bl7p 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 ,sum(qtt) over (partition by bi.ref) qtt_total from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 119 and bo.boano = 2025 and bo.obrano = 0000348 
20250122@105523.5503 iuh5kejmo8h9bmd4pv0ot7bl7p Query : use flama_phc
20250122@105523.5507 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250122@105523.5681 iuh5kejmo8h9bmd4pv0ot7bl7p Query : use flama_phc
20250122@105523.5685 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select top 1 1 valor from td where td.ndoc = 39
20250122@105523.5765 iuh5kejmo8h9bmd4pv0ot7bl7p Query : use flama_phc
20250122@105523.5769 iuh5kejmo8h9bmd4pv0ot7bl7p 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')
20250122@105523.5854 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250122@105523.5977 iuh5kejmo8h9bmd4pv0ot7bl7p Query : use flama_phc
20250122@105523.5980 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@105523.6070 iuh5kejmo8h9bmd4pv0ot7bl7p Query : use flama_phc
20250122@105523.6076 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -230
20250122@105523.6171 iuh5kejmo8h9bmd4pv0ot7bl7p Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-230,?,'ft',?,?)
20250122@105523.6276 iuh5kejmo8h9bmd4pv0ot7bl7p Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4834';
20250122@105523.6343 iuh5kejmo8h9bmd4pv0ot7bl7p Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4834';
20250122@111912.8977 lba2naq3m4eha71gdclpvvh007 Query : use flama_phc
20250122@111912.8981 lba2naq3m4eha71gdclpvvh007 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@111912.9081 lba2naq3m4eha71gdclpvvh007 Query : use flama_phc
20250122@111912.9084 lba2naq3m4eha71gdclpvvh007 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@113612.7127 ee8stp4nt7e6uql6urcc0e0ebp Query : use flama_phc
20250122@113612.7132 ee8stp4nt7e6uql6urcc0e0ebp Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@113612.7248 ee8stp4nt7e6uql6urcc0e0ebp Query : use flama_phc
20250122@113612.7251 ee8stp4nt7e6uql6urcc0e0ebp Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@121914.4935 ec1eeh88p7b5ooaehg3ode7tsh Query : use flama_phc
20250122@121914.4941 ec1eeh88p7b5ooaehg3ode7tsh Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@121914.5038 ec1eeh88p7b5ooaehg3ode7tsh Query : use flama_phc
20250122@121914.5042 ec1eeh88p7b5ooaehg3ode7tsh Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@123614.4525 vk4596ru1rrt9674nl4a2r3trl Query : use flama_phc
20250122@123614.4531 vk4596ru1rrt9674nl4a2r3trl Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@123614.4632 vk4596ru1rrt9674nl4a2r3trl Query : use flama_phc
20250122@123614.4636 vk4596ru1rrt9674nl4a2r3trl Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@131912.1753 0vsa4j5cjmc42hqmd3tdrk19cm Query : use flama_phc
20250122@131912.1758 0vsa4j5cjmc42hqmd3tdrk19cm Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@131912.1948 0vsa4j5cjmc42hqmd3tdrk19cm Query : use flama_phc
20250122@131912.1954 0vsa4j5cjmc42hqmd3tdrk19cm Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@133612.1522 sve37320h9lrnpvgmq8dmq27qj Query : use flama_phc
20250122@133612.1527 sve37320h9lrnpvgmq8dmq27qj Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@133612.1627 sve37320h9lrnpvgmq8dmq27qj Query : use flama_phc
20250122@133612.1630 sve37320h9lrnpvgmq8dmq27qj Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@140424.9577 66u18bautudikccgiju6igvke3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@140424.9604 66u18bautudikccgiju6igvke3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@140424.9971 66u18bautudikccgiju6igvke3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4835';
20250122@140425.2090 66u18bautudikccgiju6igvke3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4835';
20250122@140425.3830 66u18bautudikccgiju6igvke3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4835';
20250122@140425.4580 66u18bautudikccgiju6igvke3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4835';
20250122@140425.6670 66u18bautudikccgiju6igvke3 Query : use flama_phc
20250122@140425.6740 66u18bautudikccgiju6igvke3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@140425.8840 66u18bautudikccgiju6igvke3 Query : use flama_phc
20250122@140425.9410 66u18bautudikccgiju6igvke3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2138
20250122@140425.1088 66u18bautudikccgiju6igvke3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.02'
20250122@140425.1254 66u18bautudikccgiju6igvke3 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500622 
20250122@140425.1537 66u18bautudikccgiju6igvke3 Query : use flama_phc
20250122@140425.1555 66u18bautudikccgiju6igvke3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@140425.1644 66u18bautudikccgiju6igvke3 Query : use flama_phc
20250122@140425.1659 66u18bautudikccgiju6igvke3 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@140425.2115 66u18bautudikccgiju6igvke3 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@140425.2341 66u18bautudikccgiju6igvke3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4835';
20250122@140425.2468 66u18bautudikccgiju6igvke3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4835';
20250122@141911.5315 2qqecjcc5ch1dbua16hg745o48 Query : use flama_phc
20250122@141911.5320 2qqecjcc5ch1dbua16hg745o48 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@141911.5416 2qqecjcc5ch1dbua16hg745o48 Query : use flama_phc
20250122@141911.5420 2qqecjcc5ch1dbua16hg745o48 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@141929.8960 ich3j1iteunqc6cv99phn7ia19 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141929.9070 ich3j1iteunqc6cv99phn7ia19 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141929.9920 ich3j1iteunqc6cv99phn7ia19 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4836';
20250122@141929.1060 ich3j1iteunqc6cv99phn7ia19 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4836';
20250122@141929.1131 ich3j1iteunqc6cv99phn7ia19 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4836';
20250122@141929.1166 ich3j1iteunqc6cv99phn7ia19 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4836';
20250122@141929.1253 ich3j1iteunqc6cv99phn7ia19 Query : use flama_phc
20250122@141929.1256 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141929.1317 ich3j1iteunqc6cv99phn7ia19 Query : use flama_phc
20250122@141929.1320 ich3j1iteunqc6cv99phn7ia19 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2759
20250122@141929.1408 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20250122@141929.1540 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500589 and bi.ref ='324.691.00.01' and bi.lordem =1
20250122@141929.1877 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20250122@141929.2021 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500589 and bi.ref ='324.692.00.01' and bi.lordem =2
20250122@141929.2534 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.692.00.01'
20250122@141929.2556 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500589 and bi.ref ='324.692.00.01' and bi.lordem =3
20250122@141929.2887 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1675.3015'
20250122@141929.3010 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500589 and bi.ref ='325.1675.3015' and bi.lordem =4
20250122@141929.3321 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20250122@141929.3439 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500589 and bi.ref ='324.1879.00.1' and bi.lordem =5
20250122@141929.3754 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1879.00.1'
20250122@141929.3773 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500589 and bi.ref ='324.1879.00.1' and bi.lordem =5
20250122@141929.3791 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20250122@141929.3909 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500589 and bi.ref ='324.736.00.01' and bi.lordem =6
20250122@141929.4210 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1716.00.1'
20250122@141929.4348 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500589 and bi.ref ='324.1716.00.1' and bi.lordem =7
20250122@141929.4652 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20250122@141929.4798 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500589 and bi.ref ='324.2907.00.1' and bi.lordem =8
20250122@141929.5210 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.421.00.04'
20250122@141929.5328 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500589 and bi.ref ='304.421.00.04' and bi.lordem =9
20250122@141929.5636 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.691.00.01'
20250122@141929.5656 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500589 and bi.ref ='324.691.00.01' and bi.lordem =10
20250122@141929.5959 ich3j1iteunqc6cv99phn7ia19 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500589 
20250122@141929.6226 ich3j1iteunqc6cv99phn7ia19 Query : use flama_phc
20250122@141929.6229 ich3j1iteunqc6cv99phn7ia19 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141929.6266 ich3j1iteunqc6cv99phn7ia19 Query : use flama_phc
20250122@141929.6269 ich3j1iteunqc6cv99phn7ia19 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141929.6285 ich3j1iteunqc6cv99phn7ia19 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141929.6306 ich3j1iteunqc6cv99phn7ia19 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4836';
20250122@141929.6351 ich3j1iteunqc6cv99phn7ia19 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4836';
20250122@141929.6992 itg6d112shni668v4vgu7eciuj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141929.7003 itg6d112shni668v4vgu7eciuj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141929.7075 itg6d112shni668v4vgu7eciuj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4837';
20250122@141929.7142 itg6d112shni668v4vgu7eciuj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4837';
20250122@141929.7211 itg6d112shni668v4vgu7eciuj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4837';
20250122@141929.7247 itg6d112shni668v4vgu7eciuj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4837';
20250122@141929.7311 itg6d112shni668v4vgu7eciuj Query : use flama_phc
20250122@141929.7314 itg6d112shni668v4vgu7eciuj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141929.7396 itg6d112shni668v4vgu7eciuj Query : use flama_phc
20250122@141929.7400 itg6d112shni668v4vgu7eciuj Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250122@141929.7487 itg6d112shni668v4vgu7eciuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20250122@141929.7623 itg6d112shni668v4vgu7eciuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500593 and bi.ref ='324.4910.00.1' and bi.lordem =1
20250122@141929.7931 itg6d112shni668v4vgu7eciuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20250122@141929.7954 itg6d112shni668v4vgu7eciuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500593 and bi.ref ='324.4910.00.1' and bi.lordem =1
20250122@141929.7970 itg6d112shni668v4vgu7eciuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20250122@141929.7989 itg6d112shni668v4vgu7eciuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500593 and bi.ref ='324.4910.00.1' and bi.lordem =1
20250122@141929.8005 itg6d112shni668v4vgu7eciuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20250122@141929.8026 itg6d112shni668v4vgu7eciuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500593 and bi.ref ='324.4910.00.1' and bi.lordem =1
20250122@141929.8043 itg6d112shni668v4vgu7eciuj Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4910.00.1'
20250122@141929.8062 itg6d112shni668v4vgu7eciuj Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500593 and bi.ref ='324.4910.00.1' and bi.lordem =1
20250122@141929.8078 itg6d112shni668v4vgu7eciuj 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500593 
20250122@141929.8332 itg6d112shni668v4vgu7eciuj Query : use flama_phc
20250122@141929.8336 itg6d112shni668v4vgu7eciuj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141929.8370 itg6d112shni668v4vgu7eciuj Query : use flama_phc
20250122@141929.8374 itg6d112shni668v4vgu7eciuj Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141929.8417 itg6d112shni668v4vgu7eciuj Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141929.8440 itg6d112shni668v4vgu7eciuj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4837';
20250122@141929.8513 itg6d112shni668v4vgu7eciuj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4837';
20250122@141929.9113 0658blhs10lu04ck9mq8u39aol Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141929.9126 0658blhs10lu04ck9mq8u39aol Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141929.9209 0658blhs10lu04ck9mq8u39aol Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4838';
20250122@141929.9280 0658blhs10lu04ck9mq8u39aol Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4838';
20250122@141929.9345 0658blhs10lu04ck9mq8u39aol Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4838';
20250122@141929.9381 0658blhs10lu04ck9mq8u39aol Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4838';
20250122@141929.9442 0658blhs10lu04ck9mq8u39aol Query : use flama_phc
20250122@141929.9445 0658blhs10lu04ck9mq8u39aol Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141929.9516 0658blhs10lu04ck9mq8u39aol Query : use flama_phc
20250122@141929.9519 0658blhs10lu04ck9mq8u39aol Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250122@141929.9569 0658blhs10lu04ck9mq8u39aol Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20250122@141929.9593 0658blhs10lu04ck9mq8u39aol Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500594 and bi.ref ='324.2907.00.1' and bi.lordem =1
20250122@141929.9903 0658blhs10lu04ck9mq8u39aol Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2907.00.1'
20250122@141929.9927 0658blhs10lu04ck9mq8u39aol Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500594 and bi.ref ='324.2907.00.1' and bi.lordem =1
20250122@141929.9947 0658blhs10lu04ck9mq8u39aol 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500594 
20250122@141930.2090 0658blhs10lu04ck9mq8u39aol Query : use flama_phc
20250122@141930.2130 0658blhs10lu04ck9mq8u39aol Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141930.2450 0658blhs10lu04ck9mq8u39aol Query : use flama_phc
20250122@141930.2480 0658blhs10lu04ck9mq8u39aol Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141930.2670 0658blhs10lu04ck9mq8u39aol Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141930.2910 0658blhs10lu04ck9mq8u39aol Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4838';
20250122@141930.3390 0658blhs10lu04ck9mq8u39aol Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4838';
20250122@141930.2209 g7on7st0oipmlr838eqaae0dbn Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141930.2220 g7on7st0oipmlr838eqaae0dbn Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141930.2297 g7on7st0oipmlr838eqaae0dbn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4839';
20250122@141930.2372 g7on7st0oipmlr838eqaae0dbn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4839';
20250122@141930.2448 g7on7st0oipmlr838eqaae0dbn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4839';
20250122@141930.2487 g7on7st0oipmlr838eqaae0dbn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4839';
20250122@141930.2563 g7on7st0oipmlr838eqaae0dbn Query : use flama_phc
20250122@141930.2567 g7on7st0oipmlr838eqaae0dbn Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141930.2636 g7on7st0oipmlr838eqaae0dbn Query : use flama_phc
20250122@141930.2639 g7on7st0oipmlr838eqaae0dbn Query : select no, estab,szadrsdesc from szadrs where u_coddest=6737
20250122@141930.2729 g7on7st0oipmlr838eqaae0dbn Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '328.9006.00.1'
20250122@141930.2861 g7on7st0oipmlr838eqaae0dbn Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500596 and bi.ref ='328.9006.00.1' and bi.lordem =1
20250122@141930.3182 g7on7st0oipmlr838eqaae0dbn 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500596 
20250122@141930.3471 g7on7st0oipmlr838eqaae0dbn Query : use flama_phc
20250122@141930.3476 g7on7st0oipmlr838eqaae0dbn Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141930.3531 g7on7st0oipmlr838eqaae0dbn Query : use flama_phc
20250122@141930.3540 g7on7st0oipmlr838eqaae0dbn Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141930.3585 g7on7st0oipmlr838eqaae0dbn Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141930.3693 g7on7st0oipmlr838eqaae0dbn Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4839';
20250122@141930.3897 g7on7st0oipmlr838eqaae0dbn Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4839';
20250122@141930.4500 9uv85s5hn35lvmbb44u38i223k Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141930.4512 9uv85s5hn35lvmbb44u38i223k Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141930.4590 9uv85s5hn35lvmbb44u38i223k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4840';
20250122@141930.4655 9uv85s5hn35lvmbb44u38i223k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4840';
20250122@141930.4727 9uv85s5hn35lvmbb44u38i223k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4840';
20250122@141930.4771 9uv85s5hn35lvmbb44u38i223k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4840';
20250122@141930.4833 9uv85s5hn35lvmbb44u38i223k Query : use flama_phc
20250122@141930.4837 9uv85s5hn35lvmbb44u38i223k Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141930.4910 9uv85s5hn35lvmbb44u38i223k Query : use flama_phc
20250122@141930.4913 9uv85s5hn35lvmbb44u38i223k Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250122@141930.4962 9uv85s5hn35lvmbb44u38i223k Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.2357.00.1'
20250122@141930.5095 9uv85s5hn35lvmbb44u38i223k Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500597 and bi.ref ='324.2357.00.1' and bi.lordem =1
20250122@141930.5395 9uv85s5hn35lvmbb44u38i223k 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500597 
20250122@141930.5645 9uv85s5hn35lvmbb44u38i223k Query : use flama_phc
20250122@141930.5649 9uv85s5hn35lvmbb44u38i223k Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141930.5685 9uv85s5hn35lvmbb44u38i223k Query : use flama_phc
20250122@141930.5688 9uv85s5hn35lvmbb44u38i223k Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141930.5707 9uv85s5hn35lvmbb44u38i223k Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141930.5739 9uv85s5hn35lvmbb44u38i223k Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4840';
20250122@141930.5786 9uv85s5hn35lvmbb44u38i223k Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4840';
20250122@141930.6351 rgfta3crpgcj645klghej7j7t7 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141930.6362 rgfta3crpgcj645klghej7j7t7 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141930.6443 rgfta3crpgcj645klghej7j7t7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4841';
20250122@141930.6519 rgfta3crpgcj645klghej7j7t7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4841';
20250122@141930.6591 rgfta3crpgcj645klghej7j7t7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4841';
20250122@141930.6631 rgfta3crpgcj645klghej7j7t7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4841';
20250122@141930.6709 rgfta3crpgcj645klghej7j7t7 Query : use flama_phc
20250122@141930.6713 rgfta3crpgcj645klghej7j7t7 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141930.6786 rgfta3crpgcj645klghej7j7t7 Query : use flama_phc
20250122@141930.6790 rgfta3crpgcj645klghej7j7t7 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1334
20250122@141930.6983 rgfta3crpgcj645klghej7j7t7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '323.367.09.00'
20250122@141930.7121 rgfta3crpgcj645klghej7j7t7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500598 and bi.ref ='323.367.09.00' and bi.lordem =1
20250122@141930.7441 rgfta3crpgcj645klghej7j7t7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1862.00.1'
20250122@141930.7576 rgfta3crpgcj645klghej7j7t7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500598 and bi.ref ='324.1862.00.1' and bi.lordem =2
20250122@141930.7896 rgfta3crpgcj645klghej7j7t7 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.5500.00.1'
20250122@141930.8024 rgfta3crpgcj645klghej7j7t7 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500598 and bi.ref ='324.5500.00.1' and bi.lordem =3
20250122@141930.8347 rgfta3crpgcj645klghej7j7t7 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500598 
20250122@141930.8602 rgfta3crpgcj645klghej7j7t7 Query : use flama_phc
20250122@141930.8606 rgfta3crpgcj645klghej7j7t7 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141930.8644 rgfta3crpgcj645klghej7j7t7 Query : use flama_phc
20250122@141930.8648 rgfta3crpgcj645klghej7j7t7 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141930.8666 rgfta3crpgcj645klghej7j7t7 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141930.8690 rgfta3crpgcj645klghej7j7t7 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4841';
20250122@141930.8743 rgfta3crpgcj645klghej7j7t7 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4841';
20250122@141930.9474 2kvodoqob68gr6k2o1lnruu8ev Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141930.9485 2kvodoqob68gr6k2o1lnruu8ev Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141930.9564 2kvodoqob68gr6k2o1lnruu8ev Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4842';
20250122@141930.9640 2kvodoqob68gr6k2o1lnruu8ev Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4842';
20250122@141930.9712 2kvodoqob68gr6k2o1lnruu8ev Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4842';
20250122@141930.9758 2kvodoqob68gr6k2o1lnruu8ev Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4842';
20250122@141930.9827 2kvodoqob68gr6k2o1lnruu8ev Query : use flama_phc
20250122@141930.9833 2kvodoqob68gr6k2o1lnruu8ev Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141930.9905 2kvodoqob68gr6k2o1lnruu8ev Query : use flama_phc
20250122@141930.9908 2kvodoqob68gr6k2o1lnruu8ev Query : select no, estab,szadrsdesc from szadrs where u_coddest=410
20250122@141931.3000 2kvodoqob68gr6k2o1lnruu8ev Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@141931.1460 2kvodoqob68gr6k2o1lnruu8ev Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500599 and bi.ref ='324.1824.00.1' and bi.lordem =1
20250122@141931.5050 2kvodoqob68gr6k2o1lnruu8ev Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@141931.5260 2kvodoqob68gr6k2o1lnruu8ev Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2005 and bo.obrano = 2500599 and bi.ref ='324.1824.00.1' and bi.lordem =2
20250122@141931.8540 2kvodoqob68gr6k2o1lnruu8ev 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2005 and bo.obrano = 2500599 
20250122@141931.1104 2kvodoqob68gr6k2o1lnruu8ev Query : use flama_phc
20250122@141931.1107 2kvodoqob68gr6k2o1lnruu8ev Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141931.1145 2kvodoqob68gr6k2o1lnruu8ev Query : use flama_phc
20250122@141931.1149 2kvodoqob68gr6k2o1lnruu8ev Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141931.1166 2kvodoqob68gr6k2o1lnruu8ev Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141931.1187 2kvodoqob68gr6k2o1lnruu8ev Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4842';
20250122@141931.1230 2kvodoqob68gr6k2o1lnruu8ev Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4842';
20250122@141931.3005 trosdink5ukoao3jnml4a76t0m Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141931.3015 trosdink5ukoao3jnml4a76t0m Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141931.3094 trosdink5ukoao3jnml4a76t0m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4843';
20250122@141931.3155 trosdink5ukoao3jnml4a76t0m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4843';
20250122@141931.3221 trosdink5ukoao3jnml4a76t0m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4843';
20250122@141931.3255 trosdink5ukoao3jnml4a76t0m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4843';
20250122@141931.3320 trosdink5ukoao3jnml4a76t0m Query : use flama_phc
20250122@141931.3323 trosdink5ukoao3jnml4a76t0m Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141931.3389 trosdink5ukoao3jnml4a76t0m Query : use flama_phc
20250122@141931.3392 trosdink5ukoao3jnml4a76t0m Query : select no, estab,szadrsdesc from szadrs where u_coddest=9128
20250122@141931.3484 trosdink5ukoao3jnml4a76t0m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.02'
20250122@141931.3509 trosdink5ukoao3jnml4a76t0m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500600 and bi.ref ='324.719.00.02' and bi.lordem =1
20250122@141931.3845 trosdink5ukoao3jnml4a76t0m 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500600 
20250122@141931.4165 trosdink5ukoao3jnml4a76t0m Query : use flama_phc
20250122@141931.4169 trosdink5ukoao3jnml4a76t0m Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141931.4209 trosdink5ukoao3jnml4a76t0m Query : use flama_phc
20250122@141931.4213 trosdink5ukoao3jnml4a76t0m Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141931.4234 trosdink5ukoao3jnml4a76t0m Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141931.4263 trosdink5ukoao3jnml4a76t0m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4843';
20250122@141931.4326 trosdink5ukoao3jnml4a76t0m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4843';
20250122@141931.4918 sbklmsph224k1cdqkslh419c9a Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141931.4928 sbklmsph224k1cdqkslh419c9a Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141931.5002 sbklmsph224k1cdqkslh419c9a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4844';
20250122@141931.5070 sbklmsph224k1cdqkslh419c9a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4844';
20250122@141931.5136 sbklmsph224k1cdqkslh419c9a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4844';
20250122@141931.5180 sbklmsph224k1cdqkslh419c9a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4844';
20250122@141931.5255 sbklmsph224k1cdqkslh419c9a Query : use flama_phc
20250122@141931.5259 sbklmsph224k1cdqkslh419c9a Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141931.5326 sbklmsph224k1cdqkslh419c9a Query : use flama_phc
20250122@141931.5329 sbklmsph224k1cdqkslh419c9a Query : select no, estab,szadrsdesc from szadrs where u_coddest=1260
20250122@141931.5433 sbklmsph224k1cdqkslh419c9a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@141931.5455 sbklmsph224k1cdqkslh419c9a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500601 and bi.ref ='324.1824.00.1' and bi.lordem =1
20250122@141931.5806 sbklmsph224k1cdqkslh419c9a Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1834.00.1'
20250122@141931.5934 sbklmsph224k1cdqkslh419c9a Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500601 and bi.ref ='324.1834.00.1' and bi.lordem =2
20250122@141931.6266 sbklmsph224k1cdqkslh419c9a 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500601 
20250122@141931.6531 sbklmsph224k1cdqkslh419c9a Query : use flama_phc
20250122@141931.6534 sbklmsph224k1cdqkslh419c9a Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141931.6568 sbklmsph224k1cdqkslh419c9a Query : use flama_phc
20250122@141931.6583 sbklmsph224k1cdqkslh419c9a Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141931.6604 sbklmsph224k1cdqkslh419c9a Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141931.6626 sbklmsph224k1cdqkslh419c9a Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4844';
20250122@141931.6674 sbklmsph224k1cdqkslh419c9a Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4844';
20250122@141931.7339 auclnketg7ln6pje1475acopb0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141931.7350 auclnketg7ln6pje1475acopb0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141931.7424 auclnketg7ln6pje1475acopb0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4845';
20250122@141931.7492 auclnketg7ln6pje1475acopb0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4845';
20250122@141931.7562 auclnketg7ln6pje1475acopb0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4845';
20250122@141931.7813 auclnketg7ln6pje1475acopb0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4845';
20250122@141931.7883 auclnketg7ln6pje1475acopb0 Query : use flama_phc
20250122@141931.7888 auclnketg7ln6pje1475acopb0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141931.7952 auclnketg7ln6pje1475acopb0 Query : use flama_phc
20250122@141931.7955 auclnketg7ln6pje1475acopb0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=812
20250122@141931.8034 auclnketg7ln6pje1475acopb0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.02'
20250122@141931.8054 auclnketg7ln6pje1475acopb0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500602 and bi.ref ='324.719.00.02' and bi.lordem =1
20250122@141931.8558 auclnketg7ln6pje1475acopb0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20250122@141931.8684 auclnketg7ln6pje1475acopb0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500602 and bi.ref ='324.1462.00.1' and bi.lordem =2
20250122@141931.8984 auclnketg7ln6pje1475acopb0 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500602 
20250122@141931.9231 auclnketg7ln6pje1475acopb0 Query : use flama_phc
20250122@141931.9235 auclnketg7ln6pje1475acopb0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141931.9266 auclnketg7ln6pje1475acopb0 Query : use flama_phc
20250122@141931.9269 auclnketg7ln6pje1475acopb0 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141931.9286 auclnketg7ln6pje1475acopb0 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141931.9309 auclnketg7ln6pje1475acopb0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4845';
20250122@141931.9355 auclnketg7ln6pje1475acopb0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4845';
20250122@141931.9945 62d73kiiam6r42qtvq4m8m6d5m Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141931.9956 62d73kiiam6r42qtvq4m8m6d5m Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141932.3100 62d73kiiam6r42qtvq4m8m6d5m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4846';
20250122@141932.9900 62d73kiiam6r42qtvq4m8m6d5m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4846';
20250122@141932.1720 62d73kiiam6r42qtvq4m8m6d5m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4846';
20250122@141932.2090 62d73kiiam6r42qtvq4m8m6d5m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4846';
20250122@141932.2830 62d73kiiam6r42qtvq4m8m6d5m Query : use flama_phc
20250122@141932.2860 62d73kiiam6r42qtvq4m8m6d5m Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141932.3520 62d73kiiam6r42qtvq4m8m6d5m Query : use flama_phc
20250122@141932.3550 62d73kiiam6r42qtvq4m8m6d5m Query : select no, estab,szadrsdesc from szadrs where u_coddest=1453
20250122@141932.4490 62d73kiiam6r42qtvq4m8m6d5m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.02'
20250122@141932.4690 62d73kiiam6r42qtvq4m8m6d5m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500604 and bi.ref ='324.719.00.02' and bi.lordem =1
20250122@141932.7830 62d73kiiam6r42qtvq4m8m6d5m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.02'
20250122@141932.8220 62d73kiiam6r42qtvq4m8m6d5m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500604 and bi.ref ='324.719.00.02' and bi.lordem =1
20250122@141932.8610 62d73kiiam6r42qtvq4m8m6d5m Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20250122@141932.8810 62d73kiiam6r42qtvq4m8m6d5m Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500604 and bi.ref ='324.1462.00.1' and bi.lordem =2
20250122@141932.1184 62d73kiiam6r42qtvq4m8m6d5m 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500604 
20250122@141932.1429 62d73kiiam6r42qtvq4m8m6d5m Query : use flama_phc
20250122@141932.1433 62d73kiiam6r42qtvq4m8m6d5m Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141932.1463 62d73kiiam6r42qtvq4m8m6d5m Query : use flama_phc
20250122@141932.1466 62d73kiiam6r42qtvq4m8m6d5m Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141932.1482 62d73kiiam6r42qtvq4m8m6d5m Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141932.1503 62d73kiiam6r42qtvq4m8m6d5m Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4846';
20250122@141932.1549 62d73kiiam6r42qtvq4m8m6d5m Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4846';
20250122@141932.2216 j0r7d1u7367fac5p6ahli5svmt Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141932.2227 j0r7d1u7367fac5p6ahli5svmt Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141932.2297 j0r7d1u7367fac5p6ahli5svmt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4847';
20250122@141932.2356 j0r7d1u7367fac5p6ahli5svmt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4847';
20250122@141932.2425 j0r7d1u7367fac5p6ahli5svmt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4847';
20250122@141932.2464 j0r7d1u7367fac5p6ahli5svmt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4847';
20250122@141932.2538 j0r7d1u7367fac5p6ahli5svmt Query : use flama_phc
20250122@141932.2541 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141932.2601 j0r7d1u7367fac5p6ahli5svmt Query : use flama_phc
20250122@141932.2604 j0r7d1u7367fac5p6ahli5svmt Query : select no, estab,szadrsdesc from szadrs where u_coddest=8748
20250122@141932.2687 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1416.00.1'
20250122@141932.2813 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500605 and bi.ref ='324.1416.00.1' and bi.lordem =1
20250122@141932.3121 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4743.00.1'
20250122@141932.3237 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500605 and bi.ref ='324.4743.00.1' and bi.lordem =2
20250122@141932.3539 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4320.00.1'
20250122@141932.3662 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500605 and bi.ref ='304.4320.00.1' and bi.lordem =3
20250122@141932.3957 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4751.00.1'
20250122@141932.4076 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500605 and bi.ref ='324.4751.00.1' and bi.lordem =4
20250122@141932.4392 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4990.00.1'
20250122@141932.4534 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500605 and bi.ref ='324.4990.00.1' and bi.lordem =5
20250122@141932.4887 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4964.00.1'
20250122@141932.5009 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500605 and bi.ref ='324.4964.00.1' and bi.lordem =6
20250122@141932.5312 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.727.00.01'
20250122@141932.5448 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500605 and bi.ref ='324.727.00.01' and bi.lordem =7
20250122@141932.6023 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4961.00.1'
20250122@141932.6176 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500605 and bi.ref ='324.4961.00.1' and bi.lordem =8
20250122@141932.6483 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1417.00.1'
20250122@141932.6619 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500605 and bi.ref ='324.1417.00.1' and bi.lordem =9
20250122@141932.7164 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.4960.00.1'
20250122@141932.7353 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500605 and bi.ref ='324.4960.00.1' and bi.lordem =10
20250122@141932.7658 j0r7d1u7367fac5p6ahli5svmt 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500605 
20250122@141932.7897 j0r7d1u7367fac5p6ahli5svmt Query : use flama_phc
20250122@141932.7900 j0r7d1u7367fac5p6ahli5svmt Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141932.7930 j0r7d1u7367fac5p6ahli5svmt Query : use flama_phc
20250122@141932.7933 j0r7d1u7367fac5p6ahli5svmt Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141932.7949 j0r7d1u7367fac5p6ahli5svmt Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141932.7971 j0r7d1u7367fac5p6ahli5svmt Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4847';
20250122@141932.8019 j0r7d1u7367fac5p6ahli5svmt Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4847';
20250122@141932.8747 3ero9mlfpacvk3skmo9tggov49 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141932.8757 3ero9mlfpacvk3skmo9tggov49 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141932.8828 3ero9mlfpacvk3skmo9tggov49 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4848';
20250122@141932.8892 3ero9mlfpacvk3skmo9tggov49 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4848';
20250122@141932.8958 3ero9mlfpacvk3skmo9tggov49 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4848';
20250122@141932.9000 3ero9mlfpacvk3skmo9tggov49 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4848';
20250122@141932.9064 3ero9mlfpacvk3skmo9tggov49 Query : use flama_phc
20250122@141932.9067 3ero9mlfpacvk3skmo9tggov49 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141932.9125 3ero9mlfpacvk3skmo9tggov49 Query : use flama_phc
20250122@141932.9129 3ero9mlfpacvk3skmo9tggov49 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6600
20250122@141932.9209 3ero9mlfpacvk3skmo9tggov49 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.02'
20250122@141932.9228 3ero9mlfpacvk3skmo9tggov49 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500606 and bi.ref ='324.719.00.02' and bi.lordem =1
20250122@141932.9517 3ero9mlfpacvk3skmo9tggov49 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20250122@141932.9538 3ero9mlfpacvk3skmo9tggov49 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500606 and bi.ref ='324.1462.00.1' and bi.lordem =2
20250122@141933.6800 3ero9mlfpacvk3skmo9tggov49 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500606 
20250122@141933.5150 3ero9mlfpacvk3skmo9tggov49 Query : use flama_phc
20250122@141933.5180 3ero9mlfpacvk3skmo9tggov49 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141933.5470 3ero9mlfpacvk3skmo9tggov49 Query : use flama_phc
20250122@141933.5500 3ero9mlfpacvk3skmo9tggov49 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141933.5660 3ero9mlfpacvk3skmo9tggov49 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141933.5860 3ero9mlfpacvk3skmo9tggov49 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4848';
20250122@141933.6300 3ero9mlfpacvk3skmo9tggov49 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4848';
20250122@141933.1169 j73j8ic88gu2u32ehbdbl2cl6v Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141933.1179 j73j8ic88gu2u32ehbdbl2cl6v Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141933.1249 j73j8ic88gu2u32ehbdbl2cl6v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4849';
20250122@141933.1310 j73j8ic88gu2u32ehbdbl2cl6v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4849';
20250122@141933.1374 j73j8ic88gu2u32ehbdbl2cl6v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4849';
20250122@141933.1410 j73j8ic88gu2u32ehbdbl2cl6v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4849';
20250122@141933.1476 j73j8ic88gu2u32ehbdbl2cl6v Query : use flama_phc
20250122@141933.1479 j73j8ic88gu2u32ehbdbl2cl6v Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141933.1537 j73j8ic88gu2u32ehbdbl2cl6v Query : use flama_phc
20250122@141933.1540 j73j8ic88gu2u32ehbdbl2cl6v Query : select no, estab,szadrsdesc from szadrs where u_coddest=351
20250122@141933.1626 j73j8ic88gu2u32ehbdbl2cl6v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20250122@141933.1645 j73j8ic88gu2u32ehbdbl2cl6v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500607 and bi.ref ='324.736.00.01' and bi.lordem =1
20250122@141933.3078 j73j8ic88gu2u32ehbdbl2cl6v Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '304.4861.00.2'
20250122@141933.3200 j73j8ic88gu2u32ehbdbl2cl6v Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500607 and bi.ref ='304.4861.00.2' and bi.lordem =2
20250122@141933.3500 j73j8ic88gu2u32ehbdbl2cl6v 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500607 
20250122@141933.3740 j73j8ic88gu2u32ehbdbl2cl6v Query : use flama_phc
20250122@141933.3743 j73j8ic88gu2u32ehbdbl2cl6v Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141933.3771 j73j8ic88gu2u32ehbdbl2cl6v Query : use flama_phc
20250122@141933.3774 j73j8ic88gu2u32ehbdbl2cl6v Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141933.3791 j73j8ic88gu2u32ehbdbl2cl6v Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141933.3817 j73j8ic88gu2u32ehbdbl2cl6v Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4849';
20250122@141933.3859 j73j8ic88gu2u32ehbdbl2cl6v Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4849';
20250122@141933.4389 qu147dcj9crolq1tllaigql4l3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141933.4401 qu147dcj9crolq1tllaigql4l3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141933.4472 qu147dcj9crolq1tllaigql4l3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4850';
20250122@141933.4538 qu147dcj9crolq1tllaigql4l3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4850';
20250122@141933.4602 qu147dcj9crolq1tllaigql4l3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4850';
20250122@141933.4639 qu147dcj9crolq1tllaigql4l3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4850';
20250122@141933.4742 qu147dcj9crolq1tllaigql4l3 Query : use flama_phc
20250122@141933.4745 qu147dcj9crolq1tllaigql4l3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141933.4807 qu147dcj9crolq1tllaigql4l3 Query : use flama_phc
20250122@141933.4810 qu147dcj9crolq1tllaigql4l3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=909
20250122@141933.4894 qu147dcj9crolq1tllaigql4l3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.02'
20250122@141933.4918 qu147dcj9crolq1tllaigql4l3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500608 and bi.ref ='324.719.00.02' and bi.lordem =1
20250122@141933.5232 qu147dcj9crolq1tllaigql4l3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20250122@141933.5251 qu147dcj9crolq1tllaigql4l3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500608 and bi.ref ='324.1462.00.1' and bi.lordem =2
20250122@141933.5772 qu147dcj9crolq1tllaigql4l3 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20250122@141933.5794 qu147dcj9crolq1tllaigql4l3 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500608 and bi.ref ='324.1462.00.1' and bi.lordem =2
20250122@141933.5811 qu147dcj9crolq1tllaigql4l3 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500608 
20250122@141933.6073 qu147dcj9crolq1tllaigql4l3 Query : use flama_phc
20250122@141933.6077 qu147dcj9crolq1tllaigql4l3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141933.6109 qu147dcj9crolq1tllaigql4l3 Query : use flama_phc
20250122@141933.6112 qu147dcj9crolq1tllaigql4l3 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141933.6131 qu147dcj9crolq1tllaigql4l3 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141933.6152 qu147dcj9crolq1tllaigql4l3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4850';
20250122@141933.6197 qu147dcj9crolq1tllaigql4l3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4850';
20250122@141933.6928 hokd4kfs9htgrh5gf2m6rjcaul Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141933.6940 hokd4kfs9htgrh5gf2m6rjcaul Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141933.7022 hokd4kfs9htgrh5gf2m6rjcaul Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4851';
20250122@141933.7086 hokd4kfs9htgrh5gf2m6rjcaul Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4851';
20250122@141933.7149 hokd4kfs9htgrh5gf2m6rjcaul Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4851';
20250122@141933.7183 hokd4kfs9htgrh5gf2m6rjcaul Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4851';
20250122@141933.7248 hokd4kfs9htgrh5gf2m6rjcaul Query : use flama_phc
20250122@141933.7251 hokd4kfs9htgrh5gf2m6rjcaul Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141933.7319 hokd4kfs9htgrh5gf2m6rjcaul Query : use flama_phc
20250122@141933.7322 hokd4kfs9htgrh5gf2m6rjcaul Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250122@141933.7369 hokd4kfs9htgrh5gf2m6rjcaul Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20250122@141933.7392 hokd4kfs9htgrh5gf2m6rjcaul Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500609 and bi.ref ='324.736.00.01' and bi.lordem =1
20250122@141933.7705 hokd4kfs9htgrh5gf2m6rjcaul Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20250122@141933.7725 hokd4kfs9htgrh5gf2m6rjcaul Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500609 and bi.ref ='324.736.00.01' and bi.lordem =1
20250122@141933.7743 hokd4kfs9htgrh5gf2m6rjcaul Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20250122@141933.7762 hokd4kfs9htgrh5gf2m6rjcaul Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500609 and bi.ref ='324.736.00.01' and bi.lordem =1
20250122@141933.7778 hokd4kfs9htgrh5gf2m6rjcaul 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500609 
20250122@141933.8066 hokd4kfs9htgrh5gf2m6rjcaul Query : use flama_phc
20250122@141933.8069 hokd4kfs9htgrh5gf2m6rjcaul Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141933.8100 hokd4kfs9htgrh5gf2m6rjcaul Query : use flama_phc
20250122@141933.8103 hokd4kfs9htgrh5gf2m6rjcaul Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141933.8119 hokd4kfs9htgrh5gf2m6rjcaul Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141933.8139 hokd4kfs9htgrh5gf2m6rjcaul Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4851';
20250122@141933.8187 hokd4kfs9htgrh5gf2m6rjcaul Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4851';
20250122@141933.8772 deevudp8u7e9llmcggl1t84vrq Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141933.8783 deevudp8u7e9llmcggl1t84vrq Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141933.8864 deevudp8u7e9llmcggl1t84vrq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4852';
20250122@141933.8930 deevudp8u7e9llmcggl1t84vrq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4852';
20250122@141933.8997 deevudp8u7e9llmcggl1t84vrq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4852';
20250122@141933.9037 deevudp8u7e9llmcggl1t84vrq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4852';
20250122@141933.9107 deevudp8u7e9llmcggl1t84vrq Query : use flama_phc
20250122@141933.9110 deevudp8u7e9llmcggl1t84vrq Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141933.9177 deevudp8u7e9llmcggl1t84vrq Query : use flama_phc
20250122@141933.9180 deevudp8u7e9llmcggl1t84vrq Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250122@141933.9224 deevudp8u7e9llmcggl1t84vrq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20250122@141933.9245 deevudp8u7e9llmcggl1t84vrq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500610 and bi.ref ='324.736.00.01' and bi.lordem =1
20250122@141933.9546 deevudp8u7e9llmcggl1t84vrq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20250122@141933.9566 deevudp8u7e9llmcggl1t84vrq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500610 and bi.ref ='324.736.00.01' and bi.lordem =1
20250122@141933.9582 deevudp8u7e9llmcggl1t84vrq Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20250122@141933.9602 deevudp8u7e9llmcggl1t84vrq Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500610 and bi.ref ='324.736.00.01' and bi.lordem =1
20250122@141933.9620 deevudp8u7e9llmcggl1t84vrq 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500610 
20250122@141933.9893 deevudp8u7e9llmcggl1t84vrq Query : use flama_phc
20250122@141933.9896 deevudp8u7e9llmcggl1t84vrq Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141933.9926 deevudp8u7e9llmcggl1t84vrq Query : use flama_phc
20250122@141933.9929 deevudp8u7e9llmcggl1t84vrq Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141933.9945 deevudp8u7e9llmcggl1t84vrq Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141933.9966 deevudp8u7e9llmcggl1t84vrq Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4852';
20250122@141934.1100 deevudp8u7e9llmcggl1t84vrq Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4852';
20250122@141934.5260 83e9ht1diic4b107653qd56q92 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141934.5360 83e9ht1diic4b107653qd56q92 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141934.6180 83e9ht1diic4b107653qd56q92 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4853';
20250122@141934.7020 83e9ht1diic4b107653qd56q92 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4853';
20250122@141934.7660 83e9ht1diic4b107653qd56q92 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4853';
20250122@141934.8120 83e9ht1diic4b107653qd56q92 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4853';
20250122@141934.8780 83e9ht1diic4b107653qd56q92 Query : use flama_phc
20250122@141934.8810 83e9ht1diic4b107653qd56q92 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141934.9460 83e9ht1diic4b107653qd56q92 Query : use flama_phc
20250122@141934.9490 83e9ht1diic4b107653qd56q92 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4740
20250122@141934.1012 83e9ht1diic4b107653qd56q92 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20250122@141934.1040 83e9ht1diic4b107653qd56q92 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500611 and bi.ref ='324.736.00.01' and bi.lordem =1
20250122@141934.1426 83e9ht1diic4b107653qd56q92 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20250122@141934.1446 83e9ht1diic4b107653qd56q92 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500611 and bi.ref ='324.736.00.01' and bi.lordem =1
20250122@141934.1462 83e9ht1diic4b107653qd56q92 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20250122@141934.1480 83e9ht1diic4b107653qd56q92 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500611 and bi.ref ='324.736.00.01' and bi.lordem =1
20250122@141934.1497 83e9ht1diic4b107653qd56q92 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.736.00.01'
20250122@141934.1515 83e9ht1diic4b107653qd56q92 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500611 and bi.ref ='324.736.00.01' and bi.lordem =1
20250122@141934.1531 83e9ht1diic4b107653qd56q92 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500611 
20250122@141934.1777 83e9ht1diic4b107653qd56q92 Query : use flama_phc
20250122@141934.1779 83e9ht1diic4b107653qd56q92 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141934.1809 83e9ht1diic4b107653qd56q92 Query : use flama_phc
20250122@141934.1812 83e9ht1diic4b107653qd56q92 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141934.1828 83e9ht1diic4b107653qd56q92 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141934.1849 83e9ht1diic4b107653qd56q92 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4853';
20250122@141934.1894 83e9ht1diic4b107653qd56q92 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4853';
20250122@141934.2532 l9ib8sa1uehj2nf64sa2m568qd Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141934.2543 l9ib8sa1uehj2nf64sa2m568qd Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141934.2615 l9ib8sa1uehj2nf64sa2m568qd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4854';
20250122@141934.2690 l9ib8sa1uehj2nf64sa2m568qd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4854';
20250122@141934.2758 l9ib8sa1uehj2nf64sa2m568qd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4854';
20250122@141934.2804 l9ib8sa1uehj2nf64sa2m568qd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4854';
20250122@141934.2873 l9ib8sa1uehj2nf64sa2m568qd Query : use flama_phc
20250122@141934.2876 l9ib8sa1uehj2nf64sa2m568qd Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141934.2935 l9ib8sa1uehj2nf64sa2m568qd Query : use flama_phc
20250122@141934.2939 l9ib8sa1uehj2nf64sa2m568qd Query : select no, estab,szadrsdesc from szadrs where u_coddest=8301
20250122@141934.3026 l9ib8sa1uehj2nf64sa2m568qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.02'
20250122@141934.3047 l9ib8sa1uehj2nf64sa2m568qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500612 and bi.ref ='324.719.00.02' and bi.lordem =1
20250122@141934.3362 l9ib8sa1uehj2nf64sa2m568qd Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20250122@141934.3381 l9ib8sa1uehj2nf64sa2m568qd Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500612 and bi.ref ='324.1462.00.1' and bi.lordem =2
20250122@141934.4624 l9ib8sa1uehj2nf64sa2m568qd 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500612 
20250122@141934.4870 l9ib8sa1uehj2nf64sa2m568qd Query : use flama_phc
20250122@141934.4873 l9ib8sa1uehj2nf64sa2m568qd Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141934.4905 l9ib8sa1uehj2nf64sa2m568qd Query : use flama_phc
20250122@141934.4908 l9ib8sa1uehj2nf64sa2m568qd Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141934.4930 l9ib8sa1uehj2nf64sa2m568qd Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141934.4957 l9ib8sa1uehj2nf64sa2m568qd Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4854';
20250122@141934.5003 l9ib8sa1uehj2nf64sa2m568qd Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4854';
20250122@141934.5590 anq49av56vsknku0689j4q71a0 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141934.5602 anq49av56vsknku0689j4q71a0 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141934.5675 anq49av56vsknku0689j4q71a0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4855';
20250122@141934.5738 anq49av56vsknku0689j4q71a0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4855';
20250122@141934.5801 anq49av56vsknku0689j4q71a0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4855';
20250122@141934.5840 anq49av56vsknku0689j4q71a0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4855';
20250122@141934.5898 anq49av56vsknku0689j4q71a0 Query : use flama_phc
20250122@141934.5901 anq49av56vsknku0689j4q71a0 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141934.5960 anq49av56vsknku0689j4q71a0 Query : use flama_phc
20250122@141934.5963 anq49av56vsknku0689j4q71a0 Query : select no, estab,szadrsdesc from szadrs where u_coddest=2288
20250122@141934.6057 anq49av56vsknku0689j4q71a0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.658.00.01'
20250122@141934.6195 anq49av56vsknku0689j4q71a0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500613 and bi.ref ='324.658.00.01' and bi.lordem =1
20250122@141934.6497 anq49av56vsknku0689j4q71a0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.938.00.01'
20250122@141934.6626 anq49av56vsknku0689j4q71a0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500613 and bi.ref ='324.938.00.01' and bi.lordem =2
20250122@141934.6946 anq49av56vsknku0689j4q71a0 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.02'
20250122@141934.6967 anq49av56vsknku0689j4q71a0 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500613 and bi.ref ='324.719.00.02' and bi.lordem =3
20250122@141934.7259 anq49av56vsknku0689j4q71a0 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500613 
20250122@141934.7497 anq49av56vsknku0689j4q71a0 Query : use flama_phc
20250122@141934.7500 anq49av56vsknku0689j4q71a0 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141934.7530 anq49av56vsknku0689j4q71a0 Query : use flama_phc
20250122@141934.7533 anq49av56vsknku0689j4q71a0 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141934.7550 anq49av56vsknku0689j4q71a0 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141934.7573 anq49av56vsknku0689j4q71a0 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4855';
20250122@141934.7620 anq49av56vsknku0689j4q71a0 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4855';
20250122@141934.9045 6cogfck7bjv4cepe38f2uq6oll Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141934.9056 6cogfck7bjv4cepe38f2uq6oll Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141934.9126 6cogfck7bjv4cepe38f2uq6oll Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4856';
20250122@141934.9199 6cogfck7bjv4cepe38f2uq6oll Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4856';
20250122@141934.9272 6cogfck7bjv4cepe38f2uq6oll Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4856';
20250122@141934.9317 6cogfck7bjv4cepe38f2uq6oll Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4856';
20250122@141934.9395 6cogfck7bjv4cepe38f2uq6oll Query : use flama_phc
20250122@141934.9399 6cogfck7bjv4cepe38f2uq6oll Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141934.9471 6cogfck7bjv4cepe38f2uq6oll Query : use flama_phc
20250122@141934.9476 6cogfck7bjv4cepe38f2uq6oll Query : select no, estab,szadrsdesc from szadrs where u_coddest=634
20250122@141934.9563 6cogfck7bjv4cepe38f2uq6oll Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.02'
20250122@141934.9586 6cogfck7bjv4cepe38f2uq6oll Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500614 and bi.ref ='324.719.00.02' and bi.lordem =1
20250122@141934.9928 6cogfck7bjv4cepe38f2uq6oll Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20250122@141934.9952 6cogfck7bjv4cepe38f2uq6oll Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500614 and bi.ref ='324.1462.00.1' and bi.lordem =2
20250122@141935.2550 6cogfck7bjv4cepe38f2uq6oll 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500614 
20250122@141935.5040 6cogfck7bjv4cepe38f2uq6oll Query : use flama_phc
20250122@141935.5070 6cogfck7bjv4cepe38f2uq6oll Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141935.5410 6cogfck7bjv4cepe38f2uq6oll Query : use flama_phc
20250122@141935.5450 6cogfck7bjv4cepe38f2uq6oll Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141935.1322 6cogfck7bjv4cepe38f2uq6oll Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141935.1735 6cogfck7bjv4cepe38f2uq6oll Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4856';
20250122@141935.1785 6cogfck7bjv4cepe38f2uq6oll Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4856';
20250122@141935.2383 6uadb7fcm27fn44mk07giar90h Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141935.2395 6uadb7fcm27fn44mk07giar90h Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141935.2483 6uadb7fcm27fn44mk07giar90h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4857';
20250122@141935.2552 6uadb7fcm27fn44mk07giar90h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4857';
20250122@141935.2633 6uadb7fcm27fn44mk07giar90h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4857';
20250122@141935.2672 6uadb7fcm27fn44mk07giar90h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4857';
20250122@141935.2735 6uadb7fcm27fn44mk07giar90h Query : use flama_phc
20250122@141935.2739 6uadb7fcm27fn44mk07giar90h Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141935.2805 6uadb7fcm27fn44mk07giar90h Query : use flama_phc
20250122@141935.2809 6uadb7fcm27fn44mk07giar90h Query : select no, estab,szadrsdesc from szadrs where u_coddest=8548
20250122@141935.2907 6uadb7fcm27fn44mk07giar90h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.02'
20250122@141935.2939 6uadb7fcm27fn44mk07giar90h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500615 and bi.ref ='324.719.00.02' and bi.lordem =1
20250122@141935.3280 6uadb7fcm27fn44mk07giar90h Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20250122@141935.3302 6uadb7fcm27fn44mk07giar90h Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500615 and bi.ref ='324.1462.00.1' and bi.lordem =2
20250122@141935.3600 6uadb7fcm27fn44mk07giar90h 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500615 
20250122@141935.4408 6uadb7fcm27fn44mk07giar90h Query : use flama_phc
20250122@141935.4411 6uadb7fcm27fn44mk07giar90h Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141935.4453 6uadb7fcm27fn44mk07giar90h Query : use flama_phc
20250122@141935.4457 6uadb7fcm27fn44mk07giar90h Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141935.4474 6uadb7fcm27fn44mk07giar90h Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141935.4496 6uadb7fcm27fn44mk07giar90h Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4857';
20250122@141935.4553 6uadb7fcm27fn44mk07giar90h Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4857';
20250122@141935.5086 oljcva9g8th3pfudl29nep6r40 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141935.5097 oljcva9g8th3pfudl29nep6r40 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141935.5177 oljcva9g8th3pfudl29nep6r40 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4858';
20250122@141935.5247 oljcva9g8th3pfudl29nep6r40 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4858';
20250122@141935.5316 oljcva9g8th3pfudl29nep6r40 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4858';
20250122@141935.5360 oljcva9g8th3pfudl29nep6r40 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4858';
20250122@141935.5424 oljcva9g8th3pfudl29nep6r40 Query : use flama_phc
20250122@141935.5428 oljcva9g8th3pfudl29nep6r40 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141935.5491 oljcva9g8th3pfudl29nep6r40 Query : use flama_phc
20250122@141935.5495 oljcva9g8th3pfudl29nep6r40 Query : select no, estab,szadrsdesc from szadrs where u_coddest=6855
20250122@141935.5586 oljcva9g8th3pfudl29nep6r40 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.02'
20250122@141935.5608 oljcva9g8th3pfudl29nep6r40 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500616 and bi.ref ='324.719.00.02' and bi.lordem =1
20250122@141935.7062 oljcva9g8th3pfudl29nep6r40 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20250122@141935.7088 oljcva9g8th3pfudl29nep6r40 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500616 and bi.ref ='324.1462.00.1' and bi.lordem =2
20250122@141935.7429 oljcva9g8th3pfudl29nep6r40 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500616 
20250122@141935.7690 oljcva9g8th3pfudl29nep6r40 Query : use flama_phc
20250122@141935.7694 oljcva9g8th3pfudl29nep6r40 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141935.7728 oljcva9g8th3pfudl29nep6r40 Query : use flama_phc
20250122@141935.7733 oljcva9g8th3pfudl29nep6r40 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141935.7752 oljcva9g8th3pfudl29nep6r40 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141935.7775 oljcva9g8th3pfudl29nep6r40 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4858';
20250122@141935.7824 oljcva9g8th3pfudl29nep6r40 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4858';
20250122@141935.8392 mk5ar8br16bvt79m91mrpm53ak Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141935.8405 mk5ar8br16bvt79m91mrpm53ak Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141935.9120 mk5ar8br16bvt79m91mrpm53ak Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4859';
20250122@141935.9197 mk5ar8br16bvt79m91mrpm53ak Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4859';
20250122@141935.9266 mk5ar8br16bvt79m91mrpm53ak Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4859';
20250122@141935.9305 mk5ar8br16bvt79m91mrpm53ak Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4859';
20250122@141935.9376 mk5ar8br16bvt79m91mrpm53ak Query : use flama_phc
20250122@141935.9418 mk5ar8br16bvt79m91mrpm53ak Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141935.9527 mk5ar8br16bvt79m91mrpm53ak Query : use flama_phc
20250122@141935.9531 mk5ar8br16bvt79m91mrpm53ak Query : select no, estab,szadrsdesc from szadrs where u_coddest=886
20250122@141935.9619 mk5ar8br16bvt79m91mrpm53ak Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.02'
20250122@141935.9645 mk5ar8br16bvt79m91mrpm53ak Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500617 and bi.ref ='324.719.00.02' and bi.lordem =1
20250122@141935.9973 mk5ar8br16bvt79m91mrpm53ak Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20250122@141935.9996 mk5ar8br16bvt79m91mrpm53ak Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500617 and bi.ref ='324.1462.00.1' and bi.lordem =2
20250122@141936.3160 mk5ar8br16bvt79m91mrpm53ak 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500617 
20250122@141936.5890 mk5ar8br16bvt79m91mrpm53ak Query : use flama_phc
20250122@141936.5930 mk5ar8br16bvt79m91mrpm53ak Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141936.6260 mk5ar8br16bvt79m91mrpm53ak Query : use flama_phc
20250122@141936.6290 mk5ar8br16bvt79m91mrpm53ak Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141936.6490 mk5ar8br16bvt79m91mrpm53ak Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141936.6710 mk5ar8br16bvt79m91mrpm53ak Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4859';
20250122@141936.7220 mk5ar8br16bvt79m91mrpm53ak Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4859';
20250122@141936.1264 dcsmdr1ils5rjnueaojhp5an2l Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141936.1275 dcsmdr1ils5rjnueaojhp5an2l Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141936.1357 dcsmdr1ils5rjnueaojhp5an2l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4860';
20250122@141936.1424 dcsmdr1ils5rjnueaojhp5an2l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4860';
20250122@141936.1506 dcsmdr1ils5rjnueaojhp5an2l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4860';
20250122@141936.1552 dcsmdr1ils5rjnueaojhp5an2l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4860';
20250122@141936.1619 dcsmdr1ils5rjnueaojhp5an2l Query : use flama_phc
20250122@141936.1624 dcsmdr1ils5rjnueaojhp5an2l Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141936.1697 dcsmdr1ils5rjnueaojhp5an2l Query : use flama_phc
20250122@141936.1700 dcsmdr1ils5rjnueaojhp5an2l Query : select no, estab,szadrsdesc from szadrs where u_coddest=1474
20250122@141936.1788 dcsmdr1ils5rjnueaojhp5an2l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.02'
20250122@141936.1825 dcsmdr1ils5rjnueaojhp5an2l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500618 and bi.ref ='324.719.00.02' and bi.lordem =1
20250122@141936.2152 dcsmdr1ils5rjnueaojhp5an2l Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20250122@141936.2176 dcsmdr1ils5rjnueaojhp5an2l Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500618 and bi.ref ='324.1462.00.1' and bi.lordem =2
20250122@141936.2477 dcsmdr1ils5rjnueaojhp5an2l 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500618 
20250122@141936.2752 dcsmdr1ils5rjnueaojhp5an2l Query : use flama_phc
20250122@141936.2756 dcsmdr1ils5rjnueaojhp5an2l Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141936.2792 dcsmdr1ils5rjnueaojhp5an2l Query : use flama_phc
20250122@141936.2796 dcsmdr1ils5rjnueaojhp5an2l Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141936.2814 dcsmdr1ils5rjnueaojhp5an2l Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141936.2838 dcsmdr1ils5rjnueaojhp5an2l Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4860';
20250122@141936.2894 dcsmdr1ils5rjnueaojhp5an2l Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4860';
20250122@141936.3839 c507osk9va3v1r3ntmevkqj046 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141936.3852 c507osk9va3v1r3ntmevkqj046 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141936.3927 c507osk9va3v1r3ntmevkqj046 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4861';
20250122@141936.4002 c507osk9va3v1r3ntmevkqj046 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4861';
20250122@141936.4074 c507osk9va3v1r3ntmevkqj046 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4861';
20250122@141936.4122 c507osk9va3v1r3ntmevkqj046 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4861';
20250122@141936.4194 c507osk9va3v1r3ntmevkqj046 Query : use flama_phc
20250122@141936.4197 c507osk9va3v1r3ntmevkqj046 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141936.4264 c507osk9va3v1r3ntmevkqj046 Query : use flama_phc
20250122@141936.4268 c507osk9va3v1r3ntmevkqj046 Query : select no, estab,szadrsdesc from szadrs where u_coddest=9128
20250122@141936.4319 c507osk9va3v1r3ntmevkqj046 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.02'
20250122@141936.4340 c507osk9va3v1r3ntmevkqj046 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500619 and bi.ref ='324.719.00.02' and bi.lordem =1
20250122@141936.4663 c507osk9va3v1r3ntmevkqj046 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '325.1670.3015'
20250122@141936.4789 c507osk9va3v1r3ntmevkqj046 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500619 and bi.ref ='325.1670.3015' and bi.lordem =2
20250122@141936.5106 c507osk9va3v1r3ntmevkqj046 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500619 
20250122@141936.6696 c507osk9va3v1r3ntmevkqj046 Query : use flama_phc
20250122@141936.6700 c507osk9va3v1r3ntmevkqj046 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141936.6736 c507osk9va3v1r3ntmevkqj046 Query : use flama_phc
20250122@141936.6740 c507osk9va3v1r3ntmevkqj046 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141936.6760 c507osk9va3v1r3ntmevkqj046 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141936.6782 c507osk9va3v1r3ntmevkqj046 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4861';
20250122@141936.6832 c507osk9va3v1r3ntmevkqj046 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4861';
20250122@141936.7497 emlsj6neamn7m17ffhpi9779q2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141936.7509 emlsj6neamn7m17ffhpi9779q2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141936.7593 emlsj6neamn7m17ffhpi9779q2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4862';
20250122@141936.7665 emlsj6neamn7m17ffhpi9779q2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4862';
20250122@141936.7733 emlsj6neamn7m17ffhpi9779q2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4862';
20250122@141936.7772 emlsj6neamn7m17ffhpi9779q2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4862';
20250122@141936.7873 emlsj6neamn7m17ffhpi9779q2 Query : use flama_phc
20250122@141936.7877 emlsj6neamn7m17ffhpi9779q2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141936.7947 emlsj6neamn7m17ffhpi9779q2 Query : use flama_phc
20250122@141936.7951 emlsj6neamn7m17ffhpi9779q2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1328
20250122@141936.8064 emlsj6neamn7m17ffhpi9779q2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.02'
20250122@141936.8087 emlsj6neamn7m17ffhpi9779q2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500621 and bi.ref ='324.719.00.02' and bi.lordem =1
20250122@141936.8410 emlsj6neamn7m17ffhpi9779q2 Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20250122@141936.8546 emlsj6neamn7m17ffhpi9779q2 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500621 and bi.ref ='324.1462.00.1' and bi.lordem =2
20250122@141936.9269 emlsj6neamn7m17ffhpi9779q2 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500621 
20250122@141936.9538 emlsj6neamn7m17ffhpi9779q2 Query : use flama_phc
20250122@141936.9542 emlsj6neamn7m17ffhpi9779q2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141936.9575 emlsj6neamn7m17ffhpi9779q2 Query : use flama_phc
20250122@141936.9579 emlsj6neamn7m17ffhpi9779q2 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141936.9597 emlsj6neamn7m17ffhpi9779q2 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141936.9620 emlsj6neamn7m17ffhpi9779q2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4862';
20250122@141936.9668 emlsj6neamn7m17ffhpi9779q2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4862';
20250122@141937.3650 kj0mo2m6e8eqqt148st06mdobh Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@141937.3780 kj0mo2m6e8eqqt148st06mdobh Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@141937.4550 kj0mo2m6e8eqqt148st06mdobh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4863';
20250122@141937.5200 kj0mo2m6e8eqqt148st06mdobh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4863';
20250122@141937.1813 kj0mo2m6e8eqqt148st06mdobh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4863';
20250122@141937.1864 kj0mo2m6e8eqqt148st06mdobh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4863';
20250122@141937.1949 kj0mo2m6e8eqqt148st06mdobh Query : use flama_phc
20250122@141937.1953 kj0mo2m6e8eqqt148st06mdobh Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@141937.2020 kj0mo2m6e8eqqt148st06mdobh Query : use flama_phc
20250122@141937.2023 kj0mo2m6e8eqqt148st06mdobh Query : select no, estab,szadrsdesc from szadrs where u_coddest=2374
20250122@141937.2123 kj0mo2m6e8eqqt148st06mdobh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.719.00.02'
20250122@141937.2147 kj0mo2m6e8eqqt148st06mdobh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500623 and bi.ref ='324.719.00.02' and bi.lordem =1
20250122@141937.2472 kj0mo2m6e8eqqt148st06mdobh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20250122@141937.2494 kj0mo2m6e8eqqt148st06mdobh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500623 and bi.ref ='324.1462.00.1' and bi.lordem =2
20250122@141937.2808 kj0mo2m6e8eqqt148st06mdobh Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1462.00.1'
20250122@141937.2829 kj0mo2m6e8eqqt148st06mdobh Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =250 and bo.boano =2006 and bo.obrano = 2500623 and bi.ref ='324.1462.00.1' and bi.lordem =2
20250122@141937.2855 kj0mo2m6e8eqqt148st06mdobh 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500623 
20250122@141937.3205 kj0mo2m6e8eqqt148st06mdobh Query : use flama_phc
20250122@141937.3208 kj0mo2m6e8eqqt148st06mdobh Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@141937.3258 kj0mo2m6e8eqqt148st06mdobh Query : use flama_phc
20250122@141937.3262 kj0mo2m6e8eqqt148st06mdobh Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@141937.3279 kj0mo2m6e8eqqt148st06mdobh Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@141937.3302 kj0mo2m6e8eqqt148st06mdobh Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4863';
20250122@141937.3350 kj0mo2m6e8eqqt148st06mdobh Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4863';
20250122@143611.4112 mt7uoun27mup2lacfddfp23857 Query : use flama_phc
20250122@143611.4117 mt7uoun27mup2lacfddfp23857 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@143611.4206 mt7uoun27mup2lacfddfp23857 Query : use flama_phc
20250122@143611.4210 mt7uoun27mup2lacfddfp23857 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@151912.4647 2dmj8ehh3jbja5oltdpk3pbvee Query : use flama_phc
20250122@151912.4652 2dmj8ehh3jbja5oltdpk3pbvee Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@151912.4786 2dmj8ehh3jbja5oltdpk3pbvee Query : use flama_phc
20250122@151912.4789 2dmj8ehh3jbja5oltdpk3pbvee Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@153612.3862 1316lotdpg1108eugupfl7hs2n Query : use flama_phc
20250122@153612.3867 1316lotdpg1108eugupfl7hs2n Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@153612.3964 1316lotdpg1108eugupfl7hs2n Query : use flama_phc
20250122@153612.3969 1316lotdpg1108eugupfl7hs2n Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@161119.6269 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@161119.6304 gtrmp8fkd4iqiu91aklb6chr4e Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@161119.6404 gtrmp8fkd4iqiu91aklb6chr4e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4864';
20250122@161119.6488 gtrmp8fkd4iqiu91aklb6chr4e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4864';
20250122@161119.6565 gtrmp8fkd4iqiu91aklb6chr4e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4864';
20250122@161119.6605 gtrmp8fkd4iqiu91aklb6chr4e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4864';
20250122@161119.6698 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161119.6702 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@161119.6763 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161119.6768 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@161119.6792 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@161119.7390 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@161119.7748 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@161119.7774 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@161119.7800 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@161119.7857 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@161119.7882 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@161119.7914 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@161119.7937 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@161119.7987 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@161119.8013 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@161119.8035 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@161119.8056 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@161119.8081 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@161119.8103 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20250122@161119.8257 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1646.00.1' and bi.lordem =40000
20250122@161119.8604 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8770000-4 ' 
20250122@161119.8952 gtrmp8fkd4iqiu91aklb6chr4e 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 ,sum(qtt) over (partition by bi.ref) qtt_total from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 119 and bo.boano = 2025 and bo.obrano = 0000348 
20250122@161119.9214 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161119.9218 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250122@161119.9393 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161119.9397 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 1 valor from td where td.ndoc = 39
20250122@161119.9475 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161119.9478 gtrmp8fkd4iqiu91aklb6chr4e 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')
20250122@161119.9564 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250122@161119.9689 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161119.9693 gtrmp8fkd4iqiu91aklb6chr4e Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@161119.9730 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161119.9735 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -230
20250122@161119.9805 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-230,?,'ft',?,?)
20250122@161119.9908 gtrmp8fkd4iqiu91aklb6chr4e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4864';
20250122@161119.9958 gtrmp8fkd4iqiu91aklb6chr4e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4864';
20250122@161321.1766 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@161321.1780 gtrmp8fkd4iqiu91aklb6chr4e Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@161321.1863 gtrmp8fkd4iqiu91aklb6chr4e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4865';
20250122@161321.1994 gtrmp8fkd4iqiu91aklb6chr4e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4865';
20250122@161321.2226 gtrmp8fkd4iqiu91aklb6chr4e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4865';
20250122@161321.2400 gtrmp8fkd4iqiu91aklb6chr4e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4865';
20250122@161321.2479 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161321.2483 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@161321.2543 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161321.2546 gtrmp8fkd4iqiu91aklb6chr4e Query : select no, estab,szadrsdesc from szadrs where u_coddest=2209
20250122@161321.2639 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@161321.2662 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@161321.2685 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@161321.2707 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@161321.2729 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@161321.2752 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@161321.2775 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@161321.2798 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@161321.2820 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@161321.2843 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@161321.2865 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@161321.2888 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@161321.2910 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@161321.2932 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@161321.2956 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@161321.2979 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20250122@161321.3000 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1646.00.1' and bi.lordem =40000
20250122@161321.3024 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8770000-4 ' 
20250122@161321.3047 gtrmp8fkd4iqiu91aklb6chr4e 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 ,sum(qtt) over (partition by bi.ref) qtt_total from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 119 and bo.boano = 2025 and bo.obrano = 0000348 
20250122@161321.3106 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161321.3109 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250122@161321.3145 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161321.3149 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 1 valor from td where td.ndoc = 39
20250122@161321.3182 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161321.3185 gtrmp8fkd4iqiu91aklb6chr4e 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')
20250122@161321.3214 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250122@161321.3252 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161321.3276 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161321.3279 gtrmp8fkd4iqiu91aklb6chr4e Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@161321.3324 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161321.3327 gtrmp8fkd4iqiu91aklb6chr4e Query : select szadrsstamp valor from szadrs where szadrsdesc='flama s.a. - sede'
20250122@161321.3359 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161321.3362 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -230
20250122@161321.3383 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-230,?,'ft',?,?)
20250122@161321.3448 gtrmp8fkd4iqiu91aklb6chr4e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4865';
20250122@161321.3497 gtrmp8fkd4iqiu91aklb6chr4e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4865';
20250122@161531.1562 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@161531.1576 gtrmp8fkd4iqiu91aklb6chr4e Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@161531.1703 gtrmp8fkd4iqiu91aklb6chr4e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4866';
20250122@161531.1837 gtrmp8fkd4iqiu91aklb6chr4e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4866';
20250122@161531.1952 gtrmp8fkd4iqiu91aklb6chr4e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4866';
20250122@161531.2013 gtrmp8fkd4iqiu91aklb6chr4e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4866';
20250122@161531.2128 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161531.2131 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@161531.2229 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161531.2233 gtrmp8fkd4iqiu91aklb6chr4e Query : select no, estab,szadrsdesc from szadrs where u_coddest=2381
20250122@161531.2437 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@161531.2463 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@161531.2536 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@161531.2562 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@161531.2585 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@161531.2614 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@161531.2635 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@161531.2689 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@161531.2716 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@161531.2739 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@161531.2760 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@161531.2821 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@161531.2844 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@161531.2866 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@161531.2998 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@161531.3032 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20250122@161531.3056 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1646.00.1' and bi.lordem =40000
20250122@161531.3123 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8770000-4 ' 
20250122@161531.3153 gtrmp8fkd4iqiu91aklb6chr4e 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 ,sum(qtt) over (partition by bi.ref) qtt_total from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 119 and bo.boano = 2025 and bo.obrano = 0000348 
20250122@161531.3296 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161531.3300 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250122@161531.3337 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161531.3341 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 1 valor from td where td.ndoc = 39
20250122@161531.3413 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161531.3417 gtrmp8fkd4iqiu91aklb6chr4e 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')
20250122@161531.3450 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250122@161531.3492 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161531.3543 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161531.3546 gtrmp8fkd4iqiu91aklb6chr4e Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@161531.3591 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161531.3594 gtrmp8fkd4iqiu91aklb6chr4e Query : select szadrsstamp valor from szadrs where szadrsdesc='flama'
20250122@161531.3827 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161531.3869 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -230
20250122@161531.4007 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-230,?,'ft',?,?)
20250122@161531.4077 gtrmp8fkd4iqiu91aklb6chr4e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4866';
20250122@161531.4166 gtrmp8fkd4iqiu91aklb6chr4e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4866';
20250122@161639.8033 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@161639.8118 gtrmp8fkd4iqiu91aklb6chr4e Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@161639.8794 gtrmp8fkd4iqiu91aklb6chr4e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4867';
20250122@161639.9300 gtrmp8fkd4iqiu91aklb6chr4e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4867';
20250122@161639.9689 gtrmp8fkd4iqiu91aklb6chr4e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4867';
20250122@161640.6500 gtrmp8fkd4iqiu91aklb6chr4e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4867';
20250122@161640.3080 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161640.3150 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@161640.4320 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161640.4790 gtrmp8fkd4iqiu91aklb6chr4e Query : select no, estab,szadrsdesc from szadrs where u_coddest=8857
20250122@161640.7950 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@161640.8490 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@161640.9400 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@161640.9680 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@161640.9920 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@161640.1061 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@161640.1156 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@161640.1191 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@161640.1300 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@161640.1327 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@161640.1356 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@161640.1440 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@161640.1468 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1824.00.1'
20250122@161640.1492 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =20000
20250122@161640.1530 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8380000-2 ' 
20250122@161640.1706 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 isnull(design,'') valor from st (nolock) left join stobs (nolock) on st.ref = stobs.ref where st.ref = '324.1646.00.1'
20250122@161640.1769 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1646.00.1' and bi.lordem =40000
20250122@161640.1922 gtrmp8fkd4iqiu91aklb6chr4e Query : select bie.edebito ,bie.desconto ,bie.desc2 ,bie.desc3 ,bie.desc4 ,bie.obranome ,bie.bostamp from bi bio inner join bi bie on bio.oobistamp=bie.bistamp where bio.bistamp = 'evc25012233396,8770000-4 ' 
20250122@161640.1990 gtrmp8fkd4iqiu91aklb6chr4e 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 ,sum(qtt) over (partition by bi.ref) qtt_total from bi inner join bo on bo.bostamp=bi.bostamp inner join st on st.ref = bi.ref where bo.ndos = 119 and bo.boano = 2025 and bo.obrano = 0000348 
20250122@161640.2097 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161640.2101 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 convert(date,fdata) valor from ft where ndoc = 39 and anulado= 0 and fno>0 order by fdata desc
20250122@161640.2179 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161640.2197 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 1 valor from td where td.ndoc = 39
20250122@161640.2272 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161640.2314 gtrmp8fkd4iqiu91aklb6chr4e 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')
20250122@161640.2673 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 manternumero ,assinadoc issigned ,tiposaft ,assinaimp ,nmdos ,td.assinadoc ,'cl' origin ,lancasl stocks ,case when cmsl<50 and td.lancasl=1 then 1 else 0 end entrada ,case when cmsl>50 and td.lancasl=1 then 1 else 0 end saida ,temserie assets ,~semgre usegridfields from td inner join td2 on td.tdstamp=td2.td2stamp where td.ndoc = 1
20250122@161640.2896 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161640.2904 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 ~inactivo valor from cl where no = '100001' and estab = 0 order by inactivo desc
20250122@161640.3217 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161640.3222 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 tipodoc,regrd from td where ndoc = 39
20250122@161640.3653 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161640.3696 gtrmp8fkd4iqiu91aklb6chr4e Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@161640.4280 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161640.4325 gtrmp8fkd4iqiu91aklb6chr4e Query : select szadrsstamp valor from szadrs where szadrsdesc='100001 flama - cesar (usar encomenda p/ arm 133)'
20250122@161640.5107 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161640.5169 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from td where ndoc = 39
20250122@161640.5609 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 manternumero, tiposaft, nmdos,td.assinadoc from td where td.ndoc = 39
20250122@161640.6087 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161640.7289 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft' and documentnumber = 39
20250122@161640.8053 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161640.8392 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft2' and documentnumber = 39
20250122@161640.9534 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161640.9839 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'ft3' and documentnumber = 39
20250122@161641.3100 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 ft.fno valor from ft ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250122@161641.1337 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 ft.fno valor from wsftdata ft where ft.ndoc = 39 and ftano=2025 order by fno desc
20250122@161641.2095 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161641.2441 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft3' and documentnumber = 39
20250122@161641.3049 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsft3data (ft3stamp, ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis,taxpointdt ) values ('aut6791127218679119e907' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?)
20250122@161641.4201 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161641.4540 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft2' and documentnumber = 39
20250122@161641.5456 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bo.u_nomeenv valor from bo where bo.bostamp='dgo25012140177,967000002 '
20250122@161641.6093 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bo.u_moradaen valor from bo where bo.bostamp='dgo25012140177,967000002 '
20250122@161641.6787 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bo.u_codposen valor from bo where bo.bostamp='dgo25012140177,967000002 '
20250122@161641.7301 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bo.u_localenv valor from bo where bo.bostamp='dgo25012140177,967000002 '
20250122@161641.7863 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bo.trab5 valor from bo where bo.bostamp='dgo25012140177,967000002 '
20250122@161641.8372 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 bo.serie valor from bo where bo.bostamp='dgo25012140177,967000002 '
20250122@161641.8957 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsft2data (ft2stamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,u_nomeenv ,u_moradaen ,u_codposen ,u_localenv ,u_coddest ,u_codby ) values ('aut6791127218679119e907',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',?,?,?,?,?,?)
20250122@161642.1458 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 fno valor from wsftdata order by fno desc
20250122@161642.2514 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161642.2999 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'ft' and documentnumber = 39
20250122@161642.3818 gtrmp8fkd4iqiu91aklb6chr4e Query : select 'normal' from dummy
20250122@161642.4289 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsftdata (ftstamp, ousrdata,ousrhora, usrdata,usrhora,ousrinis,usrinis,fno,no,estab,fdata,ndoc,moeda,cambio,cambiofixo,ftano,site ,classe ,encomenda ) values ('aut6791127218679119e907',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3078,100001,0,'2025-01-22',39,'euro',0,0,2025 ,?,?,?)
20250122@161642.5826 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161642.5870 gtrmp8fkd4iqiu91aklb6chr4e Query : select st.usalote valor from st where st.ref = '324.1646.00.1'
20250122@161642.6650 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1646.00.1'
20250122@161642.7309 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161642.7613 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161642.8328 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161642.8660 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161642.8856 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250122@161642.9259 gtrmp8fkd4iqiu91aklb6chr4e Query : select sestamp valor from se where ref ='324.1646.00.1' and lote = 'r2400725100a'
20250122@161642.9764 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161643.1460 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161643.3880 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6791161858679119eaee','aut6791127218679119e907' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250122@161643.7640 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161643.1176 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161643.2095 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut6791161858679119eaee',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.0000 ,'aut6791127218679119e907' ,.000000,0 ,2,23.00,10000,?,?,?,?,?,?,?,?,?)
20250122@161643.4212 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161643.4267 gtrmp8fkd4iqiu91aklb6chr4e Query : select st.usalote valor from st where st.ref = '324.1646.00.1'
20250122@161643.4671 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1646.00.1'
20250122@161643.5019 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161643.5333 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161643.6008 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161643.6327 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161643.6544 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250122@161643.6845 gtrmp8fkd4iqiu91aklb6chr4e Query : select sestamp valor from se where ref ='324.1646.00.1' and lote = 'r2400725100a'
20250122@161643.7142 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161643.7462 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161643.7713 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6791117360679119ebae','aut6791127218679119e907' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250122@161643.7757 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161643.8049 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161643.8820 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut6791117360679119ebae',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',1.0000 ,'aut6791127218679119e907' ,.000000,0 ,2,23.00,20000,?,?,?,?,?,?,?,?,?)
20250122@161643.9777 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161643.9828 gtrmp8fkd4iqiu91aklb6chr4e Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20250122@161644.3000 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20250122@161644.9520 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161644.1482 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161644.2370 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161644.2853 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161644.3083 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250122@161644.3396 gtrmp8fkd4iqiu91aklb6chr4e Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20250122@161644.3749 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161644.4352 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161644.4777 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6791191525679119ec5b','aut6791127218679119e907' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250122@161644.4836 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161644.5134 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161644.5859 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut6791191525679119ec5b',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',12.000 ,'aut6791127218679119e907' ,30.420000,0 ,2,23.00,30000,?,?,?,?,?,?,?,?,?)
20250122@161644.6678 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161644.6976 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161644.7667 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161644.7999 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161644.8232 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250122@161644.8552 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161644.8947 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161644.9224 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6791109971679119ecd0','aut6791127218679119e907' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250122@161644.9280 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161644.9577 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161645.3210 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6791109971679119ecd0',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6791127218679119e907' ,0,0 ,2,23.00,40000,?,?,?)
20250122@161645.9910 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161645.1049 gtrmp8fkd4iqiu91aklb6chr4e Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20250122@161645.2039 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20250122@161645.2898 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161645.3748 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161645.4969 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161645.5367 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161645.5559 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250122@161645.5916 gtrmp8fkd4iqiu91aklb6chr4e Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20250122@161645.6276 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161645.6616 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161645.6841 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6791145265679119ed99','aut6791127218679119e907' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250122@161645.6926 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161645.7293 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161645.8389 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut6791145265679119ed99',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',3.000 ,'aut6791127218679119e907' ,30.420000,0 ,2,23.00,60000,?,?,?,?,?,?,?,?,?)
20250122@161645.9144 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161645.9575 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161646.3190 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161646.6970 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161646.9190 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250122@161646.1248 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161646.1597 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161646.1871 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6791125465679119ee1e','aut6791127218679119e907' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250122@161646.1961 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161646.2336 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161646.3233 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6791125465679119ee1e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6791127218679119e907' ,0,0 ,2,23.00,70000,?,?,?)
20250122@161646.3890 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161646.3934 gtrmp8fkd4iqiu91aklb6chr4e Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20250122@161646.4460 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20250122@161646.4765 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161646.5114 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161646.6146 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161646.6480 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161646.6966 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250122@161646.7338 gtrmp8fkd4iqiu91aklb6chr4e Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20250122@161646.7672 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161646.8101 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161646.8372 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6791136137679119eebb','aut6791127218679119e907' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250122@161646.8418 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161646.8788 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161646.9652 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut6791136137679119eebb',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6791127218679119e907' ,30.420000,0 ,2,23.00,90000,?,?,?,?,?,?,?,?,?)
20250122@161647.4080 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161647.8420 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161647.1648 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161647.1974 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161647.2196 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250122@161647.2542 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161647.2869 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161647.3134 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6791120007679119ef3e','aut6791127218679119e907' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250122@161647.3218 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161647.3542 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161647.4372 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6791120007679119ef3e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6791127218679119e907' ,0,0 ,2,23.00,100000,?,?,?)
20250122@161647.4922 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161647.4926 gtrmp8fkd4iqiu91aklb6chr4e Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20250122@161647.4953 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20250122@161647.5298 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161647.5656 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161647.6606 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161647.7187 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161647.7411 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250122@161647.7737 gtrmp8fkd4iqiu91aklb6chr4e Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20250122@161647.8088 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161647.8416 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161647.8843 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6791123299679119efc5','aut6791127218679119e907' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250122@161647.8936 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161647.9383 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161648.3920 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut6791123299679119efc5',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20.000 ,'aut6791127218679119e907' ,30.420000,0 ,2,23.00,120000,?,?,?,?,?,?,?,?,?)
20250122@161648.1183 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161648.1551 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161648.2298 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161648.2623 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161648.2849 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250122@161648.3203 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161648.3537 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161648.3798 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6791164527679119f04e','aut6791127218679119e907' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250122@161648.3897 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161648.4209 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161648.5006 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6791164527679119f04e',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6791127218679119e907' ,0,0 ,2,23.00,130000,?,?,?)
20250122@161648.5730 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161648.5785 gtrmp8fkd4iqiu91aklb6chr4e Query : select st.usalote valor from st where st.ref = '324.1824.00.1'
20250122@161648.6390 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 st.tabiva ,st.ivaincl ,st.stns ,st.uni2 ,st.familia ,isnull(tx.taxa, 0) txiva ,unidade ,usalote ,epcpond ,noserie ,conversao ,st.texteis from st left join taxasiva tx on st.tabiva = tx.codigo where st.ref = '324.1824.00.1'
20250122@161648.6727 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161648.7238 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161648.8008 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161648.8326 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161648.8499 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250122@161648.8819 gtrmp8fkd4iqiu91aklb6chr4e Query : select sestamp valor from se where ref ='324.1824.00.1' and lote = 'r2400217200a'
20250122@161648.9129 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161648.9645 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161649.4450 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6791174602679119f0de','aut6791127218679119e907' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250122@161649.4890 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161649.8800 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161649.1680 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,lote,armazem,bistamp ,desconto ,desc2 ,desc3 ,desc4 ) values ('aut6791174602679119f0de',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',20 ,'aut6791127218679119e907' ,30.420000,0 ,2,23.00,150000,?,?,?,?,?,?,?,?,?)
20250122@161649.2573 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161649.2955 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161649.3725 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161649.4004 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,mandatory from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161649.4224 gtrmp8fkd4iqiu91aklb6chr4e Query : select top 1 convert(numeric(6,2),t.taxa) valor from taxasiva t where t.codigo='2'
20250122@161649.4495 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161649.4816 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi2' and documentnumber = 39
20250122@161649.5040 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfi2data (fi2stamp,ftstamp ,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis) values ('aut6791118006679119f16d','aut6791127218679119e907' ,getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv')
20250122@161649.5128 gtrmp8fkd4iqiu91aklb6chr4e Query : select 1 valor from information_schema.tables where table_type='base table' and table_name='wstablefields'
20250122@161649.5451 gtrmp8fkd4iqiu91aklb6chr4e Query : select fieldkey,fieldname,fieldtype,calcformula from wstablefields where tablename = 'fi' and documentnumber = 39
20250122@161649.6204 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsfidata (fistamp,ousrdata, ousrhora, usrdata,usrhora,ousrinis,usrinis ,qtt ,ftstamp ,epv,pvmoeda ,tabiva,iva,lordem ,ref, design ,armazem) values ('aut6791118006679119f16d',getdate(),convert(char(8),convert (time,getdate())),getdate(),convert(char(8),convert (time,getdate())),'wsv','wsv',0 ,'aut6791127218679119e907' ,0,0 ,2,23.00,160000,?,?,?)
20250122@161649.7125 gtrmp8fkd4iqiu91aklb6chr4e Query : insert into wsftcreationlog (initialftstamp,externalid,creationstatus,documenttypeid,idustamp) values ('aut6791127218679119e907','119250000348','wait',39,'adm09112754980.682000002')
20250122@161649.8138 gtrmp8fkd4iqiu91aklb6chr4e Query : use flama_phc
20250122@161649.8180 gtrmp8fkd4iqiu91aklb6chr4e Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@161649.8410 gtrmp8fkd4iqiu91aklb6chr4e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4867';
20250122@161649.8974 gtrmp8fkd4iqiu91aklb6chr4e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4867';
20250122@161649.9282 gtrmp8fkd4iqiu91aklb6chr4e Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4867';
20250122@161649.9676 gtrmp8fkd4iqiu91aklb6chr4e Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4867';
20250122@161911.4716 lnrmvoqpbc90ql1aterfh0lr6r Query : use flama_phc
20250122@161911.4873 lnrmvoqpbc90ql1aterfh0lr6r Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@161911.6668 lnrmvoqpbc90ql1aterfh0lr6r Query : use flama_phc
20250122@161911.6754 lnrmvoqpbc90ql1aterfh0lr6r Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@163611.5421 papjb2d7159tsa10kvf0jvqo4o Query : use flama_phc
20250122@163611.5426 papjb2d7159tsa10kvf0jvqo4o Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@163611.5525 papjb2d7159tsa10kvf0jvqo4o Query : use flama_phc
20250122@163611.5528 papjb2d7159tsa10kvf0jvqo4o Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@171911.4513 msg650je1k20p6ph2rbt36ghr8 Query : use flama_phc
20250122@171911.4517 msg650je1k20p6ph2rbt36ghr8 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@171911.4607 msg650je1k20p6ph2rbt36ghr8 Query : use flama_phc
20250122@171911.4611 msg650je1k20p6ph2rbt36ghr8 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@173611.2128 i0053hk9dg2cno7j8no7ocafd7 Query : use flama_phc
20250122@173611.2133 i0053hk9dg2cno7j8no7ocafd7 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@173611.2253 i0053hk9dg2cno7j8no7ocafd7 Query : use flama_phc
20250122@173611.2256 i0053hk9dg2cno7j8no7ocafd7 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@181910.8499 obg8u4tm0t7nbaie98adi77v43 Query : use flama_phc
20250122@181910.8505 obg8u4tm0t7nbaie98adi77v43 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@181910.8611 obg8u4tm0t7nbaie98adi77v43 Query : use flama_phc
20250122@181910.8615 obg8u4tm0t7nbaie98adi77v43 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@182328.7364 5k112pmqsm95t1hl97q6v13551 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@182328.7376 5k112pmqsm95t1hl97q6v13551 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@182328.7453 5k112pmqsm95t1hl97q6v13551 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4891';
20250122@182328.7525 5k112pmqsm95t1hl97q6v13551 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4891';
20250122@182328.7589 5k112pmqsm95t1hl97q6v13551 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4891';
20250122@182328.7626 5k112pmqsm95t1hl97q6v13551 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4891';
20250122@182328.7696 5k112pmqsm95t1hl97q6v13551 Query : use flama_phc
20250122@182328.7699 5k112pmqsm95t1hl97q6v13551 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@182328.7791 5k112pmqsm95t1hl97q6v13551 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1646.00.1'
20250122@182328.8881 5k112pmqsm95t1hl97q6v13551 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1646.00.1' and bi.lordem =2
20250122@182329.2300 5k112pmqsm95t1hl97q6v13551 Query : select top 1 isnull(design,'') valor from st (nolock) where st.ref = '324.1824.00.1'
20250122@182329.3700 5k112pmqsm95t1hl97q6v13551 Query : select top 1 bistamp valor from bi inner join bo on bo.bostamp=bi.bostamp where bo.ndos =119 and bo.boano =2025 and bo.obrano = 0000348 and bi.ref ='324.1824.00.1' and bi.lordem =1
20250122@182329.9240 5k112pmqsm95t1hl97q6v13551 Query : use flama_phc
20250122@182329.9280 5k112pmqsm95t1hl97q6v13551 Query : select top 1 1 valor from ts where ts.ndos = 61
20250122@182329.1019 5k112pmqsm95t1hl97q6v13551 Query : use flama_phc
20250122@182329.1024 5k112pmqsm95t1hl97q6v13551 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')
20250122@182329.1057 5k112pmqsm95t1hl97q6v13551 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
20250122@182329.1195 5k112pmqsm95t1hl97q6v13551 Query : use flama_phc
20250122@182329.1199 5k112pmqsm95t1hl97q6v13551 Query : select top 1 ~inactivo valor from fl where no = '1626' and estab = 26 order by inactivo desc
20250122@182329.1304 5k112pmqsm95t1hl97q6v13551 Query : use flama_phc
20250122@182329.1307 5k112pmqsm95t1hl97q6v13551 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -230
20250122@182329.1353 5k112pmqsm95t1hl97q6v13551 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4891';
20250122@182329.1408 5k112pmqsm95t1hl97q6v13551 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4891';
20250122@183610.6458 ph59vupv1jt8ergv1ke9gjcr3k Query : use flama_phc
20250122@183610.6502 ph59vupv1jt8ergv1ke9gjcr3k Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@183610.7363 ph59vupv1jt8ergv1ke9gjcr3k Query : use flama_phc
20250122@183610.7405 ph59vupv1jt8ergv1ke9gjcr3k Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@191930.5487 lnuig7vuopu13jtecpsdnqlt4f Query : use flama_phc
20250122@191930.5492 lnuig7vuopu13jtecpsdnqlt4f Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@191930.5616 lnuig7vuopu13jtecpsdnqlt4f Query : use flama_phc
20250122@191930.5620 lnuig7vuopu13jtecpsdnqlt4f Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@191930.7737 n4g4d5lcn477kp7ahpqmvk7cb2 Query : use flama_phc
20250122@191930.7743 n4g4d5lcn477kp7ahpqmvk7cb2 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@191930.7832 n4g4d5lcn477kp7ahpqmvk7cb2 Query : use flama_phc
20250122@191930.7836 n4g4d5lcn477kp7ahpqmvk7cb2 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@193613.6235 4tbqjukuerniejc6jpo56nd39h Query : use flama_phc
20250122@193613.6264 4tbqjukuerniejc6jpo56nd39h Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@193613.6360 4tbqjukuerniejc6jpo56nd39h Query : use flama_phc
20250122@193613.6364 4tbqjukuerniejc6jpo56nd39h Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@201911.4960 3dfvdf490b0td444oj5ghs92m6 Query : use flama_phc
20250122@201911.5000 3dfvdf490b0td444oj5ghs92m6 Query : select secretkey valor from u_wsusers u where u.userid = ? and u.username=? and u.password=? and u.inactivo=0
20250122@201911.5910 3dfvdf490b0td444oj5ghs92m6 Query : use flama_phc
20250122@201911.5950 3dfvdf490b0td444oj5ghs92m6 Query : update u_wsusers set rqsttoken =? where userid ='userls001'
20250122@202758.1336 u517516q5i569k1hobeto1iruj Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@202758.1349 u517516q5i569k1hobeto1iruj Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@202758.1435 u517516q5i569k1hobeto1iruj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4892';
20250122@202758.1513 u517516q5i569k1hobeto1iruj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4892';
20250122@202758.1587 u517516q5i569k1hobeto1iruj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4892';
20250122@202758.1627 u517516q5i569k1hobeto1iruj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4892';
20250122@202758.1687 u517516q5i569k1hobeto1iruj Query : use flama_phc
20250122@202758.1692 u517516q5i569k1hobeto1iruj Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@202758.1760 u517516q5i569k1hobeto1iruj Query : use flama_phc
20250122@202758.1764 u517516q5i569k1hobeto1iruj Query : select no, estab,szadrsdesc from szadrs where u_coddest=8748
20250122@202758.1934 u517516q5i569k1hobeto1iruj 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500603 
20250122@202758.2220 u517516q5i569k1hobeto1iruj Query : use flama_phc
20250122@202758.2224 u517516q5i569k1hobeto1iruj Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@202758.2257 u517516q5i569k1hobeto1iruj Query : use flama_phc
20250122@202758.2262 u517516q5i569k1hobeto1iruj Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@202758.2280 u517516q5i569k1hobeto1iruj Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@202758.2305 u517516q5i569k1hobeto1iruj Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4892';
20250122@202758.2352 u517516q5i569k1hobeto1iruj Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4892';
20250122@202758.2870 nh9icguln97brtvpgfk9cip19i Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@202758.2883 nh9icguln97brtvpgfk9cip19i Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@202758.2962 nh9icguln97brtvpgfk9cip19i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4893';
20250122@202758.3039 nh9icguln97brtvpgfk9cip19i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4893';
20250122@202758.3111 nh9icguln97brtvpgfk9cip19i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4893';
20250122@202758.3152 nh9icguln97brtvpgfk9cip19i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4893';
20250122@202758.3225 nh9icguln97brtvpgfk9cip19i Query : use flama_phc
20250122@202758.3229 nh9icguln97brtvpgfk9cip19i Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@202758.3327 nh9icguln97brtvpgfk9cip19i Query : use flama_phc
20250122@202758.3331 nh9icguln97brtvpgfk9cip19i Query : select no, estab,szadrsdesc from szadrs where u_coddest=7737
20250122@202758.3427 nh9icguln97brtvpgfk9cip19i 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500624 
20250122@202758.3723 nh9icguln97brtvpgfk9cip19i Query : use flama_phc
20250122@202758.3726 nh9icguln97brtvpgfk9cip19i Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@202758.3761 nh9icguln97brtvpgfk9cip19i Query : use flama_phc
20250122@202758.3765 nh9icguln97brtvpgfk9cip19i Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@202758.3782 nh9icguln97brtvpgfk9cip19i Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@202758.3804 nh9icguln97brtvpgfk9cip19i Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4893';
20250122@202758.3853 nh9icguln97brtvpgfk9cip19i Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4893';
20250122@202758.4351 11ervngcvri52d65o4fiimsbqk Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@202758.4363 11ervngcvri52d65o4fiimsbqk Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@202758.4437 11ervngcvri52d65o4fiimsbqk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4894';
20250122@202758.4513 11ervngcvri52d65o4fiimsbqk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4894';
20250122@202758.4596 11ervngcvri52d65o4fiimsbqk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4894';
20250122@202758.4640 11ervngcvri52d65o4fiimsbqk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4894';
20250122@202758.4707 11ervngcvri52d65o4fiimsbqk Query : use flama_phc
20250122@202758.4711 11ervngcvri52d65o4fiimsbqk Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@202758.4780 11ervngcvri52d65o4fiimsbqk Query : use flama_phc
20250122@202758.4813 11ervngcvri52d65o4fiimsbqk Query : select no, estab,szadrsdesc from szadrs where u_coddest=3304
20250122@202758.4905 11ervngcvri52d65o4fiimsbqk 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500625 
20250122@202758.5205 11ervngcvri52d65o4fiimsbqk Query : use flama_phc
20250122@202758.5210 11ervngcvri52d65o4fiimsbqk Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@202758.5248 11ervngcvri52d65o4fiimsbqk Query : use flama_phc
20250122@202758.5252 11ervngcvri52d65o4fiimsbqk Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@202758.5270 11ervngcvri52d65o4fiimsbqk Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@202758.5293 11ervngcvri52d65o4fiimsbqk Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4894';
20250122@202758.5342 11ervngcvri52d65o4fiimsbqk Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4894';
20250122@202758.5816 3pefd7v1n6sokv8ugcd642rutg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@202758.5826 3pefd7v1n6sokv8ugcd642rutg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@202758.5906 3pefd7v1n6sokv8ugcd642rutg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4895';
20250122@202758.5980 3pefd7v1n6sokv8ugcd642rutg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4895';
20250122@202758.6051 3pefd7v1n6sokv8ugcd642rutg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4895';
20250122@202758.6091 3pefd7v1n6sokv8ugcd642rutg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4895';
20250122@202758.6156 3pefd7v1n6sokv8ugcd642rutg Query : use flama_phc
20250122@202758.6161 3pefd7v1n6sokv8ugcd642rutg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@202758.6232 3pefd7v1n6sokv8ugcd642rutg Query : use flama_phc
20250122@202758.6235 3pefd7v1n6sokv8ugcd642rutg Query : select no, estab,szadrsdesc from szadrs where u_coddest=1498
20250122@202758.6333 3pefd7v1n6sokv8ugcd642rutg 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500626 
20250122@202758.6625 3pefd7v1n6sokv8ugcd642rutg Query : use flama_phc
20250122@202758.6629 3pefd7v1n6sokv8ugcd642rutg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@202758.6660 3pefd7v1n6sokv8ugcd642rutg Query : use flama_phc
20250122@202758.6665 3pefd7v1n6sokv8ugcd642rutg Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@202758.6684 3pefd7v1n6sokv8ugcd642rutg Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@202758.6706 3pefd7v1n6sokv8ugcd642rutg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4895';
20250122@202758.6756 3pefd7v1n6sokv8ugcd642rutg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4895';
20250122@202758.7283 j5l4pq8d6m2l7p2k58sjas79tg Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@202758.7295 j5l4pq8d6m2l7p2k58sjas79tg Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@202758.7374 j5l4pq8d6m2l7p2k58sjas79tg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4896';
20250122@202758.7449 j5l4pq8d6m2l7p2k58sjas79tg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4896';
20250122@202758.7520 j5l4pq8d6m2l7p2k58sjas79tg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4896';
20250122@202758.7564 j5l4pq8d6m2l7p2k58sjas79tg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4896';
20250122@202758.7626 j5l4pq8d6m2l7p2k58sjas79tg Query : use flama_phc
20250122@202758.7630 j5l4pq8d6m2l7p2k58sjas79tg Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@202758.7698 j5l4pq8d6m2l7p2k58sjas79tg Query : use flama_phc
20250122@202758.7702 j5l4pq8d6m2l7p2k58sjas79tg Query : select no, estab,szadrsdesc from szadrs where u_coddest=9388
20250122@202758.7794 j5l4pq8d6m2l7p2k58sjas79tg 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500627 
20250122@202758.8082 j5l4pq8d6m2l7p2k58sjas79tg Query : use flama_phc
20250122@202758.8086 j5l4pq8d6m2l7p2k58sjas79tg Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@202758.8120 j5l4pq8d6m2l7p2k58sjas79tg Query : use flama_phc
20250122@202758.8123 j5l4pq8d6m2l7p2k58sjas79tg Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@202758.8144 j5l4pq8d6m2l7p2k58sjas79tg Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@202758.8166 j5l4pq8d6m2l7p2k58sjas79tg Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4896';
20250122@202758.8215 j5l4pq8d6m2l7p2k58sjas79tg Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4896';
20250122@202758.8753 ns1a8g1d5sv08r8lo678iqmnal Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@202758.8765 ns1a8g1d5sv08r8lo678iqmnal Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@202758.8841 ns1a8g1d5sv08r8lo678iqmnal Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4897';
20250122@202758.8921 ns1a8g1d5sv08r8lo678iqmnal Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4897';
20250122@202758.8998 ns1a8g1d5sv08r8lo678iqmnal Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4897';
20250122@202758.9046 ns1a8g1d5sv08r8lo678iqmnal Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4897';
20250122@202758.9127 ns1a8g1d5sv08r8lo678iqmnal Query : use flama_phc
20250122@202758.9131 ns1a8g1d5sv08r8lo678iqmnal Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@202758.9219 ns1a8g1d5sv08r8lo678iqmnal Query : use flama_phc
20250122@202758.9223 ns1a8g1d5sv08r8lo678iqmnal Query : select no, estab,szadrsdesc from szadrs where u_coddest=1492
20250122@202758.9348 ns1a8g1d5sv08r8lo678iqmnal 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500629 
20250122@202758.9642 ns1a8g1d5sv08r8lo678iqmnal Query : use flama_phc
20250122@202758.9646 ns1a8g1d5sv08r8lo678iqmnal Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@202758.9680 ns1a8g1d5sv08r8lo678iqmnal Query : use flama_phc
20250122@202758.9684 ns1a8g1d5sv08r8lo678iqmnal Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@202758.9702 ns1a8g1d5sv08r8lo678iqmnal Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@202758.9726 ns1a8g1d5sv08r8lo678iqmnal Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4897';
20250122@202758.9777 ns1a8g1d5sv08r8lo678iqmnal Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4897';
20250122@202759.3130 dime19kod7f891nhdp0lifide6 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@202759.3290 dime19kod7f891nhdp0lifide6 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@202759.4060 dime19kod7f891nhdp0lifide6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4898';
20250122@202759.4790 dime19kod7f891nhdp0lifide6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4898';
20250122@202759.5580 dime19kod7f891nhdp0lifide6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4898';
20250122@202759.6030 dime19kod7f891nhdp0lifide6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4898';
20250122@202759.6820 dime19kod7f891nhdp0lifide6 Query : use flama_phc
20250122@202759.6860 dime19kod7f891nhdp0lifide6 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@202759.7590 dime19kod7f891nhdp0lifide6 Query : use flama_phc
20250122@202759.7630 dime19kod7f891nhdp0lifide6 Query : select no, estab,szadrsdesc from szadrs where u_coddest=3080
20250122@202759.8890 dime19kod7f891nhdp0lifide6 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500630 
20250122@202759.1197 dime19kod7f891nhdp0lifide6 Query : use flama_phc
20250122@202759.1200 dime19kod7f891nhdp0lifide6 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@202759.1236 dime19kod7f891nhdp0lifide6 Query : use flama_phc
20250122@202759.1239 dime19kod7f891nhdp0lifide6 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@202759.1257 dime19kod7f891nhdp0lifide6 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@202759.1279 dime19kod7f891nhdp0lifide6 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4898';
20250122@202759.1331 dime19kod7f891nhdp0lifide6 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4898';
20250122@202759.1876 nsih5p51n0lk4pcna4tm3jt3p2 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@202759.1887 nsih5p51n0lk4pcna4tm3jt3p2 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@202759.1985 nsih5p51n0lk4pcna4tm3jt3p2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4899';
20250122@202759.2115 nsih5p51n0lk4pcna4tm3jt3p2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4899';
20250122@202759.2186 nsih5p51n0lk4pcna4tm3jt3p2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4899';
20250122@202759.2231 nsih5p51n0lk4pcna4tm3jt3p2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4899';
20250122@202759.2295 nsih5p51n0lk4pcna4tm3jt3p2 Query : use flama_phc
20250122@202759.2299 nsih5p51n0lk4pcna4tm3jt3p2 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@202759.2368 nsih5p51n0lk4pcna4tm3jt3p2 Query : use flama_phc
20250122@202759.2372 nsih5p51n0lk4pcna4tm3jt3p2 Query : select no, estab,szadrsdesc from szadrs where u_coddest=4500
20250122@202759.2467 nsih5p51n0lk4pcna4tm3jt3p2 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500631 
20250122@202759.2778 nsih5p51n0lk4pcna4tm3jt3p2 Query : use flama_phc
20250122@202759.2783 nsih5p51n0lk4pcna4tm3jt3p2 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@202759.2822 nsih5p51n0lk4pcna4tm3jt3p2 Query : use flama_phc
20250122@202759.2825 nsih5p51n0lk4pcna4tm3jt3p2 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@202759.2843 nsih5p51n0lk4pcna4tm3jt3p2 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@202759.2867 nsih5p51n0lk4pcna4tm3jt3p2 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4899';
20250122@202759.2920 nsih5p51n0lk4pcna4tm3jt3p2 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4899';
20250122@202759.4501 3esl5qqg44o6f6ldfaubkg63d3 Query : insert into uploadfiles ( name_original, name_new, option_type, relative_path, whencreated ) values ( ?, ?, ?, ?, getdate() )
20250122@202759.4513 3esl5qqg44o6f6ldfaubkg63d3 Query : select uploadfile_id valor from uploadfiles where name_new = ? and option_type = ? 
20250122@202759.4597 3esl5qqg44o6f6ldfaubkg63d3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4900';
20250122@202759.4679 3esl5qqg44o6f6ldfaubkg63d3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4900';
20250122@202759.4756 3esl5qqg44o6f6ldfaubkg63d3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4900';
20250122@202759.4797 3esl5qqg44o6f6ldfaubkg63d3 Query : update uploadfiles set whenupdated=current_timestamp where uploadfile_id='4900';
20250122@202759.4856 3esl5qqg44o6f6ldfaubkg63d3 Query : use flama_phc
20250122@202759.4860 3esl5qqg44o6f6ldfaubkg63d3 Query : select top 1 secretkey valor from u_wsusers u where u.userid = ? and u.inactivo=0
20250122@202759.4923 3esl5qqg44o6f6ldfaubkg63d3 Query : use flama_phc
20250122@202759.4927 3esl5qqg44o6f6ldfaubkg63d3 Query : select no, estab,szadrsdesc from szadrs where u_coddest=1452
20250122@202759.5028 3esl5qqg44o6f6ldfaubkg63d3 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 ,sum(qtt) over (partition by bi.ref) qtt_total 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 = 2006 and bo.obrano = 2500632 
20250122@202759.5352 3esl5qqg44o6f6ldfaubkg63d3 Query : use flama_phc
20250122@202759.5356 3esl5qqg44o6f6ldfaubkg63d3 Query : select szadrsstamp valor from szadrs where szadrsdesc='espaÇotrans,lda'
20250122@202759.5392 3esl5qqg44o6f6ldfaubkg63d3 Query : use flama_phc
20250122@202759.5395 3esl5qqg44o6f6ldfaubkg63d3 Query : select top 1 errorresult result ,errornumber errornumber ,descriptionpt description ,isnull(descriptionen,'') descriptionen ,isnull(descriptionfr,'') descriptionfr from wserrorcodes where errornumber = -9010
20250122@202759.5417 3esl5qqg44o6f6ldfaubkg63d3 Query : insert into wserrorlog (errornumber, errormsg,requesttable,initialdata,finaldata) values (-9010,?,'ft',?,?)
20250122@202759.5439 3esl5qqg44o6f6ldfaubkg63d3 Query : select concat(rtrim(relative_path),ltrim(name_new)) as valor from uploadfiles where uploadfile_id='4900';
